models

package
v0.0.0-...-25e8c23 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 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 DeviceConnectionInfo

type DeviceConnectionInfo struct {
	DeviceId string `json:"device_id"` // The same ID as the TapoDevice

	DeviceType string `json:"device_type"`
	IpAddress  string `json:"ip_address"`
	Email      string `json:"email"`
	Password   string `json:"password"`
}

type HealthzModel

type HealthzModel struct {
	IsHealthy    bool   `json:"is_healthy"`
	ErrorMessage string `json:"error_message"`
}

type TapoDevice

type TapoDevice struct {
	DeviceId   string                 `json:"device_id"`
	DeviceName string                 `json:"device_name"`
	DeviceType string                 `json:"device_type"`
	DeviceInfo map[string]interface{} `json:"device_info"`
}

type TapoDiscoveryRequest

type TapoDiscoveryRequest struct {
	Subnet   string `json:"subnet"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

Jump to

Keyboard shortcuts

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