Package com.twilio.rest.insights.v1.call
Enum CallSummary.AnsweredBy
- java.lang.Object
-
- java.lang.Enum<CallSummary.AnsweredBy>
-
- com.twilio.rest.insights.v1.call.CallSummary.AnsweredBy
-
- All Implemented Interfaces:
Serializable
,Comparable<CallSummary.AnsweredBy>
- Enclosing class:
- CallSummary
public static enum CallSummary.AnsweredBy extends Enum<CallSummary.AnsweredBy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAX
HUMAN
MACHINE_END_BEEP
MACHINE_END_OTHER
MACHINE_END_SILENCE
MACHINE_START
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CallSummary.AnsweredBy
forValue(String value)
String
toString()
static CallSummary.AnsweredBy
valueOf(String name)
Returns the enum constant of this type with the specified name.static CallSummary.AnsweredBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final CallSummary.AnsweredBy UNKNOWN
-
MACHINE_START
public static final CallSummary.AnsweredBy MACHINE_START
-
MACHINE_END_BEEP
public static final CallSummary.AnsweredBy MACHINE_END_BEEP
-
MACHINE_END_SILENCE
public static final CallSummary.AnsweredBy MACHINE_END_SILENCE
-
MACHINE_END_OTHER
public static final CallSummary.AnsweredBy MACHINE_END_OTHER
-
HUMAN
public static final CallSummary.AnsweredBy HUMAN
-
FAX
public static final CallSummary.AnsweredBy FAX
-
-
Method Detail
-
values
public static CallSummary.AnsweredBy[] 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 (CallSummary.AnsweredBy c : CallSummary.AnsweredBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CallSummary.AnsweredBy 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<CallSummary.AnsweredBy>
-
forValue
public static CallSummary.AnsweredBy forValue(String value)
-
-