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