Package com.onfido.model
Enum WebhookEventResourceType
- java.lang.Object
-
- java.lang.Enum<WebhookEventResourceType>
-
- com.onfido.model.WebhookEventResourceType
-
- All Implemented Interfaces:
Serializable,Comparable<WebhookEventResourceType>
public enum WebhookEventResourceType extends Enum<WebhookEventResourceType>
Gets or Sets webhook_event_resource_type
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebhookEventResourceType.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description AUDIT_LOGCHECKREPORTUNKNOWN_DEFAULT_OPEN_APIWATCHLIST_MONITORWORKFLOW_RUNWORKFLOW_RUN_EVIDENCE_FOLDERWORKFLOW_TASKWORKFLOW_TIMELINE_FILE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebhookEventResourceTypefromValue(String value)StringgetValue()StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static WebhookEventResourceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static WebhookEventResourceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHECK
public static final WebhookEventResourceType CHECK
-
REPORT
public static final WebhookEventResourceType REPORT
-
AUDIT_LOG
public static final WebhookEventResourceType AUDIT_LOG
-
WORKFLOW_RUN
public static final WebhookEventResourceType WORKFLOW_RUN
-
WORKFLOW_TASK
public static final WebhookEventResourceType WORKFLOW_TASK
-
WATCHLIST_MONITOR
public static final WebhookEventResourceType WATCHLIST_MONITOR
-
WORKFLOW_TIMELINE_FILE
public static final WebhookEventResourceType WORKFLOW_TIMELINE_FILE
-
WORKFLOW_RUN_EVIDENCE_FOLDER
public static final WebhookEventResourceType WORKFLOW_RUN_EVIDENCE_FOLDER
-
UNKNOWN_DEFAULT_OPEN_API
public static final WebhookEventResourceType UNKNOWN_DEFAULT_OPEN_API
-
-
Method Detail
-
values
public static WebhookEventResourceType[] 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 (WebhookEventResourceType c : WebhookEventResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebhookEventResourceType 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<WebhookEventResourceType>
-
fromValue
public static WebhookEventResourceType fromValue(String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException- Throws:
IOException
-
-