Record Class UpdateWatchlistItemDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.watchlist.UpdateWatchlistItemDTO
- Record Components:
preferredSymbolAliasUid- preferred alias uid, ornullto clear it
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateWatchlistItemDTO(@Size(max=255) String preferredSymbolAliasUid) Creates an instance of aUpdateWatchlistItemDTOrecord 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 thepreferredSymbolAliasUidrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UpdateWatchlistItemDTO
Creates an instance of aUpdateWatchlistItemDTOrecord class.- Parameters:
preferredSymbolAliasUid- the value for thepreferredSymbolAliasUidrecord 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). -
preferredSymbolAliasUid
Returns the value of thepreferredSymbolAliasUidrecord component.- Returns:
- the value of the
preferredSymbolAliasUidrecord component
-