Enum ActionType

    • Enum Constant Detail

      • GUILD_UPDATE

        public static final ActionType GUILD_UPDATE
      • CHANNEL_CREATE

        public static final ActionType CHANNEL_CREATE
      • CHANNEL_UPDATE

        public static final ActionType CHANNEL_UPDATE
      • CHANNEL_DELETE

        public static final ActionType CHANNEL_DELETE
      • CHANNEL_OVERWRITE_CREATE

        public static final ActionType CHANNEL_OVERWRITE_CREATE
      • CHANNEL_OVERWRITE_UPDATE

        public static final ActionType CHANNEL_OVERWRITE_UPDATE
      • CHANNEL_OVERWRITE_DELETE

        public static final ActionType CHANNEL_OVERWRITE_DELETE
      • MEMBER_KICK

        public static final ActionType MEMBER_KICK
      • MEMBER_PRUNE

        public static final ActionType MEMBER_PRUNE
      • MEMBER_BAN_ADD

        public static final ActionType MEMBER_BAN_ADD
      • MEMBER_BAN_REMOVE

        public static final ActionType MEMBER_BAN_REMOVE
      • MEMBER_UPDATE

        public static final ActionType MEMBER_UPDATE
      • MEMBER_ROLE_UPDATE

        public static final ActionType MEMBER_ROLE_UPDATE
      • MEMBER_MOVE

        public static final ActionType MEMBER_MOVE
      • MEMBER_DISCONNECT

        public static final ActionType MEMBER_DISCONNECT
      • ROLE_CREATE

        public static final ActionType ROLE_CREATE
      • ROLE_UPDATE

        public static final ActionType ROLE_UPDATE
      • ROLE_DELETE

        public static final ActionType ROLE_DELETE
      • INVITE_CREATE

        public static final ActionType INVITE_CREATE
      • INVITE_UPDATE

        public static final ActionType INVITE_UPDATE
      • INVITE_DELETE

        public static final ActionType INVITE_DELETE
      • WEBHOOK_CREATE

        public static final ActionType WEBHOOK_CREATE
      • WEBHOOK_UPDATE

        public static final ActionType WEBHOOK_UPDATE
      • WEBHOOK_DELETE

        public static final ActionType WEBHOOK_DELETE
      • EMOJI_CREATE

        public static final ActionType EMOJI_CREATE
      • EMOJI_UPDATE

        public static final ActionType EMOJI_UPDATE
      • EMOJI_DELETE

        public static final ActionType EMOJI_DELETE
      • MESSAGE_DELETE

        public static final ActionType MESSAGE_DELETE
      • MESSAGE_BULK_DELETE

        public static final ActionType MESSAGE_BULK_DELETE
      • MESSAGE_PIN

        public static final ActionType MESSAGE_PIN
      • MESSAGE_UNPIN

        public static final ActionType MESSAGE_UNPIN
      • INTEGRATION_CREATE

        public static final ActionType INTEGRATION_CREATE
      • INTEGRATION_UPDATE

        public static final ActionType INTEGRATION_UPDATE
      • INTEGRATION_DELETE

        public static final ActionType INTEGRATION_DELETE
    • Method Detail

      • values

        public static ActionType[] 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 (ActionType c : ActionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ActionType valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • of

        public static ActionType of​(int value)
        Gets the type of action. It is guaranteed that invoking getValue() from the returned enum will equal (Enum.equals(Object)) the supplied value.
        Parameters:
        value - The underlying value as represented by Discord.
        Returns:
        The type of action.
      • getValue

        public int getValue()
        Gets the underlying value as represented by Discord.
        Returns:
        The underlying value as represented by Discord.