Enum InteractionChannelParticipant.Type
- java.lang.Object
-
- java.lang.Enum<InteractionChannelParticipant.Type>
-
- com.twilio.rest.flexapi.v1.interaction.interactionchannel.InteractionChannelParticipant.Type
-
- All Implemented Interfaces:
Serializable,Comparable<InteractionChannelParticipant.Type>
- Enclosing class:
- InteractionChannelParticipant
public static enum InteractionChannelParticipant.Type extends Enum<InteractionChannelParticipant.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGENTCUSTOMEREXTERNALSUPERVISORUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InteractionChannelParticipant.TypeforValue(String value)StringtoString()static InteractionChannelParticipant.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static InteractionChannelParticipant.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUPERVISOR
public static final InteractionChannelParticipant.Type SUPERVISOR
-
CUSTOMER
public static final InteractionChannelParticipant.Type CUSTOMER
-
EXTERNAL
public static final InteractionChannelParticipant.Type EXTERNAL
-
AGENT
public static final InteractionChannelParticipant.Type AGENT
-
UNKNOWN
public static final InteractionChannelParticipant.Type UNKNOWN
-
-
Method Detail
-
values
public static InteractionChannelParticipant.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 (InteractionChannelParticipant.Type c : InteractionChannelParticipant.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 InteractionChannelParticipant.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<InteractionChannelParticipant.Type>
-
forValue
public static InteractionChannelParticipant.Type forValue(String value)
-
-