Enum CountTotalAction.CountableEntity
- java.lang.Object
-
- java.lang.Enum<CountTotalAction.CountableEntity>
-
- discord4j.common.store.action.read.CountTotalAction.CountableEntity
-
- All Implemented Interfaces:
Serializable,Comparable<CountTotalAction.CountableEntity>
- Enclosing class:
- CountTotalAction
public static enum CountTotalAction.CountableEntity extends Enum<CountTotalAction.CountableEntity>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CountTotalAction.CountableEntityvalueOf(String name)Returns the enum constant of this type with the specified name.static CountTotalAction.CountableEntity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHANNELS
public static final CountTotalAction.CountableEntity CHANNELS
-
EMOJIS
public static final CountTotalAction.CountableEntity EMOJIS
-
GUILDS
public static final CountTotalAction.CountableEntity GUILDS
-
MEMBERS
public static final CountTotalAction.CountableEntity MEMBERS
-
MESSAGES
public static final CountTotalAction.CountableEntity MESSAGES
-
PRESENCES
public static final CountTotalAction.CountableEntity PRESENCES
-
ROLES
public static final CountTotalAction.CountableEntity ROLES
-
USERS
public static final CountTotalAction.CountableEntity USERS
-
VOICE_STATES
public static final CountTotalAction.CountableEntity VOICE_STATES
-
-
Method Detail
-
values
public static CountTotalAction.CountableEntity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CountTotalAction.CountableEntity c : CountTotalAction.CountableEntity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CountTotalAction.CountableEntity valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-