Enum Call.Status
- java.lang.Object
-
- java.lang.Enum<Call.Status>
-
- com.twilio.rest.api.v2010.account.Call.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<Call.Status>
- Enclosing class:
- Call
public static enum Call.Status extends Enum<Call.Status>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Call.Status
forValue(String value)
String
toString()
static Call.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static Call.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUEUED
public static final Call.Status QUEUED
-
RINGING
public static final Call.Status RINGING
-
IN_PROGRESS
public static final Call.Status IN_PROGRESS
-
COMPLETED
public static final Call.Status COMPLETED
-
BUSY
public static final Call.Status BUSY
-
FAILED
public static final Call.Status FAILED
-
NO_ANSWER
public static final Call.Status NO_ANSWER
-
CANCELED
public static final Call.Status CANCELED
-
-
Method Detail
-
values
public static Call.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Call.Status c : Call.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Call.Status valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<Call.Status>
-
forValue
public static Call.Status forValue(String value)
-
-