Package com.io7m.idstore.protocol.admin
Record Class IdACommandUserEmailRemove
java.lang.Object
java.lang.Record
com.io7m.idstore.protocol.admin.IdACommandUserEmailRemove
- Record Components:
user- The user IDemail- The email
- All Implemented Interfaces:
com.io7m.hibiscus.api.HBMessageType,IdACommandType<IdAResponseUserUpdate>,IdAMessageType,IdProtocolMessageType
public record IdACommandUserEmailRemove(UUID user, IdEmail email)
extends Record
implements IdACommandType<IdAResponseUserUpdate>
Remove an email address from the given user.
-
Constructor Summary
ConstructorsConstructorDescriptionIdACommandUserEmailRemove(UUID user, IdEmail email) Remove an email address from the given user. -
Method Summary
Modifier and TypeMethodDescriptionemail()Returns the value of theemailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.user()Returns the value of theuserrecord component.
-
Constructor Details
-
IdACommandUserEmailRemove
-
-
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
-
email
-