Class EventModel

java.lang.Object
com.moesif.api.models.EventModel
All Implemented Interfaces:
Serializable

public class EventModel extends Object implements Serializable
See Also:
  • Constructor Details

    • EventModel

      public EventModel()
  • Method Details

    • 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
    • getTransactionId

      public String getTransactionId()
      GETTER Events's transaction_id string
      Returns:
      the value
    • setTransactionId

      public void setTransactionId(String value)
      SETTER Events's transaction_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
    • getRegexMap

      public Map<String,Object> getRegexMap()