struct Octokit::Models::PushEvent

Defined in:

octokit/models/event_types.cr

Constructors

Instance Method Summary

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)) #

def self.new(__temp_1793 : JSON::PullParser) #

Instance Method Detail

def after : Union(String, Nil) #

def after=(_after : Union(String, Nil)) #

def base_ref : Union(String, Nil) #

def base_ref=(_base_ref : Union(String, Nil)) #

def before : String #

def before=(_before : String) #

def commits : Array(PushEventCommit) #

def commits=(_commits : Array(PushEventCommit)) #

def compare : Union(String, Nil) #

def compare=(_compare : Union(String, Nil)) #

def created : Union(Bool, Nil) #

def created=(_created : Union(Bool, Nil)) #

def deleted : Union(Bool, Nil) #

def deleted=(_deleted : Union(Bool, Nil)) #

def distinct_size : Int32 #

def distinct_size=(_distinct_size : Int32) #

def forced : Union(Bool, Nil) #

def forced=(_forced : Union(Bool, Nil)) #

def head : String #

def head=(_head : String) #

def head_commit : Union(PushEventCommit, Nil) #

def head_commit=(_head_commit : Union(PushEventCommit, Nil)) #

def installation : Union(Installation, Nil) #

def installation=(_installation : Union(Installation, Nil)) #

def push_id : Int64 #

def push_id=(_push_id : Int64) #

def pusher : Union(User, Nil) #

def pusher=(_pusher : Union(User, Nil)) #

def ref : String #

def ref=(_ref : String) #

def repo : Union(PushEventRepository, Nil) #

def repo=(_repo : Union(PushEventRepository, Nil)) #

def sender : Union(User, Nil) #

def sender=(_sender : Union(User, Nil)) #

def size : Int32 #

def size=(_size : Int32) #

def to_json(json : JSON::Builder) #