public class ExecuteResponse
extends SmartHomeResponse
A representation of the JSON payload that should be sent during an action.devices.EXECUTE request.
Modifier and Type | Class and Description |
---|---|
static class |
ExecuteResponse.Payload |
Modifier and Type | Field and Description |
---|---|
ExecuteResponse.Payload |
payload |
java.lang.String |
requestId |
Constructor and Description |
---|
ExecuteResponse()
A representation of the JSON payload that should be sent during an action.devices.EXECUTE request.
|
ExecuteResponse(java.lang.String requestId,
ExecuteResponse.Payload payload) |
Modifier and Type | Method and Description |
---|---|
org.json.JSONObject |
build() |
ExecuteResponse.Payload |
getPayload() |
java.lang.String |
getRequestId() |
void |
setPayload(ExecuteResponse.Payload p) |
void |
setRequestId(java.lang.String p) |
build
public java.lang.String requestId
public ExecuteResponse.Payload payload
public ExecuteResponse()
A representation of the JSON payload that should be sent during an action.devices.EXECUTE request.
public ExecuteResponse(java.lang.String requestId, ExecuteResponse.Payload payload)
public java.lang.String getRequestId()
public void setRequestId(java.lang.String p)
public ExecuteResponse.Payload getPayload()
public void setPayload(ExecuteResponse.Payload p)
public org.json.JSONObject build()