Interface AuditLogEntryTarget

    • Method Detail

      • getAuditLogEntry

        AuditLogEntry getAuditLogEntry()
        Gets the audit log entry this target belongs to.
        Returns:
        The audit log entry this target belongs to.
      • asUser

        default java.util.concurrent.CompletableFuture<User> asUser()
        Gets the target as user.
        Returns:
        The target as user.
      • asServer

        default java.util.Optional<Server> asServer()
        Gets the target as server.
        Returns:
        The target as server.
      • asChannel

        default java.util.Optional<ServerChannel> asChannel()
        Gets the target as channel.
        Returns:
        The target as channel.
      • asRole

        default java.util.Optional<Role> asRole()
        Gets the target as role.
        Returns:
        The target as role.
      • asWebhook

        default java.util.Optional<Webhook> asWebhook()
        Gets the target as webhook.
        Returns:
        The target as webhook.