public static class QueryResponse.Payload
Constructor and Description |
---|
Payload() |
Payload(java.util.Map<java.lang.String,? extends java.util.Map<java.lang.String,? extends java.lang.Object>> devices) |
Payload(java.lang.String errorCode) |
Modifier and Type | Method and Description |
---|---|
org.json.JSONObject |
build() |
java.util.Map<java.lang.String,java.util.Map> |
getDevices() |
java.lang.String |
getErrorCode() |
void |
setDevices(java.util.Map<java.lang.String,? extends java.util.Map<java.lang.String,? extends java.lang.Object>> p) |
void |
setErrorCode(java.lang.String p) |
public Payload()
public Payload(java.util.Map<java.lang.String,? extends java.util.Map<java.lang.String,? extends java.lang.Object>> devices)
public Payload(java.lang.String errorCode)
public java.util.Map<java.lang.String,java.util.Map> getDevices()
public void setDevices(java.util.Map<java.lang.String,? extends java.util.Map<java.lang.String,? extends java.lang.Object>> p)
public java.lang.String getErrorCode()
public void setErrorCode(java.lang.String p)
public org.json.JSONObject build()