Package com.io7m.idstore.protocol.user
Record Class IdUCommandEmailAddDeny
java.lang.Object
java.lang.Record
com.io7m.idstore.protocol.user.IdUCommandEmailAddDeny
- Record Components:
token- The token
- All Implemented Interfaces:
com.io7m.hibiscus.api.HBMessageType,IdProtocolMessageType,IdUCommandType<IdUResponseEmailAddDeny>,IdUMessageType
public record IdUCommandEmailAddDeny(IdToken token)
extends Record
implements IdUCommandType<IdUResponseEmailAddDeny>
A request to deny the addition of an email address.
-
Constructor Summary
ConstructorsConstructorDescriptionIdUCommandEmailAddDeny(IdToken token) A request to deny the addition of an email address. -
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.token()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IdUCommandEmailAddDeny
A request to deny the addition of an email address.- Parameters:
token- The token
-
-
Method Details
-
responseClass
- Specified by:
responseClassin interfaceIdUCommandType<IdUResponseEmailAddDeny>- Returns:
- The response class associated with a successful command execution
-
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). -
token
-