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