Package com.boldsign.model
Enum Role.AuthenticationTypeEnum
- java.lang.Object
-
- java.lang.Enum<Role.AuthenticationTypeEnum>
-
- com.boldsign.model.Role.AuthenticationTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Role.AuthenticationTypeEnum>
- Enclosing class:
- Role
public static enum Role.AuthenticationTypeEnum extends Enum<Role.AuthenticationTypeEnum>
Gets or Sets authenticationType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRole.AuthenticationTypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_CODEEMAIL_OTPID_VERIFICATIONNONESMSOTP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Role.AuthenticationTypeEnumfromValue(String value)StringgetValue()StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static Role.AuthenticationTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Role.AuthenticationTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Role.AuthenticationTypeEnum NONE
-
EMAIL_OTP
public static final Role.AuthenticationTypeEnum EMAIL_OTP
-
ACCESS_CODE
public static final Role.AuthenticationTypeEnum ACCESS_CODE
-
SMSOTP
public static final Role.AuthenticationTypeEnum SMSOTP
-
ID_VERIFICATION
public static final Role.AuthenticationTypeEnum ID_VERIFICATION
-
-
Method Detail
-
values
public static Role.AuthenticationTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Role.AuthenticationTypeEnum c : Role.AuthenticationTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Role.AuthenticationTypeEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<Role.AuthenticationTypeEnum>
-
fromValue
public static Role.AuthenticationTypeEnum fromValue(String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException- Throws:
IOException
-
-