@Generated(value="software.amazon.awssdk:codegen") public final class PullRequestCreatedEventMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PullRequestCreatedEventMetadata.Builder,PullRequestCreatedEventMetadata>
Metadata about the pull request that is used when comparing the pull request source with its destination.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PullRequestCreatedEventMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PullRequestCreatedEventMetadata.Builder |
builder() |
String |
destinationCommitId()
The commit ID of the tip of the branch specified as the destination branch when the pull request was created.
|
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 created.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PullRequestCreatedEventMetadata.Builder> |
serializableBuilderClass() |
String |
sourceCommitId()
The commit ID on the source branch used when the pull request was created.
|
PullRequestCreatedEventMetadata.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 created.
public final String sourceCommitId()
The commit ID on the source branch used when the pull request was created.
public final String destinationCommitId()
The commit ID of the tip of the branch specified as the destination branch when the pull request was created.
public final String mergeBase()
The commit ID of the most recent commit that the source branch and the destination branch have in common.
public PullRequestCreatedEventMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PullRequestCreatedEventMetadata.Builder,PullRequestCreatedEventMetadata>public static PullRequestCreatedEventMetadata.Builder builder()
public static Class<? extends PullRequestCreatedEventMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.