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