This commit is contained in:
crusader 2018-04-17 22:55:34 +09:00
parent af7be47293
commit b2c4346430

View File

@ -12,14 +12,16 @@ import (
type Probe struct { type Probe struct {
ID json.Number `json:"id,Number,omitempty"` ID json.Number `json:"id,Number,omitempty"`
Status *meta.MetaProbeStatus `json:"status,omitempty"` Status *meta.MetaProbeStatus `json:"status,omitempty"`
Description string `json:"description,omitempty"`
CreateDate util.Timestamp `json:"createDate,omitempty"` CreateDate util.Timestamp `json:"createDate,omitempty"`
Domain *domain.Domain `json:"domain,omitempty"` Domain *domain.Domain `json:"domain,omitempty"`
ProbeKey string `json:"probeKey,omitempty"` ProbeKey string `json:"probeKey,omitempty"`
EncryptionKey string `json:"encryptionKey,omitempty"` EncryptionKey string `json:"encryptionKey,omitempty"`
TargetCount int `json:"targetCount,omitempty"`
SensorCount int `json:"sensorCount,omitempty"`
DisplayName string `json:"displayName,omitempty"` DisplayName string `json:"displayName,omitempty"`
Cidr string `json:"cidr,omitempty"` Cidr string `json:"cidr,omitempty"`
AuthorizeDate util.Timestamp `json:"authorizeDate,omitempty"` AuthorizeDate util.Timestamp `json:"authorizeDate,omitempty"`
AuthorizeMember *member.Member `json:"authorizeMember,omitempty"` AuthorizeMember *member.Member `json:"authorizeMember,omitempty"`
TargetCount int `json:"targetCount,omitempty"`
SensorCount int `json:"sensorCount,omitempty"`
} }