Record Class EntityAssociationDto
java.lang.Object
java.lang.Record
com.codebarrel.automation.api.devops.schema.EntityAssociationDto
public record EntityAssociationDto(List<IssueAssociationDto> current, List<IssueAssociationDto> removed)
extends Record
Mirror class for com.atlassian.devops.schemas.EntityAssociation.
Used for Jackson 3 deserialization since the original library uses Jackson 2.
-
Constructor Summary
ConstructorsConstructorDescriptionEntityAssociationDto(List<IssueAssociationDto> current, List<IssueAssociationDto> removed) Creates an instance of aEntityAssociationDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptioncurrent()Returns the value of thecurrentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.removed()Returns the value of theremovedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EntityAssociationDto
Creates an instance of aEntityAssociationDtorecord class.- Parameters:
current- the value for thecurrentrecord componentremoved- the value for theremovedrecord 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). -
current
Returns the value of thecurrentrecord component.- Returns:
- the value of the
currentrecord component
-
removed
Returns the value of theremovedrecord component.- Returns:
- the value of the
removedrecord component
-