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