PKGBUILD/pkg/types/temperature.go

17 lines
651 B
Go
Raw Normal View History

2019-02-28 18:48:25 +00:00
package types
import (
"time"
)
2019-02-28 18:48:25 +00:00
// Temperature ...
type Temperature struct {
TemperatureID string `json:"temperature_id" xml:"temperature_id"`
TemperatureValue float64 `json:"temperature_value,string" xml:"temperature_value,string"`
TemperatureFromDate time.Time `json:"temperature_from_date" xml:"temperature_from_date"`
TemperatureTillDate time.Time `json:"temperature_till_date" xml:"temperature_till_date"`
SensorID string `json:"sensor_id" xml:"sensor_id"`
CreationDate *time.Time `json:"creation_date" xml:"creation_date"`
UpdateDate *time.Time `json:"update_date" xml:"update_date"`
2019-02-28 18:48:25 +00:00
}