Record Class AccountSecurityOperations.MfaOperationCreate
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.client.dto.AccountSecurityOperations.MfaOperationCreate
- Enclosing class:
AccountSecurityOperations
public static record AccountSecurityOperations.MfaOperationCreate(AccountSecurityOperations.MfaOperationType type, Long expectedLoginMethodVersion)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMfaOperationCreate(AccountSecurityOperations.MfaOperationType type, Long expectedLoginMethodVersion) Creates an instance of aMfaOperationCreaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpectedLoginMethodVersionrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
MfaOperationCreate
public MfaOperationCreate(AccountSecurityOperations.MfaOperationType type, Long expectedLoginMethodVersion) Creates an instance of aMfaOperationCreaterecord class.- Parameters:
type- the value for thetyperecord componentexpectedLoginMethodVersion- the value for theexpectedLoginMethodVersionrecord component
-
-
Method Details
-
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). -
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
expectedLoginMethodVersion
Returns the value of theexpectedLoginMethodVersionrecord component.- Returns:
- the value of the
expectedLoginMethodVersionrecord component
-