diff --git a/model/meta/MetaCryptoType.go b/model/meta/MetaCryptoType.go index bc2a90d..2ae5bd9 100644 --- a/model/meta/MetaCryptoType.go +++ b/model/meta/MetaCryptoType.go @@ -83,6 +83,10 @@ var ( } ) +func (e MetaCryptoTypeEnum) String() string { + return metaCryptoTypeEnumID[e] +} + func ToMetaCryptoTypeEnum(v *MetaCryptoType) MetaCryptoTypeEnum { return metaCryptoTypeEnumKey[v.Key] } diff --git a/model/meta/MetaIPType.go b/model/meta/MetaIPType.go index f3cbbae..c2e413d 100644 --- a/model/meta/MetaIPType.go +++ b/model/meta/MetaIPType.go @@ -32,6 +32,10 @@ var ( } ) +func (e MetaIPTypeEnum) String() string { + return metaIPTypeEnumID[e] +} + func ToMetaIPTypeEnum(v *MetaIPType) MetaIPTypeEnum { return metaIPTypeEnumKey[v.Key] } diff --git a/model/meta/MetaInfraType.go b/model/meta/MetaInfraType.go index d33ddd3..c93bba4 100644 --- a/model/meta/MetaInfraType.go +++ b/model/meta/MetaInfraType.go @@ -35,6 +35,10 @@ var ( } ) +func (e MetaInfraTypeEnum) String() string { + return metaInfraTypeEnumID[e] +} + func ToMetaInfraTypeEnum(v *MetaInfraType) MetaInfraTypeEnum { return metaInfraTypeEnumKey[v.Key] } diff --git a/model/meta/MetaMemberStatus.go b/model/meta/MetaMemberStatus.go index f9d7c06..c524b90 100644 --- a/model/meta/MetaMemberStatus.go +++ b/model/meta/MetaMemberStatus.go @@ -38,6 +38,10 @@ var ( } ) +func (e MetaMemberStatusEnum) String() string { + return metaMemberStatusEnumID[e] +} + func ToMetaMemberStatusEnum(v *MetaMemberStatus) MetaMemberStatusEnum { return metaMemberStatusEnumKey[v.Key] } diff --git a/model/meta/MetaNoAuthProbeStatus.go b/model/meta/MetaNoAuthProbeStatus.go index 555f2ed..6237c19 100644 --- a/model/meta/MetaNoAuthProbeStatus.go +++ b/model/meta/MetaNoAuthProbeStatus.go @@ -35,6 +35,10 @@ var ( } ) +func (e NoAuthProbeStatusEnum) String() string { + return noAuthProbeStatusEnumID[e] +} + func ToNoAuthProbeStatusEnum(v *MetaNoAuthProbeStatus) NoAuthProbeStatusEnum { return noAuthProbeStatusEnumKey[v.Key] } diff --git a/model/meta/MetaPortType.go b/model/meta/MetaPortType.go index 7c3fde8..ca7bb00 100644 --- a/model/meta/MetaPortType.go +++ b/model/meta/MetaPortType.go @@ -32,6 +32,10 @@ var ( } ) +func (e MetaPortTypeEnum) String() string { + return metaPortTypeEnumID[e] +} + func ToMetaPortTypeEnum(v *MetaPortType) MetaPortTypeEnum { return metaPortTypeEnumKey[v.Key] } diff --git a/model/meta/MetaProbeStatus.go b/model/meta/MetaProbeStatus.go index b88ee05..51c304a 100644 --- a/model/meta/MetaProbeStatus.go +++ b/model/meta/MetaProbeStatus.go @@ -32,6 +32,10 @@ var ( } ) +func (e MetaProbeStatusEnum) String() string { + return metaProbeStatusEnumID[e] +} + func ToMetaProbeStatusEnum(v *MetaProbeStatus) MetaProbeStatusEnum { return metaProbeStatusEnumKey[v.Key] } diff --git a/model/meta/MetaTargetHostType.go b/model/meta/MetaTargetHostType.go index a1d2e52..974a6aa 100644 --- a/model/meta/MetaTargetHostType.go +++ b/model/meta/MetaTargetHostType.go @@ -20,6 +20,10 @@ var ( } ) +func (e MetaTargetHostTypeEnum) String() string { + return metaTargetHostTypeEnumID[e] +} + func ToMetaTargetHostTypeEnum(v *MetaTargetHostType) MetaTargetHostTypeEnum { return metaTargetHostTypeEnumKey[v.Key] } diff --git a/model/meta/MetaTargetServiceType.go b/model/meta/MetaTargetServiceType.go index d52352b..6276079 100644 --- a/model/meta/MetaTargetServiceType.go +++ b/model/meta/MetaTargetServiceType.go @@ -20,6 +20,10 @@ var ( } ) +func (e MetaTargetServiceTypeEnum) String() string { + return metaTargetServiceTypeEnumID[e] +} + func ToMetaTargetServiceTypeEnum(v *MetaTargetServiceType) MetaTargetServiceTypeEnum { return metaTargetServiceTypeEnumKey[v.Key] } diff --git a/model/meta/MetaTargetZoneType.go b/model/meta/MetaTargetZoneType.go index ab9d9a9..77af1ba 100644 --- a/model/meta/MetaTargetZoneType.go +++ b/model/meta/MetaTargetZoneType.go @@ -23,6 +23,10 @@ var ( } ) +func (e MetaTargetZoneTypeEnum) String() string { + return metaTargetZoneTypeEnumID[e] +} + func ToMetaTargetZoneTypeEnum(v *MetaTargetZoneType) MetaTargetZoneTypeEnum { return metaTargetZoneTypeEnumKey[v.Key] }