Package com.io7m.idstore.protocol.admin
Record Class IdACommandAdminUpdatePasswordExpiration
java.lang.Object
java.lang.Record
com.io7m.idstore.protocol.admin.IdACommandAdminUpdatePasswordExpiration
- Record Components:
user- The user to be updatedset- The set behaviour
- All Implemented Interfaces:
com.io7m.hibiscus.api.HBMessageType,IdACommandType<IdAResponseAdminUpdate>,IdAMessageType,IdProtocolMessageType
public record IdACommandAdminUpdatePasswordExpiration(UUID user, IdAPasswordExpirationSetType set)
extends Record
implements IdACommandType<IdAResponseAdminUpdate>
Update the given admin's password expiration.
-
Constructor Summary
ConstructorsConstructorDescriptionUpdate the given user's password expiration. -
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.set()Returns the value of thesetrecord component.final StringtoString()Returns a string representation of this record class.user()Returns the value of theuserrecord component.
-
Constructor Details
-
IdACommandAdminUpdatePasswordExpiration
Update the given user's password expiration.- Parameters:
user- The user to be updatedset- The set behaviour
-
-
Method Details
-
responseClass
- Specified by:
responseClassin interfaceIdACommandType<IdAResponseAdminUpdate>- 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
-
set
-