Package com.moesif.api.models
Class EventModel
java.lang.Object
com.moesif.api.models.EventModel
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGETTER User's company_id stringGETTER API direction stringGETTER Custom event metadata as a JSON objectGETTER API request objectGETTER API response ObjectGETTER End user's auth/session tokengetTags()GETTER comma separated list of tags, see documentationGETTER Events's transaction_id stringGETTER End user's user_id string from your appintGETTER Weight of an API callvoidsetBlockedBy(String blockedBy) voidsetCompanyId(String value) SETTER User's company_id stringvoidsetDirection(String value) SETTER API direction stringvoidsetMetadata(Object value) SETTER Custom event metadata as a JSON objectvoidsetRequest(EventRequestModel value) SETTER API request objectvoidsetResponse(EventResponseModel value) SETTER API response ObjectvoidsetSessionToken(String value) SETTER End user's auth/session tokenvoidSETTER comma separated list of tags, see documentationvoidsetTransactionId(String value) SETTER Events's transaction_id stringvoidSETTER End user's user_id string from your appvoidsetWeight(int value) SETTER Weight of an API call
-
Constructor Details
-
EventModel
public EventModel()
-
-
Method Details
-
getBlockedBy
-
setBlockedBy
-
getRequest
GETTER API request object- Returns:
- the value
-
setRequest
SETTER API request object- Parameters:
value- the value to set
-
getResponse
GETTER API response Object- Returns:
- the value
-
setResponse
SETTER API response Object- Parameters:
value- the value to set
-
getSessionToken
GETTER End user's auth/session token- Returns:
- the value
-
setSessionToken
SETTER End user's auth/session token- Parameters:
value- the value to set
-
getTags
GETTER comma separated list of tags, see documentation- Returns:
- the value
-
setTags
SETTER comma separated list of tags, see documentation- Parameters:
value- the value to set
-
getUserId
GETTER End user's user_id string from your app- Returns:
- the value
-
setUserId
SETTER End user's user_id string from your app- Parameters:
value- the value to set
-
getCompanyId
GETTER User's company_id string- Returns:
- the value
-
setCompanyId
SETTER User's company_id string- Parameters:
value- the value to set
-
getTransactionId
GETTER Events's transaction_id string- Returns:
- the value
-
setTransactionId
SETTER Events's transaction_id string- Parameters:
value- the value to set
-
getMetadata
GETTER Custom event metadata as a JSON object- Returns:
- the value
-
setMetadata
SETTER Custom event metadata as a JSON object- Parameters:
value- the value to set
-
getDirection
GETTER API direction string- Returns:
- the value
-
setDirection
SETTER API direction string- Parameters:
value- the value to set
-
getWeight
public int getWeight()GETTER Weight of an API call- Returns:
- the value
-
setWeight
public void setWeight(int value) SETTER Weight of an API call- Parameters:
value- the value to set
-
getRegexMap
-