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