Triggered when an issue is assigned, unassigned, labeled, unlabeled, opened, closed or reopened.
github :: IssuesEvent :: assignee
OptionalUser
that was assigned or unassigned from the issue.
github :: IssuesEvent :: assignee=
OptionalUser
that was assigned or unassigned from the issue.
github :: IssuesEvent :: defaultinit
github :: IssuesEvent :: lbl
OptionalLabel
that was added or removed from the issue.
github :: IssuesEvent :: lbl=
OptionalLabel
that was added or removed from the issue.
github $ IssuesEvent :: SELF
Type of this instance, automatically specialized in every classgithub $ IssuesEvent :: core_serialize_to
Actual serialization ofself
to serializer
github $ IssuesEvent :: 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 MessagePackgithub :: GithubEvent :: action=
Action performed by the event.serialization :: Serializable :: add_to_bundle
Called by[]=
to dynamically choose the appropriate method according
github :: IssuesEvent :: assignee
OptionalUser
that was assigned or unassigned from the issue.
github :: IssuesEvent :: assignee=
OptionalUser
that was assigned or unassigned from the issue.
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
serialization :: Serializable :: core_serialize_to
Actual serialization ofself
to serializer
github :: GithubEvent :: defaultinit
github :: IssuesEvent :: defaultinit
core :: Object :: 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 :: IssuesEvent :: lbl
OptionalLabel
that was added or removed from the issue.
github :: IssuesEvent :: lbl=
OptionalLabel
that was added or removed from the issue.
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).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
# Triggered when an event occurs on an issue.
#
# Triggered when an issue is assigned, unassigned, labeled, unlabeled,
# opened, closed or reopened.
class IssuesEvent
super GithubEvent
serialize
# The `Issue` itself.
var issue: Issue is writable
# Optional `Label` that was added or removed from the issue.
var lbl: nullable Label is writable, serialize_as("label")
# Optional `User` that was assigned or unassigned from the issue.
var assignee: nullable User is writable
end
lib/github/events.nit:145,1--161,3