public static enum CustomerProfiles.Status extends Enum<CustomerProfiles.Status>
Enum Constant and Description |
---|
DRAFT |
IN_REVIEW |
PENDING_REVIEW |
TWILIO_APPROVED |
TWILIO_REJECTED |
Modifier and Type | Method and Description |
---|---|
static CustomerProfiles.Status |
forValue(String value)
Generate a Status from a string.
|
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.
|
public static final CustomerProfiles.Status DRAFT
public static final CustomerProfiles.Status PENDING_REVIEW
public static final CustomerProfiles.Status IN_REVIEW
public static final CustomerProfiles.Status TWILIO_REJECTED
public static final CustomerProfiles.Status TWILIO_APPROVED
public static CustomerProfiles.Status[] values()
for (CustomerProfiles.Status c : CustomerProfiles.Status.values()) System.out.println(c);
public static CustomerProfiles.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<CustomerProfiles.Status>
public static CustomerProfiles.Status forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.