Should be accessed from GithubAPI::get_pull
.
PullRequest are basically Issues with more data. See https://developer.github.com/v3/pulls/.
github :: PullRequest :: base
Pull request base (can be a commit SHA or a branch name).github :: PullRequest :: base=
Pull request base (can be a commit SHA or a branch name).github :: PullRequest :: changed_files=
Changed files count.github :: PullRequest :: commits=
Count of commits in this pull request.github :: PullRequest :: defaultinit
github :: PullRequest :: head
Pull request head (can be a commit SHA or a branch name).github :: PullRequest :: head=
Pull request head (can be a commit SHA or a branch name).github :: PullRequest :: merge_commit_sha=
Merge commit SHA.github :: PullRequest :: mergeable=
Is this pull request mergeable?github :: PullRequest :: mergeable_state
Mergeable state of this pull request.github :: PullRequest :: mergeable_state=
Mergeable state of this pull request.github :: PullRequest :: merged_at=
Merge time as String (if any).github :: PullRequest :: merged_by
User that merged this pull request (if any).github :: PullRequest :: merged_by=
User that merged this pull request (if any).github :: PullRequest :: review_comments
Count of comments made on the pull request diff.github :: PullRequest :: review_comments=
Count of comments made on the pull request diff.github $ PullRequest :: SELF
Type of this instance, automatically specialized in every classgithub $ PullRequest :: core_serialize_to
Actual serialization ofself
to serializer
github $ PullRequest :: 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
github :: PullRequest :: base
Pull request base (can be a commit SHA or a branch name).github :: PullRequest :: base=
Pull request base (can be a commit SHA or a branch name).github :: PullRequest :: changed_files=
Changed files count.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).github :: PullRequest :: commits=
Count of commits in this pull request.serialization :: Serializable :: core_serialize_to
Actual serialization ofself
to serializer
github :: PullRequest :: defaultinit
core :: Object :: defaultinit
github :: RepoEntity :: defaultinit
github :: Issue :: defaultinit
serialization :: Serializable :: from_deserializer
Create an instance of this class from thedeserializer
github :: PullRequest :: head
Pull request head (can be a commit SHA or a branch name).github :: PullRequest :: head=
Pull request head (can be a commit SHA or a branch name).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.
github :: PullRequest :: merge_commit_sha=
Merge commit SHA.github :: PullRequest :: mergeable=
Is this pull request mergeable?github :: PullRequest :: mergeable_state
Mergeable state of this pull request.github :: PullRequest :: mergeable_state=
Mergeable state of this pull request.github :: PullRequest :: merged_at=
Merge time as String (if any).github :: PullRequest :: merged_by
User that merged this pull request (if any).github :: PullRequest :: merged_by=
User that merged this pull request (if any).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=
github :: PullRequest :: review_comments
Count of comments made on the pull request diff.github :: PullRequest :: review_comments=
Count of comments made on the pull request diff.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).github :: RepoEntity
Serializer::serialize
# A Github pull request.
#
# Should be accessed from `GithubAPI::get_pull`.
#
# PullRequest are basically Issues with more data.
# See <https://developer.github.com/v3/pulls/>.
class PullRequest
super Issue
serialize
# Merge time as String (if any).
var merged_at: nullable String is writable
# Merge commit SHA.
var merge_commit_sha: nullable String is writable
# Count of comments made on the pull request diff.
var review_comments: nullable Int is writable
# Pull request head (can be a commit SHA or a branch name).
var head: PullRef is writable
# Pull request base (can be a commit SHA or a branch name).
var base: PullRef is writable
# Is this pull request merged?
var merged: nullable Bool is writable
# Is this pull request mergeable?
var mergeable: nullable Bool is writable
# Mergeable state of this pull request.
#
# See <https://developer.github.com/v3/pulls/#list-pull-requests>.
var mergeable_state: nullable String is writable
# User that merged this pull request (if any).
var merged_by: nullable User is writable
# Count of commits in this pull request.
var commits: nullable Int is writable
# Added line count.
var additions: nullable Int is writable
# Deleted line count.
var deletions: nullable Int is writable
# Changed files count.
var changed_files: nullable Int is writable
# URL to patch file
var patch_url: nullable String is writable
end
lib/github/api.nit:682,1--735,3