AzureDevOpsPullRequestSystemSettings Class

graph BT Type-->Base0["AzureDevOpsPullRequestSettings"] click Base0 "/api/Cake.AzureDevOps.Repos.PullRequest/AzureDevOpsPullRequestSettings" Base0-->Base1["BaseAzureDevOpsPullRequestSettings"] click Base1 "/api/Cake.AzureDevOps.Repos.PullRequest/BaseAzureDevOpsPullRequestSettings" Base1-->Base2["BaseAzureDevOpsCredentialsSettings"] click Base2 "/api/Cake.AzureDevOps/BaseAzureDevOpsCredentialsSettings" Base2-->Base3["Object"] Type["AzureDevOpsPullRequestSystemSettings"] class Type type-node

Syntax

public class AzureDevOpsPullRequestSystemSettings : AzureDevOpsPullRequestSettings

Constructors

Properties

Name Value Summary
CheckCommitId bool
Credentials IAzureDevOpsCredentials
Gets the credentials used to authenticate against Azure DevOps.
ManageDiscussionThreadStatus bool
PullRequestId Nullable<int>
Gets the ID of the pull request.
ReportIssuesNotRelatedToAFile bool
RepositoryUrl Uri
Gets the full URL of the Git repository, eg.
http://myserver:8080/defaultcollection/myproject/_git/myrepository
.
SourceRefName string
Gets the branch for which the pull request is made.
ThrowExceptionIfPullRequestCouldNotBeFound bool
Gets or sets a value indicating whether an exception should be thrown if pull request for SourceRefName or PullRequestId could not be found.

Methods

Name Value Summary
UsingAzurePipelinesOAuthToken() AzureDevOpsPullRequestSettings
Constructs the settings object using the access token provided by Azure Pipelines.
static
UsingAzurePipelinesOAuthToken(bool) AzureDevOpsPullRequestSettings
Constructs the settings object using the access token provided by Azure Pipelines.
static

Extension Methods

Name Value Summary
Dump<AzureDevOpsPullRequestSystemSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AzureDevOpsPullRequestSystemSettings>(AzureDevOpsPullRequestSystemSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AzureDevOpsPullRequestSystemSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<AzureDevOpsPullRequestSystemSettings>(string) void
Requires the Cake.Issues addin
ThrowIfNull<AzureDevOpsPullRequestSystemSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<AzureDevOpsPullRequestSystemSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin