commons-go/model/sensorconfig/SensorConfig.go
crusader ab936be303 ing
2018-06-12 22:13:22 +09:00

13 lines
370 B
Go

package sensorconfig
import "encoding/json"
type SensorConfig struct {
ID json.Number `json:"id,Number,omitempty"`
ConfigID string `json:"configID,omitempty"`
Target *Target `json:"target,omitempty"`
Schedule *Schedule `json:"schedule,omitempty"`
Crawler *Crawler `json:"crawler,omitempty"`
Items []*Item `json:"items,omitempty"`
}