Record Class AccountSecurityOperations.MfaCapabilities
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.client.dto.AccountSecurityOperations.MfaCapabilities
- Enclosing class:
AccountSecurityOperations
public static record AccountSecurityOperations.MfaCapabilities(Long loginMethodVersion, AccountSecurityOperations.MfaAction totpEnroll, AccountSecurityOperations.MfaAction totpDisable, AccountSecurityOperations.MfaAction recoveryCodesGenerate)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMfaCapabilities(Long loginMethodVersion, AccountSecurityOperations.MfaAction totpEnroll, AccountSecurityOperations.MfaAction totpDisable, AccountSecurityOperations.MfaAction recoveryCodesGenerate) Creates an instance of aMfaCapabilitiesrecord class. -
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.Returns the value of theloginMethodVersionrecord component.Returns the value of therecoveryCodesGeneraterecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetotpDisablerecord component.Returns the value of thetotpEnrollrecord component.
-
Constructor Details
-
MfaCapabilities
public MfaCapabilities(Long loginMethodVersion, AccountSecurityOperations.MfaAction totpEnroll, AccountSecurityOperations.MfaAction totpDisable, AccountSecurityOperations.MfaAction recoveryCodesGenerate) Creates an instance of aMfaCapabilitiesrecord class.- Parameters:
loginMethodVersion- the value for theloginMethodVersionrecord componenttotpEnroll- the value for thetotpEnrollrecord componenttotpDisable- the value for thetotpDisablerecord componentrecoveryCodesGenerate- the value for therecoveryCodesGeneraterecord 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). -
loginMethodVersion
Returns the value of theloginMethodVersionrecord component.- Returns:
- the value of the
loginMethodVersionrecord component
-
totpEnroll
Returns the value of thetotpEnrollrecord component.- Returns:
- the value of the
totpEnrollrecord component
-
totpDisable
Returns the value of thetotpDisablerecord component.- Returns:
- the value of the
totpDisablerecord component
-
recoveryCodesGenerate
Returns the value of therecoveryCodesGeneraterecord component.- Returns:
- the value of the
recoveryCodesGeneraterecord component
-