Class AiUserRateLimit
java.lang.Object
fr.paris.lutece.plugins.wiki.modules.ai.business.AiUserRateLimit
- All Implemented Interfaces:
Serializable
AI User Rate Limit entity for tracking user message limits
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the date of first messageintgetId()Gets the IDintGets the message countGets the user IDvoidsetDateFirstMessage(Timestamp timestampDateFirstMessage) Sets the date of first messagevoidsetId(int nId) Sets the IDvoidsetMessageCount(int nMessageCount) Sets the message countvoidSets the user ID
-
Constructor Details
-
AiUserRateLimit
public AiUserRateLimit()
-
-
Method Details
-
getId
public int getId()Gets the ID- Returns:
- the ID
-
setId
public void setId(int nId) Sets the ID- Parameters:
nId- the ID to set
-
getUserId
Gets the user ID- Returns:
- the user ID
-
setUserId
Sets the user ID- Parameters:
strUserId- the user ID to set
-
getMessageCount
public int getMessageCount()Gets the message count- Returns:
- the message count
-
setMessageCount
public void setMessageCount(int nMessageCount) Sets the message count- Parameters:
nMessageCount- the message count to set
-
getDateFirstMessage
Gets the date of first message- Returns:
- the date of first message
-
setDateFirstMessage
Sets the date of first message- Parameters:
timestampDateFirstMessage- the date of first message to set
-