Interface RestRatelimitHit

All Superinterfaces:
Entity
All Known Implementing Classes:
RestRatelimitHitImpl

public interface RestRatelimitHit extends Entity
Fired whenever a REST ratelimit is hit.
Since:
7/26/19.
Author:
amy
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     

    Methods inherited from interface com.mewna.catnip.entity.Entity

    catnip, serialize
  • Method Details

    • route

      @Nonnull String route()
      Returns:
      The route that was ratelimited. Never null.
    • global

      boolean global()
      Returns:
      Whether or not the ratelimit was global.