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