Enum TollFree.EmergencyAddressStatus
- java.lang.Object
-
- java.lang.Enum<TollFree.EmergencyAddressStatus>
-
- com.twilio.rest.api.v2010.account.incomingphonenumber.TollFree.EmergencyAddressStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<TollFree.EmergencyAddressStatus>
- Enclosing class:
- TollFree
public static enum TollFree.EmergencyAddressStatus extends Enum<TollFree.EmergencyAddressStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PENDING_REGISTRATION
PENDING_UNREGISTRATION
REGISTERED
REGISTRATION_FAILURE
UNREGISTERED
UNREGISTRATION_FAILURE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TollFree.EmergencyAddressStatus
forValue(String value)
String
toString()
static TollFree.EmergencyAddressStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static TollFree.EmergencyAddressStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REGISTERED
public static final TollFree.EmergencyAddressStatus REGISTERED
-
UNREGISTERED
public static final TollFree.EmergencyAddressStatus UNREGISTERED
-
PENDING_REGISTRATION
public static final TollFree.EmergencyAddressStatus PENDING_REGISTRATION
-
REGISTRATION_FAILURE
public static final TollFree.EmergencyAddressStatus REGISTRATION_FAILURE
-
PENDING_UNREGISTRATION
public static final TollFree.EmergencyAddressStatus PENDING_UNREGISTRATION
-
UNREGISTRATION_FAILURE
public static final TollFree.EmergencyAddressStatus UNREGISTRATION_FAILURE
-
-
Method Detail
-
values
public static TollFree.EmergencyAddressStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TollFree.EmergencyAddressStatus c : TollFree.EmergencyAddressStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TollFree.EmergencyAddressStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<TollFree.EmergencyAddressStatus>
-
forValue
public static TollFree.EmergencyAddressStatus forValue(String value)
-
-