Package discord4j.core.object.audit
Class OptionKey<T>
- java.lang.Object
-
- discord4j.core.object.audit.OptionKey<T>
-
- Type Parameters:
T
- The type of the optional data.
public class OptionKey<T> extends Object
A key to be used inAuditLogEntry.getOption(OptionKey)
.- See Also:
- Optional Audit Entry Info
-
-
Field Summary
Fields Modifier and Type Field Description static OptionKey<Snowflake>
CHANNEL_ID
Channel in which the entities were targeted.static OptionKey<Integer>
COUNT
Number of entities that were targeted.static OptionKey<Integer>
DELETE_MEMBER_DAYS
Number of days after which inactive members were kicked.static OptionKey<Snowflake>
ID
Id of the overwritten entity.static OptionKey<Integer>
MEMBERS_REMOVED
Number of members removed by the prune.static OptionKey<Snowflake>
MESSAGE_ID
Id of the message that was targeted.static OptionKey<String>
ROLE_NAME
Name of the role if type is "role".static OptionKey<String>
TYPE
Type of overwritten entity ("member" or "role").
-
-
-
Field Detail
-
DELETE_MEMBER_DAYS
public static final OptionKey<Integer> DELETE_MEMBER_DAYS
Number of days after which inactive members were kicked.
-
MEMBERS_REMOVED
public static final OptionKey<Integer> MEMBERS_REMOVED
Number of members removed by the prune.
-
CHANNEL_ID
public static final OptionKey<Snowflake> CHANNEL_ID
Channel in which the entities were targeted.
-
-