public enum RoleOptions extends java.lang.Enum<RoleOptions> implements EnumParam
| Enum Constant and Description |
|---|
ADMINISTRATOR |
CREATOR |
EDITOR |
MODERATOR |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
java.lang.String |
toString() |
static RoleOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RoleOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="moderator") public static final RoleOptions MODERATOR
@SerializedName(value="editor") public static final RoleOptions EDITOR
@SerializedName(value="administrator") public static final RoleOptions ADMINISTRATOR
@SerializedName(value="creator") public static final RoleOptions CREATOR
public static RoleOptions[] values()
for (RoleOptions c : RoleOptions.values()) System.out.println(c);
public static RoleOptions 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 toString()
toString in class java.lang.Enum<RoleOptions>