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 Summary
ConstructorsConstructorDescriptionIdUCommandRealnameUpdate(IdRealName realName) A request to change the user's realname. -
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.realName()Returns the value of therealNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IdUCommandRealnameUpdate
A request to change the user's realname.- Parameters:
realName- The real name
-
-
Method Details
-
responseClass
- Specified by:
responseClassin interfaceIdUCommandType<IdUResponseUserUpdate>- Returns:
- The response class associated with a successful command execution
-
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). -
realName
-