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