Package com.io7m.idstore.protocol.admin
Record Class IdACommandAdminEmailRemove
java.lang.Object
java.lang.Record
com.io7m.idstore.protocol.admin.IdACommandAdminEmailRemove
- Record Components:
admin- The admin IDemail- The email
- All Implemented Interfaces:
IdACommandType<IdAResponseAdminUpdate>,IdAMessageType,IdProtocolMessageType
public record IdACommandAdminEmailRemove(UUID admin, IdEmail email)
extends Record
implements IdACommandType<IdAResponseAdminUpdate>
Remove an email address from the given admin.
-
Constructor Summary
ConstructorsConstructorDescriptionIdACommandAdminEmailRemove(UUID admin, IdEmail email) Remove an email address from the given admin. -
Method Summary
Modifier and TypeMethodDescriptionadmin()Returns the value of theadminrecord component.email()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.
-
Constructor Details
-
IdACommandAdminEmailRemove
Remove an email address from the given admin.
-
-
Method Details
-
toString
Returns 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. -
hashCode
public 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. -
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). -
admin
Returns the value of theadminrecord component.- Returns:
- the value of the
adminrecord component
-
email
Returns the value of theemailrecord component.- Returns:
- the value of the
emailrecord component
-