Package com.twilio.rest.insights.v1
Enum Room.EndReason
- java.lang.Object
-
- java.lang.Enum<Room.EndReason>
-
- com.twilio.rest.insights.v1.Room.EndReason
-
- All Implemented Interfaces:
Serializable,Comparable<Room.EndReason>
- Enclosing class:
- Room
public static enum Room.EndReason extends Enum<Room.EndReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ROOM_ENDED_VIA_APITIMEOUT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Room.EndReasonforValue(String value)StringtoString()static Room.EndReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static Room.EndReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROOM_ENDED_VIA_API
public static final Room.EndReason ROOM_ENDED_VIA_API
-
TIMEOUT
public static final Room.EndReason TIMEOUT
-
-
Method Detail
-
values
public static Room.EndReason[] 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 (Room.EndReason c : Room.EndReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Room.EndReason 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<Room.EndReason>
-
forValue
public static Room.EndReason forValue(String value)
-
-