Package com.io7m.idstore.server.security
Record Class IdSecUserActionEmailAddBegin
java.lang.Object
java.lang.Record
com.io7m.idstore.server.security.IdSecUserActionEmailAddBegin
- Record Components:
user- The useractiveVerificationCount- The number of in-progress email verifications the user already has
- All Implemented Interfaces:
IdSecActionType,IdSecUserActionType
public record IdSecUserActionEmailAddBegin(IdUser user, long activeVerificationCount)
extends Record
implements IdSecUserActionType
A request to add an email address to a user.
-
Constructor Summary
ConstructorsConstructorDescriptionIdSecUserActionEmailAddBegin(IdUser user, long activeVerificationCount) A request to add an email address to a user. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of theactiveVerificationCountrecord 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
-
IdSecUserActionEmailAddBegin
A request to add an email address to a user.- Parameters:
user- The useractiveVerificationCount- The number of in-progress email verifications the user already has
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
user
Returns the value of theuserrecord component.- Specified by:
userin interfaceIdSecUserActionType- Returns:
- the value of the
userrecord component
-
activeVerificationCount
public long activeVerificationCount()Returns the value of theactiveVerificationCountrecord component.- Returns:
- the value of the
activeVerificationCountrecord component
-