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