public

package
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	User         string `json:"user"`
	Password     string `json:"password"`
	LocationID   string `json:"locationId"`
	ZID          string `json:"zId"`
	HistoryLimit int    `json:"historyLimit"`
	RefreshToken string `json:"refreshToken"`
}

type Response

type Response struct {
	DeviceStatus []RingDeviceStatus `json:"deviceStatus"`
	Events       []RingDeviceEvent  `json:"events"`
}

type RingDeviceEvent

type RingDeviceEvent struct {
	DeviceName string `json:"name"`
	Time       int64  `json:"time"`
	Type       string `json:"type"`
}

type RingDeviceStatus

type RingDeviceStatus struct {
	ID      string `json:"id"`
	Name    string `json:"name"`
	Type    string `json:"type"`
	Faulted bool   `json:"faulted"`
	Mode    string `json:"mode"`
}

RingDeviceStatus represents the Device data on Ring Alarm Devices

type RingMetaData

type RingMetaData struct {
	LocationID string `json:"locationId"`
	ZID        string `json:"zId"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL