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