public static enum Conversation.State extends Enum<Conversation.State>
Modifier and Type | Method and Description |
---|---|
static Conversation.State |
forValue(String value)
Generate a State from a string.
|
String |
toString() |
static Conversation.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Conversation.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Conversation.State INACTIVE
public static final Conversation.State ACTIVE
public static final Conversation.State CLOSED
public static Conversation.State[] values()
for (Conversation.State c : Conversation.State.values()) System.out.println(c);
public static Conversation.State 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<Conversation.State>
public static Conversation.State forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.