struct Octokit::Models::PullRequestEvent

Defined in:

octokit/models/event_types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(action : String, assignee : User, number : Int32, pull_request : PullRequest, changes : Union(EditChange, Nil), requested_reviewer : Union(User, Nil), repo : Union(Repository, Nil), sender : Union(User, Nil), installation : Union(Installation, Nil), label : Union(Label, Nil), organization : Union(Organization, Nil)) #

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

Instance Method Detail

def action : String #

def action=(_action : String) #

def assignee : User #

def assignee=(_assignee : User) #

def changes : Union(EditChange, Nil) #

def changes=(_changes : Union(EditChange, Nil)) #

def installation : Union(Installation, Nil) #

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

def label : Union(Label, Nil) #

def label=(_label : Union(Label, Nil)) #

def number : Int32 #

def number=(_number : Int32) #

def organization : Union(Organization, Nil) #

def organization=(_organization : Union(Organization, Nil)) #

def pull_request : PullRequest #

def pull_request=(_pull_request : PullRequest) #

def repo : Union(Repository, Nil) #

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

def requested_reviewer : Union(User, Nil) #

def requested_reviewer=(_requested_reviewer : Union(User, Nil)) #

def sender : Union(User, Nil) #

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

def to_json(json : JSON::Builder) #