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