Provides access to Github repo data.
Should be accessed from GithubAPI::get_repo
.
github :: Repo :: default_branch=
Repo default branch name.github :: Repo :: defaultinit
github $ Repo :: core_serialize_to
Actual serialization ofself
to serializer
github :: loader $ Repo :: core_serialize_to
Actual serialization ofself
to serializer
github $ Repo :: from_deserializer
Create an instance of this class from thedeserializer
github :: loader $ Repo :: 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 :: Repo :: default_branch=
Repo default branch name.github :: Repo :: 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.
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
# A Github repository.
#
# Provides access to [Github repo data](https://developer.github.com/v3/repos/).
# Should be accessed from `GithubAPI::get_repo`.
class Repo
serialize
# Repo full name on Github.
var full_name: String is writable
# Repo short name on Github.
var name: String is writable
# Get the repo owner.
var owner: User is writable
# Repo default branch name.
var default_branch: nullable String = null is optional, writable
end
lib/github/api.nit:526,1--544,3