Record Class AccountSecurityOperations.AccountLoginMethods
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.client.dto.AccountSecurityOperations.AccountLoginMethods
- Enclosing class:
AccountSecurityOperations
public static record AccountSecurityOperations.AccountLoginMethods(Long loginMethodVersion, List<AccountSecurityOperations.AccountLoginMethod> methods)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAccountLoginMethods(Long loginMethodVersion, List<AccountSecurityOperations.AccountLoginMethod> methods) Creates an instance of aAccountLoginMethodsrecord 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.methods()Returns the value of themethodsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AccountLoginMethods
public AccountLoginMethods(Long loginMethodVersion, List<AccountSecurityOperations.AccountLoginMethod> methods) Creates an instance of aAccountLoginMethodsrecord class.- Parameters:
loginMethodVersion- the value for theloginMethodVersionrecord componentmethods- the value for themethodsrecord 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
-
methods
Returns the value of themethodsrecord component.- Returns:
- the value of the
methodsrecord component
-