github :: CommitStatus :: defaultinit
# Status of a commit
#
# Can contain sub-status for reviews, CI etc.
class CommitStatus
serialize
# Global state of this commit
var state: nullable String = null is optional, writable
# Sha of the commit this status is for
var sha: nullable String = null is optional, writable
# Repository the commit belongs to
var repository: nullable Repo = null is optional, writable
# All sub statuses (one for each check)
var statuses = new Array[RepoStatus] is optional, writable
# Total count of sub statuses
var total_count: nullable Int = null is optional, writable
end
lib/github/api.nit:865,1--885,3