Package com.onfido.model
Enum WorkflowRunLink.LanguageEnum
- java.lang.Object
-
- java.lang.Enum<WorkflowRunLink.LanguageEnum>
-
- com.onfido.model.WorkflowRunLink.LanguageEnum
-
- All Implemented Interfaces:
Serializable,Comparable<WorkflowRunLink.LanguageEnum>
- Enclosing class:
- WorkflowRunLink
public static enum WorkflowRunLink.LanguageEnum extends Enum<WorkflowRunLink.LanguageEnum>
The code for the language when the workflow run is acessed using the link.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkflowRunLink.LanguageEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkflowRunLink.LanguageEnumfromValue(String value)StringgetValue()StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static WorkflowRunLink.LanguageEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static WorkflowRunLink.LanguageEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EN_US
public static final WorkflowRunLink.LanguageEnum EN_US
-
DE_DE
public static final WorkflowRunLink.LanguageEnum DE_DE
-
ES_ES
public static final WorkflowRunLink.LanguageEnum ES_ES
-
FR_FR
public static final WorkflowRunLink.LanguageEnum FR_FR
-
IT_IT
public static final WorkflowRunLink.LanguageEnum IT_IT
-
PT_PT
public static final WorkflowRunLink.LanguageEnum PT_PT
-
NL_NL
public static final WorkflowRunLink.LanguageEnum NL_NL
-
UNKNOWN_DEFAULT_OPEN_API
public static final WorkflowRunLink.LanguageEnum UNKNOWN_DEFAULT_OPEN_API
-
-
Method Detail
-
values
public static WorkflowRunLink.LanguageEnum[] 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 (WorkflowRunLink.LanguageEnum c : WorkflowRunLink.LanguageEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkflowRunLink.LanguageEnum 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<WorkflowRunLink.LanguageEnum>
-
fromValue
public static WorkflowRunLink.LanguageEnum fromValue(String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException- Throws:
IOException
-
-