github :: Issue :: defaultinit
# 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