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