public class RateLimit
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
RateLimit()
Default Constructor
|
RateLimit(java.lang.Integer limit,
java.lang.Integer remaining,
java.util.Date reset)
Parameterized Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getLimit() |
java.lang.Integer |
getRemaining() |
java.util.Date |
getReset() |
java.lang.String |
toString() |
public RateLimit()
public RateLimit(java.lang.Integer limit, java.lang.Integer remaining, java.util.Date reset)
limit
- the number of requests that can be made per hourremaining
- the number of requests that remain before you hit your request limitreset
- this represents the time when the oldest request will expirepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Integer getLimit()
public java.lang.Integer getRemaining()
public java.util.Date getReset()
Copyright © myjeeva blog, All rights reserved.
The copyright of the pages and contents on this website is with myjeeva.com and the content is licensed under Creative Commons – Attribution-ShareAlike 4.0 International (CC BY-SA 4.0). Libraries and code snippets on myjeeva blog has license information.