Struct razberry::response::DataResponse [] [src]

pub struct DataResponse { /* fields omitted */ }

XXX: DEPRECATED. A response from Razberry's /ZWaveAPI/Data endpoint.

Methods

impl DataResponse
[src]

XXX: DEPRECATED.

Get the timestamp when the response was generated.

Whether the response payload is "full", ie. contains all state information. When the endpoint is called without a timestamp, it returns a full state dump response.

Get "burglar alarm" sensor data from the results, if present.

Get the "general purpose" (0x01) binary sensor (0x30) data, if present.

Get a reference to the underlying Json.