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/domain"
|
|
|
|
"git.loafle.net/overflow/commons-go/model/member"
|
2018-06-12 13:13:22 +00:00
|
|
|
"git.loafle.net/overflow/commons-go/model/meta"
|
2018-04-12 09:38:04 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Probe struct {
|
|
|
|
ID json.Number `json:"id,Number,omitempty"`
|
2018-06-05 09:08:52 +00:00
|
|
|
MetaProbeStatus *meta.MetaProbeStatus `json:"metaProbeStatus,omitempty"`
|
2018-04-17 13:55:34 +00:00
|
|
|
Description string `json:"description,omitempty"`
|
2018-04-12 09:38:04 +00:00
|
|
|
Domain *domain.Domain `json:"domain,omitempty"`
|
|
|
|
ProbeKey string `json:"probeKey,omitempty"`
|
|
|
|
EncryptionKey string `json:"encryptionKey,omitempty"`
|
2018-06-12 09:18:11 +00:00
|
|
|
Name string `json:"name,omitempty"`
|
2018-04-12 09:38:04 +00:00
|
|
|
Cidr string `json:"cidr,omitempty"`
|
2018-05-11 02:24:21 +00:00
|
|
|
AuthorizeDate *util.Timestamp `json:"authorizeDate,omitempty"`
|
2018-04-12 09:38:04 +00:00
|
|
|
AuthorizeMember *member.Member `json:"authorizeMember,omitempty"`
|
2018-06-12 13:13:22 +00:00
|
|
|
TargetCount int `json:"targetCount,omitempty"`
|
2018-05-10 09:17:28 +00:00
|
|
|
ConnectAddress string `json:"connectAddress,omitempty"`
|
2018-06-12 09:18:11 +00:00
|
|
|
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
2018-06-12 13:13:22 +00:00
|
|
|
ConnectDate *util.Timestamp `json:"connectDate,omitempty"`
|
2018-04-12 09:38:04 +00:00
|
|
|
}
|