public enum NotificationSubscriptionType extends java.lang.Enum<NotificationSubscriptionType> implements IPutIntoJson<java.lang.String>
| Enum Constant and Description |
|---|
OPTED_IN |
SUBSCRIBED |
UNSUBSCRIBED |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
forJsonPut() |
static NotificationSubscriptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotificationSubscriptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationSubscriptionType OPTED_IN
public static final NotificationSubscriptionType SUBSCRIBED
public static final NotificationSubscriptionType UNSUBSCRIBED
public static NotificationSubscriptionType[] values()
for (NotificationSubscriptionType c : NotificationSubscriptionType.values()) System.out.println(c);
public static NotificationSubscriptionType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String forJsonPut()
forJsonPut in interface IPutIntoJson<java.lang.String>