github :: CreateEvent :: defaultinit
github :: CreateEvent :: description=
Repo's current description.github :: CreateEvent :: master_branch
Name of the repo's default branch (usually master).github :: CreateEvent :: master_branch=
Name of the repo's default branch (usually master).github :: CreateEvent :: ref=
Git ref (or null if only a repository was created).github $ CreateEvent :: SELF
Type of this instance, automatically specialized in every classgithub $ CreateEvent :: core_serialize_to
Actual serialization ofself
to serializer
github $ CreateEvent :: 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
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
serialization :: Serializable :: core_serialize_to
Actual serialization ofself
to serializer
github :: CreateEvent :: defaultinit
core :: Object :: defaultinit
github :: GithubEvent :: defaultinit
github :: CreateEvent :: description=
Repo's current description.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 :: CreateEvent :: master_branch
Name of the repo's default branch (usually master).github :: CreateEvent :: master_branch=
Name of the repo's default branch (usually master).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 :: CreateEvent :: ref=
Git ref (or null if only a repository was created).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 a repository, branch, or tag is created.
class CreateEvent
super GithubEvent
serialize
# Oject type that was created.
#
# Can be one of `repository`, `branch`, or `tag`.
var ref_type: String is writable
# Git ref (or null if only a repository was created).
var ref: String is writable
# Name of the repo's default branch (usually master).
var master_branch: String is writable
# Repo's current description.
var description: nullable String is writable
end
lib/github/events.nit:46,1--64,3