commons-go/model/probe/ProbeTask.go

21 lines
811 B
Go
Raw Normal View History

2018-04-26 07:37:59 +00:00
package probe
2018-04-12 09:38:04 +00:00
import (
"encoding/json"
"git.loafle.net/overflow/commons-go/core/util"
2018-04-26 07:37:59 +00:00
"git.loafle.net/overflow/commons-go/model/meta"
2018-04-12 09:38:04 +00:00
)
type ProbeTask struct {
ID json.Number `json:"id,Number,omitempty"`
MetaProbeTaskType *meta.MetaProbeTaskType `json:"metaProbeTaskType,omitempty"`
Probe *Probe `json:"probe,omitempty"`
Data string `json:"data,omitempty"`
2018-05-11 02:24:21 +00:00
CreateDate *util.Timestamp `json:"createDate,omitempty"`
SendDate *util.Timestamp `json:"sendDate,omitempty"`
StartDate *util.Timestamp `json:"startDate,omitempty"`
EndDate *util.Timestamp `json:"endDate,omitempty"`
2018-04-12 09:38:04 +00:00
Succeed bool `json:"succeed,omitempty"`
}