public enum RestrictEmojiCreation extends Enum<RestrictEmojiCreation> implements HasCode<RestrictEmojiCreation>
| Modifier and Type | Class and Description |
|---|---|
static class |
RestrictEmojiCreation.RestrictEmojiCreationDeserializer |
| Enum Constant and Description |
|---|
ALL |
CHANNEL_ADMIN |
SYSTEM_ADMIN |
TEAM_ADMIN |
| Modifier and Type | Method and Description |
|---|---|
static RestrictEmojiCreation |
of(String code) |
static RestrictEmojiCreation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestrictEmojiCreation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestrictEmojiCreation ALL
public static final RestrictEmojiCreation CHANNEL_ADMIN
public static final RestrictEmojiCreation TEAM_ADMIN
public static final RestrictEmojiCreation SYSTEM_ADMIN
public static RestrictEmojiCreation[] values()
for (RestrictEmojiCreation c : RestrictEmojiCreation.values()) System.out.println(c);
public static RestrictEmojiCreation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static RestrictEmojiCreation of(String code)
Copyright © 2019. All rights reserved.