github :: IssueEvent
Issue
.Should be accessed from GithubAPI::get_issue_event
.
github :: IssueEvent :: assignee=
User linked to this event (if any).github :: IssueEvent :: commit_id
Commit linked to this event (if any).github :: IssueEvent :: commit_id=
Commit linked to this event (if any).github :: IssueEvent :: defaultinit
github :: IssueEvent :: milestone
Milestone linked to this event (if any).github :: IssueEvent :: milestone=
Milestone linked to this event (if any).github :: IssueEvent :: mongo_id
github :: IssueEvent :: mongo_id=
github :: IssueEvent :: rename
Rename linked to this event (if any).github :: IssueEvent :: rename=
Rename linked to this event (if any).github $ IssueEvent :: SELF
Type of this instance, automatically specialized in every classgithub $ IssueEvent :: core_serialize_to
Actual serialization ofself
to serializer
github :: loader $ IssueEvent :: core_serialize_to
Actual serialization ofself
to serializer
github $ IssueEvent :: from_deserializer
Create an instance of this class from thedeserializer
github :: loader $ IssueEvent :: 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
github :: IssueEvent :: assignee=
User linked to this event (if any).core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
github :: IssueEvent :: commit_id
Commit linked to this event (if any).github :: IssueEvent :: commit_id=
Commit linked to this event (if any).serialization :: Serializable :: core_serialize_to
Actual serialization ofself
to serializer
core :: Object :: defaultinit
github :: IssueEvent :: defaultinit
github :: RepoEntity :: 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 :: IssueEvent :: milestone
Milestone linked to this event (if any).github :: IssueEvent :: milestone=
Milestone linked to this event (if any).github :: IssueEvent :: mongo_id
github :: IssueEvent :: 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 :: IssueEvent :: rename
Rename linked to this event (if any).github :: IssueEvent :: rename=
Rename linked to this event (if any).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
Serializer::serialize
github :: RepoEntity
# An event that occurs on a Github `Issue`.
#
# Should be accessed from `GithubAPI::get_issue_event`.
#
# See <https://developer.github.com/v3/issues/events/>.
class IssueEvent
serialize
# Event id on Github.
var id: Int is writable
# User that initiated the event.
var actor: User is writable
# Creation time as String.
var created_at: String is writable
# Event descriptor.
var event: String is writable
# Commit linked to this event (if any).
var commit_id: nullable String is writable
# Label linked to this event (if any).
var labl: nullable Label is writable, serialize_as("label")
# User linked to this event (if any).
var assignee: nullable User is writable
# Milestone linked to this event (if any).
var milestone: nullable Milestone is writable
# Rename linked to this event (if any).
var rename: nullable RenameAction is writable
end
lib/github/api.nit:964,1--998,3
redef class IssueEvent
super RepoEntity
serialize
var mongo_id: String is lazy, serialize_as("_id") do return id.to_s
end
lib/github/loader.nit:538,1--543,3