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