Record Class IdACommandUserUpdateCredentials
java.lang.Object
java.lang.Record
com.io7m.idstore.protocol.admin.IdACommandUserUpdateCredentials
- Record Components:
user- The user to be updatedidName- The user's ID namerealName- The user's realnamepassword- The user's password
- All Implemented Interfaces:
com.io7m.hibiscus.api.HBMessageType, IdACommandType<IdAResponseUserUpdate>, IdAMessageType, IdProtocolMessageType
public record IdACommandUserUpdateCredentials(UUID user, Optional<IdName> idName, Optional<IdRealName> realName, Optional<IdPassword> password)
extends Record
implements IdACommandType<IdAResponseUserUpdate>
Update the given user.
-
Constructor Summary
ConstructorsConstructorDescriptionIdACommandUserUpdateCredentials(UUID user, Optional<IdName> idName, Optional<IdRealName> realName, Optional<IdPassword> password) Update the given user. -
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.idName()Returns the value of theidNamerecord component.password()Returns the value of thepasswordrecord component.realName()Returns the value of therealNamerecord component.final StringtoString()Returns a string representation of this record class.user()Returns the value of theuserrecord component.
-
Constructor Details
-
IdACommandUserUpdateCredentials
public IdACommandUserUpdateCredentials(UUID user, Optional<IdName> idName, Optional<IdRealName> realName, Optional<IdPassword> password) Update the given user.
-
-
Method Details
-
responseClass
- Specified by:
responseClassin interfaceIdACommandType<IdAResponseUserUpdate>- Returns:
- The response type associated with this command
-
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). -
user
-
idName
-
realName
-
password
-