google_api_home_graph v0.7.1 GoogleApi.HomeGraph.V1.Model.QueryResponse View Source
Response type for the Query
call. This should follow the same format as the Google smart home action.devices.QUERY
response. # Example json { "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", "payload": { "devices": { "123": { "on": true, "online": true }, "456": { "on": true, "online": true, "brightness": 80, "color": { "name": "cerulean", "spectrumRGB": 31655 } } } } }
Attributes
-
payload
(type:GoogleApi.HomeGraph.V1.Model.QueryResponsePayload.t
, default:nil
) - Device states for the devices given in the request. -
requestId
(type:String.t
, default:nil
) - Request ID used for debugging. Copied from the request.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.HomeGraph.V1.Model.QueryResponse{ payload: GoogleApi.HomeGraph.V1.Model.QueryResponsePayload.t(), requestId: String.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.