Enum Reservation.SupervisorMode
- java.lang.Object
-
- java.lang.Enum<Reservation.SupervisorMode>
-
- com.twilio.rest.taskrouter.v1.workspace.task.Reservation.SupervisorMode
-
- All Implemented Interfaces:
Serializable,Comparable<Reservation.SupervisorMode>
- Enclosing class:
- Reservation
public static enum Reservation.SupervisorMode extends Enum<Reservation.SupervisorMode>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Reservation.SupervisorModeforValue(String value)StringtoString()static Reservation.SupervisorModevalueOf(String name)Returns the enum constant of this type with the specified name.static Reservation.SupervisorMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MONITOR
public static final Reservation.SupervisorMode MONITOR
-
WHISPER
public static final Reservation.SupervisorMode WHISPER
-
BARGE
public static final Reservation.SupervisorMode BARGE
-
-
Method Detail
-
values
public static Reservation.SupervisorMode[] 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 (Reservation.SupervisorMode c : Reservation.SupervisorMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Reservation.SupervisorMode 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<Reservation.SupervisorMode>
-
forValue
public static Reservation.SupervisorMode forValue(String value)
-
-