public static enum Webhook.Type extends java.lang.Enum<Webhook.Type>
| Enum Constant and Description |
|---|
ANSWER |
EVENT |
INBOUND |
STATUS |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static Webhook.Type |
fromName(java.lang.String name) |
java.lang.String |
getName() |
static Webhook.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Webhook.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Webhook.Type ANSWER
public static final Webhook.Type EVENT
public static final Webhook.Type INBOUND
public static final Webhook.Type STATUS
public static final Webhook.Type UNKNOWN
public static Webhook.Type[] values()
for (Webhook.Type c : Webhook.Type.values()) System.out.println(c);
public static Webhook.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public static Webhook.Type fromName(java.lang.String name)