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, setUpdateState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventDate, getMetadata, isUpdateState, setUpdateState
public java.lang.String getOriginatingEventId()
IDeviceCommandResponseCreateRequest
IDeviceCommandInvocation
that triggered the response.getOriginatingEventId
in interface IDeviceCommandResponseCreateRequest
public void setOriginatingEventId(java.lang.String originatingEventId)
public java.lang.String getResponseEventId()
IDeviceCommandResponseCreateRequest
getResponseEventId
in interface IDeviceCommandResponseCreateRequest
public void setResponseEventId(java.lang.String responseEventId)
public java.lang.String getResponse()
IDeviceCommandResponseCreateRequest
getResponse
in interface IDeviceCommandResponseCreateRequest
public void setResponse(java.lang.String response)