Should be accessed from GithubAPI::get_commit
.
github :: Commit :: commit_date=
Commit date as String.github :: Commit :: defaultinit
github $ Commit :: core_serialize_to
Actual serialization ofself
to serializer
github :: loader $ Commit :: core_serialize_to
Actual serialization ofself
to serializer
github $ Commit :: from_deserializer
Create an instance of this class from thedeserializer
github :: loader $ Commit :: 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.
github :: Commit :: commit_date=
Commit date as String.serialization :: Serializable :: core_serialize_to
Actual serialization ofself
to serializer
core :: Object :: defaultinit
github :: Commit :: 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.
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
Serializer::serialize
github :: RepoEntity
# A Github commit.
#
# Should be accessed from `GithubAPI::get_commit`.
#
# See <https://developer.github.com/v3/repos/commits/>.
class Commit
serialize
# Commit SHA.
var sha: String is writable
# Parent commits of `self`.
var parents: nullable Array[Commit] = null is writable
# Author of the commit.
var author: nullable GitUser is writable
# Committer of the commit.
var committer: nullable GitUser is writable
# Authoring date as String.
var author_date: nullable String is writable
# Commit date as String.
var commit_date: nullable String is writable
# List files staged in this commit.
var files: nullable Array[GithubFile] = null is optional, writable
# Commit message.
var message: nullable String is writable
# Git commit representation linked to this commit.
var commit: nullable GitCommit
end
lib/github/api.nit:561,1--595,3