commons-go/model/sensorconfig/SensorConfig.go
2018-07-04 17:55:26 +09:00

17 lines
497 B
Go

package sensorconfig
import (
"encoding/json"
"git.loafle.net/overflow/commons-go/model/meta"
)
type SensorConfig struct {
SensorID json.Number `json:"sensorID,omitempty"`
Schedule *SensorConfigSchedule `json:"schedule,omitempty"`
Crawler *SensorConfigCrawler `json:"crawler,omitempty"`
Connection *SensorConfigConnection `json:"connection,omitempty"`
MetaCollectionItems []*meta.MetaCollectionItem `json:"metaCollectionItems,omitempty"`
}