AzureDevOpsCreatePullRequestSettings Class

Summary

Settings for aliases creating pull requests.
graph BT Type-->Base0["BaseAzureDevOpsPullRequestSettings"] click Base0 "/api/Cake.AzureDevOps.Repos.PullRequest/BaseAzureDevOpsPullRequestSettings" Base0-->Base1["BaseAzureDevOpsCredentialsSettings"] click Base1 "/api/Cake.AzureDevOps/BaseAzureDevOpsCredentialsSettings" Base1-->Base2["Object"] Type["AzureDevOpsCreatePullRequestSettings"] class Type type-node

Syntax

public class AzureDevOpsCreatePullRequestSettings : BaseAzureDevOpsPullRequestSettings

Constructors

Properties

Name Value Summary
Credentials IAzureDevOpsCredentials
Gets the credentials used to authenticate against Azure DevOps.
Description string
Gets the description of the pull request.
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.
TargetRefName string
Gets the target branch of the pull request. If or System.String.Empty the default branch of the repository will be used.
Title string
Gets the title of the pull request.

Methods

Name Value Summary
UsingAzurePipelinesOAuthToken(Uri, string, string, string, string) AzureDevOpsCreatePullRequestSettings
Constructs the settings object using the access token provided by Azure Pipelines.
static

Extension Methods

Name Value Summary
Dump<AzureDevOpsCreatePullRequestSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AzureDevOpsCreatePullRequestSettings>(AzureDevOpsCreatePullRequestSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AzureDevOpsCreatePullRequestSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<AzureDevOpsCreatePullRequestSettings>(string) void
Requires the Cake.Issues addin
ThrowIfNull<AzureDevOpsCreatePullRequestSettings>(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<AzureDevOpsCreatePullRequestSettings>(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