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