Package com.moesif.api.models
Class EventRequestModel
java.lang.Object
com.moesif.api.models.EventRequestModel
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGETTER Optionally tag the call with your API or App versiongetBody()GETTER Request bodyGETTER Key/Value map of request headersGETTER IP Address of the client if known.getTime()GETTER Time when request was madeGETTER Transfer Encoding of the body such as "base64", null value implies "json" transfer encodinggetUri()GETTER full uri of request such as https://www.example.com/my_path?param=1getVerb()GETTER verb of the API request such as GET or POSTvoidsetApiVersion(String value) SETTER Optionally tag the call with your API or App versionvoidSETTER Request bodyvoidsetHeaders(Map<String, String> value) SETTER Key/Value map of request headersvoidsetIpAddress(String value) SETTER IP Address of the client if known.voidSETTER Time when request was madevoidsetTransferEncoding(String value) SETTER Transfer Encoding of the body such as "base64", null value implies "json" transfer encodingvoidSETTER full uri of request such as https://www.example.com/my_path?param=1voidSETTER verb of the API request such as GET or POST
-
Constructor Details
-
EventRequestModel
public EventRequestModel()
-
-
Method Details
-
getTime
GETTER Time when request was made- Returns:
- the value
-
setTime
SETTER Time when request was made- Parameters:
value- the value to set
-
getUri
GETTER full uri of request such as https://www.example.com/my_path?param=1- Returns:
- the value
-
setUri
SETTER full uri of request such as https://www.example.com/my_path?param=1- Parameters:
value- the value to set
-
getVerb
GETTER verb of the API request such as GET or POST- Returns:
- the value
-
setVerb
SETTER verb of the API request such as GET or POST- Parameters:
value- the value to set
-
getHeaders
GETTER Key/Value map of request headers- Returns:
- the value
-
setHeaders
SETTER Key/Value map of request headers- Parameters:
value- the value to set
-
getApiVersion
GETTER Optionally tag the call with your API or App version- Returns:
- the value
-
setApiVersion
SETTER Optionally tag the call with your API or App version- Parameters:
value- the value to set
-
getIpAddress
GETTER IP Address of the client if known.- Returns:
- the value
-
setIpAddress
SETTER IP Address of the client if known.- Parameters:
value- the value to set
-
getBody
GETTER Request body- Returns:
- the value
-
setBody
SETTER Request body- Parameters:
value- the value to set
-
getTransferEncoding
GETTER Transfer Encoding of the body such as "base64", null value implies "json" transfer encoding- Returns:
- the value
-
setTransferEncoding
SETTER Transfer Encoding of the body such as "base64", null value implies "json" transfer encoding- Parameters:
value- the value to set
-