Package com.moesif.api.models
Class EventResponseModel
java.lang.Object
com.moesif.api.models.EventResponseModel
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBody()GETTER Response bodyGETTER Key/Value map of response headersGETTER IP Address from the response, such as the server IP AddressintGETTER HTTP Status code such as 200getTime()GETTER Time when response receivedGETTER Transfer Encoding of the body such as "base64", null value implies "json" transfer encodingvoidSETTER Response bodyvoidsetHeaders(Map<String, String> value) SETTER Key/Value map of response headersvoidsetIpAddress(String value) SETTER IP Address from the response, such as the server IP AddressvoidsetStatus(int value) SETTER HTTP Status code such as 200voidSETTER Time when response receivedvoidsetTransferEncoding(String value) SETTER Transfer Encoding of the body such as "base64", null value implies "json" transfer encoding
-
Constructor Details
-
EventResponseModel
public EventResponseModel()
-
-
Method Details
-
getTime
GETTER Time when response received- Returns:
- the value
-
setTime
SETTER Time when response received- Parameters:
value- the value to set
-
getStatus
public int getStatus()GETTER HTTP Status code such as 200- Returns:
- the value
-
setStatus
public void setStatus(int value) SETTER HTTP Status code such as 200- Parameters:
value- the value to set
-
getHeaders
GETTER Key/Value map of response headers- Returns:
- the value
-
setHeaders
SETTER Key/Value map of response headers- Parameters:
value- the value to set
-
getBody
GETTER Response body- Returns:
- the value
-
setBody
SETTER Response 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
-
getIpAddress
GETTER IP Address from the response, such as the server IP Address- Returns:
- the value
-
setIpAddress
SETTER IP Address from the response, such as the server IP Address- Parameters:
value- the value to set
-