GitPullRequestCompletionOptions Class
Definition
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.
Preferences about how the pull request should be completed.
[System.Runtime.Serialization.DataContract]
public class GitPullRequestCompletionOptions : Microsoft.TeamFoundation.SourceControl.WebApi.VersionControlSecuredObject
type GitPullRequestCompletionOptions = class
inherit VersionControlSecuredObject
Public Class GitPullRequestCompletionOptions
Inherits VersionControlSecuredObject
- Inheritance
- Attributes
Constructors
| GitPullRequestCompletionOptions() |
Properties
| BypassPolicy |
If true, policies will be explicitly bypassed while the pull request is completed. |
| BypassReason |
If policies are bypassed, this reason is stored as to why bypass was used. |
| DeleteSourceBranch |
If true, the source branch of the pull request will be deleted after completion. |
| MergeCommitMessage |
If set, this will be used as the commit message of the merge commit. |
| SquashMerge |
If true, the commits in the pull request will be squash-merged into the specified target branch on completion. |
| TransitionWorkItems |
If true, we will attempt to transition any work items linked to the pull request into the next logical state (i.e. Active -> Resolved) |
| TriggeredByAutoComplete |
If true, the current completion attempt was triggered via auto-complete. Used internally. |
Methods
| Equals(Object) | |
| GetHashCode() | |
| SetSecuredObject(ISecuredObject) | (Inherited from VersionControlSecuredObject) |
Explicit Interface Implementations
| ISecuredObject.GetToken() | (Inherited from VersionControlSecuredObject) |
| ISecuredObject.NamespaceId | (Inherited from VersionControlSecuredObject) |
| ISecuredObject.RequiredPermissions | (Inherited from VersionControlSecuredObject) |