Class EventRequestModel

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

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

    • EventRequestModel

      public EventRequestModel()
  • Method Details

    • getTime

      public Date getTime()
      GETTER Time when request was made
      Returns:
      the value
    • setTime

      public void setTime(Date value)
      SETTER Time when request was made
      Parameters:
      value - the value to set
    • getUri

      public String getUri()
      GETTER full uri of request such as https://www.example.com/my_path?param=1
      Returns:
      the value
    • setUri

      public void setUri(String value)
      SETTER full uri of request such as https://www.example.com/my_path?param=1
      Parameters:
      value - the value to set
    • getVerb

      public String getVerb()
      GETTER verb of the API request such as GET or POST
      Returns:
      the value
    • setVerb

      public void setVerb(String value)
      SETTER verb of the API request such as GET or POST
      Parameters:
      value - the value to set
    • getHeaders

      public Map<String,String> getHeaders()
      GETTER Key/Value map of request headers
      Returns:
      the value
    • setHeaders

      public void setHeaders(Map<String,String> value)
      SETTER Key/Value map of request headers
      Parameters:
      value - the value to set
    • getApiVersion

      public String getApiVersion()
      GETTER Optionally tag the call with your API or App version
      Returns:
      the value
    • setApiVersion

      public void setApiVersion(String value)
      SETTER Optionally tag the call with your API or App version
      Parameters:
      value - the value to set
    • getIpAddress

      public String getIpAddress()
      GETTER IP Address of the client if known.
      Returns:
      the value
    • setIpAddress

      public void setIpAddress(String value)
      SETTER IP Address of the client if known.
      Parameters:
      value - the value to set
    • getBody

      public Object getBody()
      GETTER Request body
      Returns:
      the value
    • setBody

      public void setBody(Object value)
      SETTER Request body
      Parameters:
      value - the value to set
    • getTransferEncoding

      public String getTransferEncoding()
      GETTER Transfer Encoding of the body such as "base64", null value implies "json" transfer encoding
      Returns:
      the value
    • setTransferEncoding

      public void setTransferEncoding(String value)
      SETTER Transfer Encoding of the body such as "base64", null value implies "json" transfer encoding
      Parameters:
      value - the value to set