struct Octokit::Models::PullRequest
- Octokit::Models::PullRequest
- Struct
- Value
- Object
Defined in:
octokit/models/pulls.crConstructors
- .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)
- .new(__temp_2743 : JSON::PullParser)
Instance Method Summary
- #active_lock_reason : String
- #active_lock_reason=(_active_lock_reason : String)
- #additions : Int32
- #additions=(_additions : Int32)
- #assignee : User
- #assignee=(_assignee : User)
- #assignees : Array(User)
- #assignees=(_assignees : Array(User))
- #author_association : String
- #author_association=(_author_association : String)
- #base : PullRequestBranch
- #base=(_base : PullRequestBranch)
- #body : String
- #body=(_body : String)
- #changed_files : Int32
- #changed_files=(_changed_files : Int32)
- #closed_at : String
- #closed_at=(_closed_at : String)
- #comments : Int32
- #comments=(_comments : Int32)
- #comments_url : String
- #comments_url=(_comments_url : String)
- #commits : Int32
- #commits=(_commits : Int32)
- #commits_url : String
- #commits_url=(_commits_url : String)
- #created_at : Time
- #created_at=(_created_at : Time)
- #deletions : Int32
- #deletions=(_deletions : Int32)
- #diff_url : String
- #diff_url=(_diff_url : String)
- #draft : Bool
- #draft=(_draft : Bool)
- #head : PullRequestBranch
- #head=(_head : PullRequestBranch)
- #html_url : String
- #html_url=(_html_url : String)
- #id : Int64
- #id=(_id : Int64)
- #issue_url : String
- #issue_url=(_issue_url : String)
- #labels : Array(Label)
- #labels=(_labels : Array(Label))
- #links : PRLinks
- #links=(_links : PRLinks)
- #maintainer_can_modify : Bool
- #maintainer_can_modify=(_maintainer_can_modify : Bool)
- #merge_commit_sha : String
- #merge_commit_sha=(_merge_commit_sha : String)
- #mergeable : Bool
- #mergeable=(_mergeable : Bool)
- #mergeable_state : String
- #mergeable_state=(_mergeable_state : String)
- #merged : Bool
- #merged=(_merged : Bool)
- #merged_at : String
- #merged_at=(_merged_at : String)
- #merged_by : String
- #merged_by=(_merged_by : String)
- #milestone : Milestone
- #milestone=(_milestone : Milestone)
- #node_id : String
- #node_id=(_node_id : String)
- #number : Int32
- #number=(_number : Int32)
- #patch_url : String
- #patch_url=(_patch_url : String)
- #requested_reviewers : Array(User)
- #requested_reviewers=(_requested_reviewers : Array(User))
- #requested_teams : Array(Team)
- #requested_teams=(_requested_teams : Array(Team))
- #review_comment_url : String
- #review_comment_url=(_review_comment_url : String)
- #review_comments : Int32
- #review_comments=(_review_comments : Int32)
- #state : String
- #state=(_state : String)
- #statuses_url : String
- #statuses_url=(_statuses_url : String)
- #title : String
- #title=(_title : String)
- #to_json(json : JSON::Builder)
- #updated_at : Time
- #updated_at=(_updated_at : Time)
- #url : String
- #url=(_url : String)
- #user : User
- #user=(_user : User)
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)
#