Enum UserConversation.NotificationLevel
- java.lang.Object
-
- java.lang.Enum<UserConversation.NotificationLevel>
-
- com.twilio.rest.conversations.v1.service.user.UserConversation.NotificationLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<UserConversation.NotificationLevel>
- Enclosing class:
- UserConversation
public static enum UserConversation.NotificationLevel extends Enum<UserConversation.NotificationLevel>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserConversation.NotificationLevel
forValue(String value)
String
toString()
static UserConversation.NotificationLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserConversation.NotificationLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final UserConversation.NotificationLevel DEFAULT
-
MUTED
public static final UserConversation.NotificationLevel MUTED
-
-
Method Detail
-
values
public static UserConversation.NotificationLevel[] 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 (UserConversation.NotificationLevel c : UserConversation.NotificationLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserConversation.NotificationLevel 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:
toString
in classEnum<UserConversation.NotificationLevel>
-
forValue
public static UserConversation.NotificationLevel forValue(String value)
-
-