struct Octokit::Models::PushEvent
- Octokit::Models::PushEvent
- Struct
- Value
- Object
Defined in:
octokit/models/event_types.crConstructors
- .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_1317 : JSON::PullParser)
Instance Method Summary
- #after : Union(String, Nil)
- #after=(_after : Union(String, Nil))
- #base_ref : Union(String, Nil)
- #base_ref=(_base_ref : Union(String, Nil))
- #before : String
- #before=(_before : String)
- #commits : Array(PushEventCommit)
- #commits=(_commits : Array(PushEventCommit))
- #compare : Union(String, Nil)
- #compare=(_compare : Union(String, Nil))
- #created : Union(Bool, Nil)
- #created=(_created : Union(Bool, Nil))
- #deleted : Union(Bool, Nil)
- #deleted=(_deleted : Union(Bool, Nil))
- #distinct_size : Int32
- #distinct_size=(_distinct_size : Int32)
- #forced : Union(Bool, Nil)
- #forced=(_forced : Union(Bool, Nil))
- #head : String
- #head=(_head : String)
- #head_commit : Union(PushEventCommit, Nil)
- #head_commit=(_head_commit : Union(PushEventCommit, Nil))
- #installation : Union(Installation, Nil)
- #installation=(_installation : Union(Installation, Nil))
- #push_id : Int64
- #push_id=(_push_id : Int64)
- #pusher : Union(User, Nil)
- #pusher=(_pusher : Union(User, Nil))
- #ref : String
- #ref=(_ref : String)
- #repo : Union(PushEventRepository, Nil)
- #repo=(_repo : Union(PushEventRepository, Nil))
- #sender : Union(User, Nil)
- #sender=(_sender : Union(User, Nil))
- #size : Int32
- #size=(_size : Int32)
- #to_json(json : JSON::Builder)
Constructor Detail
def self.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))
#