From d03583be0267b5253f0fcc446e01135fd2560465 Mon Sep 17 00:00:00 2001 From: Ondrej Sery Date: Mon, 26 Sep 2022 09:50:05 +0200 Subject: [PATCH] Remove namespace from attr field to fix their parsing. --- .../onvif/docs_oasisopen_org/wsn/b2/0.go | 4 +- .../onvif/docs_oasisopen_org/wsn/t1/0.go | 16 +- .../onvif/docs_oasisopen_org/wsrf/bf2/0.go | 4 +- .../www_onvif_org/ver10/device/wsdl/0.go | 100 ++++++------ .../onvif/www_onvif_org/ver10/schema/0.go | 78 ++++----- .../onvif/www_onvif_org/ver10/schema/1.go | 148 +++++++++--------- .../www_onvif_org/ver20/analytics/wsdl/0.go | 28 ++-- .../www_onvif_org/ver20/imaging/wsdl/0.go | 8 +- .../onvif/www_onvif_org/ver20/media/wsdl/0.go | 38 ++--- .../onvif/www_onvif_org/ver20/ptz/wsdl/0.go | 12 +- .../onvif/www_onvif_org/ver20/schema/0.go | 20 +-- .../www_w3_org/2003/05/soapenvelope/0.go | 6 +- .../onvif/www_w3_org/2004/08/xop/include/0.go | 2 +- .../onvif/www_w3_org/2005/05/xmlmime/0.go | 4 +- .../onvif/www_w3_org/2005/08/addressing/0.go | 2 +- 15 files changed, 235 insertions(+), 235 deletions(-) diff --git a/pkg/generated/onvif/docs_oasisopen_org/wsn/b2/0.go b/pkg/generated/onvif/docs_oasisopen_org/wsn/b2/0.go index 3ba12cc..de52566 100644 --- a/pkg/generated/onvif/docs_oasisopen_org/wsn/b2/0.go +++ b/pkg/generated/onvif/docs_oasisopen_org/wsn/b2/0.go @@ -293,13 +293,13 @@ type ResumeFailedFault ResumeFailedFaultType type QueryExpressionType struct { Items []string `xml:",any" json:"items,omitempty"` - Dialect string `xml:"http://docs.oasis-open.org/wsn/b-2 Dialect,attr,omitempty" json:"Dialect,omitempty"` + Dialect string `xml:"Dialect,attr,omitempty" json:"Dialect,omitempty"` } type TopicExpressionType struct { Items []string `xml:",any" json:"items,omitempty"` - Dialect string `xml:"http://docs.oasis-open.org/wsn/b-2 Dialect,attr,omitempty" json:"Dialect,omitempty"` + Dialect string `xml:"Dialect,attr,omitempty" json:"Dialect,omitempty"` } type FilterType struct { diff --git a/pkg/generated/onvif/docs_oasisopen_org/wsn/t1/0.go b/pkg/generated/onvif/docs_oasisopen_org/wsn/t1/0.go index 137ff4e..8147c43 100644 --- a/pkg/generated/onvif/docs_oasisopen_org/wsn/t1/0.go +++ b/pkg/generated/onvif/docs_oasisopen_org/wsn/t1/0.go @@ -38,7 +38,7 @@ type ExtensibleDocumented struct { type QueryExpressionType struct { Items []string `xml:",any" json:"items,omitempty"` - Dialect string `xml:"http://docs.oasis-open.org/wsn/t-1 Dialect,attr,omitempty" json:"Dialect,omitempty"` + Dialect string `xml:"Dialect,attr,omitempty" json:"Dialect,omitempty"` } type TopicNamespaceType struct { @@ -49,14 +49,14 @@ type TopicNamespaceType struct { Topic []struct { *TopicType - Parent *ConcreteTopicExpression `xml:"http://docs.oasis-open.org/wsn/t-1 parent,attr,omitempty" json:"parent,omitempty"` + Parent *ConcreteTopicExpression `xml:"parent,attr,omitempty" json:"parent,omitempty"` } `xml:"Topic,omitempty" json:"Topic,omitempty"` - Name string `xml:"http://docs.oasis-open.org/wsn/t-1 name,attr,omitempty" json:"name,omitempty"` + Name string `xml:"name,attr,omitempty" json:"name,omitempty"` - TargetNamespace string `xml:"http://docs.oasis-open.org/wsn/t-1 targetNamespace,attr,omitempty" json:"targetNamespace,omitempty"` + TargetNamespace string `xml:"targetNamespace,attr,omitempty" json:"targetNamespace,omitempty"` - Final bool `xml:"http://docs.oasis-open.org/wsn/t-1 final,attr,omitempty" json:"final,omitempty"` + Final bool `xml:"final,attr,omitempty" json:"final,omitempty"` } type TopicType struct { @@ -68,11 +68,11 @@ type TopicType struct { Topic []*TopicType `xml:"Topic,omitempty" json:"Topic,omitempty"` - Name string `xml:"http://docs.oasis-open.org/wsn/t-1 name,attr,omitempty" json:"name,omitempty"` + Name string `xml:"name,attr,omitempty" json:"name,omitempty"` - MessageTypes string `xml:"http://docs.oasis-open.org/wsn/t-1 messageTypes,attr,omitempty" json:"messageTypes,omitempty"` + MessageTypes string `xml:"messageTypes,attr,omitempty" json:"messageTypes,omitempty"` - Final bool `xml:"http://docs.oasis-open.org/wsn/t-1 final,attr,omitempty" json:"final,omitempty"` + Final bool `xml:"final,attr,omitempty" json:"final,omitempty"` } type TopicSetType struct { diff --git a/pkg/generated/onvif/docs_oasisopen_org/wsrf/bf2/0.go b/pkg/generated/onvif/docs_oasisopen_org/wsrf/bf2/0.go index b184e43..b6aecc5 100644 --- a/pkg/generated/onvif/docs_oasisopen_org/wsrf/bf2/0.go +++ b/pkg/generated/onvif/docs_oasisopen_org/wsrf/bf2/0.go @@ -29,13 +29,13 @@ type BaseFaultType struct { ErrorCode struct { string - Dialect string `xml:"http://docs.oasis-open.org/wsrf/bf-2 dialect,attr,omitempty" json:"dialect,omitempty"` + Dialect string `xml:"dialect,attr,omitempty" json:"dialect,omitempty"` } `xml:"ErrorCode,omitempty" json:"ErrorCode,omitempty"` Description []struct { Value string `xml:",chardata" json:",omitempty"` - EmptyString string `xml:"http://docs.oasis-open.org/wsrf/bf-2 ,attr,omitempty" json:",omitempty"` + EmptyString string `xml:",attr,omitempty" json:",omitempty"` } `xml:"Description,omitempty" json:"Description,omitempty"` FaultCause struct { diff --git a/pkg/generated/onvif/www_onvif_org/ver10/device/wsdl/0.go b/pkg/generated/onvif/www_onvif_org/ver10/device/wsdl/0.go index 6af92be..f5253d3 100644 --- a/pkg/generated/onvif/www_onvif_org/ver10/device/wsdl/0.go +++ b/pkg/generated/onvif/www_onvif_org/ver10/device/wsdl/0.go @@ -1358,39 +1358,39 @@ type NetworkCapabilities struct { // Indicates support for IP filtering. - IPFilter bool `xml:"http://www.onvif.org/ver10/device/wsdl IPFilter,attr,omitempty" json:"IPFilter,omitempty"` + IPFilter bool `xml:"IPFilter,attr,omitempty" json:"IPFilter,omitempty"` // Indicates support for zeroconf. - ZeroConfiguration bool `xml:"http://www.onvif.org/ver10/device/wsdl ZeroConfiguration,attr,omitempty" json:"ZeroConfiguration,omitempty"` + ZeroConfiguration bool `xml:"ZeroConfiguration,attr,omitempty" json:"ZeroConfiguration,omitempty"` // Indicates support for IPv6. - IPVersion6 bool `xml:"http://www.onvif.org/ver10/device/wsdl IPVersion6,attr,omitempty" json:"IPVersion6,omitempty"` + IPVersion6 bool `xml:"IPVersion6,attr,omitempty" json:"IPVersion6,omitempty"` // Indicates support for dynamic DNS configuration. - DynDNS bool `xml:"http://www.onvif.org/ver10/device/wsdl DynDNS,attr,omitempty" json:"DynDNS,omitempty"` + DynDNS bool `xml:"DynDNS,attr,omitempty" json:"DynDNS,omitempty"` // Indicates support for IEEE 802.11 configuration. - Dot11Configuration bool `xml:"http://www.onvif.org/ver10/device/wsdl Dot11Configuration,attr,omitempty" json:"Dot11Configuration,omitempty"` + Dot11Configuration bool `xml:"Dot11Configuration,attr,omitempty" json:"Dot11Configuration,omitempty"` // Indicates the maximum number of Dot1X configurations supported by the device - Dot1XConfigurations int32 `xml:"http://www.onvif.org/ver10/device/wsdl Dot1XConfigurations,attr,omitempty" json:"Dot1XConfigurations,omitempty"` + Dot1XConfigurations int32 `xml:"Dot1XConfigurations,attr,omitempty" json:"Dot1XConfigurations,omitempty"` // Indicates support for retrieval of hostname from DHCP. - HostnameFromDHCP bool `xml:"http://www.onvif.org/ver10/device/wsdl HostnameFromDHCP,attr,omitempty" json:"HostnameFromDHCP,omitempty"` + HostnameFromDHCP bool `xml:"HostnameFromDHCP,attr,omitempty" json:"HostnameFromDHCP,omitempty"` // Maximum number of NTP servers supported by the devices SetNTP command. - NTP int32 `xml:"http://www.onvif.org/ver10/device/wsdl NTP,attr,omitempty" json:"NTP,omitempty"` + NTP int32 `xml:"NTP,attr,omitempty" json:"NTP,omitempty"` // Indicates support for Stateful IPv6 DHCP. - DHCPv6 bool `xml:"http://www.onvif.org/ver10/device/wsdl DHCPv6,attr,omitempty" json:"DHCPv6,omitempty"` + DHCPv6 bool `xml:"DHCPv6,attr,omitempty" json:"DHCPv6,omitempty"` } type SecurityCapabilities struct { @@ -1398,83 +1398,83 @@ type SecurityCapabilities struct { // Indicates support for TLS 1.0. - TLS1_0 bool `xml:"http://www.onvif.org/ver10/device/wsdl TLS1.0,attr,omitempty" json:"TLS1.0,omitempty"` + TLS1_0 bool `xml:"TLS1.0,attr,omitempty" json:"TLS1.0,omitempty"` // Indicates support for TLS 1.1. - TLS1_1 bool `xml:"http://www.onvif.org/ver10/device/wsdl TLS1.1,attr,omitempty" json:"TLS1.1,omitempty"` + TLS1_1 bool `xml:"TLS1.1,attr,omitempty" json:"TLS1.1,omitempty"` // Indicates support for TLS 1.2. - TLS1_2 bool `xml:"http://www.onvif.org/ver10/device/wsdl TLS1.2,attr,omitempty" json:"TLS1.2,omitempty"` + TLS1_2 bool `xml:"TLS1.2,attr,omitempty" json:"TLS1.2,omitempty"` // Indicates support for onboard key generation. - OnboardKeyGeneration bool `xml:"http://www.onvif.org/ver10/device/wsdl OnboardKeyGeneration,attr,omitempty" json:"OnboardKeyGeneration,omitempty"` + OnboardKeyGeneration bool `xml:"OnboardKeyGeneration,attr,omitempty" json:"OnboardKeyGeneration,omitempty"` // Indicates support for access policy configuration. - AccessPolicyConfig bool `xml:"http://www.onvif.org/ver10/device/wsdl AccessPolicyConfig,attr,omitempty" json:"AccessPolicyConfig,omitempty"` + AccessPolicyConfig bool `xml:"AccessPolicyConfig,attr,omitempty" json:"AccessPolicyConfig,omitempty"` // Indicates support for the ONVIF default access policy. - DefaultAccessPolicy bool `xml:"http://www.onvif.org/ver10/device/wsdl DefaultAccessPolicy,attr,omitempty" json:"DefaultAccessPolicy,omitempty"` + DefaultAccessPolicy bool `xml:"DefaultAccessPolicy,attr,omitempty" json:"DefaultAccessPolicy,omitempty"` // Indicates support for IEEE 802.1X configuration. - Dot1X bool `xml:"http://www.onvif.org/ver10/device/wsdl Dot1X,attr,omitempty" json:"Dot1X,omitempty"` + Dot1X bool `xml:"Dot1X,attr,omitempty" json:"Dot1X,omitempty"` // Indicates support for remote user configuration. Used when accessing another device. - RemoteUserHandling bool `xml:"http://www.onvif.org/ver10/device/wsdl RemoteUserHandling,attr,omitempty" json:"RemoteUserHandling,omitempty"` + RemoteUserHandling bool `xml:"RemoteUserHandling,attr,omitempty" json:"RemoteUserHandling,omitempty"` // Indicates support for WS-Security X.509 token. - X_509Token bool `xml:"http://www.onvif.org/ver10/device/wsdl X.509Token,attr,omitempty" json:"X.509Token,omitempty"` + X_509Token bool `xml:"X.509Token,attr,omitempty" json:"X.509Token,omitempty"` // Indicates support for WS-Security SAML token. - SAMLToken bool `xml:"http://www.onvif.org/ver10/device/wsdl SAMLToken,attr,omitempty" json:"SAMLToken,omitempty"` + SAMLToken bool `xml:"SAMLToken,attr,omitempty" json:"SAMLToken,omitempty"` // Indicates support for WS-Security Kerberos token. - KerberosToken bool `xml:"http://www.onvif.org/ver10/device/wsdl KerberosToken,attr,omitempty" json:"KerberosToken,omitempty"` + KerberosToken bool `xml:"KerberosToken,attr,omitempty" json:"KerberosToken,omitempty"` // Indicates support for WS-Security Username token. - UsernameToken bool `xml:"http://www.onvif.org/ver10/device/wsdl UsernameToken,attr,omitempty" json:"UsernameToken,omitempty"` + UsernameToken bool `xml:"UsernameToken,attr,omitempty" json:"UsernameToken,omitempty"` // Indicates support for WS over HTTP digest authenticated communication layer. - HttpDigest bool `xml:"http://www.onvif.org/ver10/device/wsdl HttpDigest,attr,omitempty" json:"HttpDigest,omitempty"` + HttpDigest bool `xml:"HttpDigest,attr,omitempty" json:"HttpDigest,omitempty"` // Indicates support for WS-Security REL token. - RELToken bool `xml:"http://www.onvif.org/ver10/device/wsdl RELToken,attr,omitempty" json:"RELToken,omitempty"` + RELToken bool `xml:"RELToken,attr,omitempty" json:"RELToken,omitempty"` // EAP Methods supported by the device. The int values refer to the . - SupportedEAPMethods *tt.IntList `xml:"http://www.onvif.org/ver10/device/wsdl SupportedEAPMethods,attr,omitempty" json:"SupportedEAPMethods,omitempty"` + SupportedEAPMethods *tt.IntList `xml:"SupportedEAPMethods,attr,omitempty" json:"SupportedEAPMethods,omitempty"` // The maximum number of users that the device supports. - MaxUsers int32 `xml:"http://www.onvif.org/ver10/device/wsdl MaxUsers,attr,omitempty" json:"MaxUsers,omitempty"` + MaxUsers int32 `xml:"MaxUsers,attr,omitempty" json:"MaxUsers,omitempty"` // Maximum number of characters supported for the username by CreateUsers. - MaxUserNameLength int32 `xml:"http://www.onvif.org/ver10/device/wsdl MaxUserNameLength,attr,omitempty" json:"MaxUserNameLength,omitempty"` + MaxUserNameLength int32 `xml:"MaxUserNameLength,attr,omitempty" json:"MaxUserNameLength,omitempty"` // Maximum number of characters supported for the password by CreateUsers and SetUser. - MaxPasswordLength int32 `xml:"http://www.onvif.org/ver10/device/wsdl MaxPasswordLength,attr,omitempty" json:"MaxPasswordLength,omitempty"` + MaxPasswordLength int32 `xml:"MaxPasswordLength,attr,omitempty" json:"MaxPasswordLength,omitempty"` // Indicates which security policies are supported. Options are: ModifyPassword, PasswordComplexity, AuthFailureWarnings - SecurityPolicies *tt.StringList `xml:"http://www.onvif.org/ver10/device/wsdl SecurityPolicies,attr,omitempty" json:"SecurityPolicies,omitempty"` + SecurityPolicies *tt.StringList `xml:"SecurityPolicies,attr,omitempty" json:"SecurityPolicies,omitempty"` // Maximum number of passwords that the device can remember for each user - MaxPasswordHistory int32 `xml:"http://www.onvif.org/ver10/device/wsdl MaxPasswordHistory,attr,omitempty" json:"MaxPasswordHistory,omitempty"` + MaxPasswordHistory int32 `xml:"MaxPasswordHistory,attr,omitempty" json:"MaxPasswordHistory,omitempty"` } type SystemCapabilities struct { @@ -1482,79 +1482,79 @@ type SystemCapabilities struct { // Indicates support for WS Discovery resolve requests. - DiscoveryResolve bool `xml:"http://www.onvif.org/ver10/device/wsdl DiscoveryResolve,attr,omitempty" json:"DiscoveryResolve,omitempty"` + DiscoveryResolve bool `xml:"DiscoveryResolve,attr,omitempty" json:"DiscoveryResolve,omitempty"` // Indicates support for WS-Discovery Bye. - DiscoveryBye bool `xml:"http://www.onvif.org/ver10/device/wsdl DiscoveryBye,attr,omitempty" json:"DiscoveryBye,omitempty"` + DiscoveryBye bool `xml:"DiscoveryBye,attr,omitempty" json:"DiscoveryBye,omitempty"` // Indicates support for remote discovery. - RemoteDiscovery bool `xml:"http://www.onvif.org/ver10/device/wsdl RemoteDiscovery,attr,omitempty" json:"RemoteDiscovery,omitempty"` + RemoteDiscovery bool `xml:"RemoteDiscovery,attr,omitempty" json:"RemoteDiscovery,omitempty"` // Indicates support for system backup through MTOM. - SystemBackup bool `xml:"http://www.onvif.org/ver10/device/wsdl SystemBackup,attr,omitempty" json:"SystemBackup,omitempty"` + SystemBackup bool `xml:"SystemBackup,attr,omitempty" json:"SystemBackup,omitempty"` // Indicates support for retrieval of system logging through MTOM. - SystemLogging bool `xml:"http://www.onvif.org/ver10/device/wsdl SystemLogging,attr,omitempty" json:"SystemLogging,omitempty"` + SystemLogging bool `xml:"SystemLogging,attr,omitempty" json:"SystemLogging,omitempty"` // Indicates support for firmware upgrade through MTOM. - FirmwareUpgrade bool `xml:"http://www.onvif.org/ver10/device/wsdl FirmwareUpgrade,attr,omitempty" json:"FirmwareUpgrade,omitempty"` + FirmwareUpgrade bool `xml:"FirmwareUpgrade,attr,omitempty" json:"FirmwareUpgrade,omitempty"` // Indicates support for firmware upgrade through HTTP. - HttpFirmwareUpgrade bool `xml:"http://www.onvif.org/ver10/device/wsdl HttpFirmwareUpgrade,attr,omitempty" json:"HttpFirmwareUpgrade,omitempty"` + HttpFirmwareUpgrade bool `xml:"HttpFirmwareUpgrade,attr,omitempty" json:"HttpFirmwareUpgrade,omitempty"` // Indicates support for system backup through HTTP. - HttpSystemBackup bool `xml:"http://www.onvif.org/ver10/device/wsdl HttpSystemBackup,attr,omitempty" json:"HttpSystemBackup,omitempty"` + HttpSystemBackup bool `xml:"HttpSystemBackup,attr,omitempty" json:"HttpSystemBackup,omitempty"` // Indicates support for retrieval of system logging through HTTP. - HttpSystemLogging bool `xml:"http://www.onvif.org/ver10/device/wsdl HttpSystemLogging,attr,omitempty" json:"HttpSystemLogging,omitempty"` + HttpSystemLogging bool `xml:"HttpSystemLogging,attr,omitempty" json:"HttpSystemLogging,omitempty"` // Indicates support for retrieving support information through HTTP. - HttpSupportInformation bool `xml:"http://www.onvif.org/ver10/device/wsdl HttpSupportInformation,attr,omitempty" json:"HttpSupportInformation,omitempty"` + HttpSupportInformation bool `xml:"HttpSupportInformation,attr,omitempty" json:"HttpSupportInformation,omitempty"` // Indicates support for storage configuration interfaces. - StorageConfiguration bool `xml:"http://www.onvif.org/ver10/device/wsdl StorageConfiguration,attr,omitempty" json:"StorageConfiguration,omitempty"` + StorageConfiguration bool `xml:"StorageConfiguration,attr,omitempty" json:"StorageConfiguration,omitempty"` // Indicates maximum number of storage configurations supported. - MaxStorageConfigurations int32 `xml:"http://www.onvif.org/ver10/device/wsdl MaxStorageConfigurations,attr,omitempty" json:"MaxStorageConfigurations,omitempty"` + MaxStorageConfigurations int32 `xml:"MaxStorageConfigurations,attr,omitempty" json:"MaxStorageConfigurations,omitempty"` // If present signals support for geo location. The value signals the supported number of entries. - GeoLocationEntries int32 `xml:"http://www.onvif.org/ver10/device/wsdl GeoLocationEntries,attr,omitempty" json:"GeoLocationEntries,omitempty"` + GeoLocationEntries int32 `xml:"GeoLocationEntries,attr,omitempty" json:"GeoLocationEntries,omitempty"` // List of supported automatic GeoLocation adjustment supported by the device. Valid items are defined by tds:AutoGeoMode. - AutoGeo *tt.StringAttrList `xml:"http://www.onvif.org/ver10/device/wsdl AutoGeo,attr,omitempty" json:"AutoGeo,omitempty"` + AutoGeo *tt.StringAttrList `xml:"AutoGeo,attr,omitempty" json:"AutoGeo,omitempty"` // Enumerates the supported StorageTypes, see tds:StorageType. - StorageTypesSupported *tt.StringAttrList `xml:"http://www.onvif.org/ver10/device/wsdl StorageTypesSupported,attr,omitempty" json:"StorageTypesSupported,omitempty"` + StorageTypesSupported *tt.StringAttrList `xml:"StorageTypesSupported,attr,omitempty" json:"StorageTypesSupported,omitempty"` // Indicates no support for network discovery. - DiscoveryNotSupported bool `xml:"http://www.onvif.org/ver10/device/wsdl DiscoveryNotSupported,attr,omitempty" json:"DiscoveryNotSupported,omitempty"` + DiscoveryNotSupported bool `xml:"DiscoveryNotSupported,attr,omitempty" json:"DiscoveryNotSupported,omitempty"` // Indicates no support for network configuration. - NetworkConfigNotSupported bool `xml:"http://www.onvif.org/ver10/device/wsdl NetworkConfigNotSupported,attr,omitempty" json:"NetworkConfigNotSupported,omitempty"` + NetworkConfigNotSupported bool `xml:"NetworkConfigNotSupported,attr,omitempty" json:"NetworkConfigNotSupported,omitempty"` // Indicates no support for user configuration. - UserConfigNotSupported bool `xml:"http://www.onvif.org/ver10/device/wsdl UserConfigNotSupported,attr,omitempty" json:"UserConfigNotSupported,omitempty"` + UserConfigNotSupported bool `xml:"UserConfigNotSupported,attr,omitempty" json:"UserConfigNotSupported,omitempty"` // List of supported Addons by the device. - Addons *tt.StringAttrList `xml:"http://www.onvif.org/ver10/device/wsdl Addons,attr,omitempty" json:"Addons,omitempty"` + Addons *tt.StringAttrList `xml:"Addons,attr,omitempty" json:"Addons,omitempty"` } type MiscCapabilities struct { @@ -1562,7 +1562,7 @@ type MiscCapabilities struct { // Lists of commands supported by SendAuxiliaryCommand. - AuxiliaryCommands *tt.StringAttrList `xml:"http://www.onvif.org/ver10/device/wsdl AuxiliaryCommands,attr,omitempty" json:"AuxiliaryCommands,omitempty"` + AuxiliaryCommands *tt.StringAttrList `xml:"AuxiliaryCommands,attr,omitempty" json:"AuxiliaryCommands,omitempty"` } type UserCredential struct { @@ -1594,7 +1594,7 @@ type StorageConfigurationData struct { // StorageType lists the acceptable values for type attribute - Type string `xml:"http://www.onvif.org/ver10/device/wsdl type,attr,omitempty" json:"type,omitempty"` + Type string `xml:"type,attr,omitempty" json:"type,omitempty"` } type StorageConfiguration struct { diff --git a/pkg/generated/onvif/www_onvif_org/ver10/schema/0.go b/pkg/generated/onvif/www_onvif_org/ver10/schema/0.go index b63939a..955e8cc 100644 --- a/pkg/generated/onvif/www_onvif_org/ver10/schema/0.go +++ b/pkg/generated/onvif/www_onvif_org/ver10/schema/0.go @@ -51,27 +51,27 @@ type IntRange struct { type Vector2D struct { XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema PanTilt" json:"-"` - X float32 `xml:"http://www.onvif.org/ver10/schema x,attr,omitempty" json:"x,omitempty"` + X float32 `xml:"x,attr,omitempty" json:"x,omitempty"` - Y float32 `xml:"http://www.onvif.org/ver10/schema y,attr,omitempty" json:"y,omitempty"` + Y float32 `xml:"y,attr,omitempty" json:"y,omitempty"` // // Pan/tilt coordinate space selector. The following options are defined: // - Space string `xml:"http://www.onvif.org/ver10/schema space,attr,omitempty" json:"space,omitempty"` + Space string `xml:"space,attr,omitempty" json:"space,omitempty"` } type Vector1D struct { XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema Zoom" json:"-"` - X float32 `xml:"http://www.onvif.org/ver10/schema x,attr,omitempty" json:"x,omitempty"` + X float32 `xml:"x,attr,omitempty" json:"x,omitempty"` // // Zoom coordinate space selector. The following options are defined: // - Space string `xml:"http://www.onvif.org/ver10/schema space,attr,omitempty" json:"space,omitempty"` + Space string `xml:"space,attr,omitempty" json:"space,omitempty"` } type PTZVector struct { @@ -119,19 +119,19 @@ type PTZMoveStatus struct { } type Vector struct { - X float32 `xml:"http://www.onvif.org/ver10/schema x,attr,omitempty" json:"x,omitempty"` + X float32 `xml:"x,attr,omitempty" json:"x,omitempty"` - Y float32 `xml:"http://www.onvif.org/ver10/schema y,attr,omitempty" json:"y,omitempty"` + Y float32 `xml:"y,attr,omitempty" json:"y,omitempty"` } type Rectangle struct { - Bottom float32 `xml:"http://www.onvif.org/ver10/schema bottom,attr,omitempty" json:"bottom,omitempty"` + Bottom float32 `xml:"bottom,attr,omitempty" json:"bottom,omitempty"` - Top float32 `xml:"http://www.onvif.org/ver10/schema top,attr,omitempty" json:"top,omitempty"` + Top float32 `xml:"top,attr,omitempty" json:"top,omitempty"` - Right float32 `xml:"http://www.onvif.org/ver10/schema right,attr,omitempty" json:"right,omitempty"` + Right float32 `xml:"right,attr,omitempty" json:"right,omitempty"` - Left float32 `xml:"http://www.onvif.org/ver10/schema left,attr,omitempty" json:"left,omitempty"` + Left float32 `xml:"left,attr,omitempty" json:"left,omitempty"` } type Polygon struct { @@ -139,11 +139,11 @@ type Polygon struct { } type Color struct { - X float32 `xml:"http://www.onvif.org/ver10/schema X,attr,omitempty" json:"X,omitempty"` + X float32 `xml:"X,attr,omitempty" json:"X,omitempty"` - Y float32 `xml:"http://www.onvif.org/ver10/schema Y,attr,omitempty" json:"Y,omitempty"` + Y float32 `xml:"Y,attr,omitempty" json:"Y,omitempty"` - Z float32 `xml:"http://www.onvif.org/ver10/schema Z,attr,omitempty" json:"Z,omitempty"` + Z float32 `xml:"Z,attr,omitempty" json:"Z,omitempty"` // // Acceptable values: @@ -154,29 +154,29 @@ type Color struct { // // - Colorspace string `xml:"http://www.onvif.org/ver10/schema Colorspace,attr,omitempty" json:"Colorspace,omitempty"` + Colorspace string `xml:"Colorspace,attr,omitempty" json:"Colorspace,omitempty"` } type ColorCovariance struct { XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema Covariance" json:"-"` - XX float32 `xml:"http://www.onvif.org/ver10/schema XX,attr,omitempty" json:"XX,omitempty"` + XX float32 `xml:"XX,attr,omitempty" json:"XX,omitempty"` - YY float32 `xml:"http://www.onvif.org/ver10/schema YY,attr,omitempty" json:"YY,omitempty"` + YY float32 `xml:"YY,attr,omitempty" json:"YY,omitempty"` - ZZ float32 `xml:"http://www.onvif.org/ver10/schema ZZ,attr,omitempty" json:"ZZ,omitempty"` + ZZ float32 `xml:"ZZ,attr,omitempty" json:"ZZ,omitempty"` - XY float32 `xml:"http://www.onvif.org/ver10/schema XY,attr,omitempty" json:"XY,omitempty"` + XY float32 `xml:"XY,attr,omitempty" json:"XY,omitempty"` - XZ float32 `xml:"http://www.onvif.org/ver10/schema XZ,attr,omitempty" json:"XZ,omitempty"` + XZ float32 `xml:"XZ,attr,omitempty" json:"XZ,omitempty"` - YZ float32 `xml:"http://www.onvif.org/ver10/schema YZ,attr,omitempty" json:"YZ,omitempty"` + YZ float32 `xml:"YZ,attr,omitempty" json:"YZ,omitempty"` // // Acceptable values are the same as in tt:Color. // - Colorspace string `xml:"http://www.onvif.org/ver10/schema Colorspace,attr,omitempty" json:"Colorspace,omitempty"` + Colorspace string `xml:"Colorspace,attr,omitempty" json:"Colorspace,omitempty"` } type ColorDescriptor struct { @@ -212,15 +212,15 @@ type GeoLocation struct { // East west location as angle. - Lon float64 `xml:"http://www.onvif.org/ver10/schema lon,attr,omitempty" json:"lon,omitempty"` + Lon float64 `xml:"lon,attr,omitempty" json:"lon,omitempty"` // North south location as angle. - Lat float64 `xml:"http://www.onvif.org/ver10/schema lat,attr,omitempty" json:"lat,omitempty"` + Lat float64 `xml:"lat,attr,omitempty" json:"lat,omitempty"` // Hight in meters above sea level. - Elevation float32 `xml:"http://www.onvif.org/ver10/schema elevation,attr,omitempty" json:"elevation,omitempty"` + Elevation float32 `xml:"elevation,attr,omitempty" json:"elevation,omitempty"` } type GeoOrientation struct { @@ -228,15 +228,15 @@ type GeoOrientation struct { // Rotation around the x axis. - Roll float32 `xml:"http://www.onvif.org/ver10/schema roll,attr,omitempty" json:"roll,omitempty"` + Roll float32 `xml:"roll,attr,omitempty" json:"roll,omitempty"` // Rotation around the y axis. - Pitch float32 `xml:"http://www.onvif.org/ver10/schema pitch,attr,omitempty" json:"pitch,omitempty"` + Pitch float32 `xml:"pitch,attr,omitempty" json:"pitch,omitempty"` // Rotation around the z axis. - Yaw float32 `xml:"http://www.onvif.org/ver10/schema yaw,attr,omitempty" json:"yaw,omitempty"` + Yaw float32 `xml:"yaw,attr,omitempty" json:"yaw,omitempty"` } type LocalLocation struct { @@ -244,15 +244,15 @@ type LocalLocation struct { // East west location as angle. - X float32 `xml:"http://www.onvif.org/ver10/schema x,attr,omitempty" json:"x,omitempty"` + X float32 `xml:"x,attr,omitempty" json:"x,omitempty"` // North south location as angle. - Y float32 `xml:"http://www.onvif.org/ver10/schema y,attr,omitempty" json:"y,omitempty"` + Y float32 `xml:"y,attr,omitempty" json:"y,omitempty"` // Offset in meters from the sea level. - Z float32 `xml:"http://www.onvif.org/ver10/schema z,attr,omitempty" json:"z,omitempty"` + Z float32 `xml:"z,attr,omitempty" json:"z,omitempty"` } type LocalOrientation struct { @@ -260,15 +260,15 @@ type LocalOrientation struct { // Rotation around the y axis. - Pan float32 `xml:"http://www.onvif.org/ver10/schema pan,attr,omitempty" json:"pan,omitempty"` + Pan float32 `xml:"pan,attr,omitempty" json:"pan,omitempty"` // Rotation around the z axis. - Tilt float32 `xml:"http://www.onvif.org/ver10/schema tilt,attr,omitempty" json:"tilt,omitempty"` + Tilt float32 `xml:"tilt,attr,omitempty" json:"tilt,omitempty"` // Rotation around the x axis. - Roll float32 `xml:"http://www.onvif.org/ver10/schema roll,attr,omitempty" json:"roll,omitempty"` + Roll float32 `xml:"roll,attr,omitempty" json:"roll,omitempty"` } type LocationEntity struct { @@ -287,21 +287,21 @@ type LocationEntity struct { // Entity type the entry refers to, use a value from the tt:Entity enumeration. - Entity string `xml:"http://www.onvif.org/ver10/schema Entity,attr,omitempty" json:"Entity,omitempty"` + Entity string `xml:"Entity,attr,omitempty" json:"Entity,omitempty"` // Optional entity token. - Token *ReferenceToken `xml:"http://www.onvif.org/ver10/schema Token,attr,omitempty" json:"Token,omitempty"` + Token *ReferenceToken `xml:"Token,attr,omitempty" json:"Token,omitempty"` // If this value is true the entity cannot be deleted. - Fixed bool `xml:"http://www.onvif.org/ver10/schema Fixed,attr,omitempty" json:"Fixed,omitempty"` + Fixed bool `xml:"Fixed,attr,omitempty" json:"Fixed,omitempty"` // Optional reference to the XAddr of another devices DeviceManagement service. - GeoSource string `xml:"http://www.onvif.org/ver10/schema GeoSource,attr,omitempty" json:"GeoSource,omitempty"` + GeoSource string `xml:"GeoSource,attr,omitempty" json:"GeoSource,omitempty"` // If set the geo location is obtained internally. - AutoGeo bool `xml:"http://www.onvif.org/ver10/schema AutoGeo,attr,omitempty" json:"AutoGeo,omitempty"` + AutoGeo bool `xml:"AutoGeo,attr,omitempty" json:"AutoGeo,omitempty"` } diff --git a/pkg/generated/onvif/www_onvif_org/ver10/schema/1.go b/pkg/generated/onvif/www_onvif_org/ver10/schema/1.go index 096f1be..6aa8b41 100644 --- a/pkg/generated/onvif/www_onvif_org/ver10/schema/1.go +++ b/pkg/generated/onvif/www_onvif_org/ver10/schema/1.go @@ -869,9 +869,9 @@ type Message struct { Extension *MessageExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` - UtcTime soap.XSDDateTime `xml:"http://www.onvif.org/ver10/schema UtcTime,attr,omitempty" json:"UtcTime,omitempty"` + UtcTime soap.XSDDateTime `xml:"UtcTime,attr,omitempty" json:"UtcTime,omitempty"` - PropertyOperation *PropertyOperation `xml:"http://www.onvif.org/ver10/schema PropertyOperation,attr,omitempty" json:"PropertyOperation,omitempty"` + PropertyOperation *PropertyOperation `xml:"PropertyOperation,attr,omitempty" json:"PropertyOperation,omitempty"` } type DeviceEntity struct { @@ -884,13 +884,13 @@ type DeviceEntity struct { type IntRectangle struct { XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema Bounds" json:"-"` - X int32 `xml:"http://www.onvif.org/ver10/schema x,attr,omitempty" json:"x,omitempty"` + X int32 `xml:"x,attr,omitempty" json:"x,omitempty"` - Y int32 `xml:"http://www.onvif.org/ver10/schema y,attr,omitempty" json:"y,omitempty"` + Y int32 `xml:"y,attr,omitempty" json:"y,omitempty"` - Width int32 `xml:"http://www.onvif.org/ver10/schema width,attr,omitempty" json:"width,omitempty"` + Width int32 `xml:"width,attr,omitempty" json:"width,omitempty"` - Height int32 `xml:"http://www.onvif.org/ver10/schema height,attr,omitempty" json:"height,omitempty"` + Height int32 `xml:"height,attr,omitempty" json:"height,omitempty"` } type IntRectangleRange struct { @@ -1006,7 +1006,7 @@ type Profile struct { // A value of true signals that the profile cannot be deleted. Default is false. - Fixed bool `xml:"http://www.onvif.org/ver10/schema fixed,attr,omitempty" json:"fixed,omitempty"` + Fixed bool `xml:"fixed,attr,omitempty" json:"fixed,omitempty"` } type ProfileExtension struct { @@ -1055,7 +1055,7 @@ type VideoSourceConfiguration struct { // Readonly parameter signalling Source configuration's view mode, for devices supporting different view modes as defined in tt:viewModes. - ViewMode string `xml:"http://www.onvif.org/ver10/schema ViewMode,attr,omitempty" json:"ViewMode,omitempty"` + ViewMode string `xml:"ViewMode,attr,omitempty" json:"ViewMode,omitempty"` } type VideoSourceConfigurationExtension struct { @@ -1121,11 +1121,11 @@ type LensOffset struct { // Optional horizontal offset of the lens center in normalized coordinates. - X float32 `xml:"http://www.onvif.org/ver10/schema x,attr,omitempty" json:"x,omitempty"` + X float32 `xml:"x,attr,omitempty" json:"x,omitempty"` // Optional vertical offset of the lens center in normalized coordinates. - Y float32 `xml:"http://www.onvif.org/ver10/schema y,attr,omitempty" json:"y,omitempty"` + Y float32 `xml:"y,attr,omitempty" json:"y,omitempty"` } type LensDescription struct { @@ -1145,7 +1145,7 @@ type LensDescription struct { // Optional focal length of the optical system. - FocalLength float32 `xml:"http://www.onvif.org/ver10/schema FocalLength,attr,omitempty" json:"FocalLength,omitempty"` + FocalLength float32 `xml:"FocalLength,attr,omitempty" json:"FocalLength,omitempty"` } type VideoSourceConfigurationOptions struct { @@ -1164,7 +1164,7 @@ type VideoSourceConfigurationOptions struct { // Maximum number of profiles. - MaximumNumberOfProfiles int32 `xml:"http://www.onvif.org/ver10/schema MaximumNumberOfProfiles,attr,omitempty" json:"MaximumNumberOfProfiles,omitempty"` + MaximumNumberOfProfiles int32 `xml:"MaximumNumberOfProfiles,attr,omitempty" json:"MaximumNumberOfProfiles,omitempty"` } type VideoSourceConfigurationOptionsExtension struct { @@ -1201,7 +1201,7 @@ type RotateOptions struct { // After setting the rotation, if a device starts to reboot this value is true. // If a device can handle rotation setting without rebooting this value is false. - Reboot bool `xml:"http://www.onvif.org/ver10/schema Reboot,attr,omitempty" json:"Reboot,omitempty"` + Reboot bool `xml:"Reboot,attr,omitempty" json:"Reboot,omitempty"` } type RotateOptionsExtension struct { @@ -1258,7 +1258,7 @@ type VideoEncoderConfiguration struct { // configuration values such as bitrate. Default is false. // - GuaranteedFrameRate bool `xml:"http://www.onvif.org/ver10/schema GuaranteedFrameRate,attr,omitempty" json:"GuaranteedFrameRate,omitempty"` + GuaranteedFrameRate bool `xml:"GuaranteedFrameRate,attr,omitempty" json:"GuaranteedFrameRate,omitempty"` } type VideoResolution struct { @@ -1323,7 +1323,7 @@ type VideoEncoderConfigurationOptions struct { // Indicates the support for the GuaranteedFrameRate attribute on the VideoEncoderConfiguration element. // - GuaranteedFrameRateSupported bool `xml:"http://www.onvif.org/ver10/schema GuaranteedFrameRateSupported,attr,omitempty" json:"GuaranteedFrameRateSupported,omitempty"` + GuaranteedFrameRateSupported bool `xml:"GuaranteedFrameRateSupported,attr,omitempty" json:"GuaranteedFrameRateSupported,omitempty"` } type VideoEncoderOptionsExtension struct { @@ -1447,11 +1447,11 @@ type VideoEncoder2Configuration struct { // Group of Video frames length. Determines typically the interval in which the I-Frames will be coded. An entry of 1 indicates I-Frames are continuously generated. An entry of 2 indicates that every 2nd image is an I-Frame, and 3 only every 3rd frame, etc. The frames in between are coded as P or B Frames. - GovLength int32 `xml:"http://www.onvif.org/ver10/schema GovLength,attr,omitempty" json:"GovLength,omitempty"` + GovLength int32 `xml:"GovLength,attr,omitempty" json:"GovLength,omitempty"` // The encoder profile as defined in tt:VideoEncodingProfiles. - Profile string `xml:"http://www.onvif.org/ver10/schema Profile,attr,omitempty" json:"Profile,omitempty"` + Profile string `xml:"Profile,attr,omitempty" json:"Profile,omitempty"` // // A value of true indicates that frame rate is a fixed value rather than an upper limit, @@ -1459,7 +1459,7 @@ type VideoEncoder2Configuration struct { // configuration values such as bitrate. Default is false. // - GuaranteedFrameRate bool `xml:"http://www.onvif.org/ver10/schema GuaranteedFrameRate,attr,omitempty" json:"GuaranteedFrameRate,omitempty"` + GuaranteedFrameRate bool `xml:"GuaranteedFrameRate,attr,omitempty" json:"GuaranteedFrameRate,omitempty"` } type VideoResolution2 struct { @@ -1486,7 +1486,7 @@ type VideoRateControl2 struct { // Enforce constant bitrate. - ConstantBitRate bool `xml:"http://www.onvif.org/ver10/schema ConstantBitRate,attr,omitempty" json:"ConstantBitRate,omitempty"` + ConstantBitRate bool `xml:"ConstantBitRate,attr,omitempty" json:"ConstantBitRate,omitempty"` } type VideoEncoder2ConfigurationOptions struct { @@ -1507,25 +1507,25 @@ type VideoEncoder2ConfigurationOptions struct { // Exactly two values, which define the Lower and Upper bounds for the supported group of Video frames length. These values typically correspond to the I-Frame distance. - GovLengthRange *IntList `xml:"http://www.onvif.org/ver10/schema GovLengthRange,attr,omitempty" json:"GovLengthRange,omitempty"` + GovLengthRange *IntList `xml:"GovLengthRange,attr,omitempty" json:"GovLengthRange,omitempty"` // List of supported target frame rates in fps (frames per second). The list shall be sorted with highest values first. - FrameRatesSupported *FloatList `xml:"http://www.onvif.org/ver10/schema FrameRatesSupported,attr,omitempty" json:"FrameRatesSupported,omitempty"` + FrameRatesSupported *FloatList `xml:"FrameRatesSupported,attr,omitempty" json:"FrameRatesSupported,omitempty"` // List of supported encoder profiles as defined in tt::VideoEncodingProfiles. - ProfilesSupported *StringAttrList `xml:"http://www.onvif.org/ver10/schema ProfilesSupported,attr,omitempty" json:"ProfilesSupported,omitempty"` + ProfilesSupported *StringAttrList `xml:"ProfilesSupported,attr,omitempty" json:"ProfilesSupported,omitempty"` // Signal whether enforcing constant bitrate is supported. - ConstantBitRateSupported bool `xml:"http://www.onvif.org/ver10/schema ConstantBitRateSupported,attr,omitempty" json:"ConstantBitRateSupported,omitempty"` + ConstantBitRateSupported bool `xml:"ConstantBitRateSupported,attr,omitempty" json:"ConstantBitRateSupported,omitempty"` // // Indicates the support for the GuaranteedFrameRate attribute on the VideoEncoder2Configuration element. // - GuaranteedFrameRateSupported bool `xml:"http://www.onvif.org/ver10/schema GuaranteedFrameRateSupported,attr,omitempty" json:"GuaranteedFrameRateSupported,omitempty"` + GuaranteedFrameRateSupported bool `xml:"GuaranteedFrameRateSupported,attr,omitempty" json:"GuaranteedFrameRateSupported,omitempty"` } type AudioSourceConfiguration struct { @@ -1656,15 +1656,15 @@ type MetadataConfiguration struct { // Optional parameter to configure compression type of Metadata payload. Use values from enumeration MetadataCompressionType. - CompressionType string `xml:"http://www.onvif.org/ver10/schema CompressionType,attr,omitempty" json:"CompressionType,omitempty"` + CompressionType string `xml:"CompressionType,attr,omitempty" json:"CompressionType,omitempty"` // Optional parameter to configure if the metadata stream shall contain the Geo Location coordinates of each target. - GeoLocation bool `xml:"http://www.onvif.org/ver10/schema GeoLocation,attr,omitempty" json:"GeoLocation,omitempty"` + GeoLocation bool `xml:"GeoLocation,attr,omitempty" json:"GeoLocation,omitempty"` // Optional parameter to configure if the generated metadata stream should contain shape information as polygon. - ShapePolygon bool `xml:"http://www.onvif.org/ver10/schema ShapePolygon,attr,omitempty" json:"ShapePolygon,omitempty"` + ShapePolygon bool `xml:"ShapePolygon,attr,omitempty" json:"ShapePolygon,omitempty"` } type MetadataConfigurationExtension struct { @@ -1703,11 +1703,11 @@ type MetadataConfigurationOptions struct { // True if the device is able to stream the Geo Located positions of each target. - GeoLocation bool `xml:"http://www.onvif.org/ver10/schema GeoLocation,attr,omitempty" json:"GeoLocation,omitempty"` + GeoLocation bool `xml:"GeoLocation,attr,omitempty" json:"GeoLocation,omitempty"` // A device signalling support for content filtering shall support expressions with the provided expression size. - MaxContentFilterSize int32 `xml:"http://www.onvif.org/ver10/schema MaxContentFilterSize,attr,omitempty" json:"MaxContentFilterSize,omitempty"` + MaxContentFilterSize int32 `xml:"MaxContentFilterSize,attr,omitempty" json:"MaxContentFilterSize,omitempty"` } type MetadataConfigurationOptionsExtension struct { @@ -3052,13 +3052,13 @@ type BinaryData struct { // base64 encoded binary data. Data []byte `xml:"Data,omitempty" json:"Data,omitempty"` - ContentType string `xml:"http://www.onvif.org/ver10/schema contentType,attr,omitempty" json:"contentType,omitempty"` + ContentType string `xml:"contentType,attr,omitempty" json:"contentType,omitempty"` } type AttachmentData struct { Include *xop.Include `xml:"Include,omitempty" json:"Include,omitempty"` - ContentType string `xml:"http://www.onvif.org/ver10/schema contentType,attr,omitempty" json:"contentType,omitempty"` + ContentType string `xml:"contentType,attr,omitempty" json:"contentType,omitempty"` } type BackupFile struct { @@ -3247,7 +3247,7 @@ type CertificateInformation struct { type CertificateUsage struct { Value string `xml:",chardata" json:",omitempty"` - Critical bool `xml:"http://www.onvif.org/ver10/schema Critical,attr,omitempty" json:"Critical,omitempty"` + Critical bool `xml:"Critical,attr,omitempty" json:"Critical,omitempty"` } type CertificateInformationExtension struct { @@ -3340,7 +3340,7 @@ type DigitalInput struct { // Indicate the Digital IdleState status. // - IdleState *DigitalIdleState `xml:"http://www.onvif.org/ver10/schema IdleState,attr,omitempty" json:"IdleState,omitempty"` + IdleState *DigitalIdleState `xml:"IdleState,attr,omitempty" json:"IdleState,omitempty"` } type PTZNode struct { @@ -3377,13 +3377,13 @@ type PTZNode struct { // Indication whether the HomePosition of a Node is fixed or it can be changed via the SetHomePosition command. // - FixedHomePosition bool `xml:"http://www.onvif.org/ver10/schema FixedHomePosition,attr,omitempty" json:"FixedHomePosition,omitempty"` + FixedHomePosition bool `xml:"FixedHomePosition,attr,omitempty" json:"FixedHomePosition,omitempty"` // // Indication whether the Node supports the geo-referenced move command. // - GeoMove bool `xml:"http://www.onvif.org/ver10/schema GeoMove,attr,omitempty" json:"GeoMove,omitempty"` + GeoMove bool `xml:"GeoMove,attr,omitempty" json:"GeoMove,omitempty"` } type PTZNodeExtension struct { @@ -3485,15 +3485,15 @@ type PTZConfiguration struct { // The optional acceleration ramp used by the device when moving. - MoveRamp int32 `xml:"http://www.onvif.org/ver10/schema MoveRamp,attr,omitempty" json:"MoveRamp,omitempty"` + MoveRamp int32 `xml:"MoveRamp,attr,omitempty" json:"MoveRamp,omitempty"` // The optional acceleration ramp used by the device when recalling presets. - PresetRamp int32 `xml:"http://www.onvif.org/ver10/schema PresetRamp,attr,omitempty" json:"PresetRamp,omitempty"` + PresetRamp int32 `xml:"PresetRamp,attr,omitempty" json:"PresetRamp,omitempty"` // The optional acceleration ramp used by the device when executing PresetTours. - PresetTourRamp int32 `xml:"http://www.onvif.org/ver10/schema PresetTourRamp,attr,omitempty" json:"PresetTourRamp,omitempty"` + PresetTourRamp int32 `xml:"PresetTourRamp,attr,omitempty" json:"PresetTourRamp,omitempty"` } type PTZConfigurationExtension struct { @@ -3571,7 +3571,7 @@ type PTZConfigurationOptions struct { // highest acceleration corresponds to the maximum index. // - PTZRamps *IntList `xml:"http://www.onvif.org/ver10/schema PTZRamps,attr,omitempty" json:"PTZRamps,omitempty"` + PTZRamps *IntList `xml:"PTZRamps,attr,omitempty" json:"PTZRamps,omitempty"` } type PTZConfigurationOptions2 struct { @@ -3874,7 +3874,7 @@ type PTZPresetTourStartingCondition struct { // Execute presets in random order. If set to true and Direction is also present, Direction will be ignored and presets of the Tour will be recalled randomly. - RandomPresetOrder bool `xml:"http://www.onvif.org/ver10/schema RandomPresetOrder,attr,omitempty" json:"RandomPresetOrder,omitempty"` + RandomPresetOrder bool `xml:"RandomPresetOrder,attr,omitempty" json:"RandomPresetOrder,omitempty"` } type PTZPresetTourStartingConditionExtension struct { @@ -4907,7 +4907,7 @@ type FocusConfiguration20 struct { // Zero or more modes as defined in enumeration tt:AFModes. - AFMode *StringAttrList `xml:"http://www.onvif.org/ver10/schema AFMode,attr,omitempty" json:"AFMode,omitempty"` + AFMode *StringAttrList `xml:"AFMode,attr,omitempty" json:"AFMode,omitempty"` } type FocusConfiguration20Extension struct { @@ -5015,18 +5015,18 @@ type ItemList struct { // Item name. - Name string `xml:"http://www.onvif.org/ver10/schema Name,attr,omitempty" json:"Name,omitempty"` + Name string `xml:"Name,attr,omitempty" json:"Name,omitempty"` // Item value. The type is defined in the corresponding description. - Value string `xml:"http://www.onvif.org/ver10/schema Value,attr,omitempty" json:"Value,omitempty"` + Value string `xml:"Value,attr,omitempty" json:"Value,omitempty"` } `xml:"SimpleItem,omitempty" json:"SimpleItem,omitempty"` ElementItem []struct { // Item name. - Name string `xml:"http://www.onvif.org/ver10/schema Name,attr,omitempty" json:"Name,omitempty"` + Name string `xml:"Name,attr,omitempty" json:"Name,omitempty"` } `xml:"ElementItem,omitempty" json:"ElementItem,omitempty"` Extension *ItemListExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` @@ -5057,7 +5057,7 @@ type MessageDescription struct { // Must be set to true when the described Message relates to a property. An alternative term of "property" is a "state" in contrast to a pure event, which contains relevant information for only a single point in time.Default is false. - IsProperty bool `xml:"http://www.onvif.org/ver10/schema IsProperty,attr,omitempty" json:"IsProperty,omitempty"` + IsProperty bool `xml:"IsProperty,attr,omitempty" json:"IsProperty,omitempty"` } type MessageDescriptionExtension struct { @@ -5071,20 +5071,20 @@ type ItemListDescription struct { // Item name. Must be unique within a list. - Name string `xml:"http://www.onvif.org/ver10/schema Name,attr,omitempty" json:"Name,omitempty"` + Name string `xml:"Name,attr,omitempty" json:"Name,omitempty"` - Type string `xml:"http://www.onvif.org/ver10/schema Type,attr,omitempty" json:"Type,omitempty"` + Type string `xml:"Type,attr,omitempty" json:"Type,omitempty"` } `xml:"SimpleItemDescription,omitempty" json:"SimpleItemDescription,omitempty"` ElementItemDescription []struct { // Item name. Must be unique within a list. - Name string `xml:"http://www.onvif.org/ver10/schema Name,attr,omitempty" json:"Name,omitempty"` + Name string `xml:"Name,attr,omitempty" json:"Name,omitempty"` // The type of the item. The Type must reference a defined type. - Type string `xml:"http://www.onvif.org/ver10/schema Type,attr,omitempty" json:"Type,omitempty"` + Type string `xml:"Type,attr,omitempty" json:"Type,omitempty"` } `xml:"ElementItemDescription,omitempty" json:"ElementItemDescription,omitempty"` Extension *ItemListDescriptionExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` @@ -5131,11 +5131,11 @@ type Config struct { // Name of the configuration. - Name string `xml:"http://www.onvif.org/ver10/schema Name,attr,omitempty" json:"Name,omitempty"` + Name string `xml:"Name,attr,omitempty" json:"Name,omitempty"` // The Type attribute specifies the type of rule and shall be equal to value of one of Name attributes of ConfigDescription elements returned by GetSupportedRules and GetSupportedAnalyticsModules command. - Type string `xml:"http://www.onvif.org/ver10/schema Type,attr,omitempty" json:"Type,omitempty"` + Type string `xml:"Type,attr,omitempty" json:"Type,omitempty"` } type ConfigDescription struct { @@ -5160,15 +5160,15 @@ type ConfigDescription struct { // The Name attribute (e.g. "tt::LineDetector") uniquely identifies the type of rule, not a type definition in a schema. - Name string `xml:"http://www.onvif.org/ver10/schema Name,attr,omitempty" json:"Name,omitempty"` + Name string `xml:"Name,attr,omitempty" json:"Name,omitempty"` // The fixed attribute signals that it is not allowed to add or remove this type of configuration. - Fixed bool `xml:"http://www.onvif.org/ver10/schema fixed,attr,omitempty" json:"fixed,omitempty"` + Fixed bool `xml:"fixed,attr,omitempty" json:"fixed,omitempty"` // The maxInstances attribute signals the maximum number of instances per configuration. - MaxInstances int32 `xml:"http://www.onvif.org/ver10/schema maxInstances,attr,omitempty" json:"maxInstances,omitempty"` + MaxInstances int32 `xml:"maxInstances,attr,omitempty" json:"maxInstances,omitempty"` } type ConfigDescriptionExtension struct { @@ -5189,7 +5189,7 @@ type SupportedRules struct { // Maximum number of concurrent instances. - Limit int32 `xml:"http://www.onvif.org/ver10/schema Limit,attr,omitempty" json:"Limit,omitempty"` + Limit int32 `xml:"Limit,attr,omitempty" json:"Limit,omitempty"` } type SupportedRulesExtension struct { @@ -5212,7 +5212,7 @@ type SupportedAnalyticsModules struct { // Maximum number of concurrent instances. - Limit int32 `xml:"http://www.onvif.org/ver10/schema Limit,attr,omitempty" json:"Limit,omitempty"` + Limit int32 `xml:"Limit,attr,omitempty" json:"Limit,omitempty"` } type SupportedAnalyticsModulesExtension struct { @@ -5250,7 +5250,7 @@ type MotionExpression struct { Items []string `xml:",any" json:"items,omitempty"` - Type string `xml:"http://www.onvif.org/ver10/schema Type,attr,omitempty" json:"Type,omitempty"` + Type string `xml:"Type,attr,omitempty" json:"Type,omitempty"` } type MotionExpressionConfiguration struct { @@ -5270,11 +5270,11 @@ type CellLayout struct { // Number of columns of the cell grid (x dimension) - Columns int32 `xml:"http://www.onvif.org/ver10/schema Columns,attr,omitempty" json:"Columns,omitempty"` + Columns int32 `xml:"Columns,attr,omitempty" json:"Columns,omitempty"` // Number of rows of the cell grid (y dimension) - Rows int32 `xml:"http://www.onvif.org/ver10/schema Rows,attr,omitempty" json:"Rows,omitempty"` + Rows int32 `xml:"Rows,attr,omitempty" json:"Rows,omitempty"` } type PaneConfiguration struct { @@ -5415,7 +5415,7 @@ type SourceReference struct { Items []string `xml:",any" json:"items,omitempty"` - Type string `xml:"http://www.onvif.org/ver10/schema Type,attr,omitempty" json:"Type,omitempty"` + Type string `xml:"Type,attr,omitempty" json:"Type,omitempty"` } type DateTimeRange struct { @@ -5732,7 +5732,7 @@ type MetadataAttributes struct { // List of all PTZ spaces active for recording. Note that events are only recorded on position changes and the actual point of recording may not necessarily contain an event of the specified type. - PtzSpaces *StringAttrList `xml:"http://www.onvif.org/ver10/schema PtzSpaces,attr,omitempty" json:"PtzSpaces,omitempty"` + PtzSpaces *StringAttrList `xml:"PtzSpaces,attr,omitempty" json:"PtzSpaces,omitempty"` } type RecordingConfiguration struct { @@ -5828,7 +5828,7 @@ type RecordingJobConfiguration struct { // If this optional field is provided the job shall only record if the schedule exists and is active. // - ScheduleToken string `xml:"http://www.onvif.org/ver10/schema ScheduleToken,attr,omitempty" json:"ScheduleToken,omitempty"` + ScheduleToken string `xml:"ScheduleToken,attr,omitempty" json:"ScheduleToken,omitempty"` } type RecordingJobConfigurationExtension struct { @@ -6170,7 +6170,7 @@ type OSDPosConfigurationExtension struct { type OSDColor struct { Color *Color `xml:"Color,omitempty" json:"Color,omitempty"` - Transparent int32 `xml:"http://www.onvif.org/ver10/schema Transparent,attr,omitempty" json:"Transparent,omitempty"` + Transparent int32 `xml:"Transparent,attr,omitempty" json:"Transparent,omitempty"` } type OSDTextConfiguration struct { @@ -6207,7 +6207,7 @@ type OSDTextConfiguration struct { // This flag is applicable for Type Plain and defaults to true. When set to false the PlainText content will not be persistent across device reboots. - IsPersistentText bool `xml:"http://www.onvif.org/ver10/schema IsPersistentText,attr,omitempty" json:"IsPersistentText,omitempty"` + IsPersistentText bool `xml:"IsPersistentText,attr,omitempty" json:"IsPersistentText,omitempty"` } type OSDTextConfigurationExtension struct { @@ -6311,19 +6311,19 @@ type OSDImgOptions struct { // List of supported image MIME types, such as "image/png". - FormatsSupported *StringAttrList `xml:"http://www.onvif.org/ver10/schema FormatsSupported,attr,omitempty" json:"FormatsSupported,omitempty"` + FormatsSupported *StringAttrList `xml:"FormatsSupported,attr,omitempty" json:"FormatsSupported,omitempty"` // The maximum size (in bytes) of the image that can be uploaded. - MaxSize int32 `xml:"http://www.onvif.org/ver10/schema MaxSize,attr,omitempty" json:"MaxSize,omitempty"` + MaxSize int32 `xml:"MaxSize,attr,omitempty" json:"MaxSize,omitempty"` // The maximum width (in pixels) of the image that can be uploaded. - MaxWidth int32 `xml:"http://www.onvif.org/ver10/schema MaxWidth,attr,omitempty" json:"MaxWidth,omitempty"` + MaxWidth int32 `xml:"MaxWidth,attr,omitempty" json:"MaxWidth,omitempty"` // The maximum height (in pixels) of the image that can be uploaded. - MaxHeight int32 `xml:"http://www.onvif.org/ver10/schema MaxHeight,attr,omitempty" json:"MaxHeight,omitempty"` + MaxHeight int32 `xml:"MaxHeight,attr,omitempty" json:"MaxHeight,omitempty"` } type OSDImgOptionsExtension struct { @@ -6360,17 +6360,17 @@ type OSDConfigurationExtension struct { } type MaximumNumberOfOSDs struct { - Total int32 `xml:"http://www.onvif.org/ver10/schema Total,attr,omitempty" json:"Total,omitempty"` + Total int32 `xml:"Total,attr,omitempty" json:"Total,omitempty"` - Image int32 `xml:"http://www.onvif.org/ver10/schema Image,attr,omitempty" json:"Image,omitempty"` + Image int32 `xml:"Image,attr,omitempty" json:"Image,omitempty"` - PlainText int32 `xml:"http://www.onvif.org/ver10/schema PlainText,attr,omitempty" json:"PlainText,omitempty"` + PlainText int32 `xml:"PlainText,attr,omitempty" json:"PlainText,omitempty"` - Date int32 `xml:"http://www.onvif.org/ver10/schema Date,attr,omitempty" json:"Date,omitempty"` + Date int32 `xml:"Date,attr,omitempty" json:"Date,omitempty"` - Time int32 `xml:"http://www.onvif.org/ver10/schema Time,attr,omitempty" json:"Time,omitempty"` + Time int32 `xml:"Time,attr,omitempty" json:"Time,omitempty"` - DateAndTime int32 `xml:"http://www.onvif.org/ver10/schema DateAndTime,attr,omitempty" json:"DateAndTime,omitempty"` + DateAndTime int32 `xml:"DateAndTime,attr,omitempty" json:"DateAndTime,omitempty"` } type OSDConfigurationOptions struct { diff --git a/pkg/generated/onvif/www_onvif_org/ver20/analytics/wsdl/0.go b/pkg/generated/onvif/www_onvif_org/ver20/analytics/wsdl/0.go index 67d231e..07fa12e 100644 --- a/pkg/generated/onvif/www_onvif_org/ver20/analytics/wsdl/0.go +++ b/pkg/generated/onvif/www_onvif_org/ver20/analytics/wsdl/0.go @@ -216,31 +216,31 @@ type Capabilities struct { // Indication that the device supports the rules interface and the rules syntax. - RuleSupport bool `xml:"http://www.onvif.org/ver20/analytics/wsdl RuleSupport,attr,omitempty" json:"RuleSupport,omitempty"` + RuleSupport bool `xml:"RuleSupport,attr,omitempty" json:"RuleSupport,omitempty"` // Indication that the device supports the scene analytics module interface. - AnalyticsModuleSupport bool `xml:"http://www.onvif.org/ver20/analytics/wsdl AnalyticsModuleSupport,attr,omitempty" json:"AnalyticsModuleSupport,omitempty"` + AnalyticsModuleSupport bool `xml:"AnalyticsModuleSupport,attr,omitempty" json:"AnalyticsModuleSupport,omitempty"` // Indication that the device produces the cell based scene description - CellBasedSceneDescriptionSupported bool `xml:"http://www.onvif.org/ver20/analytics/wsdl CellBasedSceneDescriptionSupported,attr,omitempty" json:"CellBasedSceneDescriptionSupported,omitempty"` + CellBasedSceneDescriptionSupported bool `xml:"CellBasedSceneDescriptionSupported,attr,omitempty" json:"CellBasedSceneDescriptionSupported,omitempty"` // Indication that the device supports the GetRuleOptions operation on the rules interface - RuleOptionsSupported bool `xml:"http://www.onvif.org/ver20/analytics/wsdl RuleOptionsSupported,attr,omitempty" json:"RuleOptionsSupported,omitempty"` + RuleOptionsSupported bool `xml:"RuleOptionsSupported,attr,omitempty" json:"RuleOptionsSupported,omitempty"` // Indication that the device supports the GetAnalyticsModuleOptions operation on the analytics interface - AnalyticsModuleOptionsSupported bool `xml:"http://www.onvif.org/ver20/analytics/wsdl AnalyticsModuleOptionsSupported,attr,omitempty" json:"AnalyticsModuleOptionsSupported,omitempty"` + AnalyticsModuleOptionsSupported bool `xml:"AnalyticsModuleOptionsSupported,attr,omitempty" json:"AnalyticsModuleOptionsSupported,omitempty"` // Indication that the device supports the GetSupportedMetadata operation. - SupportedMetadata bool `xml:"http://www.onvif.org/ver20/analytics/wsdl SupportedMetadata,attr,omitempty" json:"SupportedMetadata,omitempty"` + SupportedMetadata bool `xml:"SupportedMetadata,attr,omitempty" json:"SupportedMetadata,omitempty"` // Indication what kinds of method that the device support for sending image, acceptable values are defined in tt:ImageSendingType. - ImageSendingType *tt.StringList `xml:"http://www.onvif.org/ver20/analytics/wsdl ImageSendingType,attr,omitempty" json:"ImageSendingType,omitempty"` + ImageSendingType *tt.StringList `xml:"ImageSendingType,attr,omitempty" json:"ImageSendingType,omitempty"` } type ConfigOptions struct { @@ -250,14 +250,14 @@ type ConfigOptions struct { // The RuleType the ConfigOptions applies to if the Name attribute is ambiguous. // - RuleType string `xml:"http://www.onvif.org/ver20/analytics/wsdl RuleType,attr,omitempty" json:"RuleType,omitempty"` + RuleType string `xml:"RuleType,attr,omitempty" json:"RuleType,omitempty"` // // The Name of the SimpleItemDescription/ElementItemDescription // the ConfigOptions applies to. // - Name string `xml:"http://www.onvif.org/ver20/analytics/wsdl Name,attr,omitempty" json:"Name,omitempty"` + Name string `xml:"Name,attr,omitempty" json:"Name,omitempty"` // // Type of the Rule Options represented by a unique QName. @@ -265,25 +265,25 @@ type ConfigOptions struct { // This attribute is deprecated since its value must be identical to the embedded element. // - Type string `xml:"http://www.onvif.org/ver20/analytics/wsdl Type,attr,omitempty" json:"Type,omitempty"` + Type string `xml:"Type,attr,omitempty" json:"Type,omitempty"` // // Optional name of the analytics module this constraint applies to. This option is only necessary in cases where different constraints for elements with the same Name exist. // - AnalyticsModule string `xml:"http://www.onvif.org/ver20/analytics/wsdl AnalyticsModule,attr,omitempty" json:"AnalyticsModule,omitempty"` + AnalyticsModule string `xml:"AnalyticsModule,attr,omitempty" json:"AnalyticsModule,omitempty"` // // Minimal number of occurrences. Defaults to one. // - MinOccurs int32 `xml:"http://www.onvif.org/ver20/analytics/wsdl minOccurs,attr,omitempty" json:"minOccurs,omitempty"` + MinOccurs int32 `xml:"minOccurs,attr,omitempty" json:"minOccurs,omitempty"` // // Maximum number of occurrences. Defaults to one. // - MaxOccurs int32 `xml:"http://www.onvif.org/ver20/analytics/wsdl maxOccurs,attr,omitempty" json:"maxOccurs,omitempty"` + MaxOccurs int32 `xml:"maxOccurs,attr,omitempty" json:"maxOccurs,omitempty"` } type MetadataInfo struct { @@ -296,7 +296,7 @@ type MetadataInfo struct { // Reference to an AnalyticsModule Type. - Type string `xml:"http://www.onvif.org/ver20/analytics/wsdl Type,attr,omitempty" json:"Type,omitempty"` + Type string `xml:"Type,attr,omitempty" json:"Type,omitempty"` } type RuleEnginePort interface { diff --git a/pkg/generated/onvif/www_onvif_org/ver20/imaging/wsdl/0.go b/pkg/generated/onvif/www_onvif_org/ver20/imaging/wsdl/0.go index a813953..4a572c6 100644 --- a/pkg/generated/onvif/www_onvif_org/ver20/imaging/wsdl/0.go +++ b/pkg/generated/onvif/www_onvif_org/ver20/imaging/wsdl/0.go @@ -253,15 +253,15 @@ type Capabilities struct { // Indicates whether or not Image Stabilization feature is supported. // The use of this capability is deprecated, a client should use GetOption to find out if image stabilization is supported. - ImageStabilization bool `xml:"http://www.onvif.org/ver20/imaging/wsdl ImageStabilization,attr,omitempty" json:"ImageStabilization,omitempty"` + ImageStabilization bool `xml:"ImageStabilization,attr,omitempty" json:"ImageStabilization,omitempty"` // Indicates whether or not Imaging Presets feature is supported. - Presets bool `xml:"http://www.onvif.org/ver20/imaging/wsdl Presets,attr,omitempty" json:"Presets,omitempty"` + Presets bool `xml:"Presets,attr,omitempty" json:"Presets,omitempty"` // Indicates whether or not imaging preset settings can be updated. - AdaptablePreset bool `xml:"http://www.onvif.org/ver20/imaging/wsdl AdaptablePreset,attr,omitempty" json:"AdaptablePreset,omitempty"` + AdaptablePreset bool `xml:"AdaptablePreset,attr,omitempty" json:"AdaptablePreset,omitempty"` } type ImagingPreset struct { @@ -277,7 +277,7 @@ type ImagingPreset struct { // Indicates Imaging Preset Type. Use timg:ImagingPresetType. // Used for multi-language support and display. - Type string `xml:"http://www.onvif.org/ver20/imaging/wsdl type,attr,omitempty" json:"type,omitempty"` + Type string `xml:"type,attr,omitempty" json:"type,omitempty"` } type ImagingPort interface { diff --git a/pkg/generated/onvif/www_onvif_org/ver20/media/wsdl/0.go b/pkg/generated/onvif/www_onvif_org/ver20/media/wsdl/0.go index 8233390..75fb5e0 100644 --- a/pkg/generated/onvif/www_onvif_org/ver20/media/wsdl/0.go +++ b/pkg/generated/onvif/www_onvif_org/ver20/media/wsdl/0.go @@ -584,33 +584,33 @@ type Capabilities2 struct { // Indicates if GetSnapshotUri is supported. - SnapshotUri bool `xml:"http://www.onvif.org/ver20/media/wsdl SnapshotUri,attr,omitempty" json:"SnapshotUri,omitempty"` + SnapshotUri bool `xml:"SnapshotUri,attr,omitempty" json:"SnapshotUri,omitempty"` // Indicates whether or not Rotation feature is supported. - Rotation bool `xml:"http://www.onvif.org/ver20/media/wsdl Rotation,attr,omitempty" json:"Rotation,omitempty"` + Rotation bool `xml:"Rotation,attr,omitempty" json:"Rotation,omitempty"` // Indicates the support for changing video source mode. - VideoSourceMode bool `xml:"http://www.onvif.org/ver20/media/wsdl VideoSourceMode,attr,omitempty" json:"VideoSourceMode,omitempty"` + VideoSourceMode bool `xml:"VideoSourceMode,attr,omitempty" json:"VideoSourceMode,omitempty"` // Indicates if OSD is supported. - OSD bool `xml:"http://www.onvif.org/ver20/media/wsdl OSD,attr,omitempty" json:"OSD,omitempty"` + OSD bool `xml:"OSD,attr,omitempty" json:"OSD,omitempty"` // Indicates the support for temporary osd text configuration. - TemporaryOSDText bool `xml:"http://www.onvif.org/ver20/media/wsdl TemporaryOSDText,attr,omitempty" json:"TemporaryOSDText,omitempty"` + TemporaryOSDText bool `xml:"TemporaryOSDText,attr,omitempty" json:"TemporaryOSDText,omitempty"` // Indicates if Masking is supported. - Mask bool `xml:"http://www.onvif.org/ver20/media/wsdl Mask,attr,omitempty" json:"Mask,omitempty"` + Mask bool `xml:"Mask,attr,omitempty" json:"Mask,omitempty"` // Indicates that privacy masks are only supported at the video source level and not the video source configuration level. // If this is true any addition, deletion or change of a privacy mask done for one video source configuration will automatically be // applied by the device to a corresponding privacy mask for all other video source configuration associated with the same video source. - SourceMask bool `xml:"http://www.onvif.org/ver20/media/wsdl SourceMask,attr,omitempty" json:"SourceMask,omitempty"` + SourceMask bool `xml:"SourceMask,attr,omitempty" json:"SourceMask,omitempty"` } type ProfileCapabilities struct { @@ -618,11 +618,11 @@ type ProfileCapabilities struct { // Maximum number of profiles supported. - MaximumNumberOfProfiles int32 `xml:"http://www.onvif.org/ver20/media/wsdl MaximumNumberOfProfiles,attr,omitempty" json:"MaximumNumberOfProfiles,omitempty"` + MaximumNumberOfProfiles int32 `xml:"MaximumNumberOfProfiles,attr,omitempty" json:"MaximumNumberOfProfiles,omitempty"` // The configurations supported by the device as defined by tr2:ConfigurationEnumeration. The enumeration value "All" shall not be included in this list. - ConfigurationsSupported *tt.StringAttrList `xml:"http://www.onvif.org/ver20/media/wsdl ConfigurationsSupported,attr,omitempty" json:"ConfigurationsSupported,omitempty"` + ConfigurationsSupported *tt.StringAttrList `xml:"ConfigurationsSupported,attr,omitempty" json:"ConfigurationsSupported,omitempty"` } type StreamingCapabilities struct { @@ -630,27 +630,27 @@ type StreamingCapabilities struct { // Indicates support for live media streaming via RTSP. - RTSPStreaming bool `xml:"http://www.onvif.org/ver20/media/wsdl RTSPStreaming,attr,omitempty" json:"RTSPStreaming,omitempty"` + RTSPStreaming bool `xml:"RTSPStreaming,attr,omitempty" json:"RTSPStreaming,omitempty"` // Indicates support for RTP multicast. - RTPMulticast bool `xml:"http://www.onvif.org/ver20/media/wsdl RTPMulticast,attr,omitempty" json:"RTPMulticast,omitempty"` + RTPMulticast bool `xml:"RTPMulticast,attr,omitempty" json:"RTPMulticast,omitempty"` // Indicates support for RTP/RTSP/TCP. - RTP_RTSP_TCP bool `xml:"http://www.onvif.org/ver20/media/wsdl RTP_RTSP_TCP,attr,omitempty" json:"RTP_RTSP_TCP,omitempty"` + RTP_RTSP_TCP bool `xml:"RTP_RTSP_TCP,attr,omitempty" json:"RTP_RTSP_TCP,omitempty"` // Indicates support for non aggregate RTSP control. - NonAggregateControl bool `xml:"http://www.onvif.org/ver20/media/wsdl NonAggregateControl,attr,omitempty" json:"NonAggregateControl,omitempty"` + NonAggregateControl bool `xml:"NonAggregateControl,attr,omitempty" json:"NonAggregateControl,omitempty"` // If streaming over WebSocket is supported, this shall return the RTSP WebSocket URI as described in Streaming Specification Section 5.1.1.5. - RTSPWebSocketUri string `xml:"http://www.onvif.org/ver20/media/wsdl RTSPWebSocketUri,attr,omitempty" json:"RTSPWebSocketUri,omitempty"` + RTSPWebSocketUri string `xml:"RTSPWebSocketUri,attr,omitempty" json:"RTSPWebSocketUri,omitempty"` // Indicates support for non-RTSP controlled multicast streaming. - AutoStartMulticast bool `xml:"http://www.onvif.org/ver20/media/wsdl AutoStartMulticast,attr,omitempty" json:"AutoStartMulticast,omitempty"` + AutoStartMulticast bool `xml:"AutoStartMulticast,attr,omitempty" json:"AutoStartMulticast,omitempty"` } type ConfigurationRef struct { @@ -724,7 +724,7 @@ type MediaProfile struct { // A value of true signals that the profile cannot be deleted. Default is false. - Fixed bool `xml:"http://www.onvif.org/ver20/media/wsdl fixed,attr,omitempty" json:"fixed,omitempty"` + Fixed bool `xml:"fixed,attr,omitempty" json:"fixed,omitempty"` } type GetConfiguration struct { @@ -793,7 +793,7 @@ type VideoSourceMode struct { // Indication of whether this mode is active. If active this value is true. In case of non-indication, it means as false. The value of true shall be had by only one video source mode. - Enabled bool `xml:"http://www.onvif.org/ver20/media/wsdl Enabled,attr,omitempty" json:"Enabled,omitempty"` + Enabled bool `xml:"Enabled,attr,omitempty" json:"Enabled,omitempty"` } type Mask struct { @@ -840,11 +840,11 @@ type MaskOptions struct { // Information whether the polygon must have four points and a rectangular shape. - RectangleOnly bool `xml:"http://www.onvif.org/ver20/media/wsdl RectangleOnly,attr,omitempty" json:"RectangleOnly,omitempty"` + RectangleOnly bool `xml:"RectangleOnly,attr,omitempty" json:"RectangleOnly,omitempty"` // Indicates the device capability of change in color of privacy mask for one video source configuration will automatically be applied to all the privacy masks associated with the same video source configuration. - SingleColorOnly bool `xml:"http://www.onvif.org/ver20/media/wsdl SingleColorOnly,attr,omitempty" json:"SingleColorOnly,omitempty"` + SingleColorOnly bool `xml:"SingleColorOnly,attr,omitempty" json:"SingleColorOnly,omitempty"` } type Media2 interface { diff --git a/pkg/generated/onvif/www_onvif_org/ver20/ptz/wsdl/0.go b/pkg/generated/onvif/www_onvif_org/ver20/ptz/wsdl/0.go index ec5b75f..140d5a7 100644 --- a/pkg/generated/onvif/www_onvif_org/ver20/ptz/wsdl/0.go +++ b/pkg/generated/onvif/www_onvif_org/ver20/ptz/wsdl/0.go @@ -506,27 +506,27 @@ type Capabilities struct { // Indicates whether or not EFlip is supported. - EFlip bool `xml:"http://www.onvif.org/ver20/ptz/wsdl EFlip,attr,omitempty" json:"EFlip,omitempty"` + EFlip bool `xml:"EFlip,attr,omitempty" json:"EFlip,omitempty"` // Indicates whether or not reversing of PT control direction is supported. - Reverse bool `xml:"http://www.onvif.org/ver20/ptz/wsdl Reverse,attr,omitempty" json:"Reverse,omitempty"` + Reverse bool `xml:"Reverse,attr,omitempty" json:"Reverse,omitempty"` // Indicates support for the GetCompatibleConfigurations command. - GetCompatibleConfigurations bool `xml:"http://www.onvif.org/ver20/ptz/wsdl GetCompatibleConfigurations,attr,omitempty" json:"GetCompatibleConfigurations,omitempty"` + GetCompatibleConfigurations bool `xml:"GetCompatibleConfigurations,attr,omitempty" json:"GetCompatibleConfigurations,omitempty"` // Indicates that the PTZStatus includes MoveStatus information. - MoveStatus bool `xml:"http://www.onvif.org/ver20/ptz/wsdl MoveStatus,attr,omitempty" json:"MoveStatus,omitempty"` + MoveStatus bool `xml:"MoveStatus,attr,omitempty" json:"MoveStatus,omitempty"` // Indicates that the PTZStatus includes Position information. - StatusPosition bool `xml:"http://www.onvif.org/ver20/ptz/wsdl StatusPosition,attr,omitempty" json:"StatusPosition,omitempty"` + StatusPosition bool `xml:"StatusPosition,attr,omitempty" json:"StatusPosition,omitempty"` // Indication of the methods of MoveAndTrack that are supported, acceptable values are defined in tt:MoveAndTrackMethod. - MoveAndTrack *tt.StringList `xml:"http://www.onvif.org/ver20/ptz/wsdl MoveAndTrack,attr,omitempty" json:"MoveAndTrack,omitempty"` + MoveAndTrack *tt.StringList `xml:"MoveAndTrack,attr,omitempty" json:"MoveAndTrack,omitempty"` } type PTZ interface { diff --git a/pkg/generated/onvif/www_onvif_org/ver20/schema/0.go b/pkg/generated/onvif/www_onvif_org/ver20/schema/0.go index 9765e1a..efd0767 100644 --- a/pkg/generated/onvif/www_onvif_org/ver20/schema/0.go +++ b/pkg/generated/onvif/www_onvif_org/ver20/schema/0.go @@ -165,7 +165,7 @@ type ShapeDescriptorExtension struct { type StringLikelihood struct { Value string `xml:",chardata" json:",omitempty"` - Likelihood float32 `xml:"http://www.onvif.org/ver10/schema Likelihood,attr,omitempty" json:"Likelihood,omitempty"` + Likelihood float32 `xml:"Likelihood,attr,omitempty" json:"Likelihood,omitempty"` } type ClassDescriptor struct { @@ -224,7 +224,7 @@ type Object struct { // Object ID of the parent object. eg: License plate object has Vehicle object as parent. - Parent int32 `xml:"http://www.onvif.org/ver10/schema Parent,attr,omitempty" json:"Parent,omitempty"` + Parent int32 `xml:"Parent,attr,omitempty" json:"Parent,omitempty"` } type ObjectExtension struct { @@ -250,15 +250,15 @@ type Frame struct { Items []string `xml:",any" json:"items,omitempty"` - UtcTime soap.XSDDateTime `xml:"http://www.onvif.org/ver10/schema UtcTime,attr,omitempty" json:"UtcTime,omitempty"` + UtcTime soap.XSDDateTime `xml:"UtcTime,attr,omitempty" json:"UtcTime,omitempty"` // Default color space of Color definitions in frame. Valid values are "RGB" and "YCbCr". Defaults to "YCbCr". - Colorspace string `xml:"http://www.onvif.org/ver10/schema Colorspace,attr,omitempty" json:"Colorspace,omitempty"` + Colorspace string `xml:"Colorspace,attr,omitempty" json:"Colorspace,omitempty"` // Optional name of the analytics module that generated this frame. - Source string `xml:"http://www.onvif.org/ver10/schema Source,attr,omitempty" json:"Source,omitempty"` + Source string `xml:"Source,attr,omitempty" json:"Source,omitempty"` } type FrameExtension struct { @@ -296,7 +296,7 @@ type Rename struct { } type ObjectId struct { - ObjectId int32 `xml:"http://www.onvif.org/ver10/schema ObjectId,attr,omitempty" json:"ObjectId,omitempty"` + ObjectId int32 `xml:"ObjectId,attr,omitempty" json:"ObjectId,omitempty"` } type Behaviour struct { @@ -344,15 +344,15 @@ type MotionInCells struct { // Number of columns of the cell grid (x dimension) - Columns int32 `xml:"http://www.onvif.org/ver10/schema Columns,attr,omitempty" json:"Columns,omitempty"` + Columns int32 `xml:"Columns,attr,omitempty" json:"Columns,omitempty"` // Number of rows of the cell grid (y dimension) - Rows int32 `xml:"http://www.onvif.org/ver10/schema Rows,attr,omitempty" json:"Rows,omitempty"` + Rows int32 `xml:"Rows,attr,omitempty" json:"Rows,omitempty"` // A “1” denotes a cell where motion is detected and a “0” an empty cell. The first cell is in the upper left corner. Then the cell order goes first from left to right and then from up to down. If the number of cells is not a multiple of 8 the last byte is filled with zeros. The information is run length encoded according to Packbit coding in ISO 12369 (TIFF, Revision 6.0). - Cells []byte `xml:"http://www.onvif.org/ver10/schema Cells,attr,omitempty" json:"Cells,omitempty"` + Cells []byte `xml:"Cells,attr,omitempty" json:"Cells,omitempty"` } type MetadataStream struct { @@ -392,7 +392,7 @@ type AudioAnalyticsStream struct { type AudioDescriptor struct { Items []string `xml:",any" json:"items,omitempty"` - UtcTime soap.XSDDateTime `xml:"http://www.onvif.org/ver10/schema UtcTime,attr,omitempty" json:"UtcTime,omitempty"` + UtcTime soap.XSDDateTime `xml:"UtcTime,attr,omitempty" json:"UtcTime,omitempty"` } type AudioAnalyticsStreamExtension struct { diff --git a/pkg/generated/onvif/www_w3_org/2003/05/soapenvelope/0.go b/pkg/generated/onvif/www_w3_org/2003/05/soapenvelope/0.go index 44af7ac..5162917 100644 --- a/pkg/generated/onvif/www_w3_org/2003/05/soapenvelope/0.go +++ b/pkg/generated/onvif/www_w3_org/2003/05/soapenvelope/0.go @@ -66,7 +66,7 @@ type Reasontext struct { Value string `xml:",chardata" json:",omitempty"` - EmptyString string `xml:"http://www.w3.org/2003/05/soap-envelope ,attr,omitempty" json:",omitempty"` + EmptyString string `xml:",attr,omitempty" json:",omitempty"` } type Faultcode struct { @@ -94,13 +94,13 @@ type Detail struct { type NotUnderstoodType struct { XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope NotUnderstood" json:"-"` - Qname string `xml:"http://www.w3.org/2003/05/soap-envelope qname,attr,omitempty" json:"qname,omitempty"` + Qname string `xml:"qname,attr,omitempty" json:"qname,omitempty"` } type SupportedEnvType struct { XMLName xml.Name `xml:"http://www.w3.org/2003/05/soap-envelope SupportedEnvelope" json:"-"` - Qname string `xml:"http://www.w3.org/2003/05/soap-envelope qname,attr,omitempty" json:"qname,omitempty"` + Qname string `xml:"qname,attr,omitempty" json:"qname,omitempty"` } type UpgradeType struct { diff --git a/pkg/generated/onvif/www_w3_org/2004/08/xop/include/0.go b/pkg/generated/onvif/www_w3_org/2004/08/xop/include/0.go index 329aac2..a05e69b 100644 --- a/pkg/generated/onvif/www_w3_org/2004/08/xop/include/0.go +++ b/pkg/generated/onvif/www_w3_org/2004/08/xop/include/0.go @@ -18,5 +18,5 @@ var _ soap.SOAPEnvelope type Include struct { Items []string `xml:",any" json:"items,omitempty"` - Href string `xml:"http://www.w3.org/2004/08/xop/include href,attr,omitempty" json:"href,omitempty"` + Href string `xml:"href,attr,omitempty" json:"href,omitempty"` } diff --git a/pkg/generated/onvif/www_w3_org/2005/05/xmlmime/0.go b/pkg/generated/onvif/www_w3_org/2005/05/xmlmime/0.go index ffd60d9..815f143 100644 --- a/pkg/generated/onvif/www_w3_org/2005/05/xmlmime/0.go +++ b/pkg/generated/onvif/www_w3_org/2005/05/xmlmime/0.go @@ -20,11 +20,11 @@ type Base64Binary struct { Value []byte `xml:",chardata" json:",omitempty"` - ContentType string `xml:"http://www.w3.org/2005/05/xmlmime contentType,attr,omitempty" json:"contentType,omitempty"` + ContentType string `xml:"contentType,attr,omitempty" json:"contentType,omitempty"` } type HexBinary struct { Value []byte `xml:",chardata" json:",omitempty"` - ContentType string `xml:"http://www.w3.org/2005/05/xmlmime contentType,attr,omitempty" json:"contentType,omitempty"` + ContentType string `xml:"contentType,attr,omitempty" json:"contentType,omitempty"` } diff --git a/pkg/generated/onvif/www_w3_org/2005/08/addressing/0.go b/pkg/generated/onvif/www_w3_org/2005/08/addressing/0.go index 2cc62d0..50220fb 100644 --- a/pkg/generated/onvif/www_w3_org/2005/08/addressing/0.go +++ b/pkg/generated/onvif/www_w3_org/2005/08/addressing/0.go @@ -106,7 +106,7 @@ type RelatesToType struct { Value string `xml:",chardata" json:",omitempty"` - RelationshipType *RelationshipTypeOpenEnum `xml:"http://www.w3.org/2005/08/addressing RelationshipType,attr,omitempty" json:"RelationshipType,omitempty"` + RelationshipType *RelationshipTypeOpenEnum `xml:"RelationshipType,attr,omitempty" json:"RelationshipType,omitempty"` } type AttributedURIType string