mirror of
https://github.com/kerberos-io/onvif.git
synced 2025-10-22 07:20:12 +08:00
Devicemgmt added
This commit is contained in:
274
Device/types.go
274
Device/types.go
@@ -83,27 +83,28 @@ type MiscCapabilities struct {
|
||||
|
||||
type StorageConfiguration struct {
|
||||
onvif.DeviceEntity
|
||||
Data StorageConfigurationData
|
||||
Data StorageConfigurationData `xml:"wsdl:Data"`
|
||||
}
|
||||
|
||||
type StorageConfigurationData struct {
|
||||
Type xsd.String `xml:"type,attr"`
|
||||
LocalPath xsd.AnyURI
|
||||
StorageUri xsd.AnyURI
|
||||
User UserCredential
|
||||
Extension xsd.AnyURI
|
||||
LocalPath xsd.AnyURI `xml:"wsdl:LocalPath"`
|
||||
StorageUri xsd.AnyURI `xml:"wsdl:StorageUri"`
|
||||
User UserCredential `xml:"wsdl:User"`
|
||||
Extension xsd.AnyURI `xml:"wsdl:Extension"`
|
||||
}
|
||||
|
||||
type UserCredential struct {
|
||||
UserName xsd.String
|
||||
Password xsd.String
|
||||
Extension xsd.AnyType
|
||||
UserName xsd.String `xml:"wsdl:UserName"`
|
||||
Password xsd.String `xml:"wsdl:Password"`
|
||||
Extension xsd.AnyType `xml:"wsdl:Extension"`
|
||||
}
|
||||
|
||||
//Device main types
|
||||
|
||||
type GetServices struct {
|
||||
IncludeCapability xsd.Boolean
|
||||
XMLName string `xml:"wsdl:GetServices"`
|
||||
IncludeCapability xsd.Boolean `xml:"wsdl:IncludeCapability"`
|
||||
|
||||
}
|
||||
|
||||
@@ -115,6 +116,7 @@ type GetServicesResponse struct {
|
||||
|
||||
|
||||
type GetServiceCapabilities struct {
|
||||
XMLName string `xml:"wsdl:GetServiceCapabilities"`
|
||||
|
||||
}
|
||||
|
||||
@@ -126,7 +128,6 @@ type GetServiceCapabilitiesResponse struct {
|
||||
|
||||
type GetDeviceInformation struct {
|
||||
XMLName string `xml:"wsdl:GetDeviceInformation"`
|
||||
nmsp string `xml:"wsdl:"`
|
||||
}
|
||||
|
||||
|
||||
@@ -141,10 +142,11 @@ type GetDeviceInformationResponse struct {
|
||||
|
||||
|
||||
type SetSystemDateAndTime struct {
|
||||
DateTimeType onvif.SetDateTimeType
|
||||
DaylightSavings xsd.Boolean
|
||||
TimeZone onvif.TimeZone
|
||||
UTCDateTime xsd.DateTime
|
||||
XMLName string `xml:"wsdl:SetSystemDateAndTime"`
|
||||
DateTimeType onvif.SetDateTimeType `xml:"wsdl:DateTimeType"`
|
||||
DaylightSavings xsd.Boolean `xml:"wsdl:DaylightSavings"`
|
||||
TimeZone onvif.TimeZone `xml:"wsdl:TimeZone"`
|
||||
UTCDateTime onvif.DateTime `xml:"wsdl:UTCDateTime"`
|
||||
}
|
||||
|
||||
|
||||
@@ -154,6 +156,7 @@ type SetSystemDateAndTimeResponse struct {
|
||||
|
||||
|
||||
type GetSystemDateAndTime struct {
|
||||
XMLName string `xml:"wsdl:GetSystemDateAndTime"`
|
||||
|
||||
}
|
||||
|
||||
@@ -165,7 +168,8 @@ type GetSystemDateAndTimeResponse struct {
|
||||
|
||||
|
||||
type SetSystemFactoryDefault struct {
|
||||
FactoryDefault onvif.FactoryDefaultType
|
||||
XMLName string `xml:"wsdl:SetSystemFactoryDefault"`
|
||||
FactoryDefault onvif.FactoryDefaultType `xml:"wsdl:FactoryDefault"`
|
||||
|
||||
}
|
||||
|
||||
@@ -176,7 +180,8 @@ type SetSystemFactoryDefaultResponse struct {
|
||||
|
||||
|
||||
type UpgradeSystemFirmware struct {
|
||||
Firmware onvif.AttachmentData
|
||||
XMLName string `xml:"wsdl:UpgradeSystemFirmware"`
|
||||
Firmware onvif.AttachmentData `xml:"wsdl:Firmware"`
|
||||
|
||||
}
|
||||
|
||||
@@ -188,6 +193,7 @@ type UpgradeSystemFirmwareResponse struct {
|
||||
|
||||
|
||||
type SystemReboot struct {
|
||||
XMLName string `xml:"wsdl:SystemReboot"`
|
||||
|
||||
}
|
||||
|
||||
@@ -197,9 +203,10 @@ type SystemRebootResponse struct {
|
||||
|
||||
}
|
||||
|
||||
|
||||
//TODO: one or more repetitions
|
||||
type RestoreSystem struct {
|
||||
BackupFiles onvif.BackupFile
|
||||
XMLName string `xml:"wsdl:RestoreSystem"`
|
||||
BackupFiles onvif.BackupFile `xml:"wsdl:BackupFiles"`
|
||||
|
||||
}
|
||||
|
||||
@@ -210,6 +217,7 @@ type RestoreSystemResponse struct {
|
||||
|
||||
|
||||
type GetSystemBackup struct {
|
||||
XMLName string `xml:"wsdl:GetSystemBackup"`
|
||||
|
||||
}
|
||||
|
||||
@@ -221,7 +229,8 @@ type GetSystemBackupResponse struct {
|
||||
|
||||
|
||||
type GetSystemLog struct {
|
||||
LogType onvif.SystemLogType
|
||||
XMLName string `xml:"wsdl:GetSystemLog"`
|
||||
LogType onvif.SystemLogType `xml:"wsdl:LogType"`
|
||||
|
||||
}
|
||||
|
||||
@@ -233,6 +242,7 @@ type GetSystemLogResponse struct {
|
||||
|
||||
|
||||
type GetSystemSupportInformation struct {
|
||||
XMLName string `xml:"wsdl:GetSystemSupportInformation"`
|
||||
|
||||
}
|
||||
|
||||
@@ -244,6 +254,7 @@ type GetSystemSupportInformationResponse struct {
|
||||
|
||||
|
||||
type GetScopes struct {
|
||||
XMLName string `xml:"wsdl:GetScopes"`
|
||||
|
||||
}
|
||||
|
||||
@@ -253,9 +264,10 @@ type GetScopesResponse struct {
|
||||
|
||||
}
|
||||
|
||||
|
||||
//TODO: one or more scopes
|
||||
type SetScopes struct {
|
||||
Scopes xsd.AnyURI
|
||||
XMLName string `xml:"wsdl:SetScopes"`
|
||||
Scopes xsd.AnyURI `xml:"wsdl:Scopes"`
|
||||
|
||||
}
|
||||
|
||||
@@ -264,9 +276,10 @@ type SetScopesResponse struct {
|
||||
|
||||
}
|
||||
|
||||
|
||||
//TODO: list of scopes
|
||||
type AddScopes struct {
|
||||
ScopeItem xsd.AnyURI
|
||||
XMLName string `xml:"wsdl:AddScopes"`
|
||||
ScopeItem xsd.AnyURI`xml:"wsdl:ScopeItem"`
|
||||
|
||||
}
|
||||
|
||||
@@ -275,9 +288,10 @@ type AddScopesResponse struct {
|
||||
|
||||
}
|
||||
|
||||
|
||||
//TODO: One or more repetitions
|
||||
type RemoveScopes struct {
|
||||
ScopeItem xsd.AnyURI
|
||||
XMLName string `xml:"wsdl:RemoveScopes"`
|
||||
ScopeItem xsd.AnyURI `xml:"onvif:ScopeItem"`
|
||||
|
||||
}
|
||||
|
||||
@@ -289,6 +303,7 @@ type RemoveScopesResponse struct {
|
||||
|
||||
|
||||
type GetDiscoveryMode struct {
|
||||
XMLName string `xml:"wsdl:GetDiscoveryMode"`
|
||||
|
||||
}
|
||||
|
||||
@@ -300,7 +315,8 @@ type GetDiscoveryModeResponse struct {
|
||||
|
||||
|
||||
type SetDiscoveryMode struct {
|
||||
DiscoveryMode onvif.DiscoveryMode
|
||||
XMLName string `xml:"wsdl:SetDiscoveryMode"`
|
||||
DiscoveryMode onvif.DiscoveryMode `xml:"wsdl:DiscoveryMode"`
|
||||
|
||||
}
|
||||
|
||||
@@ -311,6 +327,7 @@ type SetDiscoveryModeResponse struct {
|
||||
|
||||
|
||||
type GetRemoteDiscoveryMode struct {
|
||||
XMLName string `xml:"wsdl:GetRemoteDiscoveryMode"`
|
||||
|
||||
}
|
||||
|
||||
@@ -322,7 +339,8 @@ type GetRemoteDiscoveryModeResponse struct {
|
||||
|
||||
|
||||
type SetRemoteDiscoveryMode struct {
|
||||
RemoteDiscoveryMode onvif.DiscoveryMode
|
||||
XMLName string `xml:"wsdl:SetRemoteDiscoveryMode"`
|
||||
RemoteDiscoveryMode onvif.DiscoveryMode `xml:"wsdl:RemoteDiscoveryMode"`
|
||||
|
||||
}
|
||||
|
||||
@@ -333,6 +351,7 @@ type SetRemoteDiscoveryModeResponse struct {
|
||||
|
||||
|
||||
type GetDPAddresses struct {
|
||||
XMLName string `xml:"wsdl:GetDPAddresses"`
|
||||
|
||||
}
|
||||
|
||||
@@ -344,7 +363,8 @@ type GetDPAddressesResponse struct {
|
||||
|
||||
|
||||
type SetDPAddresses struct {
|
||||
DPAddress onvif.NetworkHost
|
||||
XMLName string `xml:"wsdl:SetDPAddresses"`
|
||||
DPAddress onvif.NetworkHost `xml:"wsdl:DPAddress"`
|
||||
|
||||
}
|
||||
|
||||
@@ -355,6 +375,7 @@ type SetDPAddressesResponse struct {
|
||||
|
||||
|
||||
type GetEndpointReference struct {
|
||||
XMLName string `xml:"wsdl:GetEndpointReference"`
|
||||
|
||||
}
|
||||
|
||||
@@ -366,6 +387,7 @@ type GetEndpointReferenceResponse struct {
|
||||
|
||||
|
||||
type GetRemoteUser struct {
|
||||
XMLName string `xml:"wsdl:GetRemoteUser"`
|
||||
|
||||
}
|
||||
|
||||
@@ -377,7 +399,8 @@ type GetRemoteUserResponse struct {
|
||||
|
||||
|
||||
type SetRemoteUser struct {
|
||||
RemoteUser onvif.RemoteUser
|
||||
XMLName string `xml:"wsdl:SetRemoteUser"`
|
||||
RemoteUser onvif.RemoteUser `xml:"wsdl:RemoteUser"`
|
||||
|
||||
}
|
||||
|
||||
@@ -388,6 +411,7 @@ type SetRemoteUserResponse struct {
|
||||
|
||||
|
||||
type GetUsers struct {
|
||||
XMLName string `xml:"wsdl:GetUsers"`
|
||||
|
||||
}
|
||||
|
||||
@@ -397,9 +421,10 @@ type GetUsersResponse struct {
|
||||
|
||||
}
|
||||
|
||||
|
||||
//TODO: List of users
|
||||
type CreateUsers struct {
|
||||
User onvif.User
|
||||
XMLName string `xml:"wsdl:CreateUsers"`
|
||||
User onvif.User `xml:"wsdl:User,omitempty"`
|
||||
|
||||
}
|
||||
|
||||
@@ -408,9 +433,10 @@ type CreateUsersResponse struct {
|
||||
|
||||
}
|
||||
|
||||
|
||||
//TODO: one or more Username
|
||||
type DeleteUsers struct {
|
||||
Username string
|
||||
XMLName xsd.String `xml:"wsdl:DeleteUsers"`
|
||||
Username xsd.String `xml:"wsdl:Username"`
|
||||
|
||||
}
|
||||
|
||||
@@ -421,7 +447,8 @@ type DeleteUsersResponse struct {
|
||||
|
||||
|
||||
type SetUser struct {
|
||||
User onvif.User
|
||||
XMLName string `xml:"wsdl:SetUser"`
|
||||
User onvif.User `xml:"wsdl:User"`
|
||||
|
||||
}
|
||||
|
||||
@@ -432,6 +459,7 @@ type SetUserResponse struct {
|
||||
|
||||
|
||||
type GetWsdlUrl struct {
|
||||
XMLName string `xml:"wsdl:GetWsdlUrl"`
|
||||
|
||||
}
|
||||
|
||||
@@ -443,7 +471,8 @@ type GetWsdlUrlResponse struct {
|
||||
|
||||
|
||||
type GetCapabilities struct {
|
||||
Category onvif.CapabilityCategory
|
||||
XMLName string `xml:"wsdl:GetCapabilities"`
|
||||
Category onvif.CapabilityCategory `xml:"wsdl:Category"`
|
||||
|
||||
}
|
||||
|
||||
@@ -466,7 +495,8 @@ type GetHostnameResponse struct {
|
||||
|
||||
|
||||
type SetHostname struct {
|
||||
Name xsd.Token
|
||||
XMLName string `xml:"wsdl:SetHostname"`
|
||||
Name xsd.Token `xml:"wsdl:Name"`
|
||||
|
||||
}
|
||||
|
||||
@@ -477,7 +507,8 @@ type SetHostnameResponse struct {
|
||||
|
||||
|
||||
type SetHostnameFromDHCP struct {
|
||||
FromDHCP xsd.Boolean
|
||||
XMLName string `xml:"wsdl:SetHostnameFromDHCP"`
|
||||
FromDHCP xsd.Boolean `xml:"wsdl:FromDHCP"`
|
||||
|
||||
}
|
||||
|
||||
@@ -489,6 +520,7 @@ type SetHostnameFromDHCPResponse struct {
|
||||
|
||||
|
||||
type GetDNS struct {
|
||||
XMLName string `xml:"wsdl:GetDNS"`
|
||||
|
||||
}
|
||||
|
||||
@@ -500,9 +532,10 @@ type GetDNSResponse struct {
|
||||
|
||||
|
||||
type SetDNS struct {
|
||||
FromDHCP xsd.Boolean
|
||||
SearchDomain xsd.Token
|
||||
DNSManual onvif.IPAddress
|
||||
XMLName string `xml:"wsdl:SetDNS"`
|
||||
FromDHCP xsd.Boolean `xml:"wsdl:FromDHCP"`
|
||||
SearchDomain xsd.Token `xml:"wsdl:SearchDomain"`
|
||||
DNSManual onvif.IPAddress `xml:"wsdl:DNSManual"`
|
||||
|
||||
}
|
||||
|
||||
@@ -513,6 +546,7 @@ type SetDNSResponse struct {
|
||||
|
||||
|
||||
type GetNTP struct {
|
||||
XMLName string `xml:"wsdl:GetNTP"`
|
||||
|
||||
}
|
||||
|
||||
@@ -524,8 +558,9 @@ type GetNTPResponse struct {
|
||||
|
||||
|
||||
type SetNTP struct {
|
||||
FromDHCP xsd.Boolean
|
||||
NTPManual onvif.NetworkHost
|
||||
XMLName string `xml:"wsdl:SetNTP"`
|
||||
FromDHCP xsd.Boolean `xml:"wsdl:FromDHCP"`
|
||||
NTPManual onvif.NetworkHost `xml:"wsdl:NTPManual"`
|
||||
|
||||
}
|
||||
|
||||
@@ -536,6 +571,7 @@ type SetNTPResponse struct {
|
||||
|
||||
|
||||
type GetDynamicDNS struct {
|
||||
XMLName string `xml:"wsdl:GetDynamicDNS"`
|
||||
|
||||
}
|
||||
|
||||
@@ -547,9 +583,10 @@ type GetDynamicDNSResponse struct {
|
||||
|
||||
|
||||
type SetDynamicDNS struct {
|
||||
Type onvif.DynamicDNSType
|
||||
Name onvif.DNSName
|
||||
TTL xsd.Duration
|
||||
XMLName string `xml:"wsdl:SetDynamicDNS"`
|
||||
Type onvif.DynamicDNSType `xml:"wsdl:Type"`
|
||||
Name onvif.DNSName `xml:"wsdl:Name"`
|
||||
TTL xsd.Duration `xml:"wsdl:TTL"`
|
||||
|
||||
}
|
||||
|
||||
@@ -560,6 +597,7 @@ type SetDynamicDNSResponse struct {
|
||||
|
||||
|
||||
type GetNetworkInterfaces struct {
|
||||
XMLName string `xml:"wsdl:GetNetworkInterfaces"`
|
||||
|
||||
}
|
||||
|
||||
@@ -571,8 +609,9 @@ type GetNetworkInterfacesResponse struct {
|
||||
|
||||
|
||||
type SetNetworkInterfaces struct {
|
||||
InterfaceToken onvif.ReferenceToken
|
||||
NetworkInterface onvif.NetworkInterfaceSetConfiguration
|
||||
XMLName string `xml:"wsdl:SetNetworkInterfaces"`
|
||||
InterfaceToken onvif.ReferenceToken `xml:"wsdl:InterfaceToken"`
|
||||
NetworkInterface onvif.NetworkInterfaceSetConfiguration `xml:"wsdl:NetworkInterface"`
|
||||
|
||||
}
|
||||
|
||||
@@ -584,6 +623,7 @@ type SetNetworkInterfacesResponse struct {
|
||||
|
||||
|
||||
type GetNetworkProtocols struct {
|
||||
XMLName string `xml:"wsdl:GetNetworkProtocols"`
|
||||
|
||||
}
|
||||
|
||||
@@ -595,7 +635,8 @@ type GetNetworkProtocolsResponse struct {
|
||||
|
||||
|
||||
type SetNetworkProtocols struct {
|
||||
NetworkProtocols onvif.NetworkProtocol
|
||||
XMLName string `xml:"wsdl:SetNetworkProtocols"`
|
||||
NetworkProtocols onvif.NetworkProtocol `xml:"wsdl:NetworkProtocols"`
|
||||
|
||||
}
|
||||
|
||||
@@ -606,6 +647,7 @@ type SetNetworkProtocolsResponse struct {
|
||||
|
||||
|
||||
type GetNetworkDefaultGateway struct {
|
||||
XMLName string `xml:"wsdl:GetNetworkDefaultGateway"`
|
||||
|
||||
}
|
||||
|
||||
@@ -617,8 +659,9 @@ type GetNetworkDefaultGatewayResponse struct {
|
||||
|
||||
|
||||
type SetNetworkDefaultGateway struct {
|
||||
IPv4Address onvif.IPv4Address
|
||||
IPv6Address onvif.IPv6Address
|
||||
XMLName string `xml:"wsdl:SetNetworkDefaultGateway"`
|
||||
IPv4Address onvif.IPv4Address `xml:"wsdl:IPv4Address"`
|
||||
IPv6Address onvif.IPv6Address `xml:"wsdl:IPv6Address"`
|
||||
|
||||
}
|
||||
|
||||
@@ -629,6 +672,7 @@ type SetNetworkDefaultGatewayResponse struct {
|
||||
|
||||
|
||||
type GetZeroConfiguration struct {
|
||||
XMLName string `xml:"wsdl:GetZeroConfiguration"`
|
||||
|
||||
}
|
||||
|
||||
@@ -640,8 +684,9 @@ type GetZeroConfigurationResponse struct {
|
||||
|
||||
|
||||
type SetZeroConfiguration struct {
|
||||
InterfaceToken onvif.ReferenceToken
|
||||
Enabled xsd.Boolean
|
||||
XMLName string `xml:"wsdl:SetZeroConfiguration"`
|
||||
InterfaceToken onvif.ReferenceToken `xml:"wsdl:InterfaceToken"`
|
||||
Enabled xsd.Boolean `xml:"wsdl:Enabled"`
|
||||
|
||||
}
|
||||
|
||||
@@ -652,6 +697,7 @@ type SetZeroConfigurationResponse struct {
|
||||
|
||||
|
||||
type GetIPAddressFilter struct {
|
||||
XMLName string `xml:"wsdl:GetIPAddressFilter"`
|
||||
|
||||
}
|
||||
|
||||
@@ -663,7 +709,8 @@ type GetIPAddressFilterResponse struct {
|
||||
|
||||
|
||||
type SetIPAddressFilter struct {
|
||||
IPAddressFilter onvif.IPAddressFilter
|
||||
XMLName string `xml:"wsdl:SetIPAddressFilter"`
|
||||
IPAddressFilter onvif.IPAddressFilter `xml:"wsdl:IPAddressFilter"`
|
||||
|
||||
}
|
||||
|
||||
@@ -674,7 +721,8 @@ type SetIPAddressFilterResponse struct {
|
||||
|
||||
|
||||
type AddIPAddressFilter struct {
|
||||
IPAddressFilter onvif.IPAddressFilter
|
||||
XMLName string `xml:"wsdl:AddIPAddressFilter"`
|
||||
IPAddressFilter onvif.IPAddressFilter `xml:"wsdl:IPAddressFilter"`
|
||||
|
||||
}
|
||||
|
||||
@@ -685,7 +733,8 @@ type AddIPAddressFilterResponse struct {
|
||||
|
||||
|
||||
type RemoveIPAddressFilter struct {
|
||||
IPAddressFilter onvif.IPAddressFilter
|
||||
XMLName string `xml:"wsdl:RemoveIPAddressFilter"`
|
||||
IPAddressFilter onvif.IPAddressFilter `xml:"onvif:IPAddressFilter"`
|
||||
|
||||
}
|
||||
|
||||
@@ -696,7 +745,7 @@ type RemoveIPAddressFilterResponse struct {
|
||||
|
||||
|
||||
type GetAccessPolicy struct {
|
||||
|
||||
XMLName string `xml:"wsdl:GetAccessPolicy"`
|
||||
}
|
||||
|
||||
|
||||
@@ -707,7 +756,8 @@ type GetAccessPolicyResponse struct {
|
||||
|
||||
|
||||
type SetAccessPolicy struct {
|
||||
PolicyFile onvif.BinaryData
|
||||
XMLName string `xml:"wsdl:SetAccessPolicy"`
|
||||
PolicyFile onvif.BinaryData `xml:"wsdl:PolicyFile"`
|
||||
|
||||
}
|
||||
|
||||
@@ -718,10 +768,11 @@ type SetAccessPolicyResponse struct {
|
||||
|
||||
|
||||
type CreateCertificate struct {
|
||||
CertificateID xsd.Token
|
||||
Subject string
|
||||
ValidNotBefore xsd.DateTime
|
||||
ValidNotAfter xsd.DateTime
|
||||
XMLName string `xml:"wsdl:CreateCertificate"`
|
||||
CertificateID xsd.Token `xml:"wsdl:CertificateID,omitempty"`
|
||||
Subject string `xml:"wsdl:Subject,omitempty"`
|
||||
ValidNotBefore xsd.DateTime `xml:"wsdl:ValidNotBefore,omitempty"`
|
||||
ValidNotAfter xsd.DateTime `xml:"wsdl:ValidNotAfter,omitempty"`
|
||||
|
||||
}
|
||||
|
||||
@@ -733,7 +784,7 @@ type CreateCertificateResponse struct {
|
||||
|
||||
|
||||
type GetCertificates struct {
|
||||
|
||||
XMLName string `xml:"wsdl:GetCertificates"`
|
||||
}
|
||||
|
||||
|
||||
@@ -744,6 +795,7 @@ type GetCertificatesResponse struct {
|
||||
|
||||
|
||||
type GetCertificatesStatus struct {
|
||||
XMLName string `xml:"wsdl:GetCertificatesStatus"`
|
||||
|
||||
}
|
||||
|
||||
@@ -755,7 +807,8 @@ type GetCertificatesStatusResponse struct {
|
||||
|
||||
|
||||
type SetCertificatesStatus struct {
|
||||
CertificateStatus onvif.CertificateStatus
|
||||
XMLName string `xml:"wsdl:SetCertificatesStatus"`
|
||||
CertificateStatus onvif.CertificateStatus `xml:"wsdl:CertificateStatus"`
|
||||
|
||||
}
|
||||
|
||||
@@ -764,9 +817,10 @@ type SetCertificatesStatusResponse struct {
|
||||
|
||||
}
|
||||
|
||||
|
||||
//TODO: List of CertificateID
|
||||
type DeleteCertificates struct {
|
||||
CertificateID xsd.Token
|
||||
XMLName string `xml:"wsdl:DeleteCertificates"`
|
||||
CertificateID xsd.Token `xml:"wsdl:CertificateID"`
|
||||
|
||||
}
|
||||
|
||||
@@ -775,11 +829,12 @@ type DeleteCertificatesResponse struct {
|
||||
|
||||
}
|
||||
|
||||
|
||||
//TODO: Откуда onvif:data = cid:21312413412
|
||||
type GetPkcs10Request struct {
|
||||
CertificateID xsd.Token
|
||||
Subject xsd.String
|
||||
Attributes onvif.BinaryData
|
||||
XMLName string `xml:"wsdl:GetPkcs10Request"`
|
||||
CertificateID xsd.Token `xml:"wsdl:CertificateID"`
|
||||
Subject xsd.String `xml:"wsdl:Subject"`
|
||||
Attributes onvif.BinaryData `xml:"wsdl:Attributes"`
|
||||
|
||||
}
|
||||
|
||||
@@ -789,9 +844,10 @@ type GetPkcs10RequestResponse struct {
|
||||
|
||||
}
|
||||
|
||||
|
||||
//TODO: one or more NTVCertificate
|
||||
type LoadCertificates struct {
|
||||
NVTCertificate onvif.Certificate
|
||||
XMLName string `xml:"wsdl:LoadCertificates"`
|
||||
NVTCertificate onvif.Certificate `xml:"wsdl:NVTCertificate"`
|
||||
|
||||
}
|
||||
|
||||
@@ -802,6 +858,7 @@ type LoadCertificatesResponse struct {
|
||||
|
||||
|
||||
type GetClientCertificateMode struct {
|
||||
XMLName string `xml:"wsdl:GetClientCertificateMode"`
|
||||
|
||||
}
|
||||
|
||||
@@ -813,7 +870,8 @@ type GetClientCertificateModeResponse struct {
|
||||
|
||||
|
||||
type SetClientCertificateMode struct {
|
||||
Enabled xsd.Boolean
|
||||
XMLName string `xml:"wsdl:SetClientCertificateMode"`
|
||||
Enabled xsd.Boolean `xml:"wsdl:Enabled"`
|
||||
|
||||
}
|
||||
|
||||
@@ -824,6 +882,7 @@ type SetClientCertificateModeResponse struct {
|
||||
|
||||
|
||||
type GetRelayOutputs struct {
|
||||
XMLName string `xml:"wsdl:GetRelayOutputs"`
|
||||
|
||||
}
|
||||
|
||||
@@ -835,8 +894,9 @@ type GetRelayOutputsResponse struct {
|
||||
|
||||
|
||||
type SetRelayOutputSettings struct {
|
||||
RelayOutputToken onvif.ReferenceToken
|
||||
Properties onvif.RelayOutputSettings
|
||||
XMLName string `xml:"wsdl:SetRelayOutputSettings"`
|
||||
RelayOutputToken onvif.ReferenceToken `xml:"wsdl:RelayOutputToken"`
|
||||
Properties onvif.RelayOutputSettings `xml:"wsdl:Properties"`
|
||||
|
||||
}
|
||||
|
||||
@@ -847,8 +907,9 @@ type SetRelayOutputSettingsResponse struct {
|
||||
|
||||
|
||||
type SetRelayOutputState struct {
|
||||
RelayOutputToken onvif.ReferenceToken
|
||||
LogicalState onvif.RelayLogicalState
|
||||
XMLName string `xml:"wsdl:SetRelayOutputState"`
|
||||
RelayOutputToken onvif.ReferenceToken `xml:"wsdl:RelayOutputToken"`
|
||||
LogicalState onvif.RelayLogicalState `xml:"wsdl:LogicalState"`
|
||||
|
||||
}
|
||||
|
||||
@@ -859,7 +920,8 @@ type SetRelayOutputStateResponse struct {
|
||||
|
||||
|
||||
type SendAuxiliaryCommand struct {
|
||||
AuxiliaryCommand onvif.AuxiliaryData
|
||||
XMLName string `xml:"wsdl:SendAuxiliaryCommand"`
|
||||
AuxiliaryCommand onvif.AuxiliaryData `xml:"wsdl:AuxiliaryCommand"`
|
||||
|
||||
}
|
||||
|
||||
@@ -871,7 +933,7 @@ type SendAuxiliaryCommandResponse struct {
|
||||
|
||||
|
||||
type GetCACertificates struct {
|
||||
|
||||
XMLName string `xml:"wsdl:GetCACertificates"`
|
||||
}
|
||||
|
||||
|
||||
@@ -880,9 +942,10 @@ type GetCACertificatesResponse struct {
|
||||
|
||||
}
|
||||
|
||||
|
||||
//TODO: one or more CertificateWithPrivateKey
|
||||
type LoadCertificateWithPrivateKey struct {
|
||||
CertificateWithPrivateKey onvif.CertificateWithPrivateKey
|
||||
XMLName string `xml:"wsdl:LoadCertificateWithPrivateKey"`
|
||||
CertificateWithPrivateKey onvif.CertificateWithPrivateKey `xml:"wsdl:CertificateWithPrivateKey"`
|
||||
|
||||
}
|
||||
|
||||
@@ -893,7 +956,8 @@ type LoadCertificateWithPrivateKeyResponse struct {
|
||||
|
||||
|
||||
type GetCertificateInformation struct {
|
||||
CertificateID xsd.Token
|
||||
XMLName string `xml:"wsdl:GetCertificateInformation"`
|
||||
CertificateID xsd.Token `xml:"wsdl:CertificateID"`
|
||||
|
||||
}
|
||||
|
||||
@@ -905,7 +969,8 @@ type GetCertificateInformationResponse struct {
|
||||
|
||||
|
||||
type LoadCACertificates struct {
|
||||
CACertificate onvif.Certificate
|
||||
XMLName string `xml:"wsdl:LoadCACertificates"`
|
||||
CACertificate onvif.Certificate `xml:"wsdl:CACertificate"`
|
||||
|
||||
}
|
||||
|
||||
@@ -916,7 +981,8 @@ type LoadCACertificatesResponse struct {
|
||||
|
||||
|
||||
type CreateDot1XConfiguration struct {
|
||||
Dot1XConfiguration onvif.Dot1XConfiguration
|
||||
XMLName string `xml:"wsdl:CreateDot1XConfiguration"`
|
||||
Dot1XConfiguration onvif.Dot1XConfiguration `xml:"wsdl:Dot1XConfiguration"`
|
||||
|
||||
}
|
||||
|
||||
@@ -927,7 +993,8 @@ type CreateDot1XConfigurationResponse struct {
|
||||
|
||||
|
||||
type SetDot1XConfiguration struct {
|
||||
Dot1XConfiguration onvif.Dot1XConfiguration
|
||||
XMLName string `xml:"wsdl:SetDot1XConfiguration"`
|
||||
Dot1XConfiguration onvif.Dot1XConfiguration `xml:"wsdl:Dot1XConfiguration"`
|
||||
|
||||
}
|
||||
|
||||
@@ -938,7 +1005,8 @@ type SetDot1XConfigurationResponse struct {
|
||||
|
||||
|
||||
type GetDot1XConfiguration struct {
|
||||
Dot1XConfigurationToken onvif.ReferenceToken
|
||||
XMLName string `xml:"wsdl:GetDot1XConfiguration"`
|
||||
Dot1XConfigurationToken onvif.ReferenceToken `xml:"wsdl:Dot1XConfigurationToken"`
|
||||
|
||||
}
|
||||
|
||||
@@ -950,6 +1018,7 @@ type GetDot1XConfigurationResponse struct {
|
||||
|
||||
|
||||
type GetDot1XConfigurations struct {
|
||||
XMLName string `xml:"wsdl:GetDot1XConfigurations"`
|
||||
|
||||
}
|
||||
|
||||
@@ -959,9 +1028,10 @@ type GetDot1XConfigurationsResponse struct {
|
||||
|
||||
}
|
||||
|
||||
|
||||
//TODO: Zero or more Dot1XConfigurationToken
|
||||
type DeleteDot1XConfiguration struct {
|
||||
Dot1XConfigurationToken onvif.ReferenceToken
|
||||
XMLName string `xml:"wsdl:DeleteDot1XConfiguration"`
|
||||
Dot1XConfigurationToken onvif.ReferenceToken `xml:"wsdl:Dot1XConfigurationToken"`
|
||||
|
||||
}
|
||||
|
||||
@@ -972,6 +1042,7 @@ type DeleteDot1XConfigurationResponse struct {
|
||||
|
||||
|
||||
type GetDot11Capabilities struct {
|
||||
XMLName string `xml:"wsdl:GetDot11Capabilities"`
|
||||
|
||||
}
|
||||
|
||||
@@ -983,7 +1054,8 @@ type GetDot11CapabilitiesResponse struct {
|
||||
|
||||
|
||||
type GetDot11Status struct {
|
||||
InterfaceToken onvif.ReferenceToken
|
||||
XMLName string `xml:"wsdl:GetDot11Status"`
|
||||
InterfaceToken onvif.ReferenceToken `xml:"wsdl:InterfaceToken"`
|
||||
|
||||
}
|
||||
|
||||
@@ -995,7 +1067,8 @@ type GetDot11StatusResponse struct {
|
||||
|
||||
|
||||
type ScanAvailableDot11Networks struct {
|
||||
InterfaceToken onvif.ReferenceToken
|
||||
XMLName string `xml:"wsdl:ScanAvailableDot11Networks"`
|
||||
InterfaceToken onvif.ReferenceToken `xml:"wsdl:InterfaceToken"`
|
||||
|
||||
}
|
||||
|
||||
@@ -1007,6 +1080,7 @@ type ScanAvailableDot11NetworksResponse struct {
|
||||
|
||||
|
||||
type GetSystemUris struct {
|
||||
XMLName string `xml:"wsdl:GetSystemUris"`
|
||||
|
||||
}
|
||||
|
||||
@@ -1020,6 +1094,7 @@ type GetSystemUrisResponse struct {
|
||||
|
||||
|
||||
type StartFirmwareUpgrade struct {
|
||||
XMLName string `xml:"wsdl:StartFirmwareUpgrade"`
|
||||
|
||||
}
|
||||
|
||||
@@ -1033,6 +1108,7 @@ type StartFirmwareUpgradeResponse struct {
|
||||
|
||||
|
||||
type StartSystemRestore struct {
|
||||
XMLName string `xml:"wsdl:StartSystemRestore"`
|
||||
|
||||
}
|
||||
|
||||
@@ -1045,6 +1121,7 @@ type StartSystemRestoreResponse struct {
|
||||
|
||||
|
||||
type GetStorageConfigurations struct {
|
||||
XMLName string `xml:"wsdl:GetStorageConfigurations"`
|
||||
|
||||
}
|
||||
|
||||
@@ -1056,6 +1133,7 @@ type GetStorageConfigurationsResponse struct {
|
||||
|
||||
|
||||
type CreateStorageConfiguration struct {
|
||||
XMLName string `xml:"wsdl:CreateStorageConfiguration"`
|
||||
StorageConfiguration StorageConfigurationData
|
||||
|
||||
}
|
||||
@@ -1068,7 +1146,8 @@ type CreateStorageConfigurationResponse struct {
|
||||
|
||||
|
||||
type GetStorageConfiguration struct {
|
||||
Token onvif.ReferenceToken
|
||||
XMLName string `xml:"wsdl:GetStorageConfiguration"`
|
||||
Token onvif.ReferenceToken `xml:"wsdl:Token"`
|
||||
|
||||
}
|
||||
|
||||
@@ -1080,7 +1159,8 @@ type GetStorageConfigurationResponse struct {
|
||||
|
||||
|
||||
type SetStorageConfiguration struct {
|
||||
StorageConfiguration StorageConfiguration
|
||||
XMLName string `xml:"wsdl:SetStorageConfiguration"`
|
||||
StorageConfiguration StorageConfiguration `xml:"wsdl:StorageConfiguration"`
|
||||
|
||||
}
|
||||
|
||||
@@ -1091,7 +1171,8 @@ type SetStorageConfigurationResponse struct {
|
||||
|
||||
|
||||
type DeleteStorageConfiguration struct {
|
||||
Token onvif.ReferenceToken
|
||||
XMLName string `xml:"wsdl:DeleteStorageConfiguration"`
|
||||
Token onvif.ReferenceToken `xml:"wsdl:Token"`
|
||||
|
||||
}
|
||||
|
||||
@@ -1102,6 +1183,7 @@ type DeleteStorageConfigurationResponse struct {
|
||||
|
||||
|
||||
type GetGeoLocation struct {
|
||||
XMLName string `xml:"wsdl:GetGeoLocation"`
|
||||
|
||||
}
|
||||
|
||||
@@ -1111,9 +1193,10 @@ type GetGeoLocationResponse struct {
|
||||
|
||||
}
|
||||
|
||||
|
||||
//TODO: one or more Location
|
||||
type SetGeoLocation struct {
|
||||
Location onvif.LocationEntity
|
||||
XMLName string `xml:"wsdl:SetGeoLocation"`
|
||||
Location onvif.LocationEntity `xml:"wsdl:Location"`
|
||||
|
||||
}
|
||||
|
||||
@@ -1124,7 +1207,8 @@ type SetGeoLocationResponse struct {
|
||||
|
||||
|
||||
type DeleteGeoLocation struct {
|
||||
Location onvif.LocationEntity
|
||||
XMLName string `xml:"wsdl:DeleteGeoLocation"`
|
||||
Location onvif.LocationEntity `xml:"wsdl:Location"`
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user