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 | 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_SYSTEM_CHANNEL
Guild.getSystemChannel()
value represented by a TextChannel ID.
Guild.getTextChannelById(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_PARENT
Channel.getParent()
value.
Guild.getCategoryById(String)
Expected type: String
public static final AuditLogKey CHANNEL_TOPIC
public static final AuditLogKey CHANNEL_SLOWMODE
public static final AuditLogKey CHANNEL_BITRATE
public static final AuditLogKey CHANNEL_USER_LIMIT
public static final AuditLogKey CHANNEL_NSFW
public static final AuditLogKey CHANNEL_TYPE
public static final AuditLogKey CHANNEL_OVERRIDES
Expected type: List<Map<String, Object>>
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 OVERRIDE_TYPE
"role"
or "member"
.
Expected type: String
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 final AuditLogKey INVITE_CODE
Invite.getCode()
for
the target Invite
Invite.resolve(net.dv8tion.jda.core.JDA, String)
Invite.resolve(JDA, String)}
Expected type: String
public static final AuditLogKey INVITE_MAX_AGE
public static final AuditLogKey INVITE_TEMPORARY
public static final AuditLogKey INVITE_INVITER
Invite.getInviter()
ID for
the target Invite
JDA.getUserById(String)
Expected type: String
public static final AuditLogKey INVITE_CHANNEL
Invite.getChannel()
ID for
the target Invite
JDA.getTextChannelById(String)
or JDA.getVoiceChannelById(String)
Expected type: String
public static final AuditLogKey INVITE_USES
public static final AuditLogKey INVITE_MAX_USES
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>