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