Class ExecuteMergePullRequestDetails
The information about the merge.
Inherited Members
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. |