models

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2018 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigResponse

type ConfigResponse struct {

	// ssid
	// Required: true
	Ssid *string `json:"ssid"`
}

ConfigResponse config response swagger:model ConfigResponse

func (*ConfigResponse) MarshalBinary

func (m *ConfigResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigResponse) UnmarshalBinary

func (m *ConfigResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigResponse) Validate

func (m *ConfigResponse) Validate(formats strfmt.Registry) error

Validate validates this config response

type ErrorResponse

type ErrorResponse struct {

	// error
	// Required: true
	Error *string `json:"error"`
}

ErrorResponse error response swagger:model ErrorResponse

func (*ErrorResponse) MarshalBinary

func (m *ErrorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ErrorResponse) UnmarshalBinary

func (m *ErrorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ErrorResponse) Validate

func (m *ErrorResponse) Validate(formats strfmt.Registry) error

Validate validates this error response

type SensorData

type SensorData struct {

	// delta time
	// Required: true
	DeltaTime *int64 `json:"deltaTime"`

	// device
	// Required: true
	Device *string `json:"device"`

	// dht22
	// Required: true
	Dht22 *SensorDataDht22 `json:"dht22"`

	// stale
	// Required: true
	Stale *int64 `json:"stale"`
}

SensorData sensor data swagger:model SensorData

func (*SensorData) MarshalBinary

func (m *SensorData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SensorData) UnmarshalBinary

func (m *SensorData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SensorData) Validate

func (m *SensorData) Validate(formats strfmt.Registry) error

Validate validates this sensor data

type SensorDataDht22

type SensorDataDht22 struct {

	// heat index
	// Required: true
	HeatIndex *float64 `json:"heatIndex"`

	// humidity
	// Required: true
	Humidity *float64 `json:"humidity"`

	// temperature
	// Required: true
	Temperature *float64 `json:"temperature"`
}

SensorDataDht22 sensor data dht22 swagger:model sensorDataDht22

func (*SensorDataDht22) MarshalBinary

func (m *SensorDataDht22) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SensorDataDht22) UnmarshalBinary

func (m *SensorDataDht22) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SensorDataDht22) Validate

func (m *SensorDataDht22) Validate(formats strfmt.Registry) error

Validate validates this sensor data dht22

Jump to

Keyboard shortcuts

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