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"`
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ type Member struct {
|
|||
Phone string `json:"phone,omitempty"`
|
||||
CompanyName string `json:"companyName,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
Status *meta.MetaMemberStatus `json:"status,omitempty"`
|
||||
MetaMemberStatus *meta.MetaMemberStatus `json:"metaMemberStatus,omitempty"`
|
||||
SigninFailCount int `json:"signinFailCount,omitempty"`
|
||||
TotpType bool `json:"totpType,omitempty"`
|
||||
}
|
||||
|
|
|
@ -11,5 +11,5 @@ type MetaCrawler struct {
|
|||
Name string `json:"name,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
Container *MetaContainer `json:"container,omitempty"`
|
||||
MetaContainer *MetaContainer `json:"metaContainer,omitempty"`
|
||||
}
|
||||
|
|
|
@ -10,5 +10,5 @@ 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"`
|
||||
MetaInfraType *MetaInfraType `json:"metaInfraType,omitempty"`
|
||||
}
|
||||
|
|
|
@ -9,8 +9,8 @@ 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"`
|
||||
MetaCrawler *MetaCrawler `json:"metaCrawler,omitempty"`
|
||||
MetaSensorItemUnit *MetaSensorItemUnit `json:"metaSensorItemUnit,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
ItemType *MetaSensorItemType `json:"itemType,omitempty"`
|
||||
MetaSensorItemType *MetaSensorItemType `json:"metaSensorItemType,omitempty"`
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
type MetaSensorItem struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
SensorItemType *MetaSensorItemType `json:"sensorItemType,omitempty"`
|
||||
MetaSensorItemType *MetaSensorItemType `json:"metaSensorItemType,omitempty"`
|
||||
Key string `json:"key,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
|
|
|
@ -8,11 +8,11 @@ import (
|
|||
|
||||
type MetaSensorItemKey struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Item *MetaSensorItem `json:"item,omitempty"`
|
||||
MetaSensorItem *MetaSensorItem `json:"metaSensorItem,omitempty"`
|
||||
Key string `json:"key,omitempty"`
|
||||
Froms string `json:"froms,omitempty"`
|
||||
Option string `json:"option,omitempty"`
|
||||
Crawler *MetaCrawler `json:"crawler,omitempty"`
|
||||
MetaCrawler *MetaCrawler `json:"metaCrawler,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
Unit *MetaSensorItemUnit `json:"unit,omitempty"`
|
||||
MetaSensorItemUnit *MetaSensorItemUnit `json:"metaSensorItemUnit,omitempty"`
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ import (
|
|||
type NoAuthProbe struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
Status *meta.MetaNoAuthProbeStatus `json:"status,omitempty"`
|
||||
MetaNoAuthProbeStatus *meta.MetaNoAuthProbeStatus `json:"metaNoAuthProbeStatus,omitempty"`
|
||||
TempProbeKey string `json:"tempProbeKey,omitempty"`
|
||||
CreateDate *util.Timestamp `json:"createDate,omitempty"`
|
||||
APIKey string `json:"apiKey,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"`
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@ import (
|
|||
|
||||
type SensorItemDependency struct {
|
||||
ID json.Number `json:"id,Number,omitempty"`
|
||||
DisplayItem *meta.MetaSensorDisplayItem `json:"displayItem,omitempty"`
|
||||
SensorItem *meta.MetaSensorItemKey `json:"sensorItem,omitempty"`
|
||||
MetaSensorDisplayItem *meta.MetaSensorDisplayItem `json:"metaSensorDisplayItem,omitempty"`
|
||||
MetaSensorItemKey *meta.MetaSensorItemKey `json:"metaSensorItemKey,omitempty"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user