Show / Hide Table of Contents

Class ExecuteMergePullRequestDetails

The information about the merge.

Inheritance
object
MergePullRequestDetails
ExecuteMergePullRequestDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class ExecuteMergePullRequestDetails : MergePullRequestDetails

Properties

CommitMessage

Declaration
[Required(ErrorMessage = "CommitMessage is required.")]
[JsonProperty(PropertyName = "commitMessage")]
public string CommitMessage { get; set; }
Property Value
Type Description
string

The commit message to be shown for this pull request in the destination branch after merge is done.

Remarks

Required

MergeStrategy

Declaration
[Required(ErrorMessage = "MergeStrategy is required.")]
[JsonProperty(PropertyName = "mergeStrategy")]
[JsonConverter(typeof(StringEnumConverter))]
public MergeStrategy? MergeStrategy { get; set; }
Property Value
Type Description
MergeStrategy?

the strategy of merging.

Remarks

Required

PostMergeAction

Declaration
[JsonProperty(PropertyName = "postMergeAction")]
[JsonConverter(typeof(StringEnumConverter))]
public ExecuteMergePullRequestDetails.PostMergeActionEnum? PostMergeAction { get; set; }
Property Value
Type Description
ExecuteMergePullRequestDetails.PostMergeActionEnum?

What needs to happen after the merge is done successfully.

In this article
Back to top