Should be accessed from GithubAPI::get_issue_comment
.
github :: IssueComment :: defaultinit
github :: IssueComment :: issue_url=
Link to the issue document on API.github :: IssueComment :: mongo_id
github :: IssueComment :: mongo_id=
github $ IssueComment :: SELF
Type of this instance, automatically specialized in every classgithub $ IssueComment :: core_serialize_to
Actual serialization ofself
to serializer
github :: loader $ IssueComment :: core_serialize_to
Actual serialization ofself
to serializer
github $ IssueComment :: from_deserializer
Create an instance of this class from thedeserializer
github :: loader $ IssueComment :: from_deserializer
Create an instance of this class from thedeserializer
serialization :: Serializable :: accept_json_serializer
Refinable service to customize the serialization of this class to JSONserialization :: Serializable :: accept_msgpack_attribute_counter
Hook to customize the behavior of theAttributeCounter
serialization :: Serializable :: accept_msgpack_serializer
Hook to customize the serialization of this class to MessagePackserialization :: Serializable :: add_to_bundle
Called by[]=
to dynamically choose the appropriate method according
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
serialization :: Serializable :: core_serialize_to
Actual serialization ofself
to serializer
github :: IssueComment :: defaultinit
github :: RepoEntity :: defaultinit
core :: Object :: defaultinit
github :: Comment :: defaultinit
serialization :: Serializable :: from_deserializer
Create an instance of this class from thedeserializer
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
github :: IssueComment :: issue_url=
Link to the issue document on API.github :: IssueComment :: mongo_id
github :: IssueComment :: mongo_id=
serialization :: Serializable :: msgpack_extra_array_items
Hook to request a larger than usual metadata arraycore :: Object :: output_class_name
Display class name on stdout (debug only).github :: RepoEntity :: repo
github :: RepoEntity :: repo=
serialization :: Serializable :: serialize_msgpack
Serializeself
to MessagePack bytes
serialization :: Serializable :: serialize_to
Serializeself
to serializer
serialization :: Serializable :: serialize_to_json
Serializeself
to JSON
serialization :: Serializable :: to_pretty_json
Serializeself
to plain pretty JSON
github :: Comment :: updated_at
Last update time as String (if any).github :: Comment :: updated_at=
Last update time as String (if any).Serializer::serialize
github :: RepoEntity
# Comments made on Github issue and pull request pages.
#
# Should be accessed from `GithubAPI::get_issue_comment`.
#
# See <https://developer.github.com/v3/issues/comments/>.
class IssueComment
super Comment
serialize
# Issue that contains `self`.
fun issue_number: Int do return issue_url.split("/").last.to_i
# Link to the issue document on API.
var issue_url: String is writable
end
lib/github/api.nit:914,1--928,3
redef class IssueComment
super RepoEntity
serialize
var mongo_id: String is lazy, serialize_as("_id") do return id.to_s
end
lib/github/loader.nit:523,1--528,3