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