Fetch the repository succeeded.
package media2
//go:generate python3 ../python/gen_commands.py
import (
"gitee.com/fnaiot/fn-onvif/xsd"
"gitee.com/fnaiot/fn-onvif/xsd/onvif"
)
type GetProfiles struct {
XMLName string `xml:"tr2:GetProfiles"`
}
type GetProfilesResponse struct {
Profiles []Profile
}
type Profile struct {
Token string `xml:"token,attr"`
Fixed bool `xml:"fixed,attr"`
Name string
}
type GetAnalyticsConfigurations struct {
XMLName string `xml:"tr2:GetAnalyticsConfigurations"`
}
type GetAnalyticsConfigurationsResponse struct {
Configurations []Configurations
}
type Configurations struct {
onvif.ConfigurationEntity
AnalyticsEngineConfiguration *AnalyticsEngineConfiguration `json:",omitempty"`
RuleEngineConfiguration *RuleEngineConfiguration `json:",omitempty"`
}
type AnalyticsEngineConfiguration struct {
AnalyticsModule []AnalyticsModule
}
type AnalyticsModule struct {
Name string `xml:",attr"`
Type string `xml:",attr"`
Parameters Parameters
}
type RuleEngineConfiguration struct {
Rule []Rule `json:",omitempty"`
}
type Rule struct {
Name string `xml:",attr"`
Type string `xml:",attr"`
Parameters Parameters
}
type Parameters struct {
SimpleItem []SimpleItem `json:",omitempty"`
ElementItem []ElementItem `json:",omitempty"`
}
type SimpleItem struct {
Name string `xml:",attr"`
Value string `xml:",attr"`
}
type ElementItem struct {
Name string `xml:",attr"`
}
type AddConfiguration struct {
XMLName string `xml:"tr2:AddConfiguration"`
ProfileToken string `xml:"tr2:ProfileToken"`
Name string `xml:"tr2:Name,omitempty"`
Configuration []Configuration
}
type AddConfigurationResponse struct{}
type RemoveConfiguration struct {
XMLName string `xml:"tr2:RemoveConfiguration"`
ProfileToken string `xml:"tr2:ProfileToken"`
Configuration []Configuration
}
type RemoveConfigurationResponse struct{}
type Configuration struct {
XMLName xsd.String `xml:"tr2:Configuration"`
Type *xsd.String `xml:"tr2:Type,omitempty"`
Token *xsd.String `xml:"tr2:Token,omitempty"`
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。