forked from use-go/onvif
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtypes.go
108 lines (84 loc) · 2.83 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
package imaging
//go:generate python3 ../python/gen_commands.py
import (
"github.com/kerberos-io/onvif/xsd"
"github.com/kerberos-io/onvif/xsd/onvif"
)
type GetServiceCapabilities struct {
XMLName string `xml:"timg:GetServiceCapabilities"`
}
// todo: fill in response type
type GetServiceCapabilitiesResponse struct {
}
type GetImagingSettings struct {
XMLName string `xml:"timg:GetImagingSettings"`
VideoSourceToken onvif.ReferenceToken `xml:"timg:VideoSourceToken"`
}
type GetImagingSettingsResponse struct {
ImagingSettings onvif.ImagingSettings20 `xml:"timg:ImagingSettings"`
}
type SetImagingSettings struct {
XMLName string `xml:"timg:SetImagingSettings"`
VideoSourceToken onvif.ReferenceToken `xml:"timg:VideoSourceToken"`
ImagingSettings onvif.ImagingSettings20 `xml:"timg:ImagingSettings"`
ForcePersistence xsd.Boolean `xml:"timg:ForcePersistence"`
}
type SetImagingSettingsResponse struct {
}
type GetOptions struct {
XMLName string `xml:"timg:GetOptions"`
VideoSourceToken onvif.ReferenceToken `xml:"timg:VideoSourceToken"`
}
// todo: fill in response type
type GetOptionsResponse struct {
}
type Move struct {
XMLName string `xml:"timg:Move"`
VideoSourceToken onvif.ReferenceToken `xml:"timg:VideoSourceToken"`
Focus onvif.FocusMove `xml:"timg:Focus"`
}
// todo: fill in response type
type MoveResponse struct {
}
type GetMoveOptions struct {
XMLName string `xml:"timg:GetMoveOptions"`
VideoSourceToken onvif.ReferenceToken `xml:"timg:VideoSourceToken"`
}
// todo: fill in response type
type GetMoveOptionsResponse struct {
}
type Stop struct {
XMLName string `xml:"timg:Stop"`
VideoSourceToken onvif.ReferenceToken `xml:"timg:VideoSourceToken"`
}
// todo: fill in response type
type StopResponse struct {
}
type GetStatus struct {
XMLName string `xml:"timg:GetStatus"`
VideoSourceToken onvif.ReferenceToken `xml:"timg:VideoSourceToken"`
}
// todo: fill in response type
type GetStatusResponse struct {
}
type GetPresets struct {
XMLName string `xml:"timg:GetPresets"`
VideoSourceToken onvif.ReferenceToken `xml:"timg:VideoSourceToken"`
}
// todo: fill in response type
type GetPresetsResponse struct {
}
type GetCurrentPreset struct {
XMLName string `xml:"timg:GetCurrentPreset"`
VideoSourceToken onvif.ReferenceToken `xml:"timg:VideoSourceToken"`
}
// todo: fill in response type
type GetCurrentPresetResponse struct {
}
type SetCurrentPreset struct {
XMLName string `xml:"timg:SetCurrentPreset"`
VideoSourceToken onvif.ReferenceToken `xml:"timg:VideoSourceToken"`
PresetToken onvif.ReferenceToken `xml:"timg:PresetToken"`
}
type SetCurrentPresetResponse struct {
}