Package com.moesif.api.models
Class EventRequestModel
- java.lang.Object
-
- com.moesif.api.models.EventRequestModel
-
- All Implemented Interfaces:
Serializable
public class EventRequestModel extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EventRequestModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApiVersion()GETTER Optionally tag the call with your API or App versionObjectgetBody()GETTER Request bodyMap<String,String>getHeaders()GETTER Key/Value map of request headersStringgetIpAddress()GETTER IP Address of the client if known.DategetTime()GETTER Time when request was madeStringgetTransferEncoding()GETTER Transfer Encoding of the body such as "base64", null value implies "json" transfer encodingStringgetUri()GETTER full uri of request such as https://www.example.com/my_path?param=1StringgetVerb()GETTER verb of the API request such as GET or POSTvoidsetApiVersion(String value)SETTER Optionally tag the call with your API or App versionvoidsetBody(Object value)SETTER Request bodyvoidsetHeaders(Map<String,String> value)SETTER Key/Value map of request headersvoidsetIpAddress(String value)SETTER IP Address of the client if known.voidsetTime(Date value)SETTER Time when request was madevoidsetTransferEncoding(String value)SETTER Transfer Encoding of the body such as "base64", null value implies "json" transfer encodingvoidsetUri(String value)SETTER full uri of request such as https://www.example.com/my_path?param=1voidsetVerb(String value)SETTER verb of the API request such as GET or POST
-
-
-
Method Detail
-
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
-
-