public static enum SubscribeRule.Type extends Enum<SubscribeRule.Type>
Modifier and Type | Method and Description |
---|---|
static SubscribeRule.Type |
forValue(String value) |
String |
toString() |
String |
value() |
static SubscribeRule.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscribeRule.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscribeRule.Type INCLUDE
public static final SubscribeRule.Type EXCLUDE
public static SubscribeRule.Type[] values()
for (SubscribeRule.Type c : SubscribeRule.Type.values()) System.out.println(c);
public static SubscribeRule.Type 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 static SubscribeRule.Type forValue(String value)
public String value()
public String toString()
toString
in class Enum<SubscribeRule.Type>
Copyright © 2019 Twilio, Inc. All Rights Reserved.