Edit

Share via


PullRequest Class

Definition

Represents a pull request object. These are retrieved from Source Providers.

[System.Runtime.Serialization.DataContract]
public class PullRequest : Microsoft.VisualStudio.Services.WebApi.BaseSecuredObject
type PullRequest = class
    inherit BaseSecuredObject
Public Class PullRequest
Inherits BaseSecuredObject
Inheritance
Microsoft.VisualStudio.Services.WebApi.BaseSecuredObject
PullRequest
Attributes

Constructors

PullRequest()

Properties

Author

Author of the pull request.

CurrentState

Current state of the pull request, e.g. open, merged, closed, conflicts, etc.

Description

Description for the pull request.

Id

Unique identifier for the pull request

Links

The links to other objects related to this object.

ProviderName

The name of the provider this pull request is associated with.

SourceBranchRef

Source branch ref of this pull request

SourceRepositoryOwner

Owner of the source repository of this pull request

TargetBranchRef

Target branch ref of this pull request

TargetRepositoryOwner

Owner of the target repository of this pull request

Title

Title of the pull request.

Applies to