Package com.io7m.idstore.protocol.user
Record Class IdUCommandRealnameUpdate
java.lang.Object
java.lang.Record
com.io7m.idstore.protocol.user.IdUCommandRealnameUpdate
- Record Components:
- realName- The real name
- All Implemented Interfaces:
- com.io7m.hibiscus.api.HBMessageType,- IdProtocolMessageType,- IdUCommandType<IdUResponseUserUpdate>,- IdUMessageType
public record IdUCommandRealnameUpdate(IdRealName realName)
extends Record
implements IdUCommandType<IdUResponseUserUpdate>
A request to change the user's realname.
- 
Constructor SummaryConstructorsConstructorDescriptionIdUCommandRealnameUpdate(IdRealName realName) A request to change the user's realname.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.realName()Returns the value of therealNamerecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
IdUCommandRealnameUpdateA request to change the user's realname.- Parameters:
- realName- The real name
 
 
- 
- 
Method Details- 
responseClass- Specified by:
- responseClassin interface- IdUCommandType<IdUResponseUserUpdate>
- Returns:
- The response class associated with a successful command execution
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
realNameReturns the value of therealNamerecord component.- Returns:
- the value of the realNamerecord component
 
 
-