models

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceState

type DeviceState struct {
	Id          int64              `json:"id"`
	Status      *DeviceStateStatus `json:"status"`
	Options     interface{}        `json:"options"`
	ElementName string             `json:"element_name"`
}

type DeviceStateStatus

type DeviceStateStatus struct {
	Id          int64  `json:"id"`
	Description string `json:"description"`
	SystemName  string `json:"system_name" valid:"MaxSize(254);Required"`
	DeviceId    int64  `json:"device_id" valid:"Required"`
}

Jump to

Keyboard shortcuts

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