commons-go/model/sensorconfig/SensorConfig.go

13 lines
370 B
Go
Raw Normal View History

2018-04-26 07:37:59 +00:00
package sensorconfig
2018-04-12 09:38:04 +00:00
import "encoding/json"
type SensorConfig struct {
ID json.Number `json:"id,Number,omitempty"`
2018-04-19 05:42:41 +00:00
ConfigID string `json:"configID,omitempty"`
2018-04-12 09:38:04 +00:00
Target *Target `json:"target,omitempty"`
Schedule *Schedule `json:"schedule,omitempty"`
Crawler *Crawler `json:"crawler,omitempty"`
2018-06-12 13:13:22 +00:00
Items []*Item `json:"items,omitempty"`
2018-04-12 09:38:04 +00:00
}