@Generated(value="software.amazon.awssdk:codegen") public final class PullRequestSourceReferenceUpdatedEventMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PullRequestSourceReferenceUpdatedEventMetadata.Builder,PullRequestSourceReferenceUpdatedEventMetadata>
Information about an update to the source branch of a pull request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PullRequestSourceReferenceUpdatedEventMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
afterCommitId()
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request
was updated.
|
String |
beforeCommitId()
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull
request was updated.
|
static PullRequestSourceReferenceUpdatedEventMetadata.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
mergeBase()
The commit ID of the most recent commit that the source branch and the destination branch have in common.
|
String |
repositoryName()
The name of the repository where the pull request was updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PullRequestSourceReferenceUpdatedEventMetadata.Builder> |
serializableBuilderClass() |
PullRequestSourceReferenceUpdatedEventMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String repositoryName()
The name of the repository where the pull request was updated.
public final String beforeCommitId()
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.
public final String afterCommitId()
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.
public final String mergeBase()
The commit ID of the most recent commit that the source branch and the destination branch have in common.
public PullRequestSourceReferenceUpdatedEventMetadata.Builder toBuilder()
public static PullRequestSourceReferenceUpdatedEventMetadata.Builder builder()
public static Class<? extends PullRequestSourceReferenceUpdatedEventMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.