public static enum Annotation.AnsweredBy extends Enum<Annotation.AnsweredBy>
Enum Constant and Description |
---|
HUMAN |
MACHINE |
UNKNOWN_ANSWERED_BY |
Modifier and Type | Method and Description |
---|---|
static Annotation.AnsweredBy |
forValue(String value)
Generate a AnsweredBy from a string.
|
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.
|
public static final Annotation.AnsweredBy UNKNOWN_ANSWERED_BY
public static final Annotation.AnsweredBy HUMAN
public static final Annotation.AnsweredBy MACHINE
public static Annotation.AnsweredBy[] values()
for (Annotation.AnsweredBy c : Annotation.AnsweredBy.values()) System.out.println(c);
public static Annotation.AnsweredBy 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<Annotation.AnsweredBy>
public static Annotation.AnsweredBy forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.