public class DeviceCommandResponseCreateRequest extends DeviceEventCreateRequest implements IDeviceCommandResponseCreateRequest, java.io.Serializable
IDeviceCommandResponse via REST
APIs.DeviceEventCreateRequest.Builder<T extends DeviceEventCreateRequest>| Constructor and Description |
|---|
DeviceCommandResponseCreateRequest() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOriginatingEventId()
Get id of
IDeviceCommandInvocation that triggered the response. |
java.lang.String |
getResponse()
Get response payload.
|
java.lang.String |
getResponseEventId()
Get id of event sent as a response.
|
void |
setOriginatingEventId(java.lang.String originatingEventId) |
void |
setResponse(java.lang.String response) |
void |
setResponseEventId(java.lang.String responseEventId) |
getEventDate, getMetadata, isUpdateState, setEventDate, setMetadata, setUpdateStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEventDate, getMetadata, isUpdateState, setUpdateStatepublic java.lang.String getOriginatingEventId()
IDeviceCommandResponseCreateRequestIDeviceCommandInvocation that triggered the response.getOriginatingEventId in interface IDeviceCommandResponseCreateRequestpublic void setOriginatingEventId(java.lang.String originatingEventId)
public java.lang.String getResponseEventId()
IDeviceCommandResponseCreateRequestgetResponseEventId in interface IDeviceCommandResponseCreateRequestpublic void setResponseEventId(java.lang.String responseEventId)
public java.lang.String getResponse()
IDeviceCommandResponseCreateRequestgetResponse in interface IDeviceCommandResponseCreateRequestpublic void setResponse(java.lang.String response)