github :: Milestone :: defaultinit
# A Github milestone.
#
# Should be accessed from `GithubAPI::get_milestone`.
#
# See <https://developer.github.com/v3/issues/milestones/>.
class Milestone
serialize
# The milestone id on Github.
var number: nullable Int = null is writable
# Milestone title.
var title: String is writable
# Milestone long description.
var description: nullable String is writable
# Count of opened issues linked to this milestone.
var open_issues: nullable Int = null is writable
# Count of closed issues linked to this milestone.
var closed_issues: nullable Int = null is writable
# Milestone state.
var state: nullable String is writable
# Creation time as String.
var created_at: nullable String is writable
# User that created this milestone.
var creator: nullable User is writable
# Due time as String (if any).
var due_on: nullable 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
end
lib/github/api.nit:774,1--814,3