Class AiRateLimitStatus
java.lang.Object
fr.paris.lutece.plugins.wiki.modules.ai.business.AiRateLimitStatus
- All Implemented Interfaces:
Serializable
Status class for rate limit information
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAiRateLimitStatus(int nLimit, int nRemaining, Timestamp timestampResetTime) Constructor -
Method Summary
Modifier and TypeMethodDescriptionintgetLimit()Get the daily limitintGet the remaining messagesGet the reset time
-
Constructor Details
-
AiRateLimitStatus
Constructor- Parameters:
nLimit- the daily message limitnRemaining- the number of messages remainingtimestampResetTime- timestamp when the rate limit will reset
-
-
Method Details
-
getLimit
public int getLimit()Get the daily limit- Returns:
- the daily limit
-
getRemaining
public int getRemaining()Get the remaining messages- Returns:
- the remaining messages
-
getResetTime
Get the reset time- Returns:
- the reset time
-