Package com.twilio.rest.insights.v1
Enum CallSummaries.AnsweredBy
- java.lang.Object
-
- java.lang.Enum<CallSummaries.AnsweredBy>
-
- com.twilio.rest.insights.v1.CallSummaries.AnsweredBy
-
- All Implemented Interfaces:
Serializable,Comparable<CallSummaries.AnsweredBy>
- Enclosing class:
- CallSummaries
public static enum CallSummaries.AnsweredBy extends Enum<CallSummaries.AnsweredBy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAXHUMANMACHINE_END_BEEPMACHINE_END_OTHERMACHINE_END_SILENCEMACHINE_STARTUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CallSummaries.AnsweredByforValue(String value)StringtoString()static CallSummaries.AnsweredByvalueOf(String name)Returns the enum constant of this type with the specified name.static CallSummaries.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 CallSummaries.AnsweredBy UNKNOWN
-
MACHINE_START
public static final CallSummaries.AnsweredBy MACHINE_START
-
MACHINE_END_BEEP
public static final CallSummaries.AnsweredBy MACHINE_END_BEEP
-
MACHINE_END_SILENCE
public static final CallSummaries.AnsweredBy MACHINE_END_SILENCE
-
MACHINE_END_OTHER
public static final CallSummaries.AnsweredBy MACHINE_END_OTHER
-
HUMAN
public static final CallSummaries.AnsweredBy HUMAN
-
FAX
public static final CallSummaries.AnsweredBy FAX
-
-
Method Detail
-
values
public static CallSummaries.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 (CallSummaries.AnsweredBy c : CallSummaries.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 CallSummaries.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:
toStringin classEnum<CallSummaries.AnsweredBy>
-
forValue
public static CallSummaries.AnsweredBy forValue(String value)
-
-