public enum GiftPrivacy extends java.lang.Enum<GiftPrivacy>
Enum Constant and Description |
---|
NAME_AND_MESSAGE_FOR_ALL |
NAME_AND_MESSAGE_FOR_RECIPIENT_ONLY |
NAME_FOR_ALL |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getValue() |
static GiftPrivacy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GiftPrivacy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="0") public static final GiftPrivacy NAME_AND_MESSAGE_FOR_ALL
@SerializedName(value="1") public static final GiftPrivacy NAME_FOR_ALL
@SerializedName(value="2") public static final GiftPrivacy NAME_AND_MESSAGE_FOR_RECIPIENT_ONLY
public static GiftPrivacy[] values()
for (GiftPrivacy c : GiftPrivacy.values()) System.out.println(c);
public static GiftPrivacy 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.Integer getValue()