package
0.0.0-20201102054017-282493799a89
Repository: https://github.com/golangltd/leafltd.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author

# Structs

Request type for DeleteAgentUser call.
The States and Notifications specific to a device.
Sample ReportStateAndNotificationRequest, with states and notifications defined per device_id (eg: "123" and "456" in the following example): { "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", "agent_user_id": "1234", "payload": { "devices": { "states": { "123": { "on": true }, "456": { "on": true, "brightness": 10 } }, "notifications": { "123": { "ObjectDetected": { "priority": 0, "objects": { "NAMED": ["Alice", "Bob", "Carol", "Eve"] } }, "DoorUnlocked": { "priority": 0, "keyUsed": { "keyName": "Wife's key" } } }, "456": { "SprinklersOn": { "priority": 0, "timeStarted": "1513792702" } } } } } } Request type for ReportStateAndNotification call.
Response type for ReportStateAndNotification call.
Request type for RequestSyncDevices call.
Response type for RequestSyncDevices call.
Payload containing the State and Notification information for devices.

# Interfaces

No description provided by the author
No description provided by the author