github :: StatusEvent :: defaultinit
# Triggered when the status of a Git commit changes.
class StatusEvent
super GithubEvent
serialize
# The `Commit` itself.
var sha: String is writable
# New state.
#
# Can be `pending`, `success`, `failure`, or `error`.
var state: String is writable
# Optional human-readable description added to the status.
var description: nullable String is writable
# Optional link added to the status.
var target_url: nullable String is writable
# Array of branches containing the status' SHA.
#
# Each branch contains the given SHA,
# but the SHA may or may not be the head of the branch.
#
# The array includes a maximum of 10 branches.
var branches = new Array[Branch] is writable, optional
end
lib/github/events.nit:219,1--245,3