Package discord4j.core.object.audit
Class ChangeKey<T>
- java.lang.Object
-
- discord4j.core.object.audit.ChangeKey<T>
-
- Type Parameters:
T
- The type of the audit log change key.
public final class ChangeKey<T> extends Object
Represents the various audit log change key. See Audit Log Change Key
-
-
Field Summary
Fields Modifier and Type Field Description static ChangeKey<Snowflake>
AFK_CHANNEL
Afk channel changedstatic ChangeKey<Integer>
AFK_TIMEOUT
Afk timeout duration changedstatic ChangeKey<PermissionSet>
ALLOW
A permission on a text or voice channel was allowed for a rolestatic ChangeKey<Snowflake>
APPLICATION_ID
Application id of the added or removed webhook or botstatic ChangeKey<String>
BANNER
Banner changedstatic ChangeKey<Integer>
BITRATE
Voice channel bitrate changedstatic ChangeKey<Channel.Type>
CHANNEL_TYPE
Type of entity createdstatic ChangeKey<Color>
COLOR
Role color changedstatic ChangeKey<Guild.ContentFilterLevel>
CONTENT_FILTER_LEVEL
Change in whose messages are scanned and deleted for explicit content in the serverstatic ChangeKey<PermissionSet>
DENY
A permission on a text or voice channel was denied for a rolestatic ChangeKey<String>
DESCRIPTION
Description changedstatic ChangeKey<String>
DISCOVERY_SPLASH
Discovery splash changedstatic ChangeKey<Boolean>
ENABLE_EMOTICONS
Integration emoticons enabled/disabledstatic ChangeKey<Integer>
EXPIRE_BEHAVIOR
Integration expiring subscriber behavior changedstatic ChangeKey<Integer>
EXPIRE_GRACE_PERIOD
Integration expire grace period changedstatic ChangeKey<Boolean>
HOIST
Role is now displayed/no longer displayed separate from online usersstatic ChangeKey<String>
ICON
Icon changedstatic ChangeKey<Snowflake>
ID
The id of the changed entity - sometimes used in conjunction with other keysstatic ChangeKey<Snowflake>
INVITE_CHANNEL_ID
Channel for invite code changedstatic ChangeKey<String>
INVITE_CODE
Invite code changedstatic ChangeKey<Integer>
INVITE_MAX_AGE
How long invite code lasts changedstatic ChangeKey<Integer>
INVITE_MAX_USES
Change to max number of times invite code can be usedstatic ChangeKey<Boolean>
INVITE_TEMPORARY
Invite code is temporary/never expiresstatic ChangeKey<Integer>
INVITE_USES
Number of times invite code used changedstatic ChangeKey<Snowflake>
INVITER_ID
Person who created invite code changedstatic ChangeKey<Boolean>
MENTIONABLE
Role is now mentionable/unmentionablestatic ChangeKey<Guild.MfaLevel>
MFA_LEVEL
Two-factor auth requirement changedstatic ChangeKey<String>
NAME
Name changedstatic ChangeKey<Guild.NotificationLevel>
NOTIFICATION_LEVEL
Default message notification level changedstatic ChangeKey<Boolean>
NSFW
Channel nsfw restriction changedstatic ChangeKey<Set<ExtendedPermissionOverwrite>>
OVERWRITES
Permissions on a channel changedstatic ChangeKey<Snowflake>
OWNER
Owner changedstatic ChangeKey<PermissionSet>
PERMISSIONS
Permissions for a role changedstatic ChangeKey<Integer>
POSITION
Text or voice channel position changedstatic ChangeKey<String>
PREFERRED_LOCALE
Preferred locale changedstatic ChangeKey<Integer>
PRUNE_DAYS
Change in number of days after which inactive and role-unassigned members are kickedstatic ChangeKey<Snowflake>
PUBLIC_UPDATES_CHANNEL
Od of the public updates channel changedstatic ChangeKey<Integer>
RATE_LIMIT_PER_USER
Amount of seconds a user has to wait before sending another message changedstatic ChangeKey<String>
REGION
Region changedstatic ChangeKey<Set<AuditLogRole>>
ROLES_ADD
New role addedstatic ChangeKey<Set<AuditLogRole>>
ROLES_REMOVE
Role removedstatic ChangeKey<Snowflake>
RULES_CHANNEL
Id of the rules channel changedstatic ChangeKey<String>
SPLASH
Invite splash page artwork changedstatic ChangeKey<Snowflake>
SYSTEM_CHANNEL
Id of the system channel changedstatic ChangeKey<String>
TOPIC
Text channel topic changedstatic ChangeKey<String>
USER_AVATAR
User avatar changedstatic ChangeKey<Boolean>
USER_DEAFENED
User server deafened/undeafenedstatic ChangeKey<Integer>
USER_LIMIT
New user limit in a voice channelstatic ChangeKey<Boolean>
USER_MUTED
User server muted/unmutedstatic ChangeKey<String>
USER_NICK
User nickname changedstatic ChangeKey<String>
VANITY_URL
Invite vanity url changedstatic ChangeKey<Guild.VerificationLevel>
VERIFICATION_LEVEL
Required verification level changedstatic ChangeKey<Snowflake>
WIDGET_CHANNEL
Channel id of the server widget changedstatic ChangeKey<Boolean>
WIDGET_ENABLED
Server widget enabled/disable
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Gets the name of audit log change key.T
parseValue(AuditLogEntry entry, JsonNode value)
String
toString()
-
-
-
Field Detail
-
RULES_CHANNEL
public static final ChangeKey<Snowflake> RULES_CHANNEL
Id of the rules channel changed
-
PUBLIC_UPDATES_CHANNEL
public static final ChangeKey<Snowflake> PUBLIC_UPDATES_CHANNEL
Od of the public updates channel changed
-
MFA_LEVEL
public static final ChangeKey<Guild.MfaLevel> MFA_LEVEL
Two-factor auth requirement changed
-
VERIFICATION_LEVEL
public static final ChangeKey<Guild.VerificationLevel> VERIFICATION_LEVEL
Required verification level changed
-
CONTENT_FILTER_LEVEL
public static final ChangeKey<Guild.ContentFilterLevel> CONTENT_FILTER_LEVEL
Change in whose messages are scanned and deleted for explicit content in the server
-
NOTIFICATION_LEVEL
public static final ChangeKey<Guild.NotificationLevel> NOTIFICATION_LEVEL
Default message notification level changed
-
ROLES_ADD
public static final ChangeKey<Set<AuditLogRole>> ROLES_ADD
New role added
-
ROLES_REMOVE
public static final ChangeKey<Set<AuditLogRole>> ROLES_REMOVE
Role removed
-
PRUNE_DAYS
public static final ChangeKey<Integer> PRUNE_DAYS
Change in number of days after which inactive and role-unassigned members are kicked
-
WIDGET_CHANNEL
public static final ChangeKey<Snowflake> WIDGET_CHANNEL
Channel id of the server widget changed
-
SYSTEM_CHANNEL
public static final ChangeKey<Snowflake> SYSTEM_CHANNEL
Id of the system channel changed
-
OVERWRITES
public static final ChangeKey<Set<ExtendedPermissionOverwrite>> OVERWRITES
Permissions on a channel changed
-
APPLICATION_ID
public static final ChangeKey<Snowflake> APPLICATION_ID
Application id of the added or removed webhook or bot
-
RATE_LIMIT_PER_USER
public static final ChangeKey<Integer> RATE_LIMIT_PER_USER
Amount of seconds a user has to wait before sending another message changed
-
PERMISSIONS
public static final ChangeKey<PermissionSet> PERMISSIONS
Permissions for a role changed
-
HOIST
public static final ChangeKey<Boolean> HOIST
Role is now displayed/no longer displayed separate from online users
-
MENTIONABLE
public static final ChangeKey<Boolean> MENTIONABLE
Role is now mentionable/unmentionable
-
ALLOW
public static final ChangeKey<PermissionSet> ALLOW
A permission on a text or voice channel was allowed for a role
-
DENY
public static final ChangeKey<PermissionSet> DENY
A permission on a text or voice channel was denied for a role
-
INVITE_CHANNEL_ID
public static final ChangeKey<Snowflake> INVITE_CHANNEL_ID
Channel for invite code changed
-
INVITER_ID
public static final ChangeKey<Snowflake> INVITER_ID
Person who created invite code changed
-
INVITE_MAX_USES
public static final ChangeKey<Integer> INVITE_MAX_USES
Change to max number of times invite code can be used
-
INVITE_USES
public static final ChangeKey<Integer> INVITE_USES
Number of times invite code used changed
-
INVITE_MAX_AGE
public static final ChangeKey<Integer> INVITE_MAX_AGE
How long invite code lasts changed
-
INVITE_TEMPORARY
public static final ChangeKey<Boolean> INVITE_TEMPORARY
Invite code is temporary/never expires
-
ID
public static final ChangeKey<Snowflake> ID
The id of the changed entity - sometimes used in conjunction with other keys
-
CHANNEL_TYPE
public static final ChangeKey<Channel.Type> CHANNEL_TYPE
Type of entity created
-
ENABLE_EMOTICONS
public static final ChangeKey<Boolean> ENABLE_EMOTICONS
Integration emoticons enabled/disabled
-
EXPIRE_BEHAVIOR
public static final ChangeKey<Integer> EXPIRE_BEHAVIOR
Integration expiring subscriber behavior changed
-
EXPIRE_GRACE_PERIOD
public static final ChangeKey<Integer> EXPIRE_GRACE_PERIOD
Integration expire grace period changed
-
-