Package su.onno.ui
Record Class TaskAssigneeDirectory.AssigneeOption
java.lang.Object
java.lang.Record
su.onno.ui.TaskAssigneeDirectory.AssigneeOption
- Enclosing class:
TaskAssigneeDirectory
-
Constructor Summary
ConstructorsConstructorDescriptionAssigneeOption(String actorId, String username, String display, String avatarUrl) Creates an instance of aAssigneeOptionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionactorId()Returns the value of theactorIdrecord component.Returns the value of theavatarUrlrecord component.display()Returns the value of thedisplayrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.username()Returns the value of theusernamerecord component.
-
Constructor Details
-
AssigneeOption
Creates an instance of aAssigneeOptionrecord class.- Parameters:
actorId- the value for theactorIdrecord componentusername- the value for theusernamerecord componentdisplay- the value for thedisplayrecord componentavatarUrl- the value for theavatarUrlrecord 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). -
actorId
Returns the value of theactorIdrecord component.- Returns:
- the value of the
actorIdrecord component
-
username
Returns the value of theusernamerecord component.- Returns:
- the value of the
usernamerecord component
-
display
Returns the value of thedisplayrecord component.- Returns:
- the value of the
displayrecord component
-
avatarUrl
Returns the value of theavatarUrlrecord component.- Returns:
- the value of the
avatarUrlrecord component
-