PullRequest Class

Definition

Response for Get a pull request

public class PullRequest
type PullRequest = class
Public Class PullRequest
Inheritance
PullRequest

Constructors

Name Description
PullRequest()

Properties

Name Description
Assignee

assignee

Base

Base

CanMaintainerModifyPullRequest

Indicates whether maintainers can modify the pull request.

Head

Head

IsPullRequestDraft

Indicates whether or not the pull request is a draft.

IsPullRequestLocked

Whether the pull request is locked or not.

IsPullRequestMergeable

Whether or not the pull request can be merged based on the existence of merge conflicts.

IsPullRequestMerged

Whether or not the pull request was merged.

IsPullRequestRebaseable

Whether or not the pull request is rebaseable.

MergedBy

merged_by

Milestone

milestone

PullRequestActiveLockReason

Reason that the conversation was locked.

PullRequestAdditionsCount

The number of additions in this pull request.

PullRequestAssignees

The list of assignees for the pull request.

PullRequestAuthorAssociation

Author's association with the subject of the comment.

PullRequestBody

The body as Markdown.

PullRequestChangedFilesCount

The number of changed files in this pull request.

PullRequestClosedAt

The date and time when the pull request was closed.

PullRequestCommentsCount

The number of comments in this pull request.

PullRequestCommitsCount

The number of commits in this pull request.

PullRequestCommitUrl

The commit URL for the pull request.

PullRequestCreatedAt

The date and time when the pull request was created.

PullRequestDeletionsCount

The number of deletions in this pull request.

PullRequestDiffUrl

The Diff URL for the pull request.

PullRequestHtmlUrl

The HTML URL for the pull request.

PullRequestId

The Unique Identifier for the pull request.

PullRequestIssueUrl

The issue URL for the pull request.

PullRequestLabels

The list of labels associated with the pull request.

PullRequestMergeableState

The mergeable state of the pull request.

PullRequestMergeCommitSha

The merge commit Sha of the pull request.

PullRequestMergedAt

The date and time that the pull request was merged.

PullRequestNodeId

The Node ID for the pull request.

PullRequestNumber

Number uniquely identifying the pull request within its repository.

PullRequestPatchUrl

The patch URL for the pull request.

PullRequestRequestedReviewers

The list of Users assigned to this pull request.

PullRequestRequestedTeams

The list of requested teams to this pull request.

PullRequestReviewCommentsCount

The number of review comments in this pull request.

PullRequestReviewCommentsUrl

The review comments URL for the pull request.

PullRequestReviewCommentUrl

The review comment URL for the pull request.

PullRequestState

State of this Pull Request. Either open or closed.

PullRequestStatusesUrl

The statuses URL for the pull request.

PullRequestTitle

The title of the pull request.

PullRequestUpdatedAt

The date and time when the pull request was last updated.

PullRequestUrl

The HTTP URL for this pull request.

User

user

Applies to