@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public final class ExecuteMergePullRequestDetails extends MergePullRequestDetails
The information about the merge.
Note: Objects should always be created or deserialized using the ExecuteMergePullRequestDetails.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the ExecuteMergePullRequestDetails.Builder
, which maintain a
set of all explicitly set fields called ExecuteMergePullRequestDetails.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ExecuteMergePullRequestDetails.Builder |
static class |
ExecuteMergePullRequestDetails.PostMergeAction
What needs to happen after the merge is done successfully.
|
MergePullRequestDetails.ActionType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ExecuteMergePullRequestDetails(String commitMessage,
MergeStrategy mergeStrategy,
ExecuteMergePullRequestDetails.PostMergeAction postMergeAction)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ExecuteMergePullRequestDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCommitMessage()
The commit message to be shown for this pull request in the destination branch after merge is
done.
|
MergeStrategy |
getMergeStrategy()
the strategy of merging.
|
ExecuteMergePullRequestDetails.PostMergeAction |
getPostMergeAction()
What needs to happen after the merge is done successfully.
|
int |
hashCode() |
ExecuteMergePullRequestDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public ExecuteMergePullRequestDetails(String commitMessage, MergeStrategy mergeStrategy, ExecuteMergePullRequestDetails.PostMergeAction postMergeAction)
public static ExecuteMergePullRequestDetails.Builder builder()
Create a new builder.
public ExecuteMergePullRequestDetails.Builder toBuilder()
public String getCommitMessage()
The commit message to be shown for this pull request in the destination branch after merge is done.
public MergeStrategy getMergeStrategy()
the strategy of merging.
public ExecuteMergePullRequestDetails.PostMergeAction getPostMergeAction()
What needs to happen after the merge is done successfully.
public String toString()
toString
in class MergePullRequestDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class MergePullRequestDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class MergePullRequestDetails
public int hashCode()
hashCode
in class MergePullRequestDetails
Copyright © 2016–2024. All rights reserved.