Record Class PullRequestCreatedDto
java.lang.Object
java.lang.Record
com.codebarrel.automation.api.devops.schema.PullRequestCreatedDto
public record PullRequestCreatedDto(EntityAssociationDto associations, ProviderReferenceDto provider, RepositoryReferenceDto repository, PullRequestDto pullRequest)
extends Record
Mirror class for com.atlassian.devops.schemas.pullrequest.PullRequestCreated.
Used for Jackson 3 deserialization since the original library uses Jackson 2.
-
Constructor Summary
ConstructorsConstructorDescriptionPullRequestCreatedDto(EntityAssociationDto associations, ProviderReferenceDto provider, RepositoryReferenceDto repository, PullRequestDto pullRequest) Creates an instance of aPullRequestCreatedDtorecord 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
-
PullRequestCreatedDto
public PullRequestCreatedDto(EntityAssociationDto associations, ProviderReferenceDto provider, RepositoryReferenceDto repository, PullRequestDto pullRequest) Creates an instance of aPullRequestCreatedDtorecord 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
-
hashCode
-
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
-