Package com.onfido.model
Enum UsDrivingLicenceShared.EyeColorCodeEnum
- java.lang.Object
-
- java.lang.Enum<UsDrivingLicenceShared.EyeColorCodeEnum>
-
- com.onfido.model.UsDrivingLicenceShared.EyeColorCodeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<UsDrivingLicenceShared.EyeColorCodeEnum>
- Enclosing class:
- UsDrivingLicenceShared
public static enum UsDrivingLicenceShared.EyeColorCodeEnum extends Enum<UsDrivingLicenceShared.EyeColorCodeEnum>
Eye color code.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUsDrivingLicenceShared.EyeColorCodeEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsDrivingLicenceShared.EyeColorCodeEnumfromValue(String value)StringgetValue()StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static UsDrivingLicenceShared.EyeColorCodeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static UsDrivingLicenceShared.EyeColorCodeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLK
public static final UsDrivingLicenceShared.EyeColorCodeEnum BLK
-
BLU
public static final UsDrivingLicenceShared.EyeColorCodeEnum BLU
-
BRO
public static final UsDrivingLicenceShared.EyeColorCodeEnum BRO
-
DIC
public static final UsDrivingLicenceShared.EyeColorCodeEnum DIC
-
GRY
public static final UsDrivingLicenceShared.EyeColorCodeEnum GRY
-
GRN
public static final UsDrivingLicenceShared.EyeColorCodeEnum GRN
-
HAZ
public static final UsDrivingLicenceShared.EyeColorCodeEnum HAZ
-
MAR
public static final UsDrivingLicenceShared.EyeColorCodeEnum MAR
-
PNK
public static final UsDrivingLicenceShared.EyeColorCodeEnum PNK
-
UNKNOWN_DEFAULT_OPEN_API
public static final UsDrivingLicenceShared.EyeColorCodeEnum UNKNOWN_DEFAULT_OPEN_API
-
-
Method Detail
-
values
public static UsDrivingLicenceShared.EyeColorCodeEnum[] 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 (UsDrivingLicenceShared.EyeColorCodeEnum c : UsDrivingLicenceShared.EyeColorCodeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UsDrivingLicenceShared.EyeColorCodeEnum 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<UsDrivingLicenceShared.EyeColorCodeEnum>
-
fromValue
public static UsDrivingLicenceShared.EyeColorCodeEnum fromValue(String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException- Throws:
IOException
-
-