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