commons-go/sensorconfig/model/SensorConfig.go

13 lines
363 B
Go
Raw Normal View History

2018-04-12 09:38:04 +00:00
package model
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"`
Items []Item `json:"items,omitempty"`
}