Package com.podio

Class RateLimits


  • public class RateLimits
    extends Object
    • Constructor Detail

      • RateLimits

        public RateLimits()
    • Method Detail

      • getLimit

        public static Integer getLimit()
        Returns the ceiling for the request you just made. May be null if there is no limit.
        Returns:
        the ceiling for the request you just made
      • setLimit

        public static void setLimit​(Integer limit)
      • getRemaining

        public static Integer getRemaining()
        Returns the number of requests you have left for the current 1 hour window. May be null if there is no limit.
        Returns:
        the number of requests you have left for the current 1 hour window
      • setRemaining

        public static void setRemaining​(Integer remaining)