Enum SupportingDocument.Status
- java.lang.Object
-
- java.lang.Enum<SupportingDocument.Status>
-
- com.twilio.rest.numbers.v2.regulatorycompliance.SupportingDocument.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<SupportingDocument.Status>
- Enclosing class:
- SupportingDocument
public static enum SupportingDocument.Status extends Enum<SupportingDocument.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPROVED
DRAFT
EXPIRED
PENDING_REVIEW
PROVISIONALLY_APPROVED
REJECTED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SupportingDocument.Status
forValue(String value)
String
toString()
static SupportingDocument.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static SupportingDocument.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 SupportingDocument.Status DRAFT
-
PENDING_REVIEW
public static final SupportingDocument.Status PENDING_REVIEW
-
REJECTED
public static final SupportingDocument.Status REJECTED
-
APPROVED
public static final SupportingDocument.Status APPROVED
-
EXPIRED
public static final SupportingDocument.Status EXPIRED
-
PROVISIONALLY_APPROVED
public static final SupportingDocument.Status PROVISIONALLY_APPROVED
-
-
Method Detail
-
values
public static SupportingDocument.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 (SupportingDocument.Status c : SupportingDocument.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 SupportingDocument.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<SupportingDocument.Status>
-
forValue
public static SupportingDocument.Status forValue(String value)
-
-