public enum LinkAction extends java.lang.Enum<LinkAction>
| Enum Constant and Description |
|---|
LINK
Link account.
|
UNLINK
Unlink account.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
getValue()
Gets the raw value.
|
static LinkAction |
rawValueOf(int value)
Gets enum value from raw.
|
static LinkAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LinkAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkAction LINK
public static final LinkAction UNLINK
public static LinkAction[] values()
for (LinkAction c : LinkAction.values()) System.out.println(c);
public static LinkAction 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 static LinkAction rawValueOf(int value)
value - Raw value.public byte getValue()