Package org.javacord.api.entity.auditlog
Enum AuditLogActionType
- java.lang.Object
-
- java.lang.Enum<AuditLogActionType>
-
- org.javacord.api.entity.auditlog.AuditLogActionType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AuditLogActionType>
public enum AuditLogActionType extends java.lang.Enum<AuditLogActionType>
An enum with all action types.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuditLogActionTypefromValue(int value)Gets anAuditLogActionTypeby its value.intgetValue()Gets the value of the action type.static AuditLogActionTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AuditLogActionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GUILD_UPDATE
public static final AuditLogActionType GUILD_UPDATE
-
CHANNEL_CREATE
public static final AuditLogActionType CHANNEL_CREATE
-
CHANNEL_UPDATE
public static final AuditLogActionType CHANNEL_UPDATE
-
CHANNEL_DELETE
public static final AuditLogActionType CHANNEL_DELETE
-
CHANNEL_OVERWRITE_CREATE
public static final AuditLogActionType CHANNEL_OVERWRITE_CREATE
-
CHANNEL_OVERWRITE_UPDATE
public static final AuditLogActionType CHANNEL_OVERWRITE_UPDATE
-
CHANNEL_OVERWRITE_DELETE
public static final AuditLogActionType CHANNEL_OVERWRITE_DELETE
-
MEMBER_KICK
public static final AuditLogActionType MEMBER_KICK
-
MEMBER_PRUNE
public static final AuditLogActionType MEMBER_PRUNE
-
MEMBER_BAN_ADD
public static final AuditLogActionType MEMBER_BAN_ADD
-
MEMBER_BAN_REMOVE
public static final AuditLogActionType MEMBER_BAN_REMOVE
-
MEMBER_UPDATE
public static final AuditLogActionType MEMBER_UPDATE
-
MEMBER_ROLE_UPDATE
public static final AuditLogActionType MEMBER_ROLE_UPDATE
-
MEMBER_MOVE
public static final AuditLogActionType MEMBER_MOVE
-
MEMBER_DISCONNECT
public static final AuditLogActionType MEMBER_DISCONNECT
-
BOT_ADD
public static final AuditLogActionType BOT_ADD
-
ROLE_CREATE
public static final AuditLogActionType ROLE_CREATE
-
ROLE_UPDATE
public static final AuditLogActionType ROLE_UPDATE
-
ROLE_DELETE
public static final AuditLogActionType ROLE_DELETE
-
INVITE_CREATE
public static final AuditLogActionType INVITE_CREATE
-
INVITE_UPDATE
public static final AuditLogActionType INVITE_UPDATE
-
INVITE_DELETE
public static final AuditLogActionType INVITE_DELETE
-
WEBHOOK_CREATE
public static final AuditLogActionType WEBHOOK_CREATE
-
WEBHOOK_UPDATE
public static final AuditLogActionType WEBHOOK_UPDATE
-
WEBHOOK_DELETE
public static final AuditLogActionType WEBHOOK_DELETE
-
EMOJI_CREATE
public static final AuditLogActionType EMOJI_CREATE
-
EMOJI_UPDATE
public static final AuditLogActionType EMOJI_UPDATE
-
EMOJI_DELETE
public static final AuditLogActionType EMOJI_DELETE
-
MESSAGE_DELETE
public static final AuditLogActionType MESSAGE_DELETE
-
MESSAGE_BULK_DELETE
public static final AuditLogActionType MESSAGE_BULK_DELETE
-
MESSAGE_PIN
public static final AuditLogActionType MESSAGE_PIN
-
MESSAGE_UNPIN
public static final AuditLogActionType MESSAGE_UNPIN
-
INTEGRATION_CREATE
public static final AuditLogActionType INTEGRATION_CREATE
-
INTEGRATION_UPDATE
public static final AuditLogActionType INTEGRATION_UPDATE
-
INTEGRATION_DELETE
public static final AuditLogActionType INTEGRATION_DELETE
-
STAGE_INSTANCE_CREATE
public static final AuditLogActionType STAGE_INSTANCE_CREATE
-
STAGE_INSTANCE_UPDATE
public static final AuditLogActionType STAGE_INSTANCE_UPDATE
-
STAGE_INSTANCE_DELETE
public static final AuditLogActionType STAGE_INSTANCE_DELETE
-
STICKER_CREATE
public static final AuditLogActionType STICKER_CREATE
-
STICKER_UPDATE
public static final AuditLogActionType STICKER_UPDATE
-
STICKER_DELETE
public static final AuditLogActionType STICKER_DELETE
-
THREAD_CREATE
public static final AuditLogActionType THREAD_CREATE
-
THREAD_UPDATE
public static final AuditLogActionType THREAD_UPDATE
-
THREAD_DELETE
public static final AuditLogActionType THREAD_DELETE
-
APPLICATION_COMMAND_PERMISSION_UPDATE
public static final AuditLogActionType APPLICATION_COMMAND_PERMISSION_UPDATE
-
UNKNOWN
public static final AuditLogActionType UNKNOWN
An unknown action type.
-
-
Method Detail
-
values
public static AuditLogActionType[] 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 (AuditLogActionType c : AuditLogActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditLogActionType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public int getValue()
Gets the value of the action type.- Returns:
- The value of the action type.
-
fromValue
public static AuditLogActionType fromValue(int value)
Gets anAuditLogActionTypeby its value.- Parameters:
value- The value of the action type.- Returns:
- The action type for the given value,
or
UNKNOWNif there's no with the given value.
-
-