media2

package
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddConfiguration

type AddConfiguration struct {
	XMLName       string `xml:"tr2:AddConfiguration"`
	ProfileToken  string `xml:"tr2:ProfileToken"`
	Name          string `xml:"tr2:Name,omitempty"`
	Configuration []Configuration
}

type AddConfigurationFunction

type AddConfigurationFunction struct{}

func (*AddConfigurationFunction) Request

func (_ *AddConfigurationFunction) Request() interface{}

func (*AddConfigurationFunction) Response

func (_ *AddConfigurationFunction) Response() interface{}

type AddConfigurationResponse

type AddConfigurationResponse struct{}

type AnalyticsEngineConfiguration

type AnalyticsEngineConfiguration struct {
	AnalyticsModule []AnalyticsModule
}

type AnalyticsModule

type AnalyticsModule struct {
	Name       string `xml:",attr"`
	Type       string `xml:",attr"`
	Parameters Parameters
}

type Configuration

type Configuration struct {
	XMLName xsd.String  `xml:"tr2:Configuration"`
	Type    *xsd.String `xml:"tr2:Type,omitempty"`
	Token   *xsd.String `xml:"tr2:Token,omitempty"`
}

type Configurations

type Configurations struct {
	onvif.ConfigurationEntity
	AnalyticsEngineConfiguration *AnalyticsEngineConfiguration `json:",omitempty"`
	RuleEngineConfiguration      *RuleEngineConfiguration      `json:",omitempty"`
}

type ElementItem

type ElementItem struct {
	Name string `xml:",attr"`
}

type GetAnalyticsConfigurations

type GetAnalyticsConfigurations struct {
	XMLName string `xml:"tr2:GetAnalyticsConfigurations"`
}

type GetAnalyticsConfigurationsFunction

type GetAnalyticsConfigurationsFunction struct{}

func (*GetAnalyticsConfigurationsFunction) Request

func (_ *GetAnalyticsConfigurationsFunction) Request() interface{}

func (*GetAnalyticsConfigurationsFunction) Response

func (_ *GetAnalyticsConfigurationsFunction) Response() interface{}

type GetAnalyticsConfigurationsResponse

type GetAnalyticsConfigurationsResponse struct {
	Configurations []Configurations
}

type GetProfiles

type GetProfiles struct {
	XMLName string `xml:"tr2:GetProfiles"`
}

type GetProfilesFunction

type GetProfilesFunction struct{}

func (*GetProfilesFunction) Request

func (_ *GetProfilesFunction) Request() interface{}

func (*GetProfilesFunction) Response

func (_ *GetProfilesFunction) Response() interface{}

type GetProfilesResponse

type GetProfilesResponse struct {
	Profiles []Profile
}

type Parameters

type Parameters struct {
	SimpleItem  []SimpleItem  `json:",omitempty"`
	ElementItem []ElementItem `json:",omitempty"`
}

type Profile

type Profile struct {
	Token string `xml:"token,attr"`
	Fixed bool   `xml:"fixed,attr"`
	Name  string
}

type RemoveConfiguration

type RemoveConfiguration struct {
	XMLName       string `xml:"tr2:RemoveConfiguration"`
	ProfileToken  string `xml:"tr2:ProfileToken"`
	Configuration []Configuration
}

type RemoveConfigurationFunction

type RemoveConfigurationFunction struct{}

func (*RemoveConfigurationFunction) Request

func (_ *RemoveConfigurationFunction) Request() interface{}

func (*RemoveConfigurationFunction) Response

func (_ *RemoveConfigurationFunction) Response() interface{}

type RemoveConfigurationResponse

type RemoveConfigurationResponse struct{}

type Rule

type Rule struct {
	Name       string `xml:",attr"`
	Type       string `xml:",attr"`
	Parameters Parameters
}

type RuleEngineConfiguration

type RuleEngineConfiguration struct {
	Rule []Rule `json:",omitempty"`
}

type SimpleItem

type SimpleItem struct {
	Name  string `xml:",attr"`
	Value string `xml:",attr"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL