GitPullRequest Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents all the data associated with a pull request.
[Microsoft.VisualStudio.Services.WebApi.ServiceEventObject]
[System.Runtime.Serialization.DataContract]
public class GitPullRequest : Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlSecuredObject
type GitPullRequest = class
inherit VersionControlSecuredObject
Public Class GitPullRequest
Inherits VersionControlSecuredObject
- Inheritance
- Attributes
-
Microsoft.VisualStudio.Services.WebApi.ServiceEventObjectAttribute Data
Contract Attribute
Artifact |
A string which uniquely identifies this pull request. To generate an artifact ID for a pull request, use this template:
|
Auto |
If set, auto-complete is enabled for this pull request and this is the identity that enabled it. |
Closed |
The user who closed the pull request. |
Closed |
The date when the pull request was closed (completed, abandoned, or merged externally). |
Code |
The code review ID of the pull request. Used internally. |
Commits |
The commits contained in the pull request. |
Completion |
Options which affect how the pull request will be merged when it is completed. |
Completion |
The most recent date at which the pull request entered the queue to be completed. Used internally. |
Created |
The identity of the user who created the pull request. |
Creation |
The date when the pull request was created. |
Description |
The description of the pull request. |
Fork |
If this is a PR from a fork this will contain information about its source. |
Is |
Draft / WIP pull request. |
Labels |
The labels associated with the pull request. |
Last |
The commit of the most recent pull request merge. If empty, the most recent merge is in progress or was unsuccessful. |
Last |
The commit at the head of the source branch at the time of the last pull request merge. |
Last |
The commit at the head of the target branch at the time of the last pull request merge. |
Links |
Links to other related objects. |
Merge |
If set, pull request merge failed for this reason. |
Merge |
The type of failure (if any) of the pull request merge. |
Merge |
The ID of the job used to run the pull request merge. Used internally. |
Merge |
Options used when the pull request merge runs. These are separate from completion options since completion happens only once and a new merge will run every time the source branch of the pull request changes. |
Merge |
The current status of the pull request merge. |
Pull |
The ID of the pull request. |
Remote |
Used internally. |
Repository |
The repository containing the target branch of the pull request. |
Reviewers |
A list of reviewers on the pull request along with the state of their votes. |
Source |
The name of the source branch of the pull request. |
Status |
The status of the pull request. |
Supports |
If true, this pull request supports multiple iterations. Iteration support means individual pushes to the source branch of the pull request can be reviewed and comments left in one iteration will be tracked across future iterations. |
Target |
The name of the target branch of the pull request. |
Title |
The title of the pull request. |
Url |
Used internally. |
Work |
Any work item references associated with this pull request. |
ISecured |
(Inherited from VersionControlSecuredObject) |
ISecured |
(Inherited from VersionControlSecuredObject) |
ISecured |
(Inherited from VersionControlSecuredObject) |
Produk | Versi |
---|---|
Azure DevOps Services .NET SDK | preview, latest |