public enum AuditLogKey extends java.lang.Enum<AuditLogKey>
AuditLogEntry.getChangeByKey(AuditLogEntry.AuditLogKey.
Each constant in this enum has elaborate documentation on expected values for the
returned AuditLogChange.
There is no guarantee that the resulting type is accurate or that the value selected is not null!
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getKey() |
java.lang.String |
toString() |
static AuditLogKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuditLogKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuditLogKey ID
ActionTypes
which create a new entity.
getXById method.
Expected type: String
public static final AuditLogKey GUILD_NAME
Guild.getName() value
Expected type: String
public static final AuditLogKey GUILD_OWNER
Guild
Expected type: String
public static final AuditLogKey GUILD_REGION
public static final AuditLogKey GUILD_AFK_TIMEOUT
public static final AuditLogKey GUILD_AFK_CHANNEL
Guild.getAfkChannel() value represented by a VoiceChannel ID.
Guild.getVoiceChannelById(String)
Expected type: String
public static final AuditLogKey GUILD_EXPLICIT_CONTENT_FILTER
Guild.getExplicitContentLevel() of a Guild.
Guild.ExplicitContentLevel.fromKey(int)
Expected type: Integer
public static final AuditLogKey GUILD_ICON
Icon ID of a Guild.
Expected type: String
public static final AuditLogKey GUILD_SPLASH
Splash ID of a Guild.
Expected type: String
public static final AuditLogKey GUILD_VERIFICATION_LEVEL
Guild.getVerificationLevel() value.
Guild.VerificationLevel.fromKey(int)
Expected type: Integer
public static final AuditLogKey GUILD_NOTIFICATION_LEVEL
Guild.getDefaultNotificationLevel() value.
Guild.NotificationLevel.fromKey(int)
Expected type: Integer
public static final AuditLogKey GUILD_MFA_LEVEL
Guild.getRequiredMFALevel() value
Guild.MFALevel.fromKey(int)
Expected type: Integer
public static final AuditLogKey CHANNEL_NAME
Channel.getName() value.
Expected type: String
public static final AuditLogKey CHANNEL_TOPIC
public static final AuditLogKey CHANNEL_BITRATE
public static final AuditLogKey CHANNEL_USER_LIMIT
public static final AuditLogKey CHANNEL_NSFW
public static final AuditLogKey MEMBER_NICK
Member.getNickname() value
Expected type: String
public static final AuditLogKey MEMBER_MUTE
GuildVoiceState of a Member.
Guild.isGuildMuted() value updated.
Expected type: Boolean
public static final AuditLogKey MEMBER_DEAF
GuildVoiceState of a Member.
Guild.isGuildDeafened() value updated.
Expected type: Boolean
public static final AuditLogKey MEMBER_ROLES_ADD
Member.getRoles() with this action
Role IDs
Guild.getRoleById(String)
Expected type: List<String>
public static final AuditLogKey MEMBER_ROLES_REMOVE
Member.getRoles() with this action
Role IDs
Guild.getRoleById(String)
Expected type: List<String>
public static final AuditLogKey OVERRIDE_DENY
PermissionOverride.getDeniedRaw()
Permission.getPermissions(long)
Expected type: Long
public static final AuditLogKey OVERRIDE_ALLOW
PermissionOverride.getAllowedRaw()
Permission.getPermissions(long)
Expected type: Long
public static final AuditLogKey ROLE_NAME
Role.getName() value.
Expected type: String
public static final AuditLogKey ROLE_PERMISSIONS
Role.getPermissionsRaw() value.
Permission.getPermissions(long)
Expected type: Long
public static final AuditLogKey ROLE_COLOR
public static final AuditLogKey ROLE_HOISTED
Role.isHoisted() value.
Expected type: Boolean
public static final AuditLogKey ROLE_MENTIONABLE
Role.isMentionable() value.
Expected type: Boolean
public static final AuditLogKey EMOTE_NAME
Emote.getName() value.
Expected type: String
public static final AuditLogKey EMOTE_ROLES_ADD
Emote.getRoles() with this action
Role IDs
Guild.getRoleById(String)
Expected type: List<String>
public static final AuditLogKey EMOTE_ROLES_REMOVE
Emote.getRoles() with this action
Role IDs
Guild.getRoleById(String)
Expected type: List<String>
public static final AuditLogKey WEBHOOK_NAME
Webhook.getName() value.
Expected type: String
public static final AuditLogKey WEBHOOK_ICON
Webhook.getDefaultUser()'s avatar hash of a Webhook.
User.getAvatarUrl()!
Expected type: String
public static final AuditLogKey WEBHOOK_CHANNEL
Webhook.getChannel() for
the target Webhook
Guild.getTextChannelById(String)
Expected type: String
public static AuditLogKey[] values()
for (AuditLogKey c : AuditLogKey.values()) System.out.println(c);
public static AuditLogKey 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 getKey()
public java.lang.String toString()
toString in class java.lang.Enum<AuditLogKey>