Record Class UpdateAccountStrategyDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.account.UpdateAccountStrategyDTO
- Record Components:
strategyUid- strategy uid to assign, or blank to clear the assignment
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateAccountStrategyDTO(@Size(max=255) String strategyUid) Creates an instance of aUpdateAccountStrategyDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Size(max=255) StringReturns the value of thestrategyUidrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UpdateAccountStrategyDTO
Creates an instance of aUpdateAccountStrategyDTOrecord class.- Parameters:
strategyUid- the value for thestrategyUidrecord 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). -
strategyUid
Returns the value of thestrategyUidrecord component.- Returns:
- the value of the
strategyUidrecord component
-