Enum Bundle.Status
- java.lang.Object
-
- java.lang.Enum<Bundle.Status>
-
- com.twilio.rest.numbers.v2.regulatorycompliance.Bundle.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<Bundle.Status>
- Enclosing class:
- Bundle
public static enum Bundle.Status extends Enum<Bundle.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DRAFT
IN_REVIEW
PENDING_REVIEW
PROVISIONALLY_APPROVED
TWILIO_APPROVED
TWILIO_REJECTED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Bundle.Status
forValue(String value)
String
toString()
static Bundle.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static Bundle.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRAFT
public static final Bundle.Status DRAFT
-
PENDING_REVIEW
public static final Bundle.Status PENDING_REVIEW
-
IN_REVIEW
public static final Bundle.Status IN_REVIEW
-
TWILIO_REJECTED
public static final Bundle.Status TWILIO_REJECTED
-
TWILIO_APPROVED
public static final Bundle.Status TWILIO_APPROVED
-
PROVISIONALLY_APPROVED
public static final Bundle.Status PROVISIONALLY_APPROVED
-
-
Method Detail
-
values
public static Bundle.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 (Bundle.Status c : Bundle.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 Bundle.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<Bundle.Status>
-
forValue
public static Bundle.Status forValue(String value)
-
-