Class QueryResponse
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 } } } } }
Implements
Inherited Members
Namespace: Google.Apis.HomeGraphService.v1.Data
Assembly: Google.Apis.HomeGraphService.v1.dll
Syntax
public class QueryResponse : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Payload
Device states for the devices given in the request.
Declaration
[JsonProperty("payload")]
public virtual QueryResponsePayload Payload { get; set; }
Property Value
Type | Description |
---|---|
QueryResponsePayload |
RequestId
Request ID used for debugging. Copied from the request.
Declaration
[JsonProperty("requestId")]
public virtual string RequestId { get; set; }
Property Value
Type | Description |
---|---|
string |