public static enum UserChannel.NotificationLevel extends Enum<UserChannel.NotificationLevel>
Modifier and Type | Method and Description |
---|---|
static UserChannel.NotificationLevel |
forValue(String value)
Generate a NotificationLevel from a string.
|
String |
toString() |
static UserChannel.NotificationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserChannel.NotificationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserChannel.NotificationLevel DEFAULT
public static final UserChannel.NotificationLevel MUTED
public static UserChannel.NotificationLevel[] values()
for (UserChannel.NotificationLevel c : UserChannel.NotificationLevel.values()) System.out.println(c);
public static UserChannel.NotificationLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<UserChannel.NotificationLevel>
public static UserChannel.NotificationLevel forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.