struct Octokit::Models::PullRequest

Defined in:

octokit/models/pulls.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : Int64, number : Int32, state : String, title : String, body : Union(String, Nil), created_at : Time, updated_at : Time, closed_at : Union(String, Nil), merged_at : Union(String, Nil), labels : Union(Array(Label), Nil), user : User, draft : Bool, merged : Union(Bool, Nil), mergeable : Union(Bool, Nil), mergeable_state : Union(String, Nil), merged_by : Union(String, Nil), merge_commit_sha : String, comments : Union(Int32, Nil), commits : Union(Int32, Nil), additions : Union(Int32, Nil), deletions : Union(Int32, Nil), changed_files : Union(Int32, Nil), url : String, html_url : String, issue_url : String, statuses_url : String, diff_url : String, patch_url : String, commits_url : String, comments_url : String, review_comment_url : String, review_comments : Union(Int32, Nil), assignee : Union(User, Nil), assignees : Union(Array(User), Nil), milestone : Union(Milestone, Nil), maintainer_can_modify : Union(Bool, Nil), author_association : String, node_id : String, requested_reviewers : Array(User), requested_teams : Array(Team), links : Union(PRLinks, Nil), head : PullRequestBranch, base : PullRequestBranch, active_lock_reason : Union(String, Nil)) #

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

Instance Method Detail

def active_lock_reason : Union(String, Nil) #

def active_lock_reason=(_active_lock_reason : Union(String, Nil)) #

def additions : Union(Int32, Nil) #

def additions=(_additions : Union(Int32, Nil)) #

def assignee : Union(User, Nil) #

def assignee=(_assignee : Union(User, Nil)) #

def assignees : Union(Array(User), Nil) #

def assignees=(_assignees : Union(Array(User), Nil)) #

def author_association : String #

def author_association=(_author_association : String) #

def base : PullRequestBranch #

def base=(_base : PullRequestBranch) #

def body : Union(String, Nil) #

def body=(_body : Union(String, Nil)) #

def changed_files : Union(Int32, Nil) #

def changed_files=(_changed_files : Union(Int32, Nil)) #

def closed_at : Union(String, Nil) #

def closed_at=(_closed_at : Union(String, Nil)) #

def comments : Union(Int32, Nil) #

def comments=(_comments : Union(Int32, Nil)) #

def comments_url : String #

def comments_url=(_comments_url : String) #

def commits : Union(Int32, Nil) #

def commits=(_commits : Union(Int32, Nil)) #

def commits_url : String #

def commits_url=(_commits_url : String) #

def created_at : Time #

def created_at=(_created_at : Time) #

def deletions : Union(Int32, Nil) #

def deletions=(_deletions : Union(Int32, Nil)) #

def diff_url : String #

def diff_url=(_diff_url : String) #

def draft : Bool #

def draft=(_draft : Bool) #

def head : PullRequestBranch #

def head=(_head : PullRequestBranch) #

def html_url : String #

def html_url=(_html_url : String) #

def id : Int64 #

def id=(_id : Int64) #

def issue_url : String #

def issue_url=(_issue_url : String) #

def labels : Union(Array(Label), Nil) #

def labels=(_labels : Union(Array(Label), Nil)) #

def links : Union(PRLinks, Nil) #

def links=(_links : Union(PRLinks, Nil)) #

def maintainer_can_modify : Union(Bool, Nil) #

def maintainer_can_modify=(_maintainer_can_modify : Union(Bool, Nil)) #

def merge_commit_sha : String #

def merge_commit_sha=(_merge_commit_sha : String) #

def mergeable : Union(Bool, Nil) #

def mergeable=(_mergeable : Union(Bool, Nil)) #

def mergeable_state : Union(String, Nil) #

def mergeable_state=(_mergeable_state : Union(String, Nil)) #

def merged : Union(Bool, Nil) #

def merged=(_merged : Union(Bool, Nil)) #

def merged_at : Union(String, Nil) #

def merged_at=(_merged_at : Union(String, Nil)) #

def merged_by : Union(String, Nil) #

def merged_by=(_merged_by : Union(String, Nil)) #

def milestone : Union(Milestone, Nil) #

def milestone=(_milestone : Union(Milestone, Nil)) #

def node_id : String #

def node_id=(_node_id : String) #

def number : Int32 #

def number=(_number : Int32) #

def patch_url : String #

def patch_url=(_patch_url : String) #

def requested_reviewers : Array(User) #

def requested_reviewers=(_requested_reviewers : Array(User)) #

def requested_teams : Array(Team) #

def requested_teams=(_requested_teams : Array(Team)) #

def review_comment_url : String #

def review_comment_url=(_review_comment_url : String) #

def review_comments : Union(Int32, Nil) #

def review_comments=(_review_comments : Union(Int32, Nil)) #

def state : String #

def state=(_state : String) #

def statuses_url : String #

def statuses_url=(_statuses_url : String) #

def title : String #

def title=(_title : String) #

def to_json(json : JSON::Builder) #

def updated_at : Time #

def updated_at=(_updated_at : Time) #

def url : String #

def url=(_url : String) #

def user : User #

def user=(_user : User) #