public static enum CCPA.CCPA_CONSENT extends java.lang.Enum<CCPA.CCPA_CONSENT>
| Enum Constant and Description |
|---|
OPT_IN_SALE |
OPT_OUT_SALE |
| Modifier and Type | Method and Description |
|---|---|
static CCPA.CCPA_CONSENT |
fromValue(java.lang.String value) |
java.lang.String |
getValue() |
static CCPA.CCPA_CONSENT |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CCPA.CCPA_CONSENT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CCPA.CCPA_CONSENT OPT_OUT_SALE
public static final CCPA.CCPA_CONSENT OPT_IN_SALE
public static CCPA.CCPA_CONSENT[] values()
for (CCPA.CCPA_CONSENT c : CCPA.CCPA_CONSENT.values()) System.out.println(c);
public static CCPA.CCPA_CONSENT 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 getValue()
public static CCPA.CCPA_CONSENT fromValue(java.lang.String value)