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