struct

Octokit::Models::PushEvent

Inherits Struct < Value < Object

Constructors

new(push_id : Int64, head : String, ref : String, size : Int32, commits : Array(PushEventCommit), before : String, distinct_size : Int32, after : Union(String, Nil), created : Union(Bool, Nil), deleted : Union(Bool, Nil), forced : Union(Bool, Nil), base_ref : Union(String, Nil), compare : Union(String, Nil), repo : Union(PushEventRepository, Nil), head_commit : Union(PushEventCommit, Nil), pusher : Union(User, Nil), sender : Union(User, Nil), installation : Union(Installation, Nil))
new(__temp_1812 : JSON::PullParser)

Instance methods

after
after=(_after : Union(String, Nil))
base_ref
base_ref=(_base_ref : Union(String, Nil))
before
before=(_before : String)
commits
commits=(_commits : Array(PushEventCommit))
compare
compare=(_compare : Union(String, Nil))
created
created=(_created : Union(Bool, Nil))
deleted
deleted=(_deleted : Union(Bool, Nil))
distinct_size
distinct_size=(_distinct_size : Int32)
forced
forced=(_forced : Union(Bool, Nil))
head
head=(_head : String)
head_commit
head_commit=(_head_commit : Union(PushEventCommit, Nil))
installation
installation=(_installation : Union(Installation, Nil))
push_id
push_id=(_push_id : Int64)
pusher
pusher=(_pusher : Union(User, Nil))
ref
ref=(_ref : String)
repo
repo=(_repo : Union(PushEventRepository, Nil))
sender
sender=(_sender : Union(User, Nil))
size
size=(_size : Int32)
to_json(json : JSON::Builder)