Enum InteractionChannel.Type
- java.lang.Object
-
- java.lang.Enum<InteractionChannel.Type>
-
- com.twilio.rest.flexapi.v1.interaction.InteractionChannel.Type
-
- All Implemented Interfaces:
Serializable,Comparable<InteractionChannel.Type>
- Enclosing class:
- InteractionChannel
public static enum InteractionChannel.Type extends Enum<InteractionChannel.Type>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InteractionChannel.TypeforValue(String value)StringtoString()static InteractionChannel.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static InteractionChannel.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VOICE
public static final InteractionChannel.Type VOICE
-
SMS
public static final InteractionChannel.Type SMS
-
EMAIL
public static final InteractionChannel.Type EMAIL
-
WEB
public static final InteractionChannel.Type WEB
-
WHATSAPP
public static final InteractionChannel.Type WHATSAPP
-
CHAT
public static final InteractionChannel.Type CHAT
-
MESSENGER
public static final InteractionChannel.Type MESSENGER
-
GBM
public static final InteractionChannel.Type GBM
-
-
Method Detail
-
values
public static InteractionChannel.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InteractionChannel.Type c : InteractionChannel.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InteractionChannel.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<InteractionChannel.Type>
-
forValue
public static InteractionChannel.Type forValue(String value)
-
-