Should be accessed from GithubAPI::get_issue
.
github :: Issue :: closed_at=
Close time as String (if any).github :: Issue :: closed_by=
User that closed this issue (if any).github :: Issue :: defaultinit
github :: Issue :: is_pull_request
Is this issue linked to a pull request?github :: Issue :: is_pull_request=
Is this issue linked to a pull request?github :: Issue :: updated_at=
Last update time as String (if any).github $ Issue :: core_serialize_to
Actual serialization ofself
to serializer
github :: loader $ Issue :: core_serialize_to
Actual serialization ofself
to serializer
github $ Issue :: from_deserializer
Create an instance of this class from thedeserializer
github :: loader $ Issue :: 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 :: Issue :: closed_at=
Close time as String (if any).github :: Issue :: closed_by=
User that closed this issue (if any).serialization :: Serializable :: core_serialize_to
Actual serialization ofself
to serializer
core :: Object :: defaultinit
github :: Issue :: defaultinit
github :: RepoEntity :: defaultinit
serialization :: Serializable :: from_deserializer
Create an instance of this class from thedeserializer
github :: Issue :: is_pull_request
Is this issue linked to a pull request?github :: Issue :: is_pull_request=
Is this issue linked to a pull request?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
github :: Issue :: updated_at=
Last update time as String (if any).Serializer::serialize
github :: RepoEntity
# A Github issue.
#
# Should be accessed from `GithubAPI::get_issue`.
#
# See <https://developer.github.com/v3/issues/>.
class Issue
serialize
# Issue Github ID.
var number: Int is writable
# Issue id.
var id: nullable Int is writable
# Issue title.
var title: String is writable
# User that created this issue.
var user: nullable User is writable
# List of labels on this issue associated to their names.
var labels: nullable Array[Label] is writable
# State of the issue on Github.
var state: String is writable
# Is the issue locked?
var locked: nullable Bool is writable
# Assigned `User` (if any).
var assignee: nullable User is writable
# `Milestone` (if any).
var milestone: nullable Milestone is writable
# Number of comments on this issue.
var comments: nullable Int is writable
# Creation time as String.
var created_at: String is writable
# Last update time as String (if any).
var updated_at: nullable String is writable
# Close time as String (if any).
var closed_at: nullable String is writable
# Full description of the issue.
var body: nullable String is writable
# User that closed this issue (if any).
var closed_by: nullable User is writable
# Is this issue linked to a pull request?
var is_pull_request: Bool = false is writable
end
lib/github/api.nit:625,1--680,3