-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmethods.go
224 lines (160 loc) · 5.74 KB
/
methods.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
// File generated with 'go generate'. Do not edit!
package hitron
import (
"context"
)
// CMDocsisProvision - /CM/DocsisProvision
func (c *CableModem) CMDocsisProvision(ctx context.Context) (out CMDocsisProvision, err error) {
err = c.getJSON(ctx, "/CM/DocsisProvision", &out)
return out, err
}
// CMDsInfo - /CM/DsInfo
func (c *CableModem) CMDsInfo(ctx context.Context) (out CMDsInfo, err error) {
err = c.getJSON(ctx, "/CM/DsInfo", &out)
return out, err
}
// CMDsOfdm - /CM/DsOfdm
func (c *CableModem) CMDsOfdm(ctx context.Context) (out CMDsOfdm, err error) {
err = c.getJSON(ctx, "/CM/DsOfdm", &out)
return out, err
}
// CMLog - /CM/Log
func (c *CableModem) CMLog(ctx context.Context) (out CMLog, err error) {
err = c.getJSON(ctx, "/CM/Log", &out)
return out, err
}
// CMSysInfo - /CM/SysInfo
func (c *CableModem) CMSysInfo(ctx context.Context) (out CMSysInfo, err error) {
err = c.getJSON(ctx, "/CM/SysInfo", &out)
return out, err
}
// CMUsInfo - /CM/UsInfo
func (c *CableModem) CMUsInfo(ctx context.Context) (out CMUsInfo, err error) {
err = c.getJSON(ctx, "/CM/UsInfo", &out)
return out, err
}
// CMUsOfdm - /CM/UsOfdm
func (c *CableModem) CMUsOfdm(ctx context.Context) (out CMUsOfdm, err error) {
err = c.getJSON(ctx, "/CM/UsOfdm", &out)
return out, err
}
// CMVersion - /CM/Version
func (c *CableModem) CMVersion(ctx context.Context) (out CMVersion, err error) {
err = c.getJSON(ctx, "/CM/Version", &out)
return out, err
}
// DDNS - /DDNS
func (c *CableModem) DDNS(ctx context.Context) (out DDNS, err error) {
err = c.getJSON(ctx, "/DDNS", &out)
return out, err
}
// DNS - /DNS
func (c *CableModem) DNS(ctx context.Context) (out DNS, err error) {
err = c.getJSON(ctx, "/DNS", &out)
return out, err
}
// Hosts - /Hosts
func (c *CableModem) Hosts(ctx context.Context) (out Hosts, err error) {
err = c.getJSON(ctx, "/Hosts", &out)
return out, err
}
// RouterCapability - /Router/Capability
func (c *CableModem) RouterCapability(ctx context.Context) (out RouterCapability, err error) {
err = c.getJSON(ctx, "/Router/Capability", &out)
return out, err
}
// RouterDMZ - /Router/DMZ
func (c *CableModem) RouterDMZ(ctx context.Context) (out RouterDMZ, err error) {
err = c.getJSON(ctx, "/Router/DMZ", &out)
return out, err
}
// RouterLocation - /Router/Location
func (c *CableModem) RouterLocation(ctx context.Context) (out RouterLocation, err error) {
err = c.getJSON(ctx, "/Router/Location", &out)
return out, err
}
// RouterPortForwardStatus - /Router/PortForward/Status
func (c *CableModem) RouterPortForwardStatus(ctx context.Context) (out RouterPortForwardStatus, err error) {
err = c.getJSON(ctx, "/Router/PortForward/Status", &out)
return out, err
}
// RouterPortForwardall - /Router/PortForward/all
func (c *CableModem) RouterPortForwardall(ctx context.Context) (out RouterPortForwardall, err error) {
err = c.getJSON(ctx, "/Router/PortForward/all", &out)
return out, err
}
// RouterPortTriggerStatus - /Router/PortTrigger/Status
func (c *CableModem) RouterPortTriggerStatus(ctx context.Context) (out RouterPortTriggerStatus, err error) {
err = c.getJSON(ctx, "/Router/PortTrigger/Status", &out)
return out, err
}
// RouterPortTriggerall - /Router/PortTrigger/all
func (c *CableModem) RouterPortTriggerall(ctx context.Context) (out RouterPortTriggerall, err error) {
err = c.getJSON(ctx, "/Router/PortTrigger/all", &out)
return out, err
}
// RouterSysInfo - /Router/SysInfo
func (c *CableModem) RouterSysInfo(ctx context.Context) (out RouterSysInfo, err error) {
err = c.getJSON(ctx, "/Router/SysInfo", &out)
return out, err
}
// RouterTR069 - /Router/TR069
func (c *CableModem) RouterTR069(ctx context.Context) (out RouterTR069, err error) {
err = c.getJSON(ctx, "/Router/TR069", &out)
return out, err
}
// Time - /Time
func (c *CableModem) Time(ctx context.Context) (out Time, err error) {
err = c.getJSON(ctx, "/Time", &out)
return out, err
}
// UsersCSRF - /Users/CSRF
func (c *CableModem) UsersCSRF(ctx context.Context) (out UsersCSRF, err error) {
err = c.getJSON(ctx, "/Users/CSRF", &out)
return out, err
}
// WiFiAccessControl - /WiFi/AccessControl
func (c *CableModem) WiFiAccessControl(ctx context.Context) (out WiFiAccessControl, err error) {
err = c.getJSON(ctx, "/WiFi/AccessControl", &out)
return out, err
}
// WiFiAccessControlStatus - /WiFi/AccessControl/Status
func (c *CableModem) WiFiAccessControlStatus(ctx context.Context) (out WiFiAccessControlStatus, err error) {
err = c.getJSON(ctx, "/WiFi/AccessControl/Status", &out)
return out, err
}
// WiFiClient - /WiFi/Client
func (c *CableModem) WiFiClient(ctx context.Context) (out WiFiClient, err error) {
err = c.getJSON(ctx, "/WiFi/Client", &out)
return out, err
}
// WiFiGuestSSID - /WiFi/GuestSSID
func (c *CableModem) WiFiGuestSSID(ctx context.Context) (out WiFiGuestSSID, err error) {
err = c.getJSON(ctx, "/WiFi/GuestSSID", &out)
return out, err
}
// WiFiRadios - /WiFi/Radios
func (c *CableModem) WiFiRadios(ctx context.Context) (out WiFiRadios, err error) {
err = c.getJSON(ctx, "/WiFi/Radios", &out)
return out, err
}
// WiFiRadiosAdvanced - /WiFi/Radios/Advanced
func (c *CableModem) WiFiRadiosAdvanced(ctx context.Context) (out WiFiRadiosAdvanced, err error) {
err = c.getJSON(ctx, "/WiFi/Radios/Advanced", &out)
return out, err
}
// WiFiRadiosSurvey - /WiFi/Radios/Survey
func (c *CableModem) WiFiRadiosSurvey(ctx context.Context) (out WiFiRadiosSurvey, err error) {
err = c.getJSON(ctx, "/WiFi/Radios/Survey", &out)
return out, err
}
// WiFiSSIDs - /WiFi/SSIDs
func (c *CableModem) WiFiSSIDs(ctx context.Context) (out WiFiSSIDs, err error) {
err = c.getJSON(ctx, "/WiFi/SSIDs", &out)
return out, err
}
// WiFiWPS - /WiFi/WPS
func (c *CableModem) WiFiWPS(ctx context.Context) (out WiFiWPS, err error) {
err = c.getJSON(ctx, "/WiFi/WPS", &out)
return out, err
}