Package com.onfido.model
Enum DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum
- java.lang.Object
-
- java.lang.Enum<DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum>
-
- com.onfido.model.DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum>
- Enclosing class:
- DeviceIntelligenceBreakdownPropertiesDevice
public static enum DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum extends Enum<DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum>
The token used to authenticate the request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description API_TOKENMOBILE_TOKENSDK_TOKENUNKNOWN_DEFAULT_OPEN_API
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnumfromValue(String value)StringgetValue()StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SDK_TOKEN
public static final DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum SDK_TOKEN
-
MOBILE_TOKEN
public static final DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum MOBILE_TOKEN
-
API_TOKEN
public static final DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum API_TOKEN
-
UNKNOWN_DEFAULT_OPEN_API
public static final DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum UNKNOWN_DEFAULT_OPEN_API
-
-
Method Detail
-
values
public static DeviceIntelligenceBreakdownPropertiesDevice.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 (DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum c : DeviceIntelligenceBreakdownPropertiesDevice.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 DeviceIntelligenceBreakdownPropertiesDevice.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<DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum>
-
fromValue
public static DeviceIntelligenceBreakdownPropertiesDevice.AuthenticationTypeEnum fromValue(String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException- Throws:
IOException
-
-