Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorObject ¶
type ErrorObject struct { // code Code string `json:"code,omitempty"` // detail Detail string `json:"detail,omitempty"` // id // Required: true ID *string `json:"id"` // title Title string `json:"title,omitempty"` }
ErrorObject error object swagger:model ErrorObject
func (*ErrorObject) MarshalBinary ¶
func (m *ErrorObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorObject) UnmarshalBinary ¶
func (m *ErrorObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorResponse ¶
type ErrorResponse struct { // errors // Required: true Errors ErrorResponseErrors `json:"errors"` }
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
type ErrorResponseErrors ¶
type ErrorResponseErrors []*ErrorObject
ErrorResponseErrors error response errors swagger:model errorResponseErrors
type GenericLinks ¶
type GenericLinks struct { // self // Required: true Self *string `json:"self"` }
GenericLinks generic links swagger:model GenericLinks
func (*GenericLinks) MarshalBinary ¶
func (m *GenericLinks) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GenericLinks) UnmarshalBinary ¶
func (m *GenericLinks) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SensorCard ¶
type SensorCard struct { // id // Required: true ID *string `json:"id"` // links // Required: true Links *GenericLinks `json:"links"` // name // Required: true Name *string `json:"name"` }
SensorCard sensor card swagger:model SensorCard
func (*SensorCard) MarshalBinary ¶
func (m *SensorCard) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SensorCard) UnmarshalBinary ¶
func (m *SensorCard) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SensorData ¶
type SensorData struct { // delta time // Required: true DeltaTime *int64 `json:"deltaTime"` // heat index HeatIndex float64 `json:"heatIndex,omitempty"` // humidity // Required: true Humidity *float64 `json:"humidity"` // id // Required: true ID *string `json:"id"` // name // Required: true Name *string `json:"name"` // stale // Required: true Stale *bool `json:"stale"` // temperature // Required: true Temperature *float64 `json:"temperature"` // timestamp // Required: true Timestamp *strfmt.DateTime `json:"timestamp"` }
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
type SensorList ¶
type SensorList struct { // data // Required: true Data SensorListData `json:"data"` // links Links *GenericLinks `json:"links,omitempty"` }
SensorList sensor list swagger:model SensorList
func (*SensorList) MarshalBinary ¶
func (m *SensorList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SensorList) UnmarshalBinary ¶
func (m *SensorList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SensorListData ¶
type SensorListData []*SensorCard
SensorListData sensor list data swagger:model sensorListData
type SensorResponse ¶
type SensorResponse struct { // data // Required: true Data *SensorData `json:"data"` // links Links *GenericLinks `json:"links,omitempty"` }
SensorResponse sensor response swagger:model SensorResponse
func (*SensorResponse) MarshalBinary ¶
func (m *SensorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SensorResponse) UnmarshalBinary ¶
func (m *SensorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SensorResponseRaw ¶
type SensorResponseRaw struct { // humidity // Required: true Humidity *float64 `json:"humidity"` // temperature // Required: true Temperature *float64 `json:"temperature"` }
SensorResponseRaw sensor response raw swagger:model SensorResponseRaw
func (*SensorResponseRaw) MarshalBinary ¶
func (m *SensorResponseRaw) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SensorResponseRaw) UnmarshalBinary ¶
func (m *SensorResponseRaw) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation