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 : String, created_at : Time, updated_at : Time, closed_at : String, merged_at : String, labels : Array(Label), user : User, draft : Bool, merged : Bool, mergeable : Bool, mergeable_state : String, merged_by : String, merge_commit_sha : String, comments : Int32, commits : Int32, additions : Int32, deletions : Int32, changed_files : Int32, 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 : Int32, assignee : User, assignees : Array(User), milestone : Milestone, maintainer_can_modify : Bool, author_association : String, node_id : String, requested_reviewers : Array(User), requested_teams : Array(Team), links : PRLinks, head : PullRequestBranch, base : PullRequestBranch, active_lock_reason : String) #

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

Instance Method Detail

def active_lock_reason : String #

def active_lock_reason=(_active_lock_reason : String) #

def additions : Int32 #

def additions=(_additions : Int32) #

def assignee : User #

def assignee=(_assignee : User) #

def assignees : Array(User) #

def assignees=(_assignees : Array(User)) #

def author_association : String #

def author_association=(_author_association : String) #

def base : PullRequestBranch #

def base=(_base : PullRequestBranch) #

def body : String #

def body=(_body : String) #

def changed_files : Int32 #

def changed_files=(_changed_files : Int32) #

def closed_at : String #

def closed_at=(_closed_at : String) #

def comments : Int32 #

def comments=(_comments : Int32) #

def comments_url : String #

def comments_url=(_comments_url : String) #

def commits : Int32 #

def commits=(_commits : Int32) #

def commits_url : String #

def commits_url=(_commits_url : String) #

def created_at : Time #

def created_at=(_created_at : Time) #

def deletions : Int32 #

def deletions=(_deletions : Int32) #

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 : Array(Label) #

def labels=(_labels : Array(Label)) #

def links : PRLinks #

def links=(_links : PRLinks) #

def maintainer_can_modify : Bool #

def maintainer_can_modify=(_maintainer_can_modify : Bool) #

def merge_commit_sha : String #

def merge_commit_sha=(_merge_commit_sha : String) #

def mergeable : Bool #

def mergeable=(_mergeable : Bool) #

def mergeable_state : String #

def mergeable_state=(_mergeable_state : String) #

def merged : Bool #

def merged=(_merged : Bool) #

def merged_at : String #

def merged_at=(_merged_at : String) #

def merged_by : String #

def merged_by=(_merged_by : String) #

def milestone : Milestone #

def milestone=(_milestone : Milestone) #

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 : Int32 #

def review_comments=(_review_comments : Int32) #

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