Package com.io7m.idstore.protocol.admin
Record Class IdACommandUserUpdatePasswordExpiration
java.lang.Object
java.lang.Record
com.io7m.idstore.protocol.admin.IdACommandUserUpdatePasswordExpiration
- Record Components:
- user- The user to be updated
- set- The set behaviour
- All Implemented Interfaces:
- com.io7m.hibiscus.api.HBMessageType,- IdACommandType<IdAResponseUserUpdate>,- IdAMessageType,- IdProtocolMessageType
public record IdACommandUserUpdatePasswordExpiration(UUID user, IdAPasswordExpirationSetType set)
extends Record
implements IdACommandType<IdAResponseUserUpdate>
Update the given user's password expiration.
- 
Constructor SummaryConstructorsConstructorDescriptionUpdate the given user's password expiration.
- 
Method SummaryModifier 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- 
IdACommandUserUpdatePasswordExpirationUpdate the given user's password expiration.- Parameters:
- user- The user to be updated
- set- The set behaviour
 
 
- 
- 
Method Details- 
responseClass- Specified by:
- responseClassin interface- IdACommandType<IdAResponseUserUpdate>
- Returns:
- The response type associated with this command
 
- 
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).
- 
userReturns the value of theuserrecord component.- Returns:
- the value of the userrecord component
 
- 
setReturns the value of thesetrecord component.- Returns:
- the value of the setrecord component
 
 
-