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