Enum HostedNumberOrder.Status
- java.lang.Object
-
- java.lang.Enum<HostedNumberOrder.Status>
-
- com.twilio.rest.preview.hostedNumbers.HostedNumberOrder.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<HostedNumberOrder.Status>
- Enclosing class:
- HostedNumberOrder
public static enum HostedNumberOrder.Status extends Enum<HostedNumberOrder.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTION_REQUIRED
CARRIER_PROCESSING
COMPLETED
FAILED
PENDING_LOA
PENDING_VERIFICATION
RECEIVED
TESTING
VERIFIED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostedNumberOrder.Status
forValue(String value)
Generate a Status from a string.String
toString()
static HostedNumberOrder.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static HostedNumberOrder.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RECEIVED
public static final HostedNumberOrder.Status RECEIVED
-
PENDING_VERIFICATION
public static final HostedNumberOrder.Status PENDING_VERIFICATION
-
VERIFIED
public static final HostedNumberOrder.Status VERIFIED
-
PENDING_LOA
public static final HostedNumberOrder.Status PENDING_LOA
-
CARRIER_PROCESSING
public static final HostedNumberOrder.Status CARRIER_PROCESSING
-
TESTING
public static final HostedNumberOrder.Status TESTING
-
COMPLETED
public static final HostedNumberOrder.Status COMPLETED
-
FAILED
public static final HostedNumberOrder.Status FAILED
-
ACTION_REQUIRED
public static final HostedNumberOrder.Status ACTION_REQUIRED
-
-
Method Detail
-
values
public static HostedNumberOrder.Status[] 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 (HostedNumberOrder.Status c : HostedNumberOrder.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HostedNumberOrder.Status 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<HostedNumberOrder.Status>
-
forValue
public static HostedNumberOrder.Status forValue(String value)
Generate a Status from a string.- Parameters:
value
- string value- Returns:
- generated Status
-
-