Record Class PullRequestMergedDto
java.lang.Object
java.lang.Record
com.codebarrel.automation.api.devops.schema.PullRequestMergedDto
public record PullRequestMergedDto(EntityAssociationDto associations, ProviderReferenceDto provider, RepositoryReferenceDto repository, PullRequestDto pullRequest)
extends Record
Mirror class for com.atlassian.devops.schemas.pullrequest.PullRequestMerged.
Used for Jackson 3 deserialization since the original library uses Jackson 2.
-
Constructor Summary
ConstructorsConstructorDescriptionPullRequestMergedDto(EntityAssociationDto associations, ProviderReferenceDto provider, RepositoryReferenceDto repository, PullRequestDto pullRequest) Creates an instance of aPullRequestMergedDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassociationsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.provider()Returns the value of theproviderrecord component.Returns the value of thepullRequestrecord component.Returns the value of therepositoryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PullRequestMergedDto
public PullRequestMergedDto(EntityAssociationDto associations, ProviderReferenceDto provider, RepositoryReferenceDto repository, PullRequestDto pullRequest) Creates an instance of aPullRequestMergedDtorecord class.- Parameters:
associations- the value for theassociationsrecord componentprovider- the value for theproviderrecord componentrepository- the value for therepositoryrecord componentpullRequest- the value for thepullRequestrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
associations
Returns the value of theassociationsrecord component.- Returns:
- the value of the
associationsrecord component
-
provider
Returns the value of theproviderrecord component.- Returns:
- the value of the
providerrecord component
-
repository
Returns the value of therepositoryrecord component.- Returns:
- the value of the
repositoryrecord component
-
pullRequest
Returns the value of thepullRequestrecord component.- Returns:
- the value of the
pullRequestrecord component
-