public static enum Trunk.TransferSetting extends Enum<Trunk.TransferSetting>
Enum Constant and Description |
---|
DISABLE_ALL |
ENABLE_ALL |
SIP_ONLY |
Modifier and Type | Method and Description |
---|---|
static Trunk.TransferSetting |
forValue(String value)
Generate a TransferSetting from a string.
|
String |
toString() |
static Trunk.TransferSetting |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Trunk.TransferSetting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Trunk.TransferSetting DISABLE_ALL
public static final Trunk.TransferSetting ENABLE_ALL
public static final Trunk.TransferSetting SIP_ONLY
public static Trunk.TransferSetting[] values()
for (Trunk.TransferSetting c : Trunk.TransferSetting.values()) System.out.println(c);
public static Trunk.TransferSetting 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<Trunk.TransferSetting>
public static Trunk.TransferSetting forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.