ing
This commit is contained in:
parent
078a39712d
commit
4b700b6ecb
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
type Infra struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
MetaInfraType *meta.MetaInfraType `json:"type,omitempty"`
|
||||
MetaInfraType *meta.MetaInfraType `json:"metaInfraType,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
Probe *probe.Probe `json:"probe,omitempty"`
|
||||
Target *target.Target `json:"target,omitempty"`
|
||||
|
|
|
@ -10,5 +10,5 @@ type InfraOS struct {
|
|||
InfraMachine *InfraMachine `json:"machine,omitempty"`
|
||||
Meta string `json:"meta,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
MetaInfraVendor *meta.MetaInfraVendor `json:"vendor,omitempty"`
|
||||
MetaInfraVendor *meta.MetaInfraVendor `json:"metaInfraVendor,omitempty"`
|
||||
}
|
||||
|
|
|
@ -13,6 +13,6 @@ type InfraOSPort struct {
|
|||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
Port json.Number `json:"port,omitempty"`
|
||||
PortType string `json:"portType,omitempty"`
|
||||
MetaInfraVendor *meta.MetaInfraVendor `json:"vendor,omitempty"`
|
||||
MetaInfraVendor *meta.MetaInfraVendor `json:"metaInfraVendor,omitempty"`
|
||||
TLSType bool `json:"tlsType,omitempty"`
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ type InfraServiceApplication struct {
|
|||
InfraHost *InfraHost `json:"host,omitempty"`
|
||||
PortType string `json:"portType,omitempty"`
|
||||
Port json.Number `json:"port,omitempty"`
|
||||
MetaInfraVendor *meta.MetaInfraVendor `json:"vendor,omitempty"`
|
||||
MetaInfraVendor *meta.MetaInfraVendor `json:"metaInfraVendor,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
TLSType bool `json:"tlsType,omitempty"`
|
||||
}
|
||||
|
|
|
@ -8,14 +8,14 @@ import (
|
|||
)
|
||||
|
||||
type Member struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Email string `json:"email,omitempty"`
|
||||
Pw string `json:"pw,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Phone string `json:"phone,omitempty"`
|
||||
CompanyName string `json:"companyName,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
Status *meta.MetaMemberStatus `json:"status,omitempty"`
|
||||
SigninFailCount int `json:"signinFailCount,omitempty"`
|
||||
TotpType bool `json:"totpType,omitempty"`
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Email string `json:"email,omitempty"`
|
||||
Pw string `json:"pw,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Phone string `json:"phone,omitempty"`
|
||||
CompanyName string `json:"companyName,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
MetaMemberStatus *meta.MetaMemberStatus `json:"metaMemberStatus,omitempty"`
|
||||
SigninFailCount int `json:"signinFailCount,omitempty"`
|
||||
TotpType bool `json:"totpType,omitempty"`
|
||||
}
|
||||
|
|
|
@ -7,9 +7,9 @@ import (
|
|||
)
|
||||
|
||||
type MetaCrawler struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
Container *MetaContainer `json:"container,omitempty"`
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
MetaContainer *MetaContainer `json:"metaContainer,omitempty"`
|
||||
}
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
)
|
||||
|
||||
type MetaInfraVendor struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
InfraType *MetaInfraType `json:"infraType,omitempty"`
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
MetaInfraType *MetaInfraType `json:"metaInfraType,omitempty"`
|
||||
}
|
||||
|
|
|
@ -7,10 +7,10 @@ import (
|
|||
)
|
||||
|
||||
type MetaSensorDisplayItem struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Crawler *MetaCrawler `json:"crawler,omitempty"`
|
||||
Unit *MetaSensorItemUnit `json:"unit,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
ItemType *MetaSensorItemType `json:"itemType,omitempty"`
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
MetaCrawler *MetaCrawler `json:"metaCrawler,omitempty"`
|
||||
MetaSensorItemUnit *MetaSensorItemUnit `json:"metaSensorItemUnit,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
MetaSensorItemType *MetaSensorItemType `json:"metaSensorItemType,omitempty"`
|
||||
}
|
||||
|
|
|
@ -7,9 +7,9 @@ import (
|
|||
)
|
||||
|
||||
type MetaSensorItem struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
SensorItemType *MetaSensorItemType `json:"sensorItemType,omitempty"`
|
||||
Key string `json:"key,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
MetaSensorItemType *MetaSensorItemType `json:"metaSensorItemType,omitempty"`
|
||||
Key string `json:"key,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
}
|
||||
|
|
|
@ -7,12 +7,12 @@ import (
|
|||
)
|
||||
|
||||
type MetaSensorItemKey struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Item *MetaSensorItem `json:"item,omitempty"`
|
||||
Key string `json:"key,omitempty"`
|
||||
Froms string `json:"froms,omitempty"`
|
||||
Option string `json:"option,omitempty"`
|
||||
Crawler *MetaCrawler `json:"crawler,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
Unit *MetaSensorItemUnit `json:"unit,omitempty"`
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
MetaSensorItem *MetaSensorItem `json:"metaSensorItem,omitempty"`
|
||||
Key string `json:"key,omitempty"`
|
||||
Froms string `json:"froms,omitempty"`
|
||||
Option string `json:"option,omitempty"`
|
||||
MetaCrawler *MetaCrawler `json:"metaCrawler,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
MetaSensorItemUnit *MetaSensorItemUnit `json:"metaSensorItemUnit,omitempty"`
|
||||
}
|
||||
|
|
|
@ -10,14 +10,14 @@ import (
|
|||
)
|
||||
|
||||
type NoAuthProbe struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Status *meta.MetaNoAuthProbeStatus `json:"status,omitempty"`
|
||||
TempProbeKey string `json:"tempProbeKey,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
APIKey string `json:"apiKey,omitempty"`
|
||||
Domain *domain.DomainMember `json:"domain,omitempty"`
|
||||
Probe *probe.Probe `json:"probe,omitempty"`
|
||||
ConnectDate *util.Timestamp `json:"connectDate,omitempty"`
|
||||
ConnectAddress string `json:"connectAddress,omitempty"`
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
MetaNoAuthProbeStatus *meta.MetaNoAuthProbeStatus `json:"metaNoAuthProbeStatus,omitempty"`
|
||||
TempProbeKey string `json:"tempProbeKey,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
APIKey string `json:"apiKey,omitempty"`
|
||||
Domain *domain.DomainMember `json:"domain,omitempty"`
|
||||
Probe *probe.Probe `json:"probe,omitempty"`
|
||||
ConnectDate *util.Timestamp `json:"connectDate,omitempty"`
|
||||
ConnectAddress string `json:"connectAddress,omitempty"`
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
type Probe struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Status *meta.MetaProbeStatus `json:"status,omitempty"`
|
||||
MetaProbeStatus *meta.MetaProbeStatus `json:"metaProbeStatus,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
Domain *domain.Domain `json:"domain,omitempty"`
|
||||
|
|
|
@ -12,8 +12,8 @@ type Sensor struct {
|
|||
ID json.Number `json:"id,Number,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
MetaSensorStatus *meta.MetaSensorStatus `json:"status,omitempty"`
|
||||
MetaSensorStatus *meta.MetaSensorStatus `json:"metaSensorStatus,omitempty"`
|
||||
Target *target.Target `json:"target,omitempty"`
|
||||
Crawler *meta.MetaCrawler `json:"crawler,omitempty"`
|
||||
MetaCrawler *meta.MetaCrawler `json:"metaCrawler,omitempty"`
|
||||
CrawlerInputItems string `json:"crawlerInputItems,omitempty"`
|
||||
}
|
||||
|
|
|
@ -10,6 +10,6 @@ import (
|
|||
type SensorItem struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Sensor *Sensor `json:"sensor,omitempty"`
|
||||
MetaSensorItem *meta.MetaSensorItem `json:"item,omitempty"`
|
||||
MetaSensorItem *meta.MetaSensorItem `json:"metaSensorItem,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
)
|
||||
|
||||
type SensorItemDependency struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
DisplayItem *meta.MetaSensorDisplayItem `json:"displayItem,omitempty"`
|
||||
SensorItem *meta.MetaSensorItemKey `json:"sensorItem,omitempty"`
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
MetaSensorDisplayItem *meta.MetaSensorDisplayItem `json:"metaSensorDisplayItem,omitempty"`
|
||||
MetaSensorItemKey *meta.MetaSensorItemKey `json:"metaSensorItemKey,omitempty"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user