tencentcloud-sdk-iotvideoindustry 1.0.200
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-iotvideoindustry.rb +11 -0
- data/lib/v20201201/client.rb +952 -0
- data/lib/v20201201/models.rb +2524 -0
- metadata +66 -0
@@ -0,0 +1,2524 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Iotvideoindustry
|
19
|
+
module V20201201
|
20
|
+
# 查询全部设备出参
|
21
|
+
class AllDeviceInfo < TencentCloud::Common::AbstractModel
|
22
|
+
# @param DeviceId: 设备唯一标识
|
23
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24
|
+
# @type DeviceId: String
|
25
|
+
# @param DeviceType: 设备类型;2:IPC
|
26
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
27
|
+
# @type DeviceType: Integer
|
28
|
+
# @param Status: 设备状态;0:设备不在线;1:设备在线;2:设备隔离中;3:设备未注册
|
29
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30
|
+
# @type Status: Integer
|
31
|
+
# @param CreateTime: 创建时间
|
32
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
33
|
+
# @type CreateTime: Integer
|
34
|
+
# @param ExtraInformation: 设备扩展属性
|
35
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
36
|
+
# @type ExtraInformation: String
|
37
|
+
# @param NickName: 设备名称
|
38
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
39
|
+
# @type NickName: String
|
40
|
+
# @param GroupPath: 设备绑定分组路径
|
41
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
42
|
+
# @type GroupPath: String
|
43
|
+
# @param DeviceCode: 设备编码
|
44
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
45
|
+
# @type DeviceCode: String
|
46
|
+
# @param IsRecord: 是否存在录像,,0:不存在;1:存在
|
47
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
48
|
+
# @type IsRecord: Integer
|
49
|
+
# @param Recordable: 该设备是否可录制
|
50
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
51
|
+
# @type Recordable: Integer
|
52
|
+
# @param Protocol: 设备接入协议
|
53
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
54
|
+
# @type Protocol: String
|
55
|
+
# @param GroupId: 组Id
|
56
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
57
|
+
# @type GroupId: String
|
58
|
+
# @param GroupName: 组名
|
59
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
60
|
+
# @type GroupName: String
|
61
|
+
|
62
|
+
attr_accessor :DeviceId, :DeviceType, :Status, :CreateTime, :ExtraInformation, :NickName, :GroupPath, :DeviceCode, :IsRecord, :Recordable, :Protocol, :GroupId, :GroupName
|
63
|
+
|
64
|
+
def initialize(deviceid=nil, devicetype=nil, status=nil, createtime=nil, extrainformation=nil, nickname=nil, grouppath=nil, devicecode=nil, isrecord=nil, recordable=nil, protocol=nil, groupid=nil, groupname=nil)
|
65
|
+
@DeviceId = deviceid
|
66
|
+
@DeviceType = devicetype
|
67
|
+
@Status = status
|
68
|
+
@CreateTime = createtime
|
69
|
+
@ExtraInformation = extrainformation
|
70
|
+
@NickName = nickname
|
71
|
+
@GroupPath = grouppath
|
72
|
+
@DeviceCode = devicecode
|
73
|
+
@IsRecord = isrecord
|
74
|
+
@Recordable = recordable
|
75
|
+
@Protocol = protocol
|
76
|
+
@GroupId = groupid
|
77
|
+
@GroupName = groupname
|
78
|
+
end
|
79
|
+
|
80
|
+
def deserialize(params)
|
81
|
+
@DeviceId = params['DeviceId']
|
82
|
+
@DeviceType = params['DeviceType']
|
83
|
+
@Status = params['Status']
|
84
|
+
@CreateTime = params['CreateTime']
|
85
|
+
@ExtraInformation = params['ExtraInformation']
|
86
|
+
@NickName = params['NickName']
|
87
|
+
@GroupPath = params['GroupPath']
|
88
|
+
@DeviceCode = params['DeviceCode']
|
89
|
+
@IsRecord = params['IsRecord']
|
90
|
+
@Recordable = params['Recordable']
|
91
|
+
@Protocol = params['Protocol']
|
92
|
+
@GroupId = params['GroupId']
|
93
|
+
@GroupName = params['GroupName']
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
# BindGroupDevices请求参数结构体
|
98
|
+
class BindGroupDevicesRequest < TencentCloud::Common::AbstractModel
|
99
|
+
# @param GroupId: 分组ID
|
100
|
+
# @type GroupId: String
|
101
|
+
# @param DeviceList: 设备唯一标识列表
|
102
|
+
# @type DeviceList: Array
|
103
|
+
|
104
|
+
attr_accessor :GroupId, :DeviceList
|
105
|
+
|
106
|
+
def initialize(groupid=nil, devicelist=nil)
|
107
|
+
@GroupId = groupid
|
108
|
+
@DeviceList = devicelist
|
109
|
+
end
|
110
|
+
|
111
|
+
def deserialize(params)
|
112
|
+
@GroupId = params['GroupId']
|
113
|
+
@DeviceList = params['DeviceList']
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
# BindGroupDevices返回参数结构体
|
118
|
+
class BindGroupDevicesResponse < TencentCloud::Common::AbstractModel
|
119
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
120
|
+
# @type RequestId: String
|
121
|
+
|
122
|
+
attr_accessor :RequestId
|
123
|
+
|
124
|
+
def initialize(requestid=nil)
|
125
|
+
@RequestId = requestid
|
126
|
+
end
|
127
|
+
|
128
|
+
def deserialize(params)
|
129
|
+
@RequestId = params['RequestId']
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
# ControlDevicePTZ请求参数结构体
|
134
|
+
class ControlDevicePTZRequest < TencentCloud::Common::AbstractModel
|
135
|
+
# @param DeviceId: 设备唯一标识
|
136
|
+
# @type DeviceId: String
|
137
|
+
# @param Command: PTZ控制命令类型:
|
138
|
+
# stop - 停止当前PTZ信令
|
139
|
+
# left - 向左移动
|
140
|
+
# right - 向右移动
|
141
|
+
# up - 向上移动
|
142
|
+
# down - 向下移动
|
143
|
+
# leftUp - 左上移动
|
144
|
+
# leftDown - 左下移动
|
145
|
+
# rightUp - 右上移动
|
146
|
+
# rightDown - 右下移动
|
147
|
+
# zoomOut - 镜头缩小
|
148
|
+
# zoomIn - 镜头放大
|
149
|
+
# irisIn - 光圈缩小
|
150
|
+
# irisOut - 光圈放大
|
151
|
+
# focusIn - 焦距变近
|
152
|
+
# focusOut - 焦距变远
|
153
|
+
# @type Command: String
|
154
|
+
# @param ChannelId: 通道唯一标识
|
155
|
+
# @type ChannelId: String
|
156
|
+
|
157
|
+
attr_accessor :DeviceId, :Command, :ChannelId
|
158
|
+
|
159
|
+
def initialize(deviceid=nil, command=nil, channelid=nil)
|
160
|
+
@DeviceId = deviceid
|
161
|
+
@Command = command
|
162
|
+
@ChannelId = channelid
|
163
|
+
end
|
164
|
+
|
165
|
+
def deserialize(params)
|
166
|
+
@DeviceId = params['DeviceId']
|
167
|
+
@Command = params['Command']
|
168
|
+
@ChannelId = params['ChannelId']
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
# ControlDevicePTZ返回参数结构体
|
173
|
+
class ControlDevicePTZResponse < TencentCloud::Common::AbstractModel
|
174
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
175
|
+
# @type RequestId: String
|
176
|
+
|
177
|
+
attr_accessor :RequestId
|
178
|
+
|
179
|
+
def initialize(requestid=nil)
|
180
|
+
@RequestId = requestid
|
181
|
+
end
|
182
|
+
|
183
|
+
def deserialize(params)
|
184
|
+
@RequestId = params['RequestId']
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
# ControlRecordStream请求参数结构体
|
189
|
+
class ControlRecordStreamRequest < TencentCloud::Common::AbstractModel
|
190
|
+
# @param DeviceId: 设备Id,设备的唯一标识
|
191
|
+
# @type DeviceId: String
|
192
|
+
# @param StreamId: 流Id,流的唯一标识
|
193
|
+
# @type StreamId: String
|
194
|
+
# @param Command: |控制参数,CmdJson结构转义的json字符串。| Action | string |是|控制动作,play(用于暂停后恢复播放)、pause(暂停)、teardown(停止)、jump(拖动播放)
|
195
|
+
# | Offset | uint |否|拖动播放时的时间偏移量(相对于起始时间),单位:秒
|
196
|
+
# @type Command: String
|
197
|
+
# @param ChannelId: 通道唯一标识
|
198
|
+
# @type ChannelId: String
|
199
|
+
|
200
|
+
attr_accessor :DeviceId, :StreamId, :Command, :ChannelId
|
201
|
+
|
202
|
+
def initialize(deviceid=nil, streamid=nil, command=nil, channelid=nil)
|
203
|
+
@DeviceId = deviceid
|
204
|
+
@StreamId = streamid
|
205
|
+
@Command = command
|
206
|
+
@ChannelId = channelid
|
207
|
+
end
|
208
|
+
|
209
|
+
def deserialize(params)
|
210
|
+
@DeviceId = params['DeviceId']
|
211
|
+
@StreamId = params['StreamId']
|
212
|
+
@Command = params['Command']
|
213
|
+
@ChannelId = params['ChannelId']
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
# ControlRecordStream返回参数结构体
|
218
|
+
class ControlRecordStreamResponse < TencentCloud::Common::AbstractModel
|
219
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
220
|
+
# @type RequestId: String
|
221
|
+
|
222
|
+
attr_accessor :RequestId
|
223
|
+
|
224
|
+
def initialize(requestid=nil)
|
225
|
+
@RequestId = requestid
|
226
|
+
end
|
227
|
+
|
228
|
+
def deserialize(params)
|
229
|
+
@RequestId = params['RequestId']
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
# CreateDeviceGroup请求参数结构体
|
234
|
+
class CreateDeviceGroupRequest < TencentCloud::Common::AbstractModel
|
235
|
+
# @param GroupName: 分组名称
|
236
|
+
# @type GroupName: String
|
237
|
+
# @param ParentId: 父分组ID
|
238
|
+
# @type ParentId: String
|
239
|
+
# @param GroupDescribe: 分组描述
|
240
|
+
# @type GroupDescribe: String
|
241
|
+
|
242
|
+
attr_accessor :GroupName, :ParentId, :GroupDescribe
|
243
|
+
|
244
|
+
def initialize(groupname=nil, parentid=nil, groupdescribe=nil)
|
245
|
+
@GroupName = groupname
|
246
|
+
@ParentId = parentid
|
247
|
+
@GroupDescribe = groupdescribe
|
248
|
+
end
|
249
|
+
|
250
|
+
def deserialize(params)
|
251
|
+
@GroupName = params['GroupName']
|
252
|
+
@ParentId = params['ParentId']
|
253
|
+
@GroupDescribe = params['GroupDescribe']
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
257
|
+
# CreateDeviceGroup返回参数结构体
|
258
|
+
class CreateDeviceGroupResponse < TencentCloud::Common::AbstractModel
|
259
|
+
# @param Status: 响应结果,“OK”为成功,其他为失败
|
260
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
261
|
+
# @type Status: String
|
262
|
+
# @param GroupId: 分组ID
|
263
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
264
|
+
# @type GroupId: String
|
265
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
266
|
+
# @type RequestId: String
|
267
|
+
|
268
|
+
attr_accessor :Status, :GroupId, :RequestId
|
269
|
+
|
270
|
+
def initialize(status=nil, groupid=nil, requestid=nil)
|
271
|
+
@Status = status
|
272
|
+
@GroupId = groupid
|
273
|
+
@RequestId = requestid
|
274
|
+
end
|
275
|
+
|
276
|
+
def deserialize(params)
|
277
|
+
@Status = params['Status']
|
278
|
+
@GroupId = params['GroupId']
|
279
|
+
@RequestId = params['RequestId']
|
280
|
+
end
|
281
|
+
end
|
282
|
+
|
283
|
+
# CreateDevice请求参数结构体
|
284
|
+
class CreateDeviceRequest < TencentCloud::Common::AbstractModel
|
285
|
+
# @param NickName: 设备名称
|
286
|
+
# @type NickName: String
|
287
|
+
# @param PassWord: 设备密码
|
288
|
+
# @type PassWord: String
|
289
|
+
# @param DeviceType: 设备类型 2:国标IPC设备; 3:NVR设备
|
290
|
+
# @type DeviceType: Integer
|
291
|
+
# @param GroupId: 设备需要绑定的分组ID,参数为空则默认绑定到根分组
|
292
|
+
# @type GroupId: String
|
293
|
+
|
294
|
+
attr_accessor :NickName, :PassWord, :DeviceType, :GroupId
|
295
|
+
|
296
|
+
def initialize(nickname=nil, password=nil, devicetype=nil, groupid=nil)
|
297
|
+
@NickName = nickname
|
298
|
+
@PassWord = password
|
299
|
+
@DeviceType = devicetype
|
300
|
+
@GroupId = groupid
|
301
|
+
end
|
302
|
+
|
303
|
+
def deserialize(params)
|
304
|
+
@NickName = params['NickName']
|
305
|
+
@PassWord = params['PassWord']
|
306
|
+
@DeviceType = params['DeviceType']
|
307
|
+
@GroupId = params['GroupId']
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
311
|
+
# CreateDevice返回参数结构体
|
312
|
+
class CreateDeviceResponse < TencentCloud::Common::AbstractModel
|
313
|
+
# @param DeviceCode: 设备编码
|
314
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
315
|
+
# @type DeviceCode: String
|
316
|
+
# @param DeviceId: 设备唯一标识
|
317
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
318
|
+
# @type DeviceId: String
|
319
|
+
# @param VirtualGroupId: 设备虚拟组信息,仅在创建NVR/VMS时返回该值
|
320
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
321
|
+
# @type VirtualGroupId: String
|
322
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
323
|
+
# @type RequestId: String
|
324
|
+
|
325
|
+
attr_accessor :DeviceCode, :DeviceId, :VirtualGroupId, :RequestId
|
326
|
+
|
327
|
+
def initialize(devicecode=nil, deviceid=nil, virtualgroupid=nil, requestid=nil)
|
328
|
+
@DeviceCode = devicecode
|
329
|
+
@DeviceId = deviceid
|
330
|
+
@VirtualGroupId = virtualgroupid
|
331
|
+
@RequestId = requestid
|
332
|
+
end
|
333
|
+
|
334
|
+
def deserialize(params)
|
335
|
+
@DeviceCode = params['DeviceCode']
|
336
|
+
@DeviceId = params['DeviceId']
|
337
|
+
@VirtualGroupId = params['VirtualGroupId']
|
338
|
+
@RequestId = params['RequestId']
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
342
|
+
# CreateRecordPlan请求参数结构体
|
343
|
+
class CreateRecordPlanRequest < TencentCloud::Common::AbstractModel
|
344
|
+
# @param Name: 计划名称
|
345
|
+
# @type Name: String
|
346
|
+
# @param TimeTemplateId: 时间模板ID
|
347
|
+
# @type TimeTemplateId: String
|
348
|
+
# @param EventId: 触发录制的事件类别 1:全部
|
349
|
+
# @type EventId: Integer
|
350
|
+
# @param Devices: 该录制计划绑定的设备列表
|
351
|
+
# @type Devices: Array
|
352
|
+
# @param RecordStorageTime: 存储周期
|
353
|
+
# @type RecordStorageTime: Integer
|
354
|
+
|
355
|
+
attr_accessor :Name, :TimeTemplateId, :EventId, :Devices, :RecordStorageTime
|
356
|
+
|
357
|
+
def initialize(name=nil, timetemplateid=nil, eventid=nil, devices=nil, recordstoragetime=nil)
|
358
|
+
@Name = name
|
359
|
+
@TimeTemplateId = timetemplateid
|
360
|
+
@EventId = eventid
|
361
|
+
@Devices = devices
|
362
|
+
@RecordStorageTime = recordstoragetime
|
363
|
+
end
|
364
|
+
|
365
|
+
def deserialize(params)
|
366
|
+
@Name = params['Name']
|
367
|
+
@TimeTemplateId = params['TimeTemplateId']
|
368
|
+
@EventId = params['EventId']
|
369
|
+
unless params['Devices'].nil?
|
370
|
+
@Devices = []
|
371
|
+
params['Devices'].each do |i|
|
372
|
+
deviceitem_tmp = DeviceItem.new
|
373
|
+
deviceitem_tmp.deserialize(i)
|
374
|
+
@Devices << deviceitem_tmp
|
375
|
+
end
|
376
|
+
end
|
377
|
+
@RecordStorageTime = params['RecordStorageTime']
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# CreateRecordPlan返回参数结构体
|
382
|
+
class CreateRecordPlanResponse < TencentCloud::Common::AbstractModel
|
383
|
+
# @param PlanId: 录制计划ID
|
384
|
+
# @type PlanId: String
|
385
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
386
|
+
# @type RequestId: String
|
387
|
+
|
388
|
+
attr_accessor :PlanId, :RequestId
|
389
|
+
|
390
|
+
def initialize(planid=nil, requestid=nil)
|
391
|
+
@PlanId = planid
|
392
|
+
@RequestId = requestid
|
393
|
+
end
|
394
|
+
|
395
|
+
def deserialize(params)
|
396
|
+
@PlanId = params['PlanId']
|
397
|
+
@RequestId = params['RequestId']
|
398
|
+
end
|
399
|
+
end
|
400
|
+
|
401
|
+
# CreateTimeTemplate请求参数结构体
|
402
|
+
class CreateTimeTemplateRequest < TencentCloud::Common::AbstractModel
|
403
|
+
# @param Name: 时间模板名称
|
404
|
+
# @type Name: String
|
405
|
+
# @param IsAllWeek: 是否为每周全时录制(即7*24h录制),0:非全时录制,1;全时录制,默认0
|
406
|
+
# @type IsAllWeek: Integer
|
407
|
+
# @param TimeTemplateSpecs: 当IsAllWeek为0时必选,用于描述模板的各个时间片段
|
408
|
+
# @type TimeTemplateSpecs: Array
|
409
|
+
|
410
|
+
attr_accessor :Name, :IsAllWeek, :TimeTemplateSpecs
|
411
|
+
|
412
|
+
def initialize(name=nil, isallweek=nil, timetemplatespecs=nil)
|
413
|
+
@Name = name
|
414
|
+
@IsAllWeek = isallweek
|
415
|
+
@TimeTemplateSpecs = timetemplatespecs
|
416
|
+
end
|
417
|
+
|
418
|
+
def deserialize(params)
|
419
|
+
@Name = params['Name']
|
420
|
+
@IsAllWeek = params['IsAllWeek']
|
421
|
+
unless params['TimeTemplateSpecs'].nil?
|
422
|
+
@TimeTemplateSpecs = []
|
423
|
+
params['TimeTemplateSpecs'].each do |i|
|
424
|
+
timetemplatespec_tmp = TimeTemplateSpec.new
|
425
|
+
timetemplatespec_tmp.deserialize(i)
|
426
|
+
@TimeTemplateSpecs << timetemplatespec_tmp
|
427
|
+
end
|
428
|
+
end
|
429
|
+
end
|
430
|
+
end
|
431
|
+
|
432
|
+
# CreateTimeTemplate返回参数结构体
|
433
|
+
class CreateTimeTemplateResponse < TencentCloud::Common::AbstractModel
|
434
|
+
# @param TemplateId: 时间模板ID
|
435
|
+
# @type TemplateId: String
|
436
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
437
|
+
# @type RequestId: String
|
438
|
+
|
439
|
+
attr_accessor :TemplateId, :RequestId
|
440
|
+
|
441
|
+
def initialize(templateid=nil, requestid=nil)
|
442
|
+
@TemplateId = templateid
|
443
|
+
@RequestId = requestid
|
444
|
+
end
|
445
|
+
|
446
|
+
def deserialize(params)
|
447
|
+
@TemplateId = params['TemplateId']
|
448
|
+
@RequestId = params['RequestId']
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
452
|
+
# DeleteDeviceGroup请求参数结构体
|
453
|
+
class DeleteDeviceGroupRequest < TencentCloud::Common::AbstractModel
|
454
|
+
# @param GroupId: 分组ID
|
455
|
+
# @type GroupId: String
|
456
|
+
|
457
|
+
attr_accessor :GroupId
|
458
|
+
|
459
|
+
def initialize(groupid=nil)
|
460
|
+
@GroupId = groupid
|
461
|
+
end
|
462
|
+
|
463
|
+
def deserialize(params)
|
464
|
+
@GroupId = params['GroupId']
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
# DeleteDeviceGroup返回参数结构体
|
469
|
+
class DeleteDeviceGroupResponse < TencentCloud::Common::AbstractModel
|
470
|
+
# @param Status: 响应结果
|
471
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
472
|
+
# @type Status: String
|
473
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
474
|
+
# @type RequestId: String
|
475
|
+
|
476
|
+
attr_accessor :Status, :RequestId
|
477
|
+
|
478
|
+
def initialize(status=nil, requestid=nil)
|
479
|
+
@Status = status
|
480
|
+
@RequestId = requestid
|
481
|
+
end
|
482
|
+
|
483
|
+
def deserialize(params)
|
484
|
+
@Status = params['Status']
|
485
|
+
@RequestId = params['RequestId']
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
489
|
+
# DeleteDevice请求参数结构体
|
490
|
+
class DeleteDeviceRequest < TencentCloud::Common::AbstractModel
|
491
|
+
# @param DeviceId: 设备唯一标识
|
492
|
+
# @type DeviceId: String
|
493
|
+
|
494
|
+
attr_accessor :DeviceId
|
495
|
+
|
496
|
+
def initialize(deviceid=nil)
|
497
|
+
@DeviceId = deviceid
|
498
|
+
end
|
499
|
+
|
500
|
+
def deserialize(params)
|
501
|
+
@DeviceId = params['DeviceId']
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
505
|
+
# DeleteDevice返回参数结构体
|
506
|
+
class DeleteDeviceResponse < TencentCloud::Common::AbstractModel
|
507
|
+
# @param Status: 操作结果
|
508
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
509
|
+
# @type Status: String
|
510
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
511
|
+
# @type RequestId: String
|
512
|
+
|
513
|
+
attr_accessor :Status, :RequestId
|
514
|
+
|
515
|
+
def initialize(status=nil, requestid=nil)
|
516
|
+
@Status = status
|
517
|
+
@RequestId = requestid
|
518
|
+
end
|
519
|
+
|
520
|
+
def deserialize(params)
|
521
|
+
@Status = params['Status']
|
522
|
+
@RequestId = params['RequestId']
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
526
|
+
# DeleteRecordPlan请求参数结构体
|
527
|
+
class DeleteRecordPlanRequest < TencentCloud::Common::AbstractModel
|
528
|
+
# @param PlanId: 录制计划ID
|
529
|
+
# @type PlanId: String
|
530
|
+
|
531
|
+
attr_accessor :PlanId
|
532
|
+
|
533
|
+
def initialize(planid=nil)
|
534
|
+
@PlanId = planid
|
535
|
+
end
|
536
|
+
|
537
|
+
def deserialize(params)
|
538
|
+
@PlanId = params['PlanId']
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
# DeleteRecordPlan返回参数结构体
|
543
|
+
class DeleteRecordPlanResponse < TencentCloud::Common::AbstractModel
|
544
|
+
# @param Status: 操作结果,OK:成功,其他:失败
|
545
|
+
# @type Status: String
|
546
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
547
|
+
# @type RequestId: String
|
548
|
+
|
549
|
+
attr_accessor :Status, :RequestId
|
550
|
+
|
551
|
+
def initialize(status=nil, requestid=nil)
|
552
|
+
@Status = status
|
553
|
+
@RequestId = requestid
|
554
|
+
end
|
555
|
+
|
556
|
+
def deserialize(params)
|
557
|
+
@Status = params['Status']
|
558
|
+
@RequestId = params['RequestId']
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
# DeleteTimeTemplate请求参数结构体
|
563
|
+
class DeleteTimeTemplateRequest < TencentCloud::Common::AbstractModel
|
564
|
+
# @param TemplateId: 时间模板ID
|
565
|
+
# @type TemplateId: String
|
566
|
+
|
567
|
+
attr_accessor :TemplateId
|
568
|
+
|
569
|
+
def initialize(templateid=nil)
|
570
|
+
@TemplateId = templateid
|
571
|
+
end
|
572
|
+
|
573
|
+
def deserialize(params)
|
574
|
+
@TemplateId = params['TemplateId']
|
575
|
+
end
|
576
|
+
end
|
577
|
+
|
578
|
+
# DeleteTimeTemplate返回参数结构体
|
579
|
+
class DeleteTimeTemplateResponse < TencentCloud::Common::AbstractModel
|
580
|
+
# @param Status: 操作结果,OK:成功,其他:失败
|
581
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
582
|
+
# @type Status: String
|
583
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
584
|
+
# @type RequestId: String
|
585
|
+
|
586
|
+
attr_accessor :Status, :RequestId
|
587
|
+
|
588
|
+
def initialize(status=nil, requestid=nil)
|
589
|
+
@Status = status
|
590
|
+
@RequestId = requestid
|
591
|
+
end
|
592
|
+
|
593
|
+
def deserialize(params)
|
594
|
+
@Status = params['Status']
|
595
|
+
@RequestId = params['RequestId']
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
599
|
+
# DescribeAllDeviceList请求参数结构体
|
600
|
+
class DescribeAllDeviceListRequest < TencentCloud::Common::AbstractModel
|
601
|
+
# @param Offset: 偏移量,默认0
|
602
|
+
# @type Offset: Integer
|
603
|
+
# @param Limit: 限制,默认200
|
604
|
+
# @type Limit: Integer
|
605
|
+
# @param NickName: 设备名称,需要模糊匹配设备名称时为必填
|
606
|
+
# @type NickName: String
|
607
|
+
# @param DeviceIds: DeviceId列表,需要精确查找设备时为必填
|
608
|
+
# @type DeviceIds: Array
|
609
|
+
# @param DeviceTypes: 设备类型过滤
|
610
|
+
# @type DeviceTypes: Array
|
611
|
+
|
612
|
+
attr_accessor :Offset, :Limit, :NickName, :DeviceIds, :DeviceTypes
|
613
|
+
|
614
|
+
def initialize(offset=nil, limit=nil, nickname=nil, deviceids=nil, devicetypes=nil)
|
615
|
+
@Offset = offset
|
616
|
+
@Limit = limit
|
617
|
+
@NickName = nickname
|
618
|
+
@DeviceIds = deviceids
|
619
|
+
@DeviceTypes = devicetypes
|
620
|
+
end
|
621
|
+
|
622
|
+
def deserialize(params)
|
623
|
+
@Offset = params['Offset']
|
624
|
+
@Limit = params['Limit']
|
625
|
+
@NickName = params['NickName']
|
626
|
+
@DeviceIds = params['DeviceIds']
|
627
|
+
@DeviceTypes = params['DeviceTypes']
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
631
|
+
# DescribeAllDeviceList返回参数结构体
|
632
|
+
class DescribeAllDeviceListResponse < TencentCloud::Common::AbstractModel
|
633
|
+
# @param TotalCount: 设备总数
|
634
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
635
|
+
# @type TotalCount: Integer
|
636
|
+
# @param Devices: 设备详细信息列表
|
637
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
638
|
+
# @type Devices: Array
|
639
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
640
|
+
# @type RequestId: String
|
641
|
+
|
642
|
+
attr_accessor :TotalCount, :Devices, :RequestId
|
643
|
+
|
644
|
+
def initialize(totalcount=nil, devices=nil, requestid=nil)
|
645
|
+
@TotalCount = totalcount
|
646
|
+
@Devices = devices
|
647
|
+
@RequestId = requestid
|
648
|
+
end
|
649
|
+
|
650
|
+
def deserialize(params)
|
651
|
+
@TotalCount = params['TotalCount']
|
652
|
+
unless params['Devices'].nil?
|
653
|
+
@Devices = []
|
654
|
+
params['Devices'].each do |i|
|
655
|
+
alldeviceinfo_tmp = AllDeviceInfo.new
|
656
|
+
alldeviceinfo_tmp.deserialize(i)
|
657
|
+
@Devices << alldeviceinfo_tmp
|
658
|
+
end
|
659
|
+
end
|
660
|
+
@RequestId = params['RequestId']
|
661
|
+
end
|
662
|
+
end
|
663
|
+
|
664
|
+
# DescribeDeviceGroup请求参数结构体
|
665
|
+
class DescribeDeviceGroupRequest < TencentCloud::Common::AbstractModel
|
666
|
+
# @param DeviceIds: 设备唯一标识列表
|
667
|
+
# @type DeviceIds: Array
|
668
|
+
|
669
|
+
attr_accessor :DeviceIds
|
670
|
+
|
671
|
+
def initialize(deviceids=nil)
|
672
|
+
@DeviceIds = deviceids
|
673
|
+
end
|
674
|
+
|
675
|
+
def deserialize(params)
|
676
|
+
@DeviceIds = params['DeviceIds']
|
677
|
+
end
|
678
|
+
end
|
679
|
+
|
680
|
+
# DescribeDeviceGroup返回参数结构体
|
681
|
+
class DescribeDeviceGroupResponse < TencentCloud::Common::AbstractModel
|
682
|
+
# @param DevGroups: 设备所在分组信息
|
683
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
684
|
+
# @type DevGroups: Array
|
685
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
686
|
+
# @type RequestId: String
|
687
|
+
|
688
|
+
attr_accessor :DevGroups, :RequestId
|
689
|
+
|
690
|
+
def initialize(devgroups=nil, requestid=nil)
|
691
|
+
@DevGroups = devgroups
|
692
|
+
@RequestId = requestid
|
693
|
+
end
|
694
|
+
|
695
|
+
def deserialize(params)
|
696
|
+
unless params['DevGroups'].nil?
|
697
|
+
@DevGroups = []
|
698
|
+
params['DevGroups'].each do |i|
|
699
|
+
devgroupinfo_tmp = DevGroupInfo.new
|
700
|
+
devgroupinfo_tmp.deserialize(i)
|
701
|
+
@DevGroups << devgroupinfo_tmp
|
702
|
+
end
|
703
|
+
end
|
704
|
+
@RequestId = params['RequestId']
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
708
|
+
# DescribeDevicePassWord请求参数结构体
|
709
|
+
class DescribeDevicePassWordRequest < TencentCloud::Common::AbstractModel
|
710
|
+
# @param DeviceId: 设备唯一标识
|
711
|
+
# @type DeviceId: String
|
712
|
+
|
713
|
+
attr_accessor :DeviceId
|
714
|
+
|
715
|
+
def initialize(deviceid=nil)
|
716
|
+
@DeviceId = deviceid
|
717
|
+
end
|
718
|
+
|
719
|
+
def deserialize(params)
|
720
|
+
@DeviceId = params['DeviceId']
|
721
|
+
end
|
722
|
+
end
|
723
|
+
|
724
|
+
# DescribeDevicePassWord返回参数结构体
|
725
|
+
class DescribeDevicePassWordResponse < TencentCloud::Common::AbstractModel
|
726
|
+
# @param PassWord: 设备密码
|
727
|
+
# @type PassWord: String
|
728
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
729
|
+
# @type RequestId: String
|
730
|
+
|
731
|
+
attr_accessor :PassWord, :RequestId
|
732
|
+
|
733
|
+
def initialize(password=nil, requestid=nil)
|
734
|
+
@PassWord = password
|
735
|
+
@RequestId = requestid
|
736
|
+
end
|
737
|
+
|
738
|
+
def deserialize(params)
|
739
|
+
@PassWord = params['PassWord']
|
740
|
+
@RequestId = params['RequestId']
|
741
|
+
end
|
742
|
+
end
|
743
|
+
|
744
|
+
# DescribeDeviceStreams的出参复杂类型
|
745
|
+
class DescribeDeviceStreamsData < TencentCloud::Common::AbstractModel
|
746
|
+
# @param RtspAddr: rtsp地址
|
747
|
+
# @type RtspAddr: String
|
748
|
+
# @param RtmpAddr: rtmp地址
|
749
|
+
# @type RtmpAddr: String
|
750
|
+
# @param HlsAddr: hls地址
|
751
|
+
# @type HlsAddr: String
|
752
|
+
# @param FlvAddr: flv地址
|
753
|
+
# @type FlvAddr: String
|
754
|
+
|
755
|
+
attr_accessor :RtspAddr, :RtmpAddr, :HlsAddr, :FlvAddr
|
756
|
+
|
757
|
+
def initialize(rtspaddr=nil, rtmpaddr=nil, hlsaddr=nil, flvaddr=nil)
|
758
|
+
@RtspAddr = rtspaddr
|
759
|
+
@RtmpAddr = rtmpaddr
|
760
|
+
@HlsAddr = hlsaddr
|
761
|
+
@FlvAddr = flvaddr
|
762
|
+
end
|
763
|
+
|
764
|
+
def deserialize(params)
|
765
|
+
@RtspAddr = params['RtspAddr']
|
766
|
+
@RtmpAddr = params['RtmpAddr']
|
767
|
+
@HlsAddr = params['HlsAddr']
|
768
|
+
@FlvAddr = params['FlvAddr']
|
769
|
+
end
|
770
|
+
end
|
771
|
+
|
772
|
+
# DescribeDeviceStreams请求参数结构体
|
773
|
+
class DescribeDeviceStreamsRequest < TencentCloud::Common::AbstractModel
|
774
|
+
# @param DeviceId: 设备唯一标识
|
775
|
+
# @type DeviceId: String
|
776
|
+
# @param ExpireTime: 流地址失效时间
|
777
|
+
# @type ExpireTime: Integer
|
778
|
+
# @param ChannelId: 通道唯一标识(接口升级字段为必填)
|
779
|
+
# @type ChannelId: String
|
780
|
+
|
781
|
+
attr_accessor :DeviceId, :ExpireTime, :ChannelId
|
782
|
+
|
783
|
+
def initialize(deviceid=nil, expiretime=nil, channelid=nil)
|
784
|
+
@DeviceId = deviceid
|
785
|
+
@ExpireTime = expiretime
|
786
|
+
@ChannelId = channelid
|
787
|
+
end
|
788
|
+
|
789
|
+
def deserialize(params)
|
790
|
+
@DeviceId = params['DeviceId']
|
791
|
+
@ExpireTime = params['ExpireTime']
|
792
|
+
@ChannelId = params['ChannelId']
|
793
|
+
end
|
794
|
+
end
|
795
|
+
|
796
|
+
# DescribeDeviceStreams返回参数结构体
|
797
|
+
class DescribeDeviceStreamsResponse < TencentCloud::Common::AbstractModel
|
798
|
+
# @param Data: 设备实时流地址列表
|
799
|
+
# @type Data: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.DescribeDeviceStreamsData`
|
800
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
801
|
+
# @type RequestId: String
|
802
|
+
|
803
|
+
attr_accessor :Data, :RequestId
|
804
|
+
|
805
|
+
def initialize(data=nil, requestid=nil)
|
806
|
+
@Data = data
|
807
|
+
@RequestId = requestid
|
808
|
+
end
|
809
|
+
|
810
|
+
def deserialize(params)
|
811
|
+
unless params['Data'].nil?
|
812
|
+
@Data = DescribeDeviceStreamsData.new
|
813
|
+
@Data.deserialize(params['Data'])
|
814
|
+
end
|
815
|
+
@RequestId = params['RequestId']
|
816
|
+
end
|
817
|
+
end
|
818
|
+
|
819
|
+
# DescribeGroupById请求参数结构体
|
820
|
+
class DescribeGroupByIdRequest < TencentCloud::Common::AbstractModel
|
821
|
+
# @param GroupId: 分组ID
|
822
|
+
# @type GroupId: String
|
823
|
+
|
824
|
+
attr_accessor :GroupId
|
825
|
+
|
826
|
+
def initialize(groupid=nil)
|
827
|
+
@GroupId = groupid
|
828
|
+
end
|
829
|
+
|
830
|
+
def deserialize(params)
|
831
|
+
@GroupId = params['GroupId']
|
832
|
+
end
|
833
|
+
end
|
834
|
+
|
835
|
+
# DescribeGroupById返回参数结构体
|
836
|
+
class DescribeGroupByIdResponse < TencentCloud::Common::AbstractModel
|
837
|
+
# @param Group: 分组信息详情
|
838
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
839
|
+
# @type Group: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.GroupItem`
|
840
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
841
|
+
# @type RequestId: String
|
842
|
+
|
843
|
+
attr_accessor :Group, :RequestId
|
844
|
+
|
845
|
+
def initialize(group=nil, requestid=nil)
|
846
|
+
@Group = group
|
847
|
+
@RequestId = requestid
|
848
|
+
end
|
849
|
+
|
850
|
+
def deserialize(params)
|
851
|
+
unless params['Group'].nil?
|
852
|
+
@Group = GroupItem.new
|
853
|
+
@Group.deserialize(params['Group'])
|
854
|
+
end
|
855
|
+
@RequestId = params['RequestId']
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
859
|
+
# DescribeGroupByPath请求参数结构体
|
860
|
+
class DescribeGroupByPathRequest < TencentCloud::Common::AbstractModel
|
861
|
+
# @param GroupPath: 分组路径,格式为/aaa(/bbb/ccc)
|
862
|
+
# @type GroupPath: String
|
863
|
+
|
864
|
+
attr_accessor :GroupPath
|
865
|
+
|
866
|
+
def initialize(grouppath=nil)
|
867
|
+
@GroupPath = grouppath
|
868
|
+
end
|
869
|
+
|
870
|
+
def deserialize(params)
|
871
|
+
@GroupPath = params['GroupPath']
|
872
|
+
end
|
873
|
+
end
|
874
|
+
|
875
|
+
# DescribeGroupByPath返回参数结构体
|
876
|
+
class DescribeGroupByPathResponse < TencentCloud::Common::AbstractModel
|
877
|
+
# @param Group: 分组信息详情
|
878
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
879
|
+
# @type Group: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.GroupItem`
|
880
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
881
|
+
# @type RequestId: String
|
882
|
+
|
883
|
+
attr_accessor :Group, :RequestId
|
884
|
+
|
885
|
+
def initialize(group=nil, requestid=nil)
|
886
|
+
@Group = group
|
887
|
+
@RequestId = requestid
|
888
|
+
end
|
889
|
+
|
890
|
+
def deserialize(params)
|
891
|
+
unless params['Group'].nil?
|
892
|
+
@Group = GroupItem.new
|
893
|
+
@Group.deserialize(params['Group'])
|
894
|
+
end
|
895
|
+
@RequestId = params['RequestId']
|
896
|
+
end
|
897
|
+
end
|
898
|
+
|
899
|
+
# DescribeGroupDevices请求参数结构体
|
900
|
+
class DescribeGroupDevicesRequest < TencentCloud::Common::AbstractModel
|
901
|
+
# @param GroupId: 分组ID
|
902
|
+
# @type GroupId: String
|
903
|
+
# @param Offset: 偏移量,默认0
|
904
|
+
# @type Offset: Integer
|
905
|
+
# @param Limit: 限制值,默认200
|
906
|
+
# @type Limit: Integer
|
907
|
+
# @param NickName: 设备名称,根据设备名称模糊匹配时必填
|
908
|
+
# @type NickName: String
|
909
|
+
# @param Recordable: 过滤不可录制设备
|
910
|
+
# @type Recordable: Integer
|
911
|
+
# @param DeviceTypes: 当Group是普通组的时候,支持根据deviceTypes筛选类型
|
912
|
+
# 0: 普通摄像头1: 国标VMS设备 2: 国标IPC设备 3: 国标NVR设备 4: 国标NVR通道 5: 国标VMS通道 6: 国标IPC通道 9: 智能告警设备 10: 带有RTSP固定地址的设备
|
913
|
+
# @type DeviceTypes: Array
|
914
|
+
|
915
|
+
attr_accessor :GroupId, :Offset, :Limit, :NickName, :Recordable, :DeviceTypes
|
916
|
+
|
917
|
+
def initialize(groupid=nil, offset=nil, limit=nil, nickname=nil, recordable=nil, devicetypes=nil)
|
918
|
+
@GroupId = groupid
|
919
|
+
@Offset = offset
|
920
|
+
@Limit = limit
|
921
|
+
@NickName = nickname
|
922
|
+
@Recordable = recordable
|
923
|
+
@DeviceTypes = devicetypes
|
924
|
+
end
|
925
|
+
|
926
|
+
def deserialize(params)
|
927
|
+
@GroupId = params['GroupId']
|
928
|
+
@Offset = params['Offset']
|
929
|
+
@Limit = params['Limit']
|
930
|
+
@NickName = params['NickName']
|
931
|
+
@Recordable = params['Recordable']
|
932
|
+
@DeviceTypes = params['DeviceTypes']
|
933
|
+
end
|
934
|
+
end
|
935
|
+
|
936
|
+
# DescribeGroupDevices返回参数结构体
|
937
|
+
class DescribeGroupDevicesResponse < TencentCloud::Common::AbstractModel
|
938
|
+
# @param TotalCount: 分组绑定的设备数
|
939
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
940
|
+
# @type TotalCount: Integer
|
941
|
+
# @param DeviceList: 设备详情列表
|
942
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
943
|
+
# @type DeviceList: Array
|
944
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
945
|
+
# @type RequestId: String
|
946
|
+
|
947
|
+
attr_accessor :TotalCount, :DeviceList, :RequestId
|
948
|
+
|
949
|
+
def initialize(totalcount=nil, devicelist=nil, requestid=nil)
|
950
|
+
@TotalCount = totalcount
|
951
|
+
@DeviceList = devicelist
|
952
|
+
@RequestId = requestid
|
953
|
+
end
|
954
|
+
|
955
|
+
def deserialize(params)
|
956
|
+
@TotalCount = params['TotalCount']
|
957
|
+
unless params['DeviceList'].nil?
|
958
|
+
@DeviceList = []
|
959
|
+
params['DeviceList'].each do |i|
|
960
|
+
groupdeviceitem_tmp = GroupDeviceItem.new
|
961
|
+
groupdeviceitem_tmp.deserialize(i)
|
962
|
+
@DeviceList << groupdeviceitem_tmp
|
963
|
+
end
|
964
|
+
end
|
965
|
+
@RequestId = params['RequestId']
|
966
|
+
end
|
967
|
+
end
|
968
|
+
|
969
|
+
# DescribeGroups请求参数结构体
|
970
|
+
class DescribeGroupsRequest < TencentCloud::Common::AbstractModel
|
971
|
+
# @param GroupIds: 分组ID列表
|
972
|
+
# @type GroupIds: Array
|
973
|
+
|
974
|
+
attr_accessor :GroupIds
|
975
|
+
|
976
|
+
def initialize(groupids=nil)
|
977
|
+
@GroupIds = groupids
|
978
|
+
end
|
979
|
+
|
980
|
+
def deserialize(params)
|
981
|
+
@GroupIds = params['GroupIds']
|
982
|
+
end
|
983
|
+
end
|
984
|
+
|
985
|
+
# DescribeGroups返回参数结构体
|
986
|
+
class DescribeGroupsResponse < TencentCloud::Common::AbstractModel
|
987
|
+
# @param Groups: 分组详细信息列表
|
988
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
989
|
+
# @type Groups: Array
|
990
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
991
|
+
# @type RequestId: String
|
992
|
+
|
993
|
+
attr_accessor :Groups, :RequestId
|
994
|
+
|
995
|
+
def initialize(groups=nil, requestid=nil)
|
996
|
+
@Groups = groups
|
997
|
+
@RequestId = requestid
|
998
|
+
end
|
999
|
+
|
1000
|
+
def deserialize(params)
|
1001
|
+
unless params['Groups'].nil?
|
1002
|
+
@Groups = []
|
1003
|
+
params['Groups'].each do |i|
|
1004
|
+
groupinfo_tmp = GroupInfo.new
|
1005
|
+
groupinfo_tmp.deserialize(i)
|
1006
|
+
@Groups << groupinfo_tmp
|
1007
|
+
end
|
1008
|
+
end
|
1009
|
+
@RequestId = params['RequestId']
|
1010
|
+
end
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
# DescribeIPCChannels请求参数结构体
|
1014
|
+
class DescribeIPCChannelsRequest < TencentCloud::Common::AbstractModel
|
1015
|
+
# @param Offset: 偏移量,默认0
|
1016
|
+
# @type Offset: Integer
|
1017
|
+
# @param Limit: 限制,默认0
|
1018
|
+
# @type Limit: Integer
|
1019
|
+
# @param DeviceId: 设备Id
|
1020
|
+
# @type DeviceId: String
|
1021
|
+
# @param ChannelTypes: 通道类型 0: 未知类型 1: 视频通道 2: 音频通道 3: 告警通道
|
1022
|
+
# @type ChannelTypes: Array
|
1023
|
+
|
1024
|
+
attr_accessor :Offset, :Limit, :DeviceId, :ChannelTypes
|
1025
|
+
|
1026
|
+
def initialize(offset=nil, limit=nil, deviceid=nil, channeltypes=nil)
|
1027
|
+
@Offset = offset
|
1028
|
+
@Limit = limit
|
1029
|
+
@DeviceId = deviceid
|
1030
|
+
@ChannelTypes = channeltypes
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
def deserialize(params)
|
1034
|
+
@Offset = params['Offset']
|
1035
|
+
@Limit = params['Limit']
|
1036
|
+
@DeviceId = params['DeviceId']
|
1037
|
+
@ChannelTypes = params['ChannelTypes']
|
1038
|
+
end
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
# DescribeIPCChannels返回参数结构体
|
1042
|
+
class DescribeIPCChannelsResponse < TencentCloud::Common::AbstractModel
|
1043
|
+
# @param TotalCount: 通道总数
|
1044
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1045
|
+
# @type TotalCount: Integer
|
1046
|
+
# @param DeviceList: 通道详情列表
|
1047
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1048
|
+
# @type DeviceList: Array
|
1049
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1050
|
+
# @type RequestId: String
|
1051
|
+
|
1052
|
+
attr_accessor :TotalCount, :DeviceList, :RequestId
|
1053
|
+
|
1054
|
+
def initialize(totalcount=nil, devicelist=nil, requestid=nil)
|
1055
|
+
@TotalCount = totalcount
|
1056
|
+
@DeviceList = devicelist
|
1057
|
+
@RequestId = requestid
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
def deserialize(params)
|
1061
|
+
@TotalCount = params['TotalCount']
|
1062
|
+
unless params['DeviceList'].nil?
|
1063
|
+
@DeviceList = []
|
1064
|
+
params['DeviceList'].each do |i|
|
1065
|
+
groupdeviceitem_tmp = GroupDeviceItem.new
|
1066
|
+
groupdeviceitem_tmp.deserialize(i)
|
1067
|
+
@DeviceList << groupdeviceitem_tmp
|
1068
|
+
end
|
1069
|
+
end
|
1070
|
+
@RequestId = params['RequestId']
|
1071
|
+
end
|
1072
|
+
end
|
1073
|
+
|
1074
|
+
# DescribeRecordStreamData 复杂类型
|
1075
|
+
class DescribeRecordStreamData < TencentCloud::Common::AbstractModel
|
1076
|
+
# @param RtspAddr: Rtsp地址
|
1077
|
+
# @type RtspAddr: String
|
1078
|
+
# @param RtmpAddr: Rtmp地址
|
1079
|
+
# @type RtmpAddr: String
|
1080
|
+
# @param HlsAddr: Hls地址
|
1081
|
+
# @type HlsAddr: String
|
1082
|
+
# @param FlvAddr: Flv地址
|
1083
|
+
# @type FlvAddr: String
|
1084
|
+
# @param StreamId: 流Id
|
1085
|
+
# @type StreamId: String
|
1086
|
+
|
1087
|
+
attr_accessor :RtspAddr, :RtmpAddr, :HlsAddr, :FlvAddr, :StreamId
|
1088
|
+
|
1089
|
+
def initialize(rtspaddr=nil, rtmpaddr=nil, hlsaddr=nil, flvaddr=nil, streamid=nil)
|
1090
|
+
@RtspAddr = rtspaddr
|
1091
|
+
@RtmpAddr = rtmpaddr
|
1092
|
+
@HlsAddr = hlsaddr
|
1093
|
+
@FlvAddr = flvaddr
|
1094
|
+
@StreamId = streamid
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
def deserialize(params)
|
1098
|
+
@RtspAddr = params['RtspAddr']
|
1099
|
+
@RtmpAddr = params['RtmpAddr']
|
1100
|
+
@HlsAddr = params['HlsAddr']
|
1101
|
+
@FlvAddr = params['FlvAddr']
|
1102
|
+
@StreamId = params['StreamId']
|
1103
|
+
end
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
# DescribeRecordStream请求参数结构体
|
1107
|
+
class DescribeRecordStreamRequest < TencentCloud::Common::AbstractModel
|
1108
|
+
# @param DeviceId: 设备Id
|
1109
|
+
# @type DeviceId: String
|
1110
|
+
# @param ExpireTime: 流失效时间
|
1111
|
+
# @type ExpireTime: Integer
|
1112
|
+
# @param RecordId: 录像文件Id
|
1113
|
+
# @type RecordId: String
|
1114
|
+
# @param StartTime: 录像流开始时间,当录像文件Id为空时有效
|
1115
|
+
# @type StartTime: Integer
|
1116
|
+
# @param EndTime: 录像流结束时间,当录像文件Id为空时有效
|
1117
|
+
# @type EndTime: Integer
|
1118
|
+
# @param ChannelId: 通道唯一标识
|
1119
|
+
# @type ChannelId: String
|
1120
|
+
|
1121
|
+
attr_accessor :DeviceId, :ExpireTime, :RecordId, :StartTime, :EndTime, :ChannelId
|
1122
|
+
|
1123
|
+
def initialize(deviceid=nil, expiretime=nil, recordid=nil, starttime=nil, endtime=nil, channelid=nil)
|
1124
|
+
@DeviceId = deviceid
|
1125
|
+
@ExpireTime = expiretime
|
1126
|
+
@RecordId = recordid
|
1127
|
+
@StartTime = starttime
|
1128
|
+
@EndTime = endtime
|
1129
|
+
@ChannelId = channelid
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
def deserialize(params)
|
1133
|
+
@DeviceId = params['DeviceId']
|
1134
|
+
@ExpireTime = params['ExpireTime']
|
1135
|
+
@RecordId = params['RecordId']
|
1136
|
+
@StartTime = params['StartTime']
|
1137
|
+
@EndTime = params['EndTime']
|
1138
|
+
@ChannelId = params['ChannelId']
|
1139
|
+
end
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
# DescribeRecordStream返回参数结构体
|
1143
|
+
class DescribeRecordStreamResponse < TencentCloud::Common::AbstractModel
|
1144
|
+
# @param Data: 结果
|
1145
|
+
# @type Data: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.DescribeRecordStreamData`
|
1146
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1147
|
+
# @type RequestId: String
|
1148
|
+
|
1149
|
+
attr_accessor :Data, :RequestId
|
1150
|
+
|
1151
|
+
def initialize(data=nil, requestid=nil)
|
1152
|
+
@Data = data
|
1153
|
+
@RequestId = requestid
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
def deserialize(params)
|
1157
|
+
unless params['Data'].nil?
|
1158
|
+
@Data = DescribeRecordStreamData.new
|
1159
|
+
@Data.deserialize(params['Data'])
|
1160
|
+
end
|
1161
|
+
@RequestId = params['RequestId']
|
1162
|
+
end
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
# DescribeSIPServer请求参数结构体
|
1166
|
+
class DescribeSIPServerRequest < TencentCloud::Common::AbstractModel
|
1167
|
+
|
1168
|
+
|
1169
|
+
def initialize()
|
1170
|
+
end
|
1171
|
+
|
1172
|
+
def deserialize(params)
|
1173
|
+
end
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
# DescribeSIPServer返回参数结构体
|
1177
|
+
class DescribeSIPServerResponse < TencentCloud::Common::AbstractModel
|
1178
|
+
# @param Data: SIP服务器相关配置项
|
1179
|
+
# @type Data: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.ServerConfiguration`
|
1180
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1181
|
+
# @type RequestId: String
|
1182
|
+
|
1183
|
+
attr_accessor :Data, :RequestId
|
1184
|
+
|
1185
|
+
def initialize(data=nil, requestid=nil)
|
1186
|
+
@Data = data
|
1187
|
+
@RequestId = requestid
|
1188
|
+
end
|
1189
|
+
|
1190
|
+
def deserialize(params)
|
1191
|
+
unless params['Data'].nil?
|
1192
|
+
@Data = ServerConfiguration.new
|
1193
|
+
@Data.deserialize(params['Data'])
|
1194
|
+
end
|
1195
|
+
@RequestId = params['RequestId']
|
1196
|
+
end
|
1197
|
+
end
|
1198
|
+
|
1199
|
+
# DescribeStatisticDetails请求参数结构体
|
1200
|
+
class DescribeStatisticDetailsRequest < TencentCloud::Common::AbstractModel
|
1201
|
+
# @param StartDate: 开始日期,格式【YYYY-MM-DD】
|
1202
|
+
# @type StartDate: String
|
1203
|
+
# @param EndDate: 结束日期,格式【YYYY-MM-DD】
|
1204
|
+
# @type EndDate: String
|
1205
|
+
# @param StatisticField: 统计项。取值范围:
|
1206
|
+
# 1.录制设备数:RecordingDevice
|
1207
|
+
# 2.非录制设备数:NonRecordingDevice
|
1208
|
+
# 3.观看流量总数:WatchFlux
|
1209
|
+
# 4.已用存储容量总数:StorageUsage
|
1210
|
+
# 5. X-P2P分享流量: P2PFluxTotal
|
1211
|
+
# 6. X-P2P峰值带宽: P2PPeakValue
|
1212
|
+
# @type StatisticField: String
|
1213
|
+
|
1214
|
+
attr_accessor :StartDate, :EndDate, :StatisticField
|
1215
|
+
|
1216
|
+
def initialize(startdate=nil, enddate=nil, statisticfield=nil)
|
1217
|
+
@StartDate = startdate
|
1218
|
+
@EndDate = enddate
|
1219
|
+
@StatisticField = statisticfield
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
def deserialize(params)
|
1223
|
+
@StartDate = params['StartDate']
|
1224
|
+
@EndDate = params['EndDate']
|
1225
|
+
@StatisticField = params['StatisticField']
|
1226
|
+
end
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
# DescribeStatisticDetails返回参数结构体
|
1230
|
+
class DescribeStatisticDetailsResponse < TencentCloud::Common::AbstractModel
|
1231
|
+
# @param Data: 统计详情列表
|
1232
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1233
|
+
# @type Data: Array
|
1234
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1235
|
+
# @type RequestId: String
|
1236
|
+
|
1237
|
+
attr_accessor :Data, :RequestId
|
1238
|
+
|
1239
|
+
def initialize(data=nil, requestid=nil)
|
1240
|
+
@Data = data
|
1241
|
+
@RequestId = requestid
|
1242
|
+
end
|
1243
|
+
|
1244
|
+
def deserialize(params)
|
1245
|
+
unless params['Data'].nil?
|
1246
|
+
@Data = []
|
1247
|
+
params['Data'].each do |i|
|
1248
|
+
statisticitem_tmp = StatisticItem.new
|
1249
|
+
statisticitem_tmp.deserialize(i)
|
1250
|
+
@Data << statisticitem_tmp
|
1251
|
+
end
|
1252
|
+
end
|
1253
|
+
@RequestId = params['RequestId']
|
1254
|
+
end
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
# DescribeStatisticSummary请求参数结构体
|
1258
|
+
class DescribeStatisticSummaryRequest < TencentCloud::Common::AbstractModel
|
1259
|
+
# @param Date: 指定日期。格式【YYYY-MM-DD】
|
1260
|
+
# @type Date: String
|
1261
|
+
|
1262
|
+
attr_accessor :Date
|
1263
|
+
|
1264
|
+
def initialize(date=nil)
|
1265
|
+
@Date = date
|
1266
|
+
end
|
1267
|
+
|
1268
|
+
def deserialize(params)
|
1269
|
+
@Date = params['Date']
|
1270
|
+
end
|
1271
|
+
end
|
1272
|
+
|
1273
|
+
# DescribeStatisticSummary返回参数结构体
|
1274
|
+
class DescribeStatisticSummaryResponse < TencentCloud::Common::AbstractModel
|
1275
|
+
# @param RecordingDevice: 录制设备总数
|
1276
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1277
|
+
# @type RecordingDevice: Integer
|
1278
|
+
# @param NonRecordingDevice: 非录制设备总数
|
1279
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1280
|
+
# @type NonRecordingDevice: Integer
|
1281
|
+
# @param WatchFlux: 观看流量总数。为直播观看流量与点播观看流量之和。单位:GB
|
1282
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1283
|
+
# @type WatchFlux: Float
|
1284
|
+
# @param StorageUsage: 累计有效存储容量总数。单位:GB
|
1285
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1286
|
+
# @type StorageUsage: Float
|
1287
|
+
# @param P2PFluxTotal: X-P2P分享流量。单位 Byte
|
1288
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1289
|
+
# @type P2PFluxTotal: Float
|
1290
|
+
# @param P2PPeakValue: X-P2P峰值带宽。 单位bps
|
1291
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1292
|
+
# @type P2PPeakValue: Float
|
1293
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1294
|
+
# @type RequestId: String
|
1295
|
+
|
1296
|
+
attr_accessor :RecordingDevice, :NonRecordingDevice, :WatchFlux, :StorageUsage, :P2PFluxTotal, :P2PPeakValue, :RequestId
|
1297
|
+
|
1298
|
+
def initialize(recordingdevice=nil, nonrecordingdevice=nil, watchflux=nil, storageusage=nil, p2pfluxtotal=nil, p2ppeakvalue=nil, requestid=nil)
|
1299
|
+
@RecordingDevice = recordingdevice
|
1300
|
+
@NonRecordingDevice = nonrecordingdevice
|
1301
|
+
@WatchFlux = watchflux
|
1302
|
+
@StorageUsage = storageusage
|
1303
|
+
@P2PFluxTotal = p2pfluxtotal
|
1304
|
+
@P2PPeakValue = p2ppeakvalue
|
1305
|
+
@RequestId = requestid
|
1306
|
+
end
|
1307
|
+
|
1308
|
+
def deserialize(params)
|
1309
|
+
@RecordingDevice = params['RecordingDevice']
|
1310
|
+
@NonRecordingDevice = params['NonRecordingDevice']
|
1311
|
+
@WatchFlux = params['WatchFlux']
|
1312
|
+
@StorageUsage = params['StorageUsage']
|
1313
|
+
@P2PFluxTotal = params['P2PFluxTotal']
|
1314
|
+
@P2PPeakValue = params['P2PPeakValue']
|
1315
|
+
@RequestId = params['RequestId']
|
1316
|
+
end
|
1317
|
+
end
|
1318
|
+
|
1319
|
+
# DescribeSubGroups请求参数结构体
|
1320
|
+
class DescribeSubGroupsRequest < TencentCloud::Common::AbstractModel
|
1321
|
+
# @param GroupId: 分组ID
|
1322
|
+
# @type GroupId: String
|
1323
|
+
# @param GroupName: 分组名称,根据名称模糊匹配子分组时为必填
|
1324
|
+
# @type GroupName: String
|
1325
|
+
# @param Offset: 偏移量,默认0
|
1326
|
+
# @type Offset: Integer
|
1327
|
+
# @param Limit: 限制数,默认200
|
1328
|
+
# @type Limit: Integer
|
1329
|
+
# @param OnlyGroup: 是否统计子分组下的设备数,0:统计,1:不统计
|
1330
|
+
# @type OnlyGroup: Integer
|
1331
|
+
|
1332
|
+
attr_accessor :GroupId, :GroupName, :Offset, :Limit, :OnlyGroup
|
1333
|
+
|
1334
|
+
def initialize(groupid=nil, groupname=nil, offset=nil, limit=nil, onlygroup=nil)
|
1335
|
+
@GroupId = groupid
|
1336
|
+
@GroupName = groupname
|
1337
|
+
@Offset = offset
|
1338
|
+
@Limit = limit
|
1339
|
+
@OnlyGroup = onlygroup
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
def deserialize(params)
|
1343
|
+
@GroupId = params['GroupId']
|
1344
|
+
@GroupName = params['GroupName']
|
1345
|
+
@Offset = params['Offset']
|
1346
|
+
@Limit = params['Limit']
|
1347
|
+
@OnlyGroup = params['OnlyGroup']
|
1348
|
+
end
|
1349
|
+
end
|
1350
|
+
|
1351
|
+
# DescribeSubGroups返回参数结构体
|
1352
|
+
class DescribeSubGroupsResponse < TencentCloud::Common::AbstractModel
|
1353
|
+
# @param GroupList: 子分组详情列表
|
1354
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1355
|
+
# @type GroupList: Array
|
1356
|
+
# @param TotalCount: 子分组总数
|
1357
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1358
|
+
# @type TotalCount: Integer
|
1359
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1360
|
+
# @type RequestId: String
|
1361
|
+
|
1362
|
+
attr_accessor :GroupList, :TotalCount, :RequestId
|
1363
|
+
|
1364
|
+
def initialize(grouplist=nil, totalcount=nil, requestid=nil)
|
1365
|
+
@GroupList = grouplist
|
1366
|
+
@TotalCount = totalcount
|
1367
|
+
@RequestId = requestid
|
1368
|
+
end
|
1369
|
+
|
1370
|
+
def deserialize(params)
|
1371
|
+
unless params['GroupList'].nil?
|
1372
|
+
@GroupList = []
|
1373
|
+
params['GroupList'].each do |i|
|
1374
|
+
groupitem_tmp = GroupItem.new
|
1375
|
+
groupitem_tmp.deserialize(i)
|
1376
|
+
@GroupList << groupitem_tmp
|
1377
|
+
end
|
1378
|
+
end
|
1379
|
+
@TotalCount = params['TotalCount']
|
1380
|
+
@RequestId = params['RequestId']
|
1381
|
+
end
|
1382
|
+
end
|
1383
|
+
|
1384
|
+
# DescribeVideoList请求参数结构体
|
1385
|
+
class DescribeVideoListRequest < TencentCloud::Common::AbstractModel
|
1386
|
+
# @param Offset: 偏移
|
1387
|
+
# @type Offset: Integer
|
1388
|
+
# @param Limit: 限制
|
1389
|
+
# @type Limit: Integer
|
1390
|
+
# @param StartTime: 开始时间戳,秒级
|
1391
|
+
# @type StartTime: Integer
|
1392
|
+
# @param EndTime: 结束时间戳,秒级
|
1393
|
+
# @type EndTime: Integer
|
1394
|
+
# @param DeviceId: 设备Id
|
1395
|
+
# @type DeviceId: String
|
1396
|
+
# @param StartRecordTime: 开始录制范围 开始
|
1397
|
+
# @type StartRecordTime: Integer
|
1398
|
+
# @param EndRecordTime: 开始录制范围 结束
|
1399
|
+
# @type EndRecordTime: Integer
|
1400
|
+
# @param StartExpireTime: 过期时间范围 开始
|
1401
|
+
# @type StartExpireTime: Integer
|
1402
|
+
# @param EndExpireTime: 过期时间范围 结束
|
1403
|
+
# @type EndExpireTime: Integer
|
1404
|
+
# @param StartFileSize: 文件大小范围 开始 单位byte
|
1405
|
+
# @type StartFileSize: Integer
|
1406
|
+
# @param EndFileSize: 文件大小范围 结束 单位byte
|
1407
|
+
# @type EndFileSize: Integer
|
1408
|
+
# @param IsRecording: 录制状态 99: 录制方已经回写状态 1: 开始录制了,等待回写 2: 已经到了时间模板的停止时间,在等待录制方回写
|
1409
|
+
# @type IsRecording: Integer
|
1410
|
+
# @param ChannelId: 通道ID默认必传
|
1411
|
+
# @type ChannelId: String
|
1412
|
+
|
1413
|
+
attr_accessor :Offset, :Limit, :StartTime, :EndTime, :DeviceId, :StartRecordTime, :EndRecordTime, :StartExpireTime, :EndExpireTime, :StartFileSize, :EndFileSize, :IsRecording, :ChannelId
|
1414
|
+
|
1415
|
+
def initialize(offset=nil, limit=nil, starttime=nil, endtime=nil, deviceid=nil, startrecordtime=nil, endrecordtime=nil, startexpiretime=nil, endexpiretime=nil, startfilesize=nil, endfilesize=nil, isrecording=nil, channelid=nil)
|
1416
|
+
@Offset = offset
|
1417
|
+
@Limit = limit
|
1418
|
+
@StartTime = starttime
|
1419
|
+
@EndTime = endtime
|
1420
|
+
@DeviceId = deviceid
|
1421
|
+
@StartRecordTime = startrecordtime
|
1422
|
+
@EndRecordTime = endrecordtime
|
1423
|
+
@StartExpireTime = startexpiretime
|
1424
|
+
@EndExpireTime = endexpiretime
|
1425
|
+
@StartFileSize = startfilesize
|
1426
|
+
@EndFileSize = endfilesize
|
1427
|
+
@IsRecording = isrecording
|
1428
|
+
@ChannelId = channelid
|
1429
|
+
end
|
1430
|
+
|
1431
|
+
def deserialize(params)
|
1432
|
+
@Offset = params['Offset']
|
1433
|
+
@Limit = params['Limit']
|
1434
|
+
@StartTime = params['StartTime']
|
1435
|
+
@EndTime = params['EndTime']
|
1436
|
+
@DeviceId = params['DeviceId']
|
1437
|
+
@StartRecordTime = params['StartRecordTime']
|
1438
|
+
@EndRecordTime = params['EndRecordTime']
|
1439
|
+
@StartExpireTime = params['StartExpireTime']
|
1440
|
+
@EndExpireTime = params['EndExpireTime']
|
1441
|
+
@StartFileSize = params['StartFileSize']
|
1442
|
+
@EndFileSize = params['EndFileSize']
|
1443
|
+
@IsRecording = params['IsRecording']
|
1444
|
+
@ChannelId = params['ChannelId']
|
1445
|
+
end
|
1446
|
+
end
|
1447
|
+
|
1448
|
+
# DescribeVideoList返回参数结构体
|
1449
|
+
class DescribeVideoListResponse < TencentCloud::Common::AbstractModel
|
1450
|
+
# @param TotalCount: 总数
|
1451
|
+
# @type TotalCount: Integer
|
1452
|
+
# @param VideoList: 已废弃
|
1453
|
+
# @type VideoList: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.RecordTaskItem`
|
1454
|
+
# @param RecordList: 录像详情列表
|
1455
|
+
# @type RecordList: Array
|
1456
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1457
|
+
# @type RequestId: String
|
1458
|
+
|
1459
|
+
attr_accessor :TotalCount, :VideoList, :RecordList, :RequestId
|
1460
|
+
|
1461
|
+
def initialize(totalcount=nil, videolist=nil, recordlist=nil, requestid=nil)
|
1462
|
+
@TotalCount = totalcount
|
1463
|
+
@VideoList = videolist
|
1464
|
+
@RecordList = recordlist
|
1465
|
+
@RequestId = requestid
|
1466
|
+
end
|
1467
|
+
|
1468
|
+
def deserialize(params)
|
1469
|
+
@TotalCount = params['TotalCount']
|
1470
|
+
unless params['VideoList'].nil?
|
1471
|
+
@VideoList = RecordTaskItem.new
|
1472
|
+
@VideoList.deserialize(params['VideoList'])
|
1473
|
+
end
|
1474
|
+
unless params['RecordList'].nil?
|
1475
|
+
@RecordList = []
|
1476
|
+
params['RecordList'].each do |i|
|
1477
|
+
recordtaskitem_tmp = RecordTaskItem.new
|
1478
|
+
recordtaskitem_tmp.deserialize(i)
|
1479
|
+
@RecordList << recordtaskitem_tmp
|
1480
|
+
end
|
1481
|
+
end
|
1482
|
+
@RequestId = params['RequestId']
|
1483
|
+
end
|
1484
|
+
end
|
1485
|
+
|
1486
|
+
# 设备所在分组信息
|
1487
|
+
class DevGroupInfo < TencentCloud::Common::AbstractModel
|
1488
|
+
# @param DeviceId: 设备唯一标识
|
1489
|
+
# @type DeviceId: String
|
1490
|
+
# @param GroupId: 分组ID
|
1491
|
+
# @type GroupId: String
|
1492
|
+
# @param GroupPath: 分组路径
|
1493
|
+
# @type GroupPath: String
|
1494
|
+
# @param ParentId: 父分组ID
|
1495
|
+
# @type ParentId: String
|
1496
|
+
# @param Error: 设备错误,仅在用户没权限或者设备已删除时返回具体结果
|
1497
|
+
# @type Error: String
|
1498
|
+
|
1499
|
+
attr_accessor :DeviceId, :GroupId, :GroupPath, :ParentId, :Error
|
1500
|
+
|
1501
|
+
def initialize(deviceid=nil, groupid=nil, grouppath=nil, parentid=nil, error=nil)
|
1502
|
+
@DeviceId = deviceid
|
1503
|
+
@GroupId = groupid
|
1504
|
+
@GroupPath = grouppath
|
1505
|
+
@ParentId = parentid
|
1506
|
+
@Error = error
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
def deserialize(params)
|
1510
|
+
@DeviceId = params['DeviceId']
|
1511
|
+
@GroupId = params['GroupId']
|
1512
|
+
@GroupPath = params['GroupPath']
|
1513
|
+
@ParentId = params['ParentId']
|
1514
|
+
@Error = params['Error']
|
1515
|
+
end
|
1516
|
+
end
|
1517
|
+
|
1518
|
+
# 用于描述唯一一个设备
|
1519
|
+
class DeviceItem < TencentCloud::Common::AbstractModel
|
1520
|
+
# @param DeviceId: 设备唯一标识
|
1521
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1522
|
+
# @type DeviceId: String
|
1523
|
+
# @param ChannelId: 通道唯一标识
|
1524
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1525
|
+
# @type ChannelId: String
|
1526
|
+
|
1527
|
+
attr_accessor :DeviceId, :ChannelId
|
1528
|
+
|
1529
|
+
def initialize(deviceid=nil, channelid=nil)
|
1530
|
+
@DeviceId = deviceid
|
1531
|
+
@ChannelId = channelid
|
1532
|
+
end
|
1533
|
+
|
1534
|
+
def deserialize(params)
|
1535
|
+
@DeviceId = params['DeviceId']
|
1536
|
+
@ChannelId = params['ChannelId']
|
1537
|
+
end
|
1538
|
+
end
|
1539
|
+
|
1540
|
+
# GetRecordDatesByDev请求参数结构体
|
1541
|
+
class GetRecordDatesByDevRequest < TencentCloud::Common::AbstractModel
|
1542
|
+
# @param DeviceId: 设备唯一标识
|
1543
|
+
# @type DeviceId: String
|
1544
|
+
# @param Offset: 偏移量,默认0
|
1545
|
+
# @type Offset: Integer
|
1546
|
+
# @param Limit: 限制量,默认200
|
1547
|
+
# @type Limit: Integer
|
1548
|
+
# @param ChannelId: 通道唯一标识
|
1549
|
+
# @type ChannelId: String
|
1550
|
+
# @param Type: 1: 云端录制 2: 本地录制
|
1551
|
+
# @type Type: Integer
|
1552
|
+
|
1553
|
+
attr_accessor :DeviceId, :Offset, :Limit, :ChannelId, :Type
|
1554
|
+
|
1555
|
+
def initialize(deviceid=nil, offset=nil, limit=nil, channelid=nil, type=nil)
|
1556
|
+
@DeviceId = deviceid
|
1557
|
+
@Offset = offset
|
1558
|
+
@Limit = limit
|
1559
|
+
@ChannelId = channelid
|
1560
|
+
@Type = type
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
def deserialize(params)
|
1564
|
+
@DeviceId = params['DeviceId']
|
1565
|
+
@Offset = params['Offset']
|
1566
|
+
@Limit = params['Limit']
|
1567
|
+
@ChannelId = params['ChannelId']
|
1568
|
+
@Type = params['Type']
|
1569
|
+
end
|
1570
|
+
end
|
1571
|
+
|
1572
|
+
# GetRecordDatesByDev返回参数结构体
|
1573
|
+
class GetRecordDatesByDevResponse < TencentCloud::Common::AbstractModel
|
1574
|
+
# @param Dates: 含有录像文件的日期列表
|
1575
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1576
|
+
# @type Dates: Array
|
1577
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1578
|
+
# @type RequestId: String
|
1579
|
+
|
1580
|
+
attr_accessor :Dates, :RequestId
|
1581
|
+
|
1582
|
+
def initialize(dates=nil, requestid=nil)
|
1583
|
+
@Dates = dates
|
1584
|
+
@RequestId = requestid
|
1585
|
+
end
|
1586
|
+
|
1587
|
+
def deserialize(params)
|
1588
|
+
@Dates = params['Dates']
|
1589
|
+
@RequestId = params['RequestId']
|
1590
|
+
end
|
1591
|
+
end
|
1592
|
+
|
1593
|
+
# GetRecordPlanByDev请求参数结构体
|
1594
|
+
class GetRecordPlanByDevRequest < TencentCloud::Common::AbstractModel
|
1595
|
+
# @param DeviceId: 设备唯一标识
|
1596
|
+
# @type DeviceId: String
|
1597
|
+
|
1598
|
+
attr_accessor :DeviceId
|
1599
|
+
|
1600
|
+
def initialize(deviceid=nil)
|
1601
|
+
@DeviceId = deviceid
|
1602
|
+
end
|
1603
|
+
|
1604
|
+
def deserialize(params)
|
1605
|
+
@DeviceId = params['DeviceId']
|
1606
|
+
end
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
# GetRecordPlanByDev返回参数结构体
|
1610
|
+
class GetRecordPlanByDevResponse < TencentCloud::Common::AbstractModel
|
1611
|
+
# @param Plan: 录制计划详情
|
1612
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1613
|
+
# @type Plan: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.RecordPlanItem`
|
1614
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1615
|
+
# @type RequestId: String
|
1616
|
+
|
1617
|
+
attr_accessor :Plan, :RequestId
|
1618
|
+
|
1619
|
+
def initialize(plan=nil, requestid=nil)
|
1620
|
+
@Plan = plan
|
1621
|
+
@RequestId = requestid
|
1622
|
+
end
|
1623
|
+
|
1624
|
+
def deserialize(params)
|
1625
|
+
unless params['Plan'].nil?
|
1626
|
+
@Plan = RecordPlanItem.new
|
1627
|
+
@Plan.deserialize(params['Plan'])
|
1628
|
+
end
|
1629
|
+
@RequestId = params['RequestId']
|
1630
|
+
end
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
# GetRecordPlanById请求参数结构体
|
1634
|
+
class GetRecordPlanByIdRequest < TencentCloud::Common::AbstractModel
|
1635
|
+
# @param PlanId: 录制计划ID
|
1636
|
+
# @type PlanId: String
|
1637
|
+
|
1638
|
+
attr_accessor :PlanId
|
1639
|
+
|
1640
|
+
def initialize(planid=nil)
|
1641
|
+
@PlanId = planid
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
def deserialize(params)
|
1645
|
+
@PlanId = params['PlanId']
|
1646
|
+
end
|
1647
|
+
end
|
1648
|
+
|
1649
|
+
# GetRecordPlanById返回参数结构体
|
1650
|
+
class GetRecordPlanByIdResponse < TencentCloud::Common::AbstractModel
|
1651
|
+
# @param Plan: 录制计划详情
|
1652
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1653
|
+
# @type Plan: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.RecordPlanItem`
|
1654
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1655
|
+
# @type RequestId: String
|
1656
|
+
|
1657
|
+
attr_accessor :Plan, :RequestId
|
1658
|
+
|
1659
|
+
def initialize(plan=nil, requestid=nil)
|
1660
|
+
@Plan = plan
|
1661
|
+
@RequestId = requestid
|
1662
|
+
end
|
1663
|
+
|
1664
|
+
def deserialize(params)
|
1665
|
+
unless params['Plan'].nil?
|
1666
|
+
@Plan = RecordPlanItem.new
|
1667
|
+
@Plan.deserialize(params['Plan'])
|
1668
|
+
end
|
1669
|
+
@RequestId = params['RequestId']
|
1670
|
+
end
|
1671
|
+
end
|
1672
|
+
|
1673
|
+
# GetRecordPlans请求参数结构体
|
1674
|
+
class GetRecordPlansRequest < TencentCloud::Common::AbstractModel
|
1675
|
+
|
1676
|
+
|
1677
|
+
def initialize()
|
1678
|
+
end
|
1679
|
+
|
1680
|
+
def deserialize(params)
|
1681
|
+
end
|
1682
|
+
end
|
1683
|
+
|
1684
|
+
# GetRecordPlans返回参数结构体
|
1685
|
+
class GetRecordPlansResponse < TencentCloud::Common::AbstractModel
|
1686
|
+
# @param Plans: 录制计划详情·列表
|
1687
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1688
|
+
# @type Plans: Array
|
1689
|
+
# @param TotalCount: 录制计划总数
|
1690
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1691
|
+
# @type TotalCount: Integer
|
1692
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1693
|
+
# @type RequestId: String
|
1694
|
+
|
1695
|
+
attr_accessor :Plans, :TotalCount, :RequestId
|
1696
|
+
|
1697
|
+
def initialize(plans=nil, totalcount=nil, requestid=nil)
|
1698
|
+
@Plans = plans
|
1699
|
+
@TotalCount = totalcount
|
1700
|
+
@RequestId = requestid
|
1701
|
+
end
|
1702
|
+
|
1703
|
+
def deserialize(params)
|
1704
|
+
unless params['Plans'].nil?
|
1705
|
+
@Plans = []
|
1706
|
+
params['Plans'].each do |i|
|
1707
|
+
recordplanitem_tmp = RecordPlanItem.new
|
1708
|
+
recordplanitem_tmp.deserialize(i)
|
1709
|
+
@Plans << recordplanitem_tmp
|
1710
|
+
end
|
1711
|
+
end
|
1712
|
+
@TotalCount = params['TotalCount']
|
1713
|
+
@RequestId = params['RequestId']
|
1714
|
+
end
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
# GetTimeTemplateById请求参数结构体
|
1718
|
+
class GetTimeTemplateByIdRequest < TencentCloud::Common::AbstractModel
|
1719
|
+
# @param TemplateId: 时间模板ID
|
1720
|
+
# @type TemplateId: String
|
1721
|
+
|
1722
|
+
attr_accessor :TemplateId
|
1723
|
+
|
1724
|
+
def initialize(templateid=nil)
|
1725
|
+
@TemplateId = templateid
|
1726
|
+
end
|
1727
|
+
|
1728
|
+
def deserialize(params)
|
1729
|
+
@TemplateId = params['TemplateId']
|
1730
|
+
end
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
# GetTimeTemplateById返回参数结构体
|
1734
|
+
class GetTimeTemplateByIdResponse < TencentCloud::Common::AbstractModel
|
1735
|
+
# @param Template: 时间模板详情
|
1736
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1737
|
+
# @type Template: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.TimeTemplateItem`
|
1738
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1739
|
+
# @type RequestId: String
|
1740
|
+
|
1741
|
+
attr_accessor :Template, :RequestId
|
1742
|
+
|
1743
|
+
def initialize(template=nil, requestid=nil)
|
1744
|
+
@Template = template
|
1745
|
+
@RequestId = requestid
|
1746
|
+
end
|
1747
|
+
|
1748
|
+
def deserialize(params)
|
1749
|
+
unless params['Template'].nil?
|
1750
|
+
@Template = TimeTemplateItem.new
|
1751
|
+
@Template.deserialize(params['Template'])
|
1752
|
+
end
|
1753
|
+
@RequestId = params['RequestId']
|
1754
|
+
end
|
1755
|
+
end
|
1756
|
+
|
1757
|
+
# GetTimeTemplates请求参数结构体
|
1758
|
+
class GetTimeTemplatesRequest < TencentCloud::Common::AbstractModel
|
1759
|
+
|
1760
|
+
|
1761
|
+
def initialize()
|
1762
|
+
end
|
1763
|
+
|
1764
|
+
def deserialize(params)
|
1765
|
+
end
|
1766
|
+
end
|
1767
|
+
|
1768
|
+
# GetTimeTemplates返回参数结构体
|
1769
|
+
class GetTimeTemplatesResponse < TencentCloud::Common::AbstractModel
|
1770
|
+
# @param Templates: 时间模板列表
|
1771
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1772
|
+
# @type Templates: Array
|
1773
|
+
# @param TotalCount: 时间模板总数
|
1774
|
+
# @type TotalCount: Integer
|
1775
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1776
|
+
# @type RequestId: String
|
1777
|
+
|
1778
|
+
attr_accessor :Templates, :TotalCount, :RequestId
|
1779
|
+
|
1780
|
+
def initialize(templates=nil, totalcount=nil, requestid=nil)
|
1781
|
+
@Templates = templates
|
1782
|
+
@TotalCount = totalcount
|
1783
|
+
@RequestId = requestid
|
1784
|
+
end
|
1785
|
+
|
1786
|
+
def deserialize(params)
|
1787
|
+
unless params['Templates'].nil?
|
1788
|
+
@Templates = []
|
1789
|
+
params['Templates'].each do |i|
|
1790
|
+
timetemplateitem_tmp = TimeTemplateItem.new
|
1791
|
+
timetemplateitem_tmp.deserialize(i)
|
1792
|
+
@Templates << timetemplateitem_tmp
|
1793
|
+
end
|
1794
|
+
end
|
1795
|
+
@TotalCount = params['TotalCount']
|
1796
|
+
@RequestId = params['RequestId']
|
1797
|
+
end
|
1798
|
+
end
|
1799
|
+
|
1800
|
+
# GetVideoListByCon请求参数结构体
|
1801
|
+
class GetVideoListByConRequest < TencentCloud::Common::AbstractModel
|
1802
|
+
# @param DeviceId: 设备唯一标识
|
1803
|
+
# @type DeviceId: String
|
1804
|
+
# @param Offset: 偏移量,默认0
|
1805
|
+
# @type Offset: Integer
|
1806
|
+
# @param Limit: 限制量,默认200
|
1807
|
+
# @type Limit: Integer
|
1808
|
+
# @param LatestDay: 0:查询指定日期的录像;1:查询最近一天的录像;默认0
|
1809
|
+
# @type LatestDay: Integer
|
1810
|
+
# @param Date: 指定某天。取值【YYYY-MM-DD】
|
1811
|
+
# 当LatestDay为空或为0时,本参数不允许为空。
|
1812
|
+
# @type Date: String
|
1813
|
+
# @param ChannelId: 通道唯一标识
|
1814
|
+
# @type ChannelId: String
|
1815
|
+
# @param Type: 1: 云端录制 2: 本地录制
|
1816
|
+
# @type Type: Integer
|
1817
|
+
|
1818
|
+
attr_accessor :DeviceId, :Offset, :Limit, :LatestDay, :Date, :ChannelId, :Type
|
1819
|
+
|
1820
|
+
def initialize(deviceid=nil, offset=nil, limit=nil, latestday=nil, date=nil, channelid=nil, type=nil)
|
1821
|
+
@DeviceId = deviceid
|
1822
|
+
@Offset = offset
|
1823
|
+
@Limit = limit
|
1824
|
+
@LatestDay = latestday
|
1825
|
+
@Date = date
|
1826
|
+
@ChannelId = channelid
|
1827
|
+
@Type = type
|
1828
|
+
end
|
1829
|
+
|
1830
|
+
def deserialize(params)
|
1831
|
+
@DeviceId = params['DeviceId']
|
1832
|
+
@Offset = params['Offset']
|
1833
|
+
@Limit = params['Limit']
|
1834
|
+
@LatestDay = params['LatestDay']
|
1835
|
+
@Date = params['Date']
|
1836
|
+
@ChannelId = params['ChannelId']
|
1837
|
+
@Type = params['Type']
|
1838
|
+
end
|
1839
|
+
end
|
1840
|
+
|
1841
|
+
# GetVideoListByCon返回参数结构体
|
1842
|
+
class GetVideoListByConResponse < TencentCloud::Common::AbstractModel
|
1843
|
+
# @param VideoList: 录像详情列表
|
1844
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1845
|
+
# @type VideoList: Array
|
1846
|
+
# @param TotalCount: 录像总数
|
1847
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1848
|
+
# @type TotalCount: Integer
|
1849
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1850
|
+
# @type RequestId: String
|
1851
|
+
|
1852
|
+
attr_accessor :VideoList, :TotalCount, :RequestId
|
1853
|
+
|
1854
|
+
def initialize(videolist=nil, totalcount=nil, requestid=nil)
|
1855
|
+
@VideoList = videolist
|
1856
|
+
@TotalCount = totalcount
|
1857
|
+
@RequestId = requestid
|
1858
|
+
end
|
1859
|
+
|
1860
|
+
def deserialize(params)
|
1861
|
+
unless params['VideoList'].nil?
|
1862
|
+
@VideoList = []
|
1863
|
+
params['VideoList'].each do |i|
|
1864
|
+
recordtaskitem_tmp = RecordTaskItem.new
|
1865
|
+
recordtaskitem_tmp.deserialize(i)
|
1866
|
+
@VideoList << recordtaskitem_tmp
|
1867
|
+
end
|
1868
|
+
end
|
1869
|
+
@TotalCount = params['TotalCount']
|
1870
|
+
@RequestId = params['RequestId']
|
1871
|
+
end
|
1872
|
+
end
|
1873
|
+
|
1874
|
+
# 分组下设备信息
|
1875
|
+
class GroupDeviceItem < TencentCloud::Common::AbstractModel
|
1876
|
+
# @param DeviceId: 设备唯一标识
|
1877
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1878
|
+
# @type DeviceId: String
|
1879
|
+
# @param NickName: 设备名称
|
1880
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1881
|
+
# @type NickName: String
|
1882
|
+
# @param Status: 设备状态
|
1883
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1884
|
+
# @type Status: Integer
|
1885
|
+
# @param ExtraInformation: 扩展信息
|
1886
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1887
|
+
# @type ExtraInformation: String
|
1888
|
+
# @param DeviceType: 设备类型
|
1889
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1890
|
+
# @type DeviceType: Integer
|
1891
|
+
# @param RTSPUrl: rtsp地址
|
1892
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1893
|
+
# @type RTSPUrl: String
|
1894
|
+
# @param DeviceCode: 设备编码
|
1895
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1896
|
+
# @type DeviceCode: String
|
1897
|
+
# @param IsRecord: 是否存在录像
|
1898
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1899
|
+
# @type IsRecord: Integer
|
1900
|
+
# @param Recordable: 该设备是否可录制
|
1901
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1902
|
+
# @type Recordable: Integer
|
1903
|
+
# @param Protocol: 设备接入协议
|
1904
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1905
|
+
# @type Protocol: String
|
1906
|
+
|
1907
|
+
attr_accessor :DeviceId, :NickName, :Status, :ExtraInformation, :DeviceType, :RTSPUrl, :DeviceCode, :IsRecord, :Recordable, :Protocol
|
1908
|
+
|
1909
|
+
def initialize(deviceid=nil, nickname=nil, status=nil, extrainformation=nil, devicetype=nil, rtspurl=nil, devicecode=nil, isrecord=nil, recordable=nil, protocol=nil)
|
1910
|
+
@DeviceId = deviceid
|
1911
|
+
@NickName = nickname
|
1912
|
+
@Status = status
|
1913
|
+
@ExtraInformation = extrainformation
|
1914
|
+
@DeviceType = devicetype
|
1915
|
+
@RTSPUrl = rtspurl
|
1916
|
+
@DeviceCode = devicecode
|
1917
|
+
@IsRecord = isrecord
|
1918
|
+
@Recordable = recordable
|
1919
|
+
@Protocol = protocol
|
1920
|
+
end
|
1921
|
+
|
1922
|
+
def deserialize(params)
|
1923
|
+
@DeviceId = params['DeviceId']
|
1924
|
+
@NickName = params['NickName']
|
1925
|
+
@Status = params['Status']
|
1926
|
+
@ExtraInformation = params['ExtraInformation']
|
1927
|
+
@DeviceType = params['DeviceType']
|
1928
|
+
@RTSPUrl = params['RTSPUrl']
|
1929
|
+
@DeviceCode = params['DeviceCode']
|
1930
|
+
@IsRecord = params['IsRecord']
|
1931
|
+
@Recordable = params['Recordable']
|
1932
|
+
@Protocol = params['Protocol']
|
1933
|
+
end
|
1934
|
+
end
|
1935
|
+
|
1936
|
+
# 分组信息详情
|
1937
|
+
class GroupInfo < TencentCloud::Common::AbstractModel
|
1938
|
+
# @param GroupId: 分组ID
|
1939
|
+
# @type GroupId: String
|
1940
|
+
# @param GroupName: 分组名称
|
1941
|
+
# @type GroupName: String
|
1942
|
+
# @param GroupType: 分组类型
|
1943
|
+
# @type GroupType: String
|
1944
|
+
# @param GroupPath: 分组路径
|
1945
|
+
# @type GroupPath: String
|
1946
|
+
# @param ParentId: 父分组ID
|
1947
|
+
# @type ParentId: String
|
1948
|
+
# @param GroupDescribe: 分组描述
|
1949
|
+
# @type GroupDescribe: String
|
1950
|
+
# @param ExtraInformation: 扩展信息
|
1951
|
+
# @type ExtraInformation: String
|
1952
|
+
# @param CreateTime: 创建时间
|
1953
|
+
# @type CreateTime: Integer
|
1954
|
+
# @param GroupStatus: 分组状态
|
1955
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1956
|
+
# @type GroupStatus: Integer
|
1957
|
+
# @param Error: 设备不存在时产生的错误
|
1958
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1959
|
+
# @type Error: String
|
1960
|
+
|
1961
|
+
attr_accessor :GroupId, :GroupName, :GroupType, :GroupPath, :ParentId, :GroupDescribe, :ExtraInformation, :CreateTime, :GroupStatus, :Error
|
1962
|
+
|
1963
|
+
def initialize(groupid=nil, groupname=nil, grouptype=nil, grouppath=nil, parentid=nil, groupdescribe=nil, extrainformation=nil, createtime=nil, groupstatus=nil, error=nil)
|
1964
|
+
@GroupId = groupid
|
1965
|
+
@GroupName = groupname
|
1966
|
+
@GroupType = grouptype
|
1967
|
+
@GroupPath = grouppath
|
1968
|
+
@ParentId = parentid
|
1969
|
+
@GroupDescribe = groupdescribe
|
1970
|
+
@ExtraInformation = extrainformation
|
1971
|
+
@CreateTime = createtime
|
1972
|
+
@GroupStatus = groupstatus
|
1973
|
+
@Error = error
|
1974
|
+
end
|
1975
|
+
|
1976
|
+
def deserialize(params)
|
1977
|
+
@GroupId = params['GroupId']
|
1978
|
+
@GroupName = params['GroupName']
|
1979
|
+
@GroupType = params['GroupType']
|
1980
|
+
@GroupPath = params['GroupPath']
|
1981
|
+
@ParentId = params['ParentId']
|
1982
|
+
@GroupDescribe = params['GroupDescribe']
|
1983
|
+
@ExtraInformation = params['ExtraInformation']
|
1984
|
+
@CreateTime = params['CreateTime']
|
1985
|
+
@GroupStatus = params['GroupStatus']
|
1986
|
+
@Error = params['Error']
|
1987
|
+
end
|
1988
|
+
end
|
1989
|
+
|
1990
|
+
# 分组信息
|
1991
|
+
class GroupItem < TencentCloud::Common::AbstractModel
|
1992
|
+
# @param GroupName: 分组名称
|
1993
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1994
|
+
# @type GroupName: String
|
1995
|
+
# @param ParentId: 父分组ID
|
1996
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1997
|
+
# @type ParentId: String
|
1998
|
+
# @param GroupId: 分组ID
|
1999
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2000
|
+
# @type GroupId: String
|
2001
|
+
# @param GroupPath: 分组路径
|
2002
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2003
|
+
# @type GroupPath: String
|
2004
|
+
# @param GroupDescribe: 分组描述
|
2005
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2006
|
+
# @type GroupDescribe: String
|
2007
|
+
# @param DeviceNum: 分组绑定设备数
|
2008
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2009
|
+
# @type DeviceNum: Integer
|
2010
|
+
# @param SubGroupNum: 子分组数量
|
2011
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2012
|
+
# @type SubGroupNum: Integer
|
2013
|
+
# @param ExtraInformation: 分组附加信息
|
2014
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2015
|
+
# @type ExtraInformation: String
|
2016
|
+
# @param GroupType: 分组类型
|
2017
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2018
|
+
# @type GroupType: String
|
2019
|
+
# @param CreateTime: 创建时间
|
2020
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2021
|
+
# @type CreateTime: Integer
|
2022
|
+
# @param GroupStatus: 分组状态
|
2023
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2024
|
+
# @type GroupStatus: Integer
|
2025
|
+
|
2026
|
+
attr_accessor :GroupName, :ParentId, :GroupId, :GroupPath, :GroupDescribe, :DeviceNum, :SubGroupNum, :ExtraInformation, :GroupType, :CreateTime, :GroupStatus
|
2027
|
+
|
2028
|
+
def initialize(groupname=nil, parentid=nil, groupid=nil, grouppath=nil, groupdescribe=nil, devicenum=nil, subgroupnum=nil, extrainformation=nil, grouptype=nil, createtime=nil, groupstatus=nil)
|
2029
|
+
@GroupName = groupname
|
2030
|
+
@ParentId = parentid
|
2031
|
+
@GroupId = groupid
|
2032
|
+
@GroupPath = grouppath
|
2033
|
+
@GroupDescribe = groupdescribe
|
2034
|
+
@DeviceNum = devicenum
|
2035
|
+
@SubGroupNum = subgroupnum
|
2036
|
+
@ExtraInformation = extrainformation
|
2037
|
+
@GroupType = grouptype
|
2038
|
+
@CreateTime = createtime
|
2039
|
+
@GroupStatus = groupstatus
|
2040
|
+
end
|
2041
|
+
|
2042
|
+
def deserialize(params)
|
2043
|
+
@GroupName = params['GroupName']
|
2044
|
+
@ParentId = params['ParentId']
|
2045
|
+
@GroupId = params['GroupId']
|
2046
|
+
@GroupPath = params['GroupPath']
|
2047
|
+
@GroupDescribe = params['GroupDescribe']
|
2048
|
+
@DeviceNum = params['DeviceNum']
|
2049
|
+
@SubGroupNum = params['SubGroupNum']
|
2050
|
+
@ExtraInformation = params['ExtraInformation']
|
2051
|
+
@GroupType = params['GroupType']
|
2052
|
+
@CreateTime = params['CreateTime']
|
2053
|
+
@GroupStatus = params['GroupStatus']
|
2054
|
+
end
|
2055
|
+
end
|
2056
|
+
|
2057
|
+
# ModifyDeviceData请求参数结构体
|
2058
|
+
class ModifyDeviceDataRequest < TencentCloud::Common::AbstractModel
|
2059
|
+
# @param DeviceId: 设备唯一标识
|
2060
|
+
# @type DeviceId: String
|
2061
|
+
# @param NickName: 设备名称
|
2062
|
+
# @type NickName: String
|
2063
|
+
|
2064
|
+
attr_accessor :DeviceId, :NickName
|
2065
|
+
|
2066
|
+
def initialize(deviceid=nil, nickname=nil)
|
2067
|
+
@DeviceId = deviceid
|
2068
|
+
@NickName = nickname
|
2069
|
+
end
|
2070
|
+
|
2071
|
+
def deserialize(params)
|
2072
|
+
@DeviceId = params['DeviceId']
|
2073
|
+
@NickName = params['NickName']
|
2074
|
+
end
|
2075
|
+
end
|
2076
|
+
|
2077
|
+
# ModifyDeviceData返回参数结构体
|
2078
|
+
class ModifyDeviceDataResponse < TencentCloud::Common::AbstractModel
|
2079
|
+
# @param Status: 操作结果,“OK”表示成功,其他表示失败。
|
2080
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2081
|
+
# @type Status: String
|
2082
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2083
|
+
# @type RequestId: String
|
2084
|
+
|
2085
|
+
attr_accessor :Status, :RequestId
|
2086
|
+
|
2087
|
+
def initialize(status=nil, requestid=nil)
|
2088
|
+
@Status = status
|
2089
|
+
@RequestId = requestid
|
2090
|
+
end
|
2091
|
+
|
2092
|
+
def deserialize(params)
|
2093
|
+
@Status = params['Status']
|
2094
|
+
@RequestId = params['RequestId']
|
2095
|
+
end
|
2096
|
+
end
|
2097
|
+
|
2098
|
+
# 录制计划详情
|
2099
|
+
class RecordPlanItem < TencentCloud::Common::AbstractModel
|
2100
|
+
# @param PlanId: 计划ID
|
2101
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2102
|
+
# @type PlanId: String
|
2103
|
+
# @param Name: 计划名称
|
2104
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2105
|
+
# @type Name: String
|
2106
|
+
# @param TimeTemplateId: 时间模板ID
|
2107
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2108
|
+
# @type TimeTemplateId: String
|
2109
|
+
# @param TimeTemplateName: 时间模板名称
|
2110
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2111
|
+
# @type TimeTemplateName: String
|
2112
|
+
# @param EventId: 录制类型
|
2113
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2114
|
+
# @type EventId: Integer
|
2115
|
+
# @param Devices: 绑定的设备列表
|
2116
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2117
|
+
# @type Devices: Array
|
2118
|
+
|
2119
|
+
attr_accessor :PlanId, :Name, :TimeTemplateId, :TimeTemplateName, :EventId, :Devices
|
2120
|
+
|
2121
|
+
def initialize(planid=nil, name=nil, timetemplateid=nil, timetemplatename=nil, eventid=nil, devices=nil)
|
2122
|
+
@PlanId = planid
|
2123
|
+
@Name = name
|
2124
|
+
@TimeTemplateId = timetemplateid
|
2125
|
+
@TimeTemplateName = timetemplatename
|
2126
|
+
@EventId = eventid
|
2127
|
+
@Devices = devices
|
2128
|
+
end
|
2129
|
+
|
2130
|
+
def deserialize(params)
|
2131
|
+
@PlanId = params['PlanId']
|
2132
|
+
@Name = params['Name']
|
2133
|
+
@TimeTemplateId = params['TimeTemplateId']
|
2134
|
+
@TimeTemplateName = params['TimeTemplateName']
|
2135
|
+
@EventId = params['EventId']
|
2136
|
+
unless params['Devices'].nil?
|
2137
|
+
@Devices = []
|
2138
|
+
params['Devices'].each do |i|
|
2139
|
+
deviceitem_tmp = DeviceItem.new
|
2140
|
+
deviceitem_tmp.deserialize(i)
|
2141
|
+
@Devices << deviceitem_tmp
|
2142
|
+
end
|
2143
|
+
end
|
2144
|
+
end
|
2145
|
+
end
|
2146
|
+
|
2147
|
+
# 普通设备的录像详情
|
2148
|
+
class RecordTaskItem < TencentCloud::Common::AbstractModel
|
2149
|
+
# @param RecordTaskId: 录像任务ID
|
2150
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2151
|
+
# @type RecordTaskId: String
|
2152
|
+
# @param RecordPlanId: 录制计划ID
|
2153
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2154
|
+
# @type RecordPlanId: String
|
2155
|
+
# @param StartTime: 本录制片段开始时间
|
2156
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2157
|
+
# @type StartTime: Integer
|
2158
|
+
# @param EndTime: 本录制片段结束时间
|
2159
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2160
|
+
# @type EndTime: Integer
|
2161
|
+
# @param EventId: 录制模式
|
2162
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2163
|
+
# @type EventId: Integer
|
2164
|
+
# @param VideoUrl: 本录制片段对应的录制文件URL
|
2165
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2166
|
+
# @type VideoUrl: String
|
2167
|
+
# @param RecordStatus: 本录制片段当前的录制状态
|
2168
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2169
|
+
# @type RecordStatus: Integer
|
2170
|
+
|
2171
|
+
attr_accessor :RecordTaskId, :RecordPlanId, :StartTime, :EndTime, :EventId, :VideoUrl, :RecordStatus
|
2172
|
+
|
2173
|
+
def initialize(recordtaskid=nil, recordplanid=nil, starttime=nil, endtime=nil, eventid=nil, videourl=nil, recordstatus=nil)
|
2174
|
+
@RecordTaskId = recordtaskid
|
2175
|
+
@RecordPlanId = recordplanid
|
2176
|
+
@StartTime = starttime
|
2177
|
+
@EndTime = endtime
|
2178
|
+
@EventId = eventid
|
2179
|
+
@VideoUrl = videourl
|
2180
|
+
@RecordStatus = recordstatus
|
2181
|
+
end
|
2182
|
+
|
2183
|
+
def deserialize(params)
|
2184
|
+
@RecordTaskId = params['RecordTaskId']
|
2185
|
+
@RecordPlanId = params['RecordPlanId']
|
2186
|
+
@StartTime = params['StartTime']
|
2187
|
+
@EndTime = params['EndTime']
|
2188
|
+
@EventId = params['EventId']
|
2189
|
+
@VideoUrl = params['VideoUrl']
|
2190
|
+
@RecordStatus = params['RecordStatus']
|
2191
|
+
end
|
2192
|
+
end
|
2193
|
+
|
2194
|
+
# SIIP服务器相关配置项
|
2195
|
+
class ServerConfiguration < TencentCloud::Common::AbstractModel
|
2196
|
+
# @param Host: SIP服务器地址
|
2197
|
+
# @type Host: String
|
2198
|
+
# @param Port: SIP服务器端口
|
2199
|
+
# @type Port: Integer
|
2200
|
+
# @param Serial: SIP服务器编码
|
2201
|
+
# @type Serial: String
|
2202
|
+
# @param Realm: SIP服务器域
|
2203
|
+
# @type Realm: String
|
2204
|
+
|
2205
|
+
attr_accessor :Host, :Port, :Serial, :Realm
|
2206
|
+
|
2207
|
+
def initialize(host=nil, port=nil, serial=nil, realm=nil)
|
2208
|
+
@Host = host
|
2209
|
+
@Port = port
|
2210
|
+
@Serial = serial
|
2211
|
+
@Realm = realm
|
2212
|
+
end
|
2213
|
+
|
2214
|
+
def deserialize(params)
|
2215
|
+
@Host = params['Host']
|
2216
|
+
@Port = params['Port']
|
2217
|
+
@Serial = params['Serial']
|
2218
|
+
@Realm = params['Realm']
|
2219
|
+
end
|
2220
|
+
end
|
2221
|
+
|
2222
|
+
# 某天的统计数额
|
2223
|
+
class StatisticItem < TencentCloud::Common::AbstractModel
|
2224
|
+
# @param Date: 日期。格式【YYYY-MM-DD】
|
2225
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2226
|
+
# @type Date: String
|
2227
|
+
# @param Sum: 统计数额
|
2228
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2229
|
+
# @type Sum: Float
|
2230
|
+
|
2231
|
+
attr_accessor :Date, :Sum
|
2232
|
+
|
2233
|
+
def initialize(date=nil, sum=nil)
|
2234
|
+
@Date = date
|
2235
|
+
@Sum = sum
|
2236
|
+
end
|
2237
|
+
|
2238
|
+
def deserialize(params)
|
2239
|
+
@Date = params['Date']
|
2240
|
+
@Sum = params['Sum']
|
2241
|
+
end
|
2242
|
+
end
|
2243
|
+
|
2244
|
+
# 时间模板详情
|
2245
|
+
class TimeTemplateItem < TencentCloud::Common::AbstractModel
|
2246
|
+
# @param TemplateId: 时间模板ID
|
2247
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2248
|
+
# @type TemplateId: String
|
2249
|
+
# @param Name: 模板名称
|
2250
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2251
|
+
# @type Name: String
|
2252
|
+
# @param IsAllWeek: 是否全时录制,即7*24小时录制
|
2253
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2254
|
+
# @type IsAllWeek: Integer
|
2255
|
+
# @param Type: 是否为自定义模板
|
2256
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2257
|
+
# @type Type: Integer
|
2258
|
+
# @param TimeTemplateSpecs: 时间片段详情
|
2259
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2260
|
+
# @type TimeTemplateSpecs: Array
|
2261
|
+
|
2262
|
+
attr_accessor :TemplateId, :Name, :IsAllWeek, :Type, :TimeTemplateSpecs
|
2263
|
+
|
2264
|
+
def initialize(templateid=nil, name=nil, isallweek=nil, type=nil, timetemplatespecs=nil)
|
2265
|
+
@TemplateId = templateid
|
2266
|
+
@Name = name
|
2267
|
+
@IsAllWeek = isallweek
|
2268
|
+
@Type = type
|
2269
|
+
@TimeTemplateSpecs = timetemplatespecs
|
2270
|
+
end
|
2271
|
+
|
2272
|
+
def deserialize(params)
|
2273
|
+
@TemplateId = params['TemplateId']
|
2274
|
+
@Name = params['Name']
|
2275
|
+
@IsAllWeek = params['IsAllWeek']
|
2276
|
+
@Type = params['Type']
|
2277
|
+
unless params['TimeTemplateSpecs'].nil?
|
2278
|
+
@TimeTemplateSpecs = []
|
2279
|
+
params['TimeTemplateSpecs'].each do |i|
|
2280
|
+
timetemplatespec_tmp = TimeTemplateSpec.new
|
2281
|
+
timetemplatespec_tmp.deserialize(i)
|
2282
|
+
@TimeTemplateSpecs << timetemplatespec_tmp
|
2283
|
+
end
|
2284
|
+
end
|
2285
|
+
end
|
2286
|
+
end
|
2287
|
+
|
2288
|
+
# 在操作时间模板时,用于描述各个时间片段
|
2289
|
+
class TimeTemplateSpec < TencentCloud::Common::AbstractModel
|
2290
|
+
# @param DayofWeek: 一周中的周几
|
2291
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2292
|
+
# @type DayofWeek: Integer
|
2293
|
+
# @param BeginTime: 时间片段的开始时分。格式【HH:MM】
|
2294
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2295
|
+
# @type BeginTime: String
|
2296
|
+
# @param EndTime: 时间片段的结束时分。格式【HH:MM】
|
2297
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2298
|
+
# @type EndTime: String
|
2299
|
+
|
2300
|
+
attr_accessor :DayofWeek, :BeginTime, :EndTime
|
2301
|
+
|
2302
|
+
def initialize(dayofweek=nil, begintime=nil, endtime=nil)
|
2303
|
+
@DayofWeek = dayofweek
|
2304
|
+
@BeginTime = begintime
|
2305
|
+
@EndTime = endtime
|
2306
|
+
end
|
2307
|
+
|
2308
|
+
def deserialize(params)
|
2309
|
+
@DayofWeek = params['DayofWeek']
|
2310
|
+
@BeginTime = params['BeginTime']
|
2311
|
+
@EndTime = params['EndTime']
|
2312
|
+
end
|
2313
|
+
end
|
2314
|
+
|
2315
|
+
# UpdateDeviceGroup请求参数结构体
|
2316
|
+
class UpdateDeviceGroupRequest < TencentCloud::Common::AbstractModel
|
2317
|
+
# @param GroupName: 分组名称
|
2318
|
+
# @type GroupName: String
|
2319
|
+
# @param GroupId: 分组ID
|
2320
|
+
# @type GroupId: String
|
2321
|
+
# @param GroupDescribe: 分组描述
|
2322
|
+
# @type GroupDescribe: String
|
2323
|
+
# @param NewParentId: 新父分组ID,用于修改分组路径
|
2324
|
+
# @type NewParentId: String
|
2325
|
+
|
2326
|
+
attr_accessor :GroupName, :GroupId, :GroupDescribe, :NewParentId
|
2327
|
+
|
2328
|
+
def initialize(groupname=nil, groupid=nil, groupdescribe=nil, newparentid=nil)
|
2329
|
+
@GroupName = groupname
|
2330
|
+
@GroupId = groupid
|
2331
|
+
@GroupDescribe = groupdescribe
|
2332
|
+
@NewParentId = newparentid
|
2333
|
+
end
|
2334
|
+
|
2335
|
+
def deserialize(params)
|
2336
|
+
@GroupName = params['GroupName']
|
2337
|
+
@GroupId = params['GroupId']
|
2338
|
+
@GroupDescribe = params['GroupDescribe']
|
2339
|
+
@NewParentId = params['NewParentId']
|
2340
|
+
end
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
# UpdateDeviceGroup返回参数结构体
|
2344
|
+
class UpdateDeviceGroupResponse < TencentCloud::Common::AbstractModel
|
2345
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2346
|
+
# @type RequestId: String
|
2347
|
+
|
2348
|
+
attr_accessor :RequestId
|
2349
|
+
|
2350
|
+
def initialize(requestid=nil)
|
2351
|
+
@RequestId = requestid
|
2352
|
+
end
|
2353
|
+
|
2354
|
+
def deserialize(params)
|
2355
|
+
@RequestId = params['RequestId']
|
2356
|
+
end
|
2357
|
+
end
|
2358
|
+
|
2359
|
+
# UpdateDevicePassWord请求参数结构体
|
2360
|
+
class UpdateDevicePassWordRequest < TencentCloud::Common::AbstractModel
|
2361
|
+
# @param PassWord: 设备密码
|
2362
|
+
# @type PassWord: String
|
2363
|
+
# @param DeviceId: 设备唯一标识
|
2364
|
+
# @type DeviceId: String
|
2365
|
+
|
2366
|
+
attr_accessor :PassWord, :DeviceId
|
2367
|
+
|
2368
|
+
def initialize(password=nil, deviceid=nil)
|
2369
|
+
@PassWord = password
|
2370
|
+
@DeviceId = deviceid
|
2371
|
+
end
|
2372
|
+
|
2373
|
+
def deserialize(params)
|
2374
|
+
@PassWord = params['PassWord']
|
2375
|
+
@DeviceId = params['DeviceId']
|
2376
|
+
end
|
2377
|
+
end
|
2378
|
+
|
2379
|
+
# UpdateDevicePassWord返回参数结构体
|
2380
|
+
class UpdateDevicePassWordResponse < TencentCloud::Common::AbstractModel
|
2381
|
+
# @param Status: 操作结果,“OK”表示成功,其他表示失败。
|
2382
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2383
|
+
# @type Status: String
|
2384
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2385
|
+
# @type RequestId: String
|
2386
|
+
|
2387
|
+
attr_accessor :Status, :RequestId
|
2388
|
+
|
2389
|
+
def initialize(status=nil, requestid=nil)
|
2390
|
+
@Status = status
|
2391
|
+
@RequestId = requestid
|
2392
|
+
end
|
2393
|
+
|
2394
|
+
def deserialize(params)
|
2395
|
+
@Status = params['Status']
|
2396
|
+
@RequestId = params['RequestId']
|
2397
|
+
end
|
2398
|
+
end
|
2399
|
+
|
2400
|
+
# UpdateRecordPlan请求参数结构体
|
2401
|
+
class UpdateRecordPlanRequest < TencentCloud::Common::AbstractModel
|
2402
|
+
# @param PlanId: 录制计划ID
|
2403
|
+
# @type PlanId: String
|
2404
|
+
# @param Name: 计划名称
|
2405
|
+
# @type Name: String
|
2406
|
+
# @param TimeTemplateId: 时间模板ID
|
2407
|
+
# @type TimeTemplateId: String
|
2408
|
+
# @param EventId: 触发录制的事件 1:全部
|
2409
|
+
# @type EventId: Integer
|
2410
|
+
# @param Devices: 录制设备列表
|
2411
|
+
# @type Devices: Array
|
2412
|
+
# @param IsModifyDevices: 是否更新绑定此录制计划的设备列表
|
2413
|
+
# 0 - 不更新
|
2414
|
+
# 1 - 更新,如果Devices参数为空则清空设备列表,Devices不为空则全量更新设备列表
|
2415
|
+
# @type IsModifyDevices: Integer
|
2416
|
+
|
2417
|
+
attr_accessor :PlanId, :Name, :TimeTemplateId, :EventId, :Devices, :IsModifyDevices
|
2418
|
+
|
2419
|
+
def initialize(planid=nil, name=nil, timetemplateid=nil, eventid=nil, devices=nil, ismodifydevices=nil)
|
2420
|
+
@PlanId = planid
|
2421
|
+
@Name = name
|
2422
|
+
@TimeTemplateId = timetemplateid
|
2423
|
+
@EventId = eventid
|
2424
|
+
@Devices = devices
|
2425
|
+
@IsModifyDevices = ismodifydevices
|
2426
|
+
end
|
2427
|
+
|
2428
|
+
def deserialize(params)
|
2429
|
+
@PlanId = params['PlanId']
|
2430
|
+
@Name = params['Name']
|
2431
|
+
@TimeTemplateId = params['TimeTemplateId']
|
2432
|
+
@EventId = params['EventId']
|
2433
|
+
unless params['Devices'].nil?
|
2434
|
+
@Devices = []
|
2435
|
+
params['Devices'].each do |i|
|
2436
|
+
deviceitem_tmp = DeviceItem.new
|
2437
|
+
deviceitem_tmp.deserialize(i)
|
2438
|
+
@Devices << deviceitem_tmp
|
2439
|
+
end
|
2440
|
+
end
|
2441
|
+
@IsModifyDevices = params['IsModifyDevices']
|
2442
|
+
end
|
2443
|
+
end
|
2444
|
+
|
2445
|
+
# UpdateRecordPlan返回参数结构体
|
2446
|
+
class UpdateRecordPlanResponse < TencentCloud::Common::AbstractModel
|
2447
|
+
# @param Status: 操作结果
|
2448
|
+
# @type Status: String
|
2449
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2450
|
+
# @type RequestId: String
|
2451
|
+
|
2452
|
+
attr_accessor :Status, :RequestId
|
2453
|
+
|
2454
|
+
def initialize(status=nil, requestid=nil)
|
2455
|
+
@Status = status
|
2456
|
+
@RequestId = requestid
|
2457
|
+
end
|
2458
|
+
|
2459
|
+
def deserialize(params)
|
2460
|
+
@Status = params['Status']
|
2461
|
+
@RequestId = params['RequestId']
|
2462
|
+
end
|
2463
|
+
end
|
2464
|
+
|
2465
|
+
# UpdateTimeTemplate请求参数结构体
|
2466
|
+
class UpdateTimeTemplateRequest < TencentCloud::Common::AbstractModel
|
2467
|
+
# @param TemplateId: 时间模板ID
|
2468
|
+
# @type TemplateId: String
|
2469
|
+
# @param Name: 时间模板名称
|
2470
|
+
# @type Name: String
|
2471
|
+
# @param IsAllWeek: 是否全时录制,即7*24小时录制。
|
2472
|
+
# 0:非全时录制;1:全时录制。默认1
|
2473
|
+
# @type IsAllWeek: Integer
|
2474
|
+
# @param TimeTemplateSpecs: 录制时间片段
|
2475
|
+
# @type TimeTemplateSpecs: Array
|
2476
|
+
|
2477
|
+
attr_accessor :TemplateId, :Name, :IsAllWeek, :TimeTemplateSpecs
|
2478
|
+
|
2479
|
+
def initialize(templateid=nil, name=nil, isallweek=nil, timetemplatespecs=nil)
|
2480
|
+
@TemplateId = templateid
|
2481
|
+
@Name = name
|
2482
|
+
@IsAllWeek = isallweek
|
2483
|
+
@TimeTemplateSpecs = timetemplatespecs
|
2484
|
+
end
|
2485
|
+
|
2486
|
+
def deserialize(params)
|
2487
|
+
@TemplateId = params['TemplateId']
|
2488
|
+
@Name = params['Name']
|
2489
|
+
@IsAllWeek = params['IsAllWeek']
|
2490
|
+
unless params['TimeTemplateSpecs'].nil?
|
2491
|
+
@TimeTemplateSpecs = []
|
2492
|
+
params['TimeTemplateSpecs'].each do |i|
|
2493
|
+
timetemplatespec_tmp = TimeTemplateSpec.new
|
2494
|
+
timetemplatespec_tmp.deserialize(i)
|
2495
|
+
@TimeTemplateSpecs << timetemplatespec_tmp
|
2496
|
+
end
|
2497
|
+
end
|
2498
|
+
end
|
2499
|
+
end
|
2500
|
+
|
2501
|
+
# UpdateTimeTemplate返回参数结构体
|
2502
|
+
class UpdateTimeTemplateResponse < TencentCloud::Common::AbstractModel
|
2503
|
+
# @param Status: 操作结果,“OK”表示成功,其他表示失败。
|
2504
|
+
# @type Status: String
|
2505
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2506
|
+
# @type RequestId: String
|
2507
|
+
|
2508
|
+
attr_accessor :Status, :RequestId
|
2509
|
+
|
2510
|
+
def initialize(status=nil, requestid=nil)
|
2511
|
+
@Status = status
|
2512
|
+
@RequestId = requestid
|
2513
|
+
end
|
2514
|
+
|
2515
|
+
def deserialize(params)
|
2516
|
+
@Status = params['Status']
|
2517
|
+
@RequestId = params['RequestId']
|
2518
|
+
end
|
2519
|
+
end
|
2520
|
+
|
2521
|
+
end
|
2522
|
+
end
|
2523
|
+
end
|
2524
|
+
|