public static enum Webhook.Target extends Enum<Webhook.Target>
Modifier and Type | Method and Description |
---|---|
static Webhook.Target |
forValue(String value)
Generate a Target from a string.
|
String |
toString() |
static Webhook.Target |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Webhook.Target[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Webhook.Target WEBHOOK
public static final Webhook.Target FLEX
public static Webhook.Target[] values()
for (Webhook.Target c : Webhook.Target.values()) System.out.println(c);
public static Webhook.Target valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Webhook.Target>
public static Webhook.Target forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.