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