public class RateLimitStatus extends Object
Constructor and Description |
---|
RateLimitStatus(String endpoint,
int quarterOfHourLimit,
int remainingHits,
long resetTimeInSeconds) |
Modifier and Type | Method and Description |
---|---|
String |
getEndpoint() |
int |
getQuarterOfHourLimit() |
int |
getRemainingHits() |
Date |
getResetTime() |
long |
getResetTimeInSeconds() |
int |
getSecondsUntilReset()
The approximate number of seconds until the rate limits are reset.
|
public RateLimitStatus(String endpoint, int quarterOfHourLimit, int remainingHits, long resetTimeInSeconds)
public String getEndpoint()
public int getQuarterOfHourLimit()
public int getRemainingHits()
public long getResetTimeInSeconds()
public Date getResetTime()
public int getSecondsUntilReset()