Package com.moesif.api.models
Class EventModel
- java.lang.Object
-
- com.moesif.api.models.EventModel
-
- All Implemented Interfaces:
Serializable
public class EventModel extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EventModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBlockedBy()StringgetCompanyId()GETTER User's company_id stringStringgetDirection()GETTER API direction stringObjectgetMetadata()GETTER Custom event metadata as a JSON objectMap<String,String>getRegexMap()EventRequestModelgetRequest()GETTER API request objectEventResponseModelgetResponse()GETTER API response ObjectStringgetSessionToken()GETTER End user's auth/session tokenStringgetTags()GETTER comma separated list of tags, see documentationStringgetUserId()GETTER End user's user_id string from your appintgetWeight()GETTER 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 tokenvoidsetTags(String value)SETTER comma separated list of tags, see documentationvoidsetUserId(String value)SETTER End user's user_id string from your appvoidsetWeight(int value)SETTER Weight of an API call
-
-
-
Method Detail
-
getBlockedBy
public String getBlockedBy()
-
setBlockedBy
public void setBlockedBy(String blockedBy)
-
getRequest
public EventRequestModel getRequest()
GETTER API request object- Returns:
- the value
-
setRequest
public void setRequest(EventRequestModel value)
SETTER API request object- Parameters:
value- the value to set
-
getResponse
public EventResponseModel getResponse()
GETTER API response Object- Returns:
- the value
-
setResponse
public void setResponse(EventResponseModel value)
SETTER API response Object- Parameters:
value- the value to set
-
getSessionToken
public String getSessionToken()
GETTER End user's auth/session token- Returns:
- the value
-
setSessionToken
public void setSessionToken(String value)
SETTER End user's auth/session token- Parameters:
value- the value to set
-
getTags
public String getTags()
GETTER comma separated list of tags, see documentation- Returns:
- the value
-
setTags
public void setTags(String value)
SETTER comma separated list of tags, see documentation- Parameters:
value- the value to set
-
getUserId
public String getUserId()
GETTER End user's user_id string from your app- Returns:
- the value
-
setUserId
public void setUserId(String value)
SETTER End user's user_id string from your app- Parameters:
value- the value to set
-
getCompanyId
public String getCompanyId()
GETTER User's company_id string- Returns:
- the value
-
setCompanyId
public void setCompanyId(String value)
SETTER User's company_id string- Parameters:
value- the value to set
-
getMetadata
public Object getMetadata()
GETTER Custom event metadata as a JSON object- Returns:
- the value
-
setMetadata
public void setMetadata(Object value)
SETTER Custom event metadata as a JSON object- Parameters:
value- the value to set
-
getDirection
public String getDirection()
GETTER API direction string- Returns:
- the value
-
setDirection
public void setDirection(String value)
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
-
-