public static enum Guild.MFALevel extends java.lang.Enum<Guild.MFALevel>
Enum Constant and Description |
---|
NONE |
TWO_FACTOR_AUTH |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Guild.MFALevel |
fromKey(int key) |
int |
getKey() |
static Guild.MFALevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Guild.MFALevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Guild.MFALevel NONE
public static final Guild.MFALevel TWO_FACTOR_AUTH
public static final Guild.MFALevel UNKNOWN
public static Guild.MFALevel[] values()
for (Guild.MFALevel c : Guild.MFALevel.values()) System.out.println(c);
public static Guild.MFALevel 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 int getKey()
public static Guild.MFALevel fromKey(int key)