public static enum BundleCopy.Status extends Enum<BundleCopy.Status>
Enum Constant and Description |
---|
DRAFT |
IN_REVIEW |
PENDING_REVIEW |
PROVISIONALLY_APPROVED |
TWILIO_APPROVED |
TWILIO_REJECTED |
Modifier and Type | Method and Description |
---|---|
static BundleCopy.Status |
forValue(String value)
Generate a Status from a string.
|
String |
toString() |
static BundleCopy.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BundleCopy.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BundleCopy.Status DRAFT
public static final BundleCopy.Status PENDING_REVIEW
public static final BundleCopy.Status IN_REVIEW
public static final BundleCopy.Status TWILIO_REJECTED
public static final BundleCopy.Status TWILIO_APPROVED
public static final BundleCopy.Status PROVISIONALLY_APPROVED
public static BundleCopy.Status[] values()
for (BundleCopy.Status c : BundleCopy.Status.values()) System.out.println(c);
public static BundleCopy.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<BundleCopy.Status>
public static BundleCopy.Status forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.