Package com.io7m.idstore.protocol.user
Record Class IdUCommandPasswordUpdate
java.lang.Object
java.lang.Record
com.io7m.idstore.protocol.user.IdUCommandPasswordUpdate
- Record Components:
password- The passwordpasswordConfirm- The password confirmation
- All Implemented Interfaces:
com.io7m.hibiscus.api.HBCommandType,com.io7m.hibiscus.api.HBMessageType,IdProtocolMessageType,IdUCommandType<IdUResponseUserUpdate>,IdUMessageType
public record IdUCommandPasswordUpdate(String password, String passwordConfirm)
extends Record
implements IdUCommandType<IdUResponseUserUpdate>
A request to change the user's password.
-
Constructor Summary
ConstructorsConstructorDescriptionIdUCommandPasswordUpdate(String password, String passwordConfirm) A request to change the user's password. -
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.password()Returns the value of thepasswordrecord component.Returns the value of thepasswordConfirmrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IdUCommandPasswordUpdate
-
-
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). -
password
-
passwordConfirm
Returns the value of thepasswordConfirmrecord component.- Returns:
- the value of the
passwordConfirmrecord component
-