Record Class IdACommandUserEmailAdd
java.lang.Object
java.lang.Record
com.io7m.idstore.protocol.admin.IdACommandUserEmailAdd
- Record Components:
user- The user IDemail- The email
- All Implemented Interfaces:
com.io7m.hibiscus.api.HBMessageType, IdACommandType<IdAResponseUserUpdate>, IdAMessageType, IdProtocolMessageType
public record IdACommandUserEmailAdd(UUID user, IdEmail email)
extends Record
implements IdACommandType<IdAResponseUserUpdate>
Add an email address to the given user.
-
Constructor Summary
ConstructorsConstructorDescriptionIdACommandUserEmailAdd(UUID user, IdEmail email) Add an email address to 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
-
IdACommandUserEmailAdd
-
-
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
-