tencentcloud-sdk-iotvideoindustry 1.0.232 → 1.0.237
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201201/client.rb +969 -135
- data/lib/v20201201/models.rb +2337 -157
- metadata +2 -2
data/lib/v20201201/models.rb
CHANGED
@@ -17,6 +17,57 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Iotvideoindustry
|
19
19
|
module V20201201
|
20
|
+
# 异动事件走势列表
|
21
|
+
class AbnormalEvents < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Date: 对应查询日期
|
23
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24
|
+
# @type Date: String
|
25
|
+
# @param Info: 列表信息
|
26
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
27
|
+
# @type Info: Array
|
28
|
+
|
29
|
+
attr_accessor :Date, :Info
|
30
|
+
|
31
|
+
def initialize(date=nil, info=nil)
|
32
|
+
@Date = date
|
33
|
+
@Info = info
|
34
|
+
end
|
35
|
+
|
36
|
+
def deserialize(params)
|
37
|
+
@Date = params['Date']
|
38
|
+
unless params['Info'].nil?
|
39
|
+
@Info = []
|
40
|
+
params['Info'].each do |i|
|
41
|
+
abnormaleventsinfo_tmp = AbnormalEventsInfo.new
|
42
|
+
abnormaleventsinfo_tmp.deserialize(i)
|
43
|
+
@Info << abnormaleventsinfo_tmp
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
# 异动事件走势元素
|
50
|
+
class AbnormalEventsInfo < TencentCloud::Common::AbstractModel
|
51
|
+
# @param Key: 类型值
|
52
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
53
|
+
# @type Key: Integer
|
54
|
+
# @param Count: 类型总数
|
55
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
56
|
+
# @type Count: Integer
|
57
|
+
|
58
|
+
attr_accessor :Key, :Count
|
59
|
+
|
60
|
+
def initialize(key=nil, count=nil)
|
61
|
+
@Key = key
|
62
|
+
@Count = count
|
63
|
+
end
|
64
|
+
|
65
|
+
def deserialize(params)
|
66
|
+
@Key = params['Key']
|
67
|
+
@Count = params['Count']
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
20
71
|
# 查询全部设备出参
|
21
72
|
class AllDeviceInfo < TencentCloud::Common::AbstractModel
|
22
73
|
# @param DeviceId: 设备唯一标识
|
@@ -130,6 +181,187 @@ module TencentCloud
|
|
130
181
|
end
|
131
182
|
end
|
132
183
|
|
184
|
+
# 国标通道详细信息
|
185
|
+
class ChannelDetail < TencentCloud::Common::AbstractModel
|
186
|
+
# @param ChannelName: 通道名称
|
187
|
+
# @type ChannelName: String
|
188
|
+
# @param ChannelId: 通道唯一标识
|
189
|
+
# @type ChannelId: String
|
190
|
+
# @param ChannelType: 通道类型 0:未知;1:视频通道;2:音频通道;3:告警通道
|
191
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
192
|
+
# @type ChannelType: Integer
|
193
|
+
# @param ChannelCode: 20位国标通道编码
|
194
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
195
|
+
# @type ChannelCode: String
|
196
|
+
# @param ExtraInformation: 通道扩展信息
|
197
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
198
|
+
# @type ExtraInformation: String
|
199
|
+
# @param Status: 通道在线状态
|
200
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
201
|
+
# @type Status: Integer
|
202
|
+
# @param IsRecord: 通道是否存在录像标识 0:无录像;1:有录像
|
203
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
204
|
+
# @type IsRecord: Integer
|
205
|
+
# @param DeviceId: 通道所属设备唯一标识
|
206
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
207
|
+
# @type DeviceId: String
|
208
|
+
# @param BusinessGroupId: 通道所属虚拟组织的ID
|
209
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
210
|
+
# @type BusinessGroupId: String
|
211
|
+
|
212
|
+
attr_accessor :ChannelName, :ChannelId, :ChannelType, :ChannelCode, :ExtraInformation, :Status, :IsRecord, :DeviceId, :BusinessGroupId
|
213
|
+
|
214
|
+
def initialize(channelname=nil, channelid=nil, channeltype=nil, channelcode=nil, extrainformation=nil, status=nil, isrecord=nil, deviceid=nil, businessgroupid=nil)
|
215
|
+
@ChannelName = channelname
|
216
|
+
@ChannelId = channelid
|
217
|
+
@ChannelType = channeltype
|
218
|
+
@ChannelCode = channelcode
|
219
|
+
@ExtraInformation = extrainformation
|
220
|
+
@Status = status
|
221
|
+
@IsRecord = isrecord
|
222
|
+
@DeviceId = deviceid
|
223
|
+
@BusinessGroupId = businessgroupid
|
224
|
+
end
|
225
|
+
|
226
|
+
def deserialize(params)
|
227
|
+
@ChannelName = params['ChannelName']
|
228
|
+
@ChannelId = params['ChannelId']
|
229
|
+
@ChannelType = params['ChannelType']
|
230
|
+
@ChannelCode = params['ChannelCode']
|
231
|
+
@ExtraInformation = params['ExtraInformation']
|
232
|
+
@Status = params['Status']
|
233
|
+
@IsRecord = params['IsRecord']
|
234
|
+
@DeviceId = params['DeviceId']
|
235
|
+
@BusinessGroupId = params['BusinessGroupId']
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
# GB28181通道
|
240
|
+
class ChannelItem < TencentCloud::Common::AbstractModel
|
241
|
+
# @param DeviceId: 设备唯一标识
|
242
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
243
|
+
# @type DeviceId: String
|
244
|
+
# @param ChannelId: 通道唯一标识
|
245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
246
|
+
# @type ChannelId: String
|
247
|
+
|
248
|
+
attr_accessor :DeviceId, :ChannelId
|
249
|
+
|
250
|
+
def initialize(deviceid=nil, channelid=nil)
|
251
|
+
@DeviceId = deviceid
|
252
|
+
@ChannelId = channelid
|
253
|
+
end
|
254
|
+
|
255
|
+
def deserialize(params)
|
256
|
+
@DeviceId = params['DeviceId']
|
257
|
+
@ChannelId = params['ChannelId']
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
# ControlChannelLocalRecord请求参数结构体
|
262
|
+
class ControlChannelLocalRecordRequest < TencentCloud::Common::AbstractModel
|
263
|
+
# @param DeviceId: 设备唯一标识
|
264
|
+
# @type DeviceId: String
|
265
|
+
# @param ChannelId: 通道唯一标识
|
266
|
+
# @type ChannelId: String
|
267
|
+
# @param StreamId: 流Id,流的唯一标识
|
268
|
+
# @type StreamId: String
|
269
|
+
# @param Command: 控制参数,转义的json字符串
|
270
|
+
|
271
|
+
# 目前支持的command:
|
272
|
+
# "Command": "{"Action":"PAUSE"}" 暂停
|
273
|
+
# "Command": "{"Action":"PLAY"}" 暂停恢复
|
274
|
+
# "Command": "{"Action":"PLAY","Offset":"15"}" 基于文件起始时间点的位置偏移,单位秒
|
275
|
+
# @type Command: String
|
276
|
+
|
277
|
+
attr_accessor :DeviceId, :ChannelId, :StreamId, :Command
|
278
|
+
|
279
|
+
def initialize(deviceid=nil, channelid=nil, streamid=nil, command=nil)
|
280
|
+
@DeviceId = deviceid
|
281
|
+
@ChannelId = channelid
|
282
|
+
@StreamId = streamid
|
283
|
+
@Command = command
|
284
|
+
end
|
285
|
+
|
286
|
+
def deserialize(params)
|
287
|
+
@DeviceId = params['DeviceId']
|
288
|
+
@ChannelId = params['ChannelId']
|
289
|
+
@StreamId = params['StreamId']
|
290
|
+
@Command = params['Command']
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
# ControlChannelLocalRecord返回参数结构体
|
295
|
+
class ControlChannelLocalRecordResponse < TencentCloud::Common::AbstractModel
|
296
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
297
|
+
# @type RequestId: String
|
298
|
+
|
299
|
+
attr_accessor :RequestId
|
300
|
+
|
301
|
+
def initialize(requestid=nil)
|
302
|
+
@RequestId = requestid
|
303
|
+
end
|
304
|
+
|
305
|
+
def deserialize(params)
|
306
|
+
@RequestId = params['RequestId']
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
310
|
+
# ControlChannelPTZ请求参数结构体
|
311
|
+
class ControlChannelPTZRequest < TencentCloud::Common::AbstractModel
|
312
|
+
# @param DeviceId: 设备唯一标识
|
313
|
+
# @type DeviceId: String
|
314
|
+
# @param ChannelId: 通道唯一标识
|
315
|
+
# @type ChannelId: String
|
316
|
+
# @param Command: PTZ控制命令类型:
|
317
|
+
# stop - 停止当前PTZ信令
|
318
|
+
# left - 向左移动
|
319
|
+
# right - 向右移动
|
320
|
+
# up - 向上移动
|
321
|
+
# down - 向下移动
|
322
|
+
# leftUp - 左上移动
|
323
|
+
# leftDown - 左下移动
|
324
|
+
# rightUp - 右上移动
|
325
|
+
# rightDown - 右下移动
|
326
|
+
# zoomOut - 镜头缩小
|
327
|
+
# zoomIn - 镜头放大
|
328
|
+
# irisIn - 光圈缩小
|
329
|
+
# irisOut - 光圈放大
|
330
|
+
# focusIn - 焦距变近
|
331
|
+
# focusOut - 焦距变远
|
332
|
+
# @type Command: String
|
333
|
+
|
334
|
+
attr_accessor :DeviceId, :ChannelId, :Command
|
335
|
+
|
336
|
+
def initialize(deviceid=nil, channelid=nil, command=nil)
|
337
|
+
@DeviceId = deviceid
|
338
|
+
@ChannelId = channelid
|
339
|
+
@Command = command
|
340
|
+
end
|
341
|
+
|
342
|
+
def deserialize(params)
|
343
|
+
@DeviceId = params['DeviceId']
|
344
|
+
@ChannelId = params['ChannelId']
|
345
|
+
@Command = params['Command']
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
# ControlChannelPTZ返回参数结构体
|
350
|
+
class ControlChannelPTZResponse < TencentCloud::Common::AbstractModel
|
351
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
352
|
+
# @type RequestId: String
|
353
|
+
|
354
|
+
attr_accessor :RequestId
|
355
|
+
|
356
|
+
def initialize(requestid=nil)
|
357
|
+
@RequestId = requestid
|
358
|
+
end
|
359
|
+
|
360
|
+
def deserialize(params)
|
361
|
+
@RequestId = params['RequestId']
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
133
365
|
# ControlDevicePTZ请求参数结构体
|
134
366
|
class ControlDevicePTZRequest < TencentCloud::Common::AbstractModel
|
135
367
|
# @param DeviceId: 设备唯一标识
|
@@ -185,6 +417,101 @@ module TencentCloud
|
|
185
417
|
end
|
186
418
|
end
|
187
419
|
|
420
|
+
# ControlHomePosition请求参数结构体
|
421
|
+
class ControlHomePositionRequest < TencentCloud::Common::AbstractModel
|
422
|
+
# @param ChannelId: 通道ID
|
423
|
+
# @type ChannelId: String
|
424
|
+
# @param DeviceId: 设备Id
|
425
|
+
# @type DeviceId: String
|
426
|
+
# @param Enable: 看守位使能 0-停用看守位 1-启用看守位
|
427
|
+
# @type Enable: Integer
|
428
|
+
# @param PresetId: 预置位编码 范围1-8,启用看守位时必填
|
429
|
+
# @type PresetId: Integer
|
430
|
+
# @param ResetTime: 看守位自动归位时间, 启用看守位时必填
|
431
|
+
# @type ResetTime: Integer
|
432
|
+
|
433
|
+
attr_accessor :ChannelId, :DeviceId, :Enable, :PresetId, :ResetTime
|
434
|
+
|
435
|
+
def initialize(channelid=nil, deviceid=nil, enable=nil, presetid=nil, resettime=nil)
|
436
|
+
@ChannelId = channelid
|
437
|
+
@DeviceId = deviceid
|
438
|
+
@Enable = enable
|
439
|
+
@PresetId = presetid
|
440
|
+
@ResetTime = resettime
|
441
|
+
end
|
442
|
+
|
443
|
+
def deserialize(params)
|
444
|
+
@ChannelId = params['ChannelId']
|
445
|
+
@DeviceId = params['DeviceId']
|
446
|
+
@Enable = params['Enable']
|
447
|
+
@PresetId = params['PresetId']
|
448
|
+
@ResetTime = params['ResetTime']
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
452
|
+
# ControlHomePosition返回参数结构体
|
453
|
+
class ControlHomePositionResponse < TencentCloud::Common::AbstractModel
|
454
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
455
|
+
# @type RequestId: String
|
456
|
+
|
457
|
+
attr_accessor :RequestId
|
458
|
+
|
459
|
+
def initialize(requestid=nil)
|
460
|
+
@RequestId = requestid
|
461
|
+
end
|
462
|
+
|
463
|
+
def deserialize(params)
|
464
|
+
@RequestId = params['RequestId']
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
# ControlPreset请求参数结构体
|
469
|
+
class ControlPresetRequest < TencentCloud::Common::AbstractModel
|
470
|
+
# @param ChannelId: 通道ID
|
471
|
+
# @type ChannelId: String
|
472
|
+
# @param Command: 控制命令:
|
473
|
+
# Set-设置当前位置为预置位
|
474
|
+
# Del-删除指定的预置位
|
475
|
+
# Call-调用指定的预置位
|
476
|
+
# @type Command: String
|
477
|
+
# @param PresetId: 预置位编码 范围1-8
|
478
|
+
# @type PresetId: Integer
|
479
|
+
# @param DeviceId: 设备Id
|
480
|
+
# @type DeviceId: String
|
481
|
+
|
482
|
+
attr_accessor :ChannelId, :Command, :PresetId, :DeviceId
|
483
|
+
|
484
|
+
def initialize(channelid=nil, command=nil, presetid=nil, deviceid=nil)
|
485
|
+
@ChannelId = channelid
|
486
|
+
@Command = command
|
487
|
+
@PresetId = presetid
|
488
|
+
@DeviceId = deviceid
|
489
|
+
end
|
490
|
+
|
491
|
+
def deserialize(params)
|
492
|
+
@ChannelId = params['ChannelId']
|
493
|
+
@Command = params['Command']
|
494
|
+
@PresetId = params['PresetId']
|
495
|
+
@DeviceId = params['DeviceId']
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
499
|
+
# ControlPreset返回参数结构体
|
500
|
+
class ControlPresetResponse < TencentCloud::Common::AbstractModel
|
501
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
502
|
+
# @type RequestId: String
|
503
|
+
|
504
|
+
attr_accessor :RequestId
|
505
|
+
|
506
|
+
def initialize(requestid=nil)
|
507
|
+
@RequestId = requestid
|
508
|
+
end
|
509
|
+
|
510
|
+
def deserialize(params)
|
511
|
+
@RequestId = params['RequestId']
|
512
|
+
end
|
513
|
+
end
|
514
|
+
|
188
515
|
# ControlRecordStream请求参数结构体
|
189
516
|
class ControlRecordStreamRequest < TencentCloud::Common::AbstractModel
|
190
517
|
# @param DeviceId: 设备Id,设备的唯一标识
|
@@ -290,7 +617,7 @@ module TencentCloud
|
|
290
617
|
# @type NickName: String
|
291
618
|
# @param PassWord: 设备密码
|
292
619
|
# @type PassWord: String
|
293
|
-
# @param DeviceType:
|
620
|
+
# @param DeviceType: 设备类型,1:国标VMS设备(公有云不支持此类型),2:国标IPC设备,3:国标NVR设备,9:智能告警设备(公有云不支持此类型)
|
294
621
|
# @type DeviceType: Integer
|
295
622
|
# @param GroupId: 设备需要绑定的分组ID,参数为空则默认绑定到根分组
|
296
623
|
# @type GroupId: String
|
@@ -320,7 +647,7 @@ module TencentCloud
|
|
320
647
|
# @param DeviceId: 设备唯一标识
|
321
648
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
322
649
|
# @type DeviceId: String
|
323
|
-
# @param VirtualGroupId: 设备虚拟组信息,仅在创建NVR
|
650
|
+
# @param VirtualGroupId: 设备虚拟组信息,仅在创建NVR时返回该值
|
324
651
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
325
652
|
# @type VirtualGroupId: String
|
326
653
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
@@ -562,29 +889,87 @@ module TencentCloud
|
|
562
889
|
end
|
563
890
|
end
|
564
891
|
|
565
|
-
#
|
566
|
-
class
|
567
|
-
# @param
|
568
|
-
# @type
|
569
|
-
# @param
|
570
|
-
# @type
|
571
|
-
# @param
|
572
|
-
# @type
|
573
|
-
# @param
|
574
|
-
# @type
|
575
|
-
# @param Devices: 设备列表
|
576
|
-
# @type Devices: Array
|
892
|
+
# CreateRecordingPlan请求参数结构体
|
893
|
+
class CreateRecordingPlanRequest < TencentCloud::Common::AbstractModel
|
894
|
+
# @param Name: 计划名称
|
895
|
+
# @type Name: String
|
896
|
+
# @param TimeTemplateId: 时间模板ID
|
897
|
+
# @type TimeTemplateId: String
|
898
|
+
# @param Channels: 该录制计划绑定的通道列表
|
899
|
+
# @type Channels: Array
|
900
|
+
# @param RecordStorageTime: 存储周期(天);默认存储30天
|
901
|
+
# @type RecordStorageTime: Integer
|
577
902
|
|
578
|
-
attr_accessor :
|
903
|
+
attr_accessor :Name, :TimeTemplateId, :Channels, :RecordStorageTime
|
579
904
|
|
580
|
-
def initialize(
|
581
|
-
@
|
582
|
-
@
|
583
|
-
@
|
584
|
-
@
|
585
|
-
|
586
|
-
|
587
|
-
|
905
|
+
def initialize(name=nil, timetemplateid=nil, channels=nil, recordstoragetime=nil)
|
906
|
+
@Name = name
|
907
|
+
@TimeTemplateId = timetemplateid
|
908
|
+
@Channels = channels
|
909
|
+
@RecordStorageTime = recordstoragetime
|
910
|
+
end
|
911
|
+
|
912
|
+
def deserialize(params)
|
913
|
+
@Name = params['Name']
|
914
|
+
@TimeTemplateId = params['TimeTemplateId']
|
915
|
+
unless params['Channels'].nil?
|
916
|
+
@Channels = []
|
917
|
+
params['Channels'].each do |i|
|
918
|
+
channelitem_tmp = ChannelItem.new
|
919
|
+
channelitem_tmp.deserialize(i)
|
920
|
+
@Channels << channelitem_tmp
|
921
|
+
end
|
922
|
+
end
|
923
|
+
@RecordStorageTime = params['RecordStorageTime']
|
924
|
+
end
|
925
|
+
end
|
926
|
+
|
927
|
+
# CreateRecordingPlan返回参数结构体
|
928
|
+
class CreateRecordingPlanResponse < TencentCloud::Common::AbstractModel
|
929
|
+
# @param PlanId: 录制计划ID
|
930
|
+
# @type PlanId: String
|
931
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
932
|
+
# @type RequestId: String
|
933
|
+
|
934
|
+
attr_accessor :PlanId, :RequestId
|
935
|
+
|
936
|
+
def initialize(planid=nil, requestid=nil)
|
937
|
+
@PlanId = planid
|
938
|
+
@RequestId = requestid
|
939
|
+
end
|
940
|
+
|
941
|
+
def deserialize(params)
|
942
|
+
@PlanId = params['PlanId']
|
943
|
+
@RequestId = params['RequestId']
|
944
|
+
end
|
945
|
+
end
|
946
|
+
|
947
|
+
# CreateScene请求参数结构体
|
948
|
+
class CreateSceneRequest < TencentCloud::Common::AbstractModel
|
949
|
+
# @param SceneName: 场景名称
|
950
|
+
# @type SceneName: String
|
951
|
+
# @param SceneTrigger: 场景触发规则
|
952
|
+
# @type SceneTrigger: String
|
953
|
+
# @param RecordDuration: 录制时长 (秒)
|
954
|
+
# @type RecordDuration: Integer
|
955
|
+
# @param StoreDuration: 录像存储时长(天)
|
956
|
+
# @type StoreDuration: Integer
|
957
|
+
# @param Devices: 设备列表(不推荐使用)
|
958
|
+
# @type Devices: Array
|
959
|
+
# @param Channels: 通道列表
|
960
|
+
# @type Channels: Array
|
961
|
+
|
962
|
+
attr_accessor :SceneName, :SceneTrigger, :RecordDuration, :StoreDuration, :Devices, :Channels
|
963
|
+
|
964
|
+
def initialize(scenename=nil, scenetrigger=nil, recordduration=nil, storeduration=nil, devices=nil, channels=nil)
|
965
|
+
@SceneName = scenename
|
966
|
+
@SceneTrigger = scenetrigger
|
967
|
+
@RecordDuration = recordduration
|
968
|
+
@StoreDuration = storeduration
|
969
|
+
@Devices = devices
|
970
|
+
@Channels = channels
|
971
|
+
end
|
972
|
+
|
588
973
|
def deserialize(params)
|
589
974
|
@SceneName = params['SceneName']
|
590
975
|
@SceneTrigger = params['SceneTrigger']
|
@@ -598,6 +983,14 @@ module TencentCloud
|
|
598
983
|
@Devices << deviceitem_tmp
|
599
984
|
end
|
600
985
|
end
|
986
|
+
unless params['Channels'].nil?
|
987
|
+
@Channels = []
|
988
|
+
params['Channels'].each do |i|
|
989
|
+
channelitem_tmp = ChannelItem.new
|
990
|
+
channelitem_tmp.deserialize(i)
|
991
|
+
@Channels << channelitem_tmp
|
992
|
+
end
|
993
|
+
end
|
601
994
|
end
|
602
995
|
end
|
603
996
|
|
@@ -764,7 +1157,7 @@ module TencentCloud
|
|
764
1157
|
|
765
1158
|
# DeleteDevice返回参数结构体
|
766
1159
|
class DeleteDeviceResponse < TencentCloud::Common::AbstractModel
|
767
|
-
# @param Status: 操作结果
|
1160
|
+
# @param Status: 操作结果 OK-成功; 其他-失败
|
768
1161
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
769
1162
|
# @type Status: String
|
770
1163
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
@@ -951,6 +1344,42 @@ module TencentCloud
|
|
951
1344
|
end
|
952
1345
|
end
|
953
1346
|
|
1347
|
+
# DeleteRecordingPlan请求参数结构体
|
1348
|
+
class DeleteRecordingPlanRequest < TencentCloud::Common::AbstractModel
|
1349
|
+
# @param PlanId: 录制计划ID
|
1350
|
+
# @type PlanId: String
|
1351
|
+
|
1352
|
+
attr_accessor :PlanId
|
1353
|
+
|
1354
|
+
def initialize(planid=nil)
|
1355
|
+
@PlanId = planid
|
1356
|
+
end
|
1357
|
+
|
1358
|
+
def deserialize(params)
|
1359
|
+
@PlanId = params['PlanId']
|
1360
|
+
end
|
1361
|
+
end
|
1362
|
+
|
1363
|
+
# DeleteRecordingPlan返回参数结构体
|
1364
|
+
class DeleteRecordingPlanResponse < TencentCloud::Common::AbstractModel
|
1365
|
+
# @param Status: 操作结果,OK:成功,其他:失败
|
1366
|
+
# @type Status: String
|
1367
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1368
|
+
# @type RequestId: String
|
1369
|
+
|
1370
|
+
attr_accessor :Status, :RequestId
|
1371
|
+
|
1372
|
+
def initialize(status=nil, requestid=nil)
|
1373
|
+
@Status = status
|
1374
|
+
@RequestId = requestid
|
1375
|
+
end
|
1376
|
+
|
1377
|
+
def deserialize(params)
|
1378
|
+
@Status = params['Status']
|
1379
|
+
@RequestId = params['RequestId']
|
1380
|
+
end
|
1381
|
+
end
|
1382
|
+
|
954
1383
|
# DeleteScene请求参数结构体
|
955
1384
|
class DeleteSceneRequest < TencentCloud::Common::AbstractModel
|
956
1385
|
# @param IntId: 场景ID
|
@@ -1052,6 +1481,90 @@ module TencentCloud
|
|
1052
1481
|
end
|
1053
1482
|
end
|
1054
1483
|
|
1484
|
+
# DeleteWarning请求参数结构体
|
1485
|
+
class DeleteWarningRequest < TencentCloud::Common::AbstractModel
|
1486
|
+
# @param Id: 告警ID
|
1487
|
+
# @type Id: Integer
|
1488
|
+
# @param Index: 告警索引
|
1489
|
+
# @type Index: String
|
1490
|
+
|
1491
|
+
attr_accessor :Id, :Index
|
1492
|
+
|
1493
|
+
def initialize(id=nil, index=nil)
|
1494
|
+
@Id = id
|
1495
|
+
@Index = index
|
1496
|
+
end
|
1497
|
+
|
1498
|
+
def deserialize(params)
|
1499
|
+
@Id = params['Id']
|
1500
|
+
@Index = params['Index']
|
1501
|
+
end
|
1502
|
+
end
|
1503
|
+
|
1504
|
+
# DeleteWarning返回参数结构体
|
1505
|
+
class DeleteWarningResponse < TencentCloud::Common::AbstractModel
|
1506
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1507
|
+
# @type RequestId: String
|
1508
|
+
|
1509
|
+
attr_accessor :RequestId
|
1510
|
+
|
1511
|
+
def initialize(requestid=nil)
|
1512
|
+
@RequestId = requestid
|
1513
|
+
end
|
1514
|
+
|
1515
|
+
def deserialize(params)
|
1516
|
+
@RequestId = params['RequestId']
|
1517
|
+
end
|
1518
|
+
end
|
1519
|
+
|
1520
|
+
# DescribeAbnormalEvents请求参数结构体
|
1521
|
+
class DescribeAbnormalEventsRequest < TencentCloud::Common::AbstractModel
|
1522
|
+
# @param StartTime: 开始时间
|
1523
|
+
# @type StartTime: Integer
|
1524
|
+
# @param EndTime: 结束时间
|
1525
|
+
# @type EndTime: Integer
|
1526
|
+
|
1527
|
+
attr_accessor :StartTime, :EndTime
|
1528
|
+
|
1529
|
+
def initialize(starttime=nil, endtime=nil)
|
1530
|
+
@StartTime = starttime
|
1531
|
+
@EndTime = endtime
|
1532
|
+
end
|
1533
|
+
|
1534
|
+
def deserialize(params)
|
1535
|
+
@StartTime = params['StartTime']
|
1536
|
+
@EndTime = params['EndTime']
|
1537
|
+
end
|
1538
|
+
end
|
1539
|
+
|
1540
|
+
# DescribeAbnormalEvents返回参数结构体
|
1541
|
+
class DescribeAbnormalEventsResponse < TencentCloud::Common::AbstractModel
|
1542
|
+
# @param Data: 异动事件走势列表
|
1543
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1544
|
+
# @type Data: Array
|
1545
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1546
|
+
# @type RequestId: String
|
1547
|
+
|
1548
|
+
attr_accessor :Data, :RequestId
|
1549
|
+
|
1550
|
+
def initialize(data=nil, requestid=nil)
|
1551
|
+
@Data = data
|
1552
|
+
@RequestId = requestid
|
1553
|
+
end
|
1554
|
+
|
1555
|
+
def deserialize(params)
|
1556
|
+
unless params['Data'].nil?
|
1557
|
+
@Data = []
|
1558
|
+
params['Data'].each do |i|
|
1559
|
+
abnormalevents_tmp = AbnormalEvents.new
|
1560
|
+
abnormalevents_tmp.deserialize(i)
|
1561
|
+
@Data << abnormalevents_tmp
|
1562
|
+
end
|
1563
|
+
end
|
1564
|
+
@RequestId = params['RequestId']
|
1565
|
+
end
|
1566
|
+
end
|
1567
|
+
|
1055
1568
|
# DescribeAllDeviceList请求参数结构体
|
1056
1569
|
class DescribeAllDeviceListRequest < TencentCloud::Common::AbstractModel
|
1057
1570
|
# @param Offset: 偏移量,默认0
|
@@ -1062,7 +1575,7 @@ module TencentCloud
|
|
1062
1575
|
# @type NickName: String
|
1063
1576
|
# @param DeviceIds: DeviceId列表,需要精确查找设备时为必填
|
1064
1577
|
# @type DeviceIds: Array
|
1065
|
-
# @param DeviceTypes:
|
1578
|
+
# @param DeviceTypes: 设备类型过滤,设备类型,1:国标VMS设备(公有云不支持此类型),2:国标IPC设备,3:国标NVR设备,9:智能告警设备(公有云不支持此类型)
|
1066
1579
|
# @type DeviceTypes: Array
|
1067
1580
|
|
1068
1581
|
attr_accessor :Offset, :Limit, :NickName, :DeviceIds, :DeviceTypes
|
@@ -1117,36 +1630,36 @@ module TencentCloud
|
|
1117
1630
|
end
|
1118
1631
|
end
|
1119
1632
|
|
1120
|
-
#
|
1121
|
-
class
|
1633
|
+
# DescribeBindSceneChannels请求参数结构体
|
1634
|
+
class DescribeBindSceneChannelsRequest < TencentCloud::Common::AbstractModel
|
1635
|
+
# @param Limit: 条数限制最大不能超过1000
|
1636
|
+
# @type Limit: Integer
|
1122
1637
|
# @param SceneId: 场景ID
|
1123
1638
|
# @type SceneId: Integer
|
1124
1639
|
# @param Offset: 偏移值
|
1125
1640
|
# @type Offset: Integer
|
1126
|
-
# @param Limit: 条数限制最大不能超过1000
|
1127
|
-
# @type Limit: Integer
|
1128
1641
|
|
1129
|
-
attr_accessor :
|
1642
|
+
attr_accessor :Limit, :SceneId, :Offset
|
1130
1643
|
|
1131
|
-
def initialize(
|
1644
|
+
def initialize(limit=nil, sceneid=nil, offset=nil)
|
1645
|
+
@Limit = limit
|
1132
1646
|
@SceneId = sceneid
|
1133
1647
|
@Offset = offset
|
1134
|
-
@Limit = limit
|
1135
1648
|
end
|
1136
1649
|
|
1137
1650
|
def deserialize(params)
|
1651
|
+
@Limit = params['Limit']
|
1138
1652
|
@SceneId = params['SceneId']
|
1139
1653
|
@Offset = params['Offset']
|
1140
|
-
@Limit = params['Limit']
|
1141
1654
|
end
|
1142
1655
|
end
|
1143
1656
|
|
1144
|
-
#
|
1145
|
-
class
|
1657
|
+
# DescribeBindSceneChannels返回参数结构体
|
1658
|
+
class DescribeBindSceneChannelsResponse < TencentCloud::Common::AbstractModel
|
1146
1659
|
# @param Total: 总数
|
1147
1660
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1148
1661
|
# @type Total: Integer
|
1149
|
-
# @param List:
|
1662
|
+
# @param List: 通道列表
|
1150
1663
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1151
1664
|
# @type List: Array
|
1152
1665
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
@@ -1165,105 +1678,449 @@ module TencentCloud
|
|
1165
1678
|
unless params['List'].nil?
|
1166
1679
|
@List = []
|
1167
1680
|
params['List'].each do |i|
|
1168
|
-
|
1169
|
-
|
1170
|
-
@List <<
|
1681
|
+
channelitem_tmp = ChannelItem.new
|
1682
|
+
channelitem_tmp.deserialize(i)
|
1683
|
+
@List << channelitem_tmp
|
1171
1684
|
end
|
1172
1685
|
end
|
1173
1686
|
@RequestId = params['RequestId']
|
1174
1687
|
end
|
1175
1688
|
end
|
1176
1689
|
|
1177
|
-
#
|
1178
|
-
class
|
1179
|
-
# @param
|
1180
|
-
# @type
|
1181
|
-
# @param Offset:
|
1690
|
+
# DescribeBindSceneDevices请求参数结构体
|
1691
|
+
class DescribeBindSceneDevicesRequest < TencentCloud::Common::AbstractModel
|
1692
|
+
# @param SceneId: 场景ID
|
1693
|
+
# @type SceneId: Integer
|
1694
|
+
# @param Offset: 偏移值
|
1182
1695
|
# @type Offset: Integer
|
1183
|
-
# @param Limit:
|
1696
|
+
# @param Limit: 条数限制最大不能超过1000
|
1184
1697
|
# @type Limit: Integer
|
1185
1698
|
|
1186
|
-
attr_accessor :
|
1699
|
+
attr_accessor :SceneId, :Offset, :Limit
|
1187
1700
|
|
1188
|
-
def initialize(
|
1189
|
-
@
|
1701
|
+
def initialize(sceneid=nil, offset=nil, limit=nil)
|
1702
|
+
@SceneId = sceneid
|
1190
1703
|
@Offset = offset
|
1191
1704
|
@Limit = limit
|
1192
1705
|
end
|
1193
1706
|
|
1194
1707
|
def deserialize(params)
|
1195
|
-
@
|
1708
|
+
@SceneId = params['SceneId']
|
1196
1709
|
@Offset = params['Offset']
|
1197
1710
|
@Limit = params['Limit']
|
1198
1711
|
end
|
1199
1712
|
end
|
1200
1713
|
|
1201
|
-
#
|
1202
|
-
class
|
1203
|
-
# @param
|
1714
|
+
# DescribeBindSceneDevices返回参数结构体
|
1715
|
+
class DescribeBindSceneDevicesResponse < TencentCloud::Common::AbstractModel
|
1716
|
+
# @param Total: 总数
|
1204
1717
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1205
|
-
# @type
|
1206
|
-
# @param
|
1718
|
+
# @type Total: Integer
|
1719
|
+
# @param List: 设备列表
|
1207
1720
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1208
|
-
# @type
|
1721
|
+
# @type List: Array
|
1209
1722
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1210
1723
|
# @type RequestId: String
|
1211
1724
|
|
1212
|
-
attr_accessor :
|
1725
|
+
attr_accessor :Total, :List, :RequestId
|
1213
1726
|
|
1214
|
-
def initialize(
|
1215
|
-
@
|
1216
|
-
@
|
1727
|
+
def initialize(total=nil, list=nil, requestid=nil)
|
1728
|
+
@Total = total
|
1729
|
+
@List = list
|
1217
1730
|
@RequestId = requestid
|
1218
1731
|
end
|
1219
1732
|
|
1220
1733
|
def deserialize(params)
|
1221
|
-
@
|
1222
|
-
unless params['
|
1223
|
-
@
|
1224
|
-
params['
|
1225
|
-
|
1226
|
-
|
1227
|
-
@
|
1734
|
+
@Total = params['Total']
|
1735
|
+
unless params['List'].nil?
|
1736
|
+
@List = []
|
1737
|
+
params['List'].each do |i|
|
1738
|
+
deviceitem_tmp = DeviceItem.new
|
1739
|
+
deviceitem_tmp.deserialize(i)
|
1740
|
+
@List << deviceitem_tmp
|
1228
1741
|
end
|
1229
1742
|
end
|
1230
1743
|
@RequestId = params['RequestId']
|
1231
1744
|
end
|
1232
1745
|
end
|
1233
1746
|
|
1234
|
-
#
|
1235
|
-
class
|
1236
|
-
# @param
|
1237
|
-
# @type
|
1747
|
+
# DescribeChannelLocalRecordURL请求参数结构体
|
1748
|
+
class DescribeChannelLocalRecordURLRequest < TencentCloud::Common::AbstractModel
|
1749
|
+
# @param DeviceId: 设备唯一标识
|
1750
|
+
# @type DeviceId: String
|
1751
|
+
# @param ChannelId: 通道唯一标识
|
1752
|
+
# @type ChannelId: String
|
1753
|
+
# @param RecordId: 录像文件Id,通过获取本地录像返回
|
1754
|
+
# @type RecordId: String
|
1755
|
+
# @param StartTime: 录像文件推送的开始时间,需要在RecordId参数起始时间内,可以通过此参数控制回放流起始点
|
1756
|
+
# @type StartTime: Integer
|
1757
|
+
# @param EndTime: 录像文件推送的结束时间,需要在RecordId参数起始时间内,可以通过此参数控制回放流起始点
|
1758
|
+
# @type EndTime: Integer
|
1238
1759
|
|
1239
|
-
attr_accessor :
|
1760
|
+
attr_accessor :DeviceId, :ChannelId, :RecordId, :StartTime, :EndTime
|
1240
1761
|
|
1241
|
-
def initialize(
|
1242
|
-
@
|
1762
|
+
def initialize(deviceid=nil, channelid=nil, recordid=nil, starttime=nil, endtime=nil)
|
1763
|
+
@DeviceId = deviceid
|
1764
|
+
@ChannelId = channelid
|
1765
|
+
@RecordId = recordid
|
1766
|
+
@StartTime = starttime
|
1767
|
+
@EndTime = endtime
|
1243
1768
|
end
|
1244
1769
|
|
1245
1770
|
def deserialize(params)
|
1246
|
-
@
|
1771
|
+
@DeviceId = params['DeviceId']
|
1772
|
+
@ChannelId = params['ChannelId']
|
1773
|
+
@RecordId = params['RecordId']
|
1774
|
+
@StartTime = params['StartTime']
|
1775
|
+
@EndTime = params['EndTime']
|
1247
1776
|
end
|
1248
1777
|
end
|
1249
1778
|
|
1250
|
-
#
|
1251
|
-
class
|
1252
|
-
# @param
|
1253
|
-
#
|
1254
|
-
# @type DevGroups: Array
|
1779
|
+
# DescribeChannelLocalRecordURL返回参数结构体
|
1780
|
+
class DescribeChannelLocalRecordURLResponse < TencentCloud::Common::AbstractModel
|
1781
|
+
# @param Data: 结果
|
1782
|
+
# @type Data: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.DescribeRecordStreamData`
|
1255
1783
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1256
1784
|
# @type RequestId: String
|
1257
1785
|
|
1258
|
-
attr_accessor :
|
1786
|
+
attr_accessor :Data, :RequestId
|
1259
1787
|
|
1260
|
-
def initialize(
|
1261
|
-
@
|
1788
|
+
def initialize(data=nil, requestid=nil)
|
1789
|
+
@Data = data
|
1262
1790
|
@RequestId = requestid
|
1263
1791
|
end
|
1264
1792
|
|
1265
1793
|
def deserialize(params)
|
1266
|
-
unless params['
|
1794
|
+
unless params['Data'].nil?
|
1795
|
+
@Data = DescribeRecordStreamData.new
|
1796
|
+
@Data.deserialize(params['Data'])
|
1797
|
+
end
|
1798
|
+
@RequestId = params['RequestId']
|
1799
|
+
end
|
1800
|
+
end
|
1801
|
+
|
1802
|
+
# DescribeChannelStreamURL请求参数结构体
|
1803
|
+
class DescribeChannelStreamURLRequest < TencentCloud::Common::AbstractModel
|
1804
|
+
# @param DeviceId: 设备唯一标识,必填参数
|
1805
|
+
# @type DeviceId: String
|
1806
|
+
# @param ExpireTime: 流地址失效时间,固定值填写0,其他参数无效,必填参数
|
1807
|
+
# @type ExpireTime: Integer
|
1808
|
+
# @param ChannelId: 通道唯一标识(接口升级字段为必填),必填参数
|
1809
|
+
# @type ChannelId: String
|
1810
|
+
|
1811
|
+
attr_accessor :DeviceId, :ExpireTime, :ChannelId
|
1812
|
+
|
1813
|
+
def initialize(deviceid=nil, expiretime=nil, channelid=nil)
|
1814
|
+
@DeviceId = deviceid
|
1815
|
+
@ExpireTime = expiretime
|
1816
|
+
@ChannelId = channelid
|
1817
|
+
end
|
1818
|
+
|
1819
|
+
def deserialize(params)
|
1820
|
+
@DeviceId = params['DeviceId']
|
1821
|
+
@ExpireTime = params['ExpireTime']
|
1822
|
+
@ChannelId = params['ChannelId']
|
1823
|
+
end
|
1824
|
+
end
|
1825
|
+
|
1826
|
+
# DescribeChannelStreamURL返回参数结构体
|
1827
|
+
class DescribeChannelStreamURLResponse < TencentCloud::Common::AbstractModel
|
1828
|
+
# @param Data: 设备实时流地址列表
|
1829
|
+
# @type Data: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.DescribeDeviceStreamsData`
|
1830
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1831
|
+
# @type RequestId: String
|
1832
|
+
|
1833
|
+
attr_accessor :Data, :RequestId
|
1834
|
+
|
1835
|
+
def initialize(data=nil, requestid=nil)
|
1836
|
+
@Data = data
|
1837
|
+
@RequestId = requestid
|
1838
|
+
end
|
1839
|
+
|
1840
|
+
def deserialize(params)
|
1841
|
+
unless params['Data'].nil?
|
1842
|
+
@Data = DescribeDeviceStreamsData.new
|
1843
|
+
@Data.deserialize(params['Data'])
|
1844
|
+
end
|
1845
|
+
@RequestId = params['RequestId']
|
1846
|
+
end
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
# DescribeChannelsByLiveRecordPlan请求参数结构体
|
1850
|
+
class DescribeChannelsByLiveRecordPlanRequest < TencentCloud::Common::AbstractModel
|
1851
|
+
# @param PlanId: 录制计划ID
|
1852
|
+
# @type PlanId: String
|
1853
|
+
# @param Offset: 分页偏移量
|
1854
|
+
# @type Offset: Integer
|
1855
|
+
# @param Limit: 分页大小
|
1856
|
+
# @type Limit: Integer
|
1857
|
+
|
1858
|
+
attr_accessor :PlanId, :Offset, :Limit
|
1859
|
+
|
1860
|
+
def initialize(planid=nil, offset=nil, limit=nil)
|
1861
|
+
@PlanId = planid
|
1862
|
+
@Offset = offset
|
1863
|
+
@Limit = limit
|
1864
|
+
end
|
1865
|
+
|
1866
|
+
def deserialize(params)
|
1867
|
+
@PlanId = params['PlanId']
|
1868
|
+
@Offset = params['Offset']
|
1869
|
+
@Limit = params['Limit']
|
1870
|
+
end
|
1871
|
+
end
|
1872
|
+
|
1873
|
+
# DescribeChannelsByLiveRecordPlan返回参数结构体
|
1874
|
+
class DescribeChannelsByLiveRecordPlanResponse < TencentCloud::Common::AbstractModel
|
1875
|
+
# @param TotalCount: 总个数
|
1876
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1877
|
+
# @type TotalCount: Integer
|
1878
|
+
# @param LiveChannels: 通道详情数组
|
1879
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1880
|
+
# @type LiveChannels: Array
|
1881
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1882
|
+
# @type RequestId: String
|
1883
|
+
|
1884
|
+
attr_accessor :TotalCount, :LiveChannels, :RequestId
|
1885
|
+
|
1886
|
+
def initialize(totalcount=nil, livechannels=nil, requestid=nil)
|
1887
|
+
@TotalCount = totalcount
|
1888
|
+
@LiveChannels = livechannels
|
1889
|
+
@RequestId = requestid
|
1890
|
+
end
|
1891
|
+
|
1892
|
+
def deserialize(params)
|
1893
|
+
@TotalCount = params['TotalCount']
|
1894
|
+
unless params['LiveChannels'].nil?
|
1895
|
+
@LiveChannels = []
|
1896
|
+
params['LiveChannels'].each do |i|
|
1897
|
+
livechannelitem_tmp = LiveChannelItem.new
|
1898
|
+
livechannelitem_tmp.deserialize(i)
|
1899
|
+
@LiveChannels << livechannelitem_tmp
|
1900
|
+
end
|
1901
|
+
end
|
1902
|
+
@RequestId = params['RequestId']
|
1903
|
+
end
|
1904
|
+
end
|
1905
|
+
|
1906
|
+
# DescribeChannels请求参数结构体
|
1907
|
+
class DescribeChannelsRequest < TencentCloud::Common::AbstractModel
|
1908
|
+
# @param DeviceId: 设备Id
|
1909
|
+
# @type DeviceId: String
|
1910
|
+
# @param Limit: 限制,默认0
|
1911
|
+
# @type Limit: Integer
|
1912
|
+
# @param Offset: 偏移量,默认0
|
1913
|
+
# @type Offset: Integer
|
1914
|
+
# @param ChannelTypes: 通道类型 0: 未知类型 1: 视频通道 2: 音频通道 3: 告警通道
|
1915
|
+
# @type ChannelTypes: Array
|
1916
|
+
# @param PlanId: 录制计划ID, 当为"null"值时未绑定录制计划
|
1917
|
+
# @type PlanId: String
|
1918
|
+
# @param SceneId: 告警联动场景ID, 当为 -1 值时未绑定场景
|
1919
|
+
# @type SceneId: Integer
|
1920
|
+
|
1921
|
+
attr_accessor :DeviceId, :Limit, :Offset, :ChannelTypes, :PlanId, :SceneId
|
1922
|
+
|
1923
|
+
def initialize(deviceid=nil, limit=nil, offset=nil, channeltypes=nil, planid=nil, sceneid=nil)
|
1924
|
+
@DeviceId = deviceid
|
1925
|
+
@Limit = limit
|
1926
|
+
@Offset = offset
|
1927
|
+
@ChannelTypes = channeltypes
|
1928
|
+
@PlanId = planid
|
1929
|
+
@SceneId = sceneid
|
1930
|
+
end
|
1931
|
+
|
1932
|
+
def deserialize(params)
|
1933
|
+
@DeviceId = params['DeviceId']
|
1934
|
+
@Limit = params['Limit']
|
1935
|
+
@Offset = params['Offset']
|
1936
|
+
@ChannelTypes = params['ChannelTypes']
|
1937
|
+
@PlanId = params['PlanId']
|
1938
|
+
@SceneId = params['SceneId']
|
1939
|
+
end
|
1940
|
+
end
|
1941
|
+
|
1942
|
+
# DescribeChannels返回参数结构体
|
1943
|
+
class DescribeChannelsResponse < TencentCloud::Common::AbstractModel
|
1944
|
+
# @param TotalCount: 通道总数
|
1945
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1946
|
+
# @type TotalCount: Integer
|
1947
|
+
# @param Channels: 通道详情列表
|
1948
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1949
|
+
# @type Channels: Array
|
1950
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1951
|
+
# @type RequestId: String
|
1952
|
+
|
1953
|
+
attr_accessor :TotalCount, :Channels, :RequestId
|
1954
|
+
|
1955
|
+
def initialize(totalcount=nil, channels=nil, requestid=nil)
|
1956
|
+
@TotalCount = totalcount
|
1957
|
+
@Channels = channels
|
1958
|
+
@RequestId = requestid
|
1959
|
+
end
|
1960
|
+
|
1961
|
+
def deserialize(params)
|
1962
|
+
@TotalCount = params['TotalCount']
|
1963
|
+
unless params['Channels'].nil?
|
1964
|
+
@Channels = []
|
1965
|
+
params['Channels'].each do |i|
|
1966
|
+
channeldetail_tmp = ChannelDetail.new
|
1967
|
+
channeldetail_tmp.deserialize(i)
|
1968
|
+
@Channels << channeldetail_tmp
|
1969
|
+
end
|
1970
|
+
end
|
1971
|
+
@RequestId = params['RequestId']
|
1972
|
+
end
|
1973
|
+
end
|
1974
|
+
|
1975
|
+
# DescribeCurrentDeviceData请求参数结构体
|
1976
|
+
class DescribeCurrentDeviceDataRequest < TencentCloud::Common::AbstractModel
|
1977
|
+
|
1978
|
+
|
1979
|
+
def initialize()
|
1980
|
+
end
|
1981
|
+
|
1982
|
+
def deserialize(params)
|
1983
|
+
end
|
1984
|
+
end
|
1985
|
+
|
1986
|
+
# DescribeCurrentDeviceData返回参数结构体
|
1987
|
+
class DescribeCurrentDeviceDataResponse < TencentCloud::Common::AbstractModel
|
1988
|
+
# @param Channels: 通道数
|
1989
|
+
# @type Channels: Integer
|
1990
|
+
# @param Devices: 设备数
|
1991
|
+
# @type Devices: Integer
|
1992
|
+
# @param OnlineChannels: 在线通道数
|
1993
|
+
# @type OnlineChannels: Integer
|
1994
|
+
# @param OnlineDevices: 在线设备数
|
1995
|
+
# @type OnlineDevices: Integer
|
1996
|
+
# @param RecordingChannels: 正在录制通道数
|
1997
|
+
# @type RecordingChannels: Integer
|
1998
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1999
|
+
# @type RequestId: String
|
2000
|
+
|
2001
|
+
attr_accessor :Channels, :Devices, :OnlineChannels, :OnlineDevices, :RecordingChannels, :RequestId
|
2002
|
+
|
2003
|
+
def initialize(channels=nil, devices=nil, onlinechannels=nil, onlinedevices=nil, recordingchannels=nil, requestid=nil)
|
2004
|
+
@Channels = channels
|
2005
|
+
@Devices = devices
|
2006
|
+
@OnlineChannels = onlinechannels
|
2007
|
+
@OnlineDevices = onlinedevices
|
2008
|
+
@RecordingChannels = recordingchannels
|
2009
|
+
@RequestId = requestid
|
2010
|
+
end
|
2011
|
+
|
2012
|
+
def deserialize(params)
|
2013
|
+
@Channels = params['Channels']
|
2014
|
+
@Devices = params['Devices']
|
2015
|
+
@OnlineChannels = params['OnlineChannels']
|
2016
|
+
@OnlineDevices = params['OnlineDevices']
|
2017
|
+
@RecordingChannels = params['RecordingChannels']
|
2018
|
+
@RequestId = params['RequestId']
|
2019
|
+
end
|
2020
|
+
end
|
2021
|
+
|
2022
|
+
# DescribeDeviceEvent请求参数结构体
|
2023
|
+
class DescribeDeviceEventRequest < TencentCloud::Common::AbstractModel
|
2024
|
+
# @param StartTime: 开始时间,秒级时间戳
|
2025
|
+
# @type StartTime: Integer
|
2026
|
+
# @param EndTime: 结束时间,秒级时间戳
|
2027
|
+
# @type EndTime: Integer
|
2028
|
+
# @param DeviceId: 设备Id
|
2029
|
+
# @type DeviceId: String
|
2030
|
+
# @param EventTypes: 事件类型 1:注册 2:心跳 4:录制异常 5:播放异常 6:流中断
|
2031
|
+
# @type EventTypes: Array
|
2032
|
+
# @param Offset: 偏移值
|
2033
|
+
# @type Offset: Integer
|
2034
|
+
# @param Limit: limit限制值
|
2035
|
+
# @type Limit: Integer
|
2036
|
+
|
2037
|
+
attr_accessor :StartTime, :EndTime, :DeviceId, :EventTypes, :Offset, :Limit
|
2038
|
+
|
2039
|
+
def initialize(starttime=nil, endtime=nil, deviceid=nil, eventtypes=nil, offset=nil, limit=nil)
|
2040
|
+
@StartTime = starttime
|
2041
|
+
@EndTime = endtime
|
2042
|
+
@DeviceId = deviceid
|
2043
|
+
@EventTypes = eventtypes
|
2044
|
+
@Offset = offset
|
2045
|
+
@Limit = limit
|
2046
|
+
end
|
2047
|
+
|
2048
|
+
def deserialize(params)
|
2049
|
+
@StartTime = params['StartTime']
|
2050
|
+
@EndTime = params['EndTime']
|
2051
|
+
@DeviceId = params['DeviceId']
|
2052
|
+
@EventTypes = params['EventTypes']
|
2053
|
+
@Offset = params['Offset']
|
2054
|
+
@Limit = params['Limit']
|
2055
|
+
end
|
2056
|
+
end
|
2057
|
+
|
2058
|
+
# DescribeDeviceEvent返回参数结构体
|
2059
|
+
class DescribeDeviceEventResponse < TencentCloud::Common::AbstractModel
|
2060
|
+
# @param TotalCount: 总数
|
2061
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2062
|
+
# @type TotalCount: Integer
|
2063
|
+
# @param Events: 事件列表
|
2064
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2065
|
+
# @type Events: Array
|
2066
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2067
|
+
# @type RequestId: String
|
2068
|
+
|
2069
|
+
attr_accessor :TotalCount, :Events, :RequestId
|
2070
|
+
|
2071
|
+
def initialize(totalcount=nil, events=nil, requestid=nil)
|
2072
|
+
@TotalCount = totalcount
|
2073
|
+
@Events = events
|
2074
|
+
@RequestId = requestid
|
2075
|
+
end
|
2076
|
+
|
2077
|
+
def deserialize(params)
|
2078
|
+
@TotalCount = params['TotalCount']
|
2079
|
+
unless params['Events'].nil?
|
2080
|
+
@Events = []
|
2081
|
+
params['Events'].each do |i|
|
2082
|
+
events_tmp = Events.new
|
2083
|
+
events_tmp.deserialize(i)
|
2084
|
+
@Events << events_tmp
|
2085
|
+
end
|
2086
|
+
end
|
2087
|
+
@RequestId = params['RequestId']
|
2088
|
+
end
|
2089
|
+
end
|
2090
|
+
|
2091
|
+
# DescribeDeviceGroup请求参数结构体
|
2092
|
+
class DescribeDeviceGroupRequest < TencentCloud::Common::AbstractModel
|
2093
|
+
# @param DeviceIds: 设备唯一标识列表
|
2094
|
+
# @type DeviceIds: Array
|
2095
|
+
|
2096
|
+
attr_accessor :DeviceIds
|
2097
|
+
|
2098
|
+
def initialize(deviceids=nil)
|
2099
|
+
@DeviceIds = deviceids
|
2100
|
+
end
|
2101
|
+
|
2102
|
+
def deserialize(params)
|
2103
|
+
@DeviceIds = params['DeviceIds']
|
2104
|
+
end
|
2105
|
+
end
|
2106
|
+
|
2107
|
+
# DescribeDeviceGroup返回参数结构体
|
2108
|
+
class DescribeDeviceGroupResponse < TencentCloud::Common::AbstractModel
|
2109
|
+
# @param DevGroups: 设备所在分组信息
|
2110
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2111
|
+
# @type DevGroups: Array
|
2112
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2113
|
+
# @type RequestId: String
|
2114
|
+
|
2115
|
+
attr_accessor :DevGroups, :RequestId
|
2116
|
+
|
2117
|
+
def initialize(devgroups=nil, requestid=nil)
|
2118
|
+
@DevGroups = devgroups
|
2119
|
+
@RequestId = requestid
|
2120
|
+
end
|
2121
|
+
|
2122
|
+
def deserialize(params)
|
2123
|
+
unless params['DevGroups'].nil?
|
1267
2124
|
@DevGroups = []
|
1268
2125
|
params['DevGroups'].each do |i|
|
1269
2126
|
devgroupinfo_tmp = DevGroupInfo.new
|
@@ -1275,6 +2132,122 @@ module TencentCloud
|
|
1275
2132
|
end
|
1276
2133
|
end
|
1277
2134
|
|
2135
|
+
# DescribeDeviceList请求参数结构体
|
2136
|
+
class DescribeDeviceListRequest < TencentCloud::Common::AbstractModel
|
2137
|
+
# @param Offset: 偏移量,默认0
|
2138
|
+
# @type Offset: Integer
|
2139
|
+
# @param Limit: 限制,默认200
|
2140
|
+
# @type Limit: Integer
|
2141
|
+
# @param NickName: 设备名前缀
|
2142
|
+
# @type NickName: String
|
2143
|
+
# @param DeviceTypes: 设备类型,1:国标VMS设备(公有云不支持此类型),2:国标IPC设备,3:国标NVR设备,9:智能告警设备(公有云不支持此类型)
|
2144
|
+
# @type DeviceTypes: Array
|
2145
|
+
|
2146
|
+
attr_accessor :Offset, :Limit, :NickName, :DeviceTypes
|
2147
|
+
|
2148
|
+
def initialize(offset=nil, limit=nil, nickname=nil, devicetypes=nil)
|
2149
|
+
@Offset = offset
|
2150
|
+
@Limit = limit
|
2151
|
+
@NickName = nickname
|
2152
|
+
@DeviceTypes = devicetypes
|
2153
|
+
end
|
2154
|
+
|
2155
|
+
def deserialize(params)
|
2156
|
+
@Offset = params['Offset']
|
2157
|
+
@Limit = params['Limit']
|
2158
|
+
@NickName = params['NickName']
|
2159
|
+
@DeviceTypes = params['DeviceTypes']
|
2160
|
+
end
|
2161
|
+
end
|
2162
|
+
|
2163
|
+
# DescribeDeviceList返回参数结构体
|
2164
|
+
class DescribeDeviceListResponse < TencentCloud::Common::AbstractModel
|
2165
|
+
# @param TotalCount: 设备总数
|
2166
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2167
|
+
# @type TotalCount: Integer
|
2168
|
+
# @param Devices: 设备详细信息列表
|
2169
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2170
|
+
# @type Devices: Array
|
2171
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2172
|
+
# @type RequestId: String
|
2173
|
+
|
2174
|
+
attr_accessor :TotalCount, :Devices, :RequestId
|
2175
|
+
|
2176
|
+
def initialize(totalcount=nil, devices=nil, requestid=nil)
|
2177
|
+
@TotalCount = totalcount
|
2178
|
+
@Devices = devices
|
2179
|
+
@RequestId = requestid
|
2180
|
+
end
|
2181
|
+
|
2182
|
+
def deserialize(params)
|
2183
|
+
@TotalCount = params['TotalCount']
|
2184
|
+
unless params['Devices'].nil?
|
2185
|
+
@Devices = []
|
2186
|
+
params['Devices'].each do |i|
|
2187
|
+
alldeviceinfo_tmp = AllDeviceInfo.new
|
2188
|
+
alldeviceinfo_tmp.deserialize(i)
|
2189
|
+
@Devices << alldeviceinfo_tmp
|
2190
|
+
end
|
2191
|
+
end
|
2192
|
+
@RequestId = params['RequestId']
|
2193
|
+
end
|
2194
|
+
end
|
2195
|
+
|
2196
|
+
# DescribeDeviceMonitorData请求参数结构体
|
2197
|
+
class DescribeDeviceMonitorDataRequest < TencentCloud::Common::AbstractModel
|
2198
|
+
# @param StartTime: 开始时间戳
|
2199
|
+
# @type StartTime: Integer
|
2200
|
+
# @param EndTime: 结束时间戳
|
2201
|
+
# @type EndTime: Integer
|
2202
|
+
# @param Type: 类型 支持 OnlineChannels/OnlineDevices/RecordingChannels
|
2203
|
+
# @type Type: String
|
2204
|
+
# @param TimesSpec: 时间粒度 目前只支持 1h
|
2205
|
+
# @type TimesSpec: String
|
2206
|
+
|
2207
|
+
attr_accessor :StartTime, :EndTime, :Type, :TimesSpec
|
2208
|
+
|
2209
|
+
def initialize(starttime=nil, endtime=nil, type=nil, timesspec=nil)
|
2210
|
+
@StartTime = starttime
|
2211
|
+
@EndTime = endtime
|
2212
|
+
@Type = type
|
2213
|
+
@TimesSpec = timesspec
|
2214
|
+
end
|
2215
|
+
|
2216
|
+
def deserialize(params)
|
2217
|
+
@StartTime = params['StartTime']
|
2218
|
+
@EndTime = params['EndTime']
|
2219
|
+
@Type = params['Type']
|
2220
|
+
@TimesSpec = params['TimesSpec']
|
2221
|
+
end
|
2222
|
+
end
|
2223
|
+
|
2224
|
+
# DescribeDeviceMonitorData返回参数结构体
|
2225
|
+
class DescribeDeviceMonitorDataResponse < TencentCloud::Common::AbstractModel
|
2226
|
+
# @param Data: 查询设备统计monitor信息列表
|
2227
|
+
# @type Data: Array
|
2228
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2229
|
+
# @type RequestId: String
|
2230
|
+
|
2231
|
+
attr_accessor :Data, :RequestId
|
2232
|
+
|
2233
|
+
def initialize(data=nil, requestid=nil)
|
2234
|
+
@Data = data
|
2235
|
+
@RequestId = requestid
|
2236
|
+
end
|
2237
|
+
|
2238
|
+
def deserialize(params)
|
2239
|
+
unless params['Data'].nil?
|
2240
|
+
@Data = []
|
2241
|
+
params['Data'].each do |i|
|
2242
|
+
devicemonitorvalue_tmp = DeviceMonitorValue.new
|
2243
|
+
devicemonitorvalue_tmp.deserialize(i)
|
2244
|
+
@Data << devicemonitorvalue_tmp
|
2245
|
+
end
|
2246
|
+
end
|
2247
|
+
@RequestId = params['RequestId']
|
2248
|
+
end
|
2249
|
+
end
|
2250
|
+
|
1278
2251
|
# DescribeDevicePassWord请求参数结构体
|
1279
2252
|
class DescribeDevicePassWordRequest < TencentCloud::Common::AbstractModel
|
1280
2253
|
# @param DeviceId: 设备唯一标识
|
@@ -1311,6 +2284,45 @@ module TencentCloud
|
|
1311
2284
|
end
|
1312
2285
|
end
|
1313
2286
|
|
2287
|
+
# DescribeDevice请求参数结构体
|
2288
|
+
class DescribeDeviceRequest < TencentCloud::Common::AbstractModel
|
2289
|
+
# @param DeviceId: 设备ID
|
2290
|
+
# @type DeviceId: String
|
2291
|
+
|
2292
|
+
attr_accessor :DeviceId
|
2293
|
+
|
2294
|
+
def initialize(deviceid=nil)
|
2295
|
+
@DeviceId = deviceid
|
2296
|
+
end
|
2297
|
+
|
2298
|
+
def deserialize(params)
|
2299
|
+
@DeviceId = params['DeviceId']
|
2300
|
+
end
|
2301
|
+
end
|
2302
|
+
|
2303
|
+
# DescribeDevice返回参数结构体
|
2304
|
+
class DescribeDeviceResponse < TencentCloud::Common::AbstractModel
|
2305
|
+
# @param Device: 设备详情信息
|
2306
|
+
# @type Device: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.AllDeviceInfo`
|
2307
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2308
|
+
# @type RequestId: String
|
2309
|
+
|
2310
|
+
attr_accessor :Device, :RequestId
|
2311
|
+
|
2312
|
+
def initialize(device=nil, requestid=nil)
|
2313
|
+
@Device = device
|
2314
|
+
@RequestId = requestid
|
2315
|
+
end
|
2316
|
+
|
2317
|
+
def deserialize(params)
|
2318
|
+
unless params['Device'].nil?
|
2319
|
+
@Device = AllDeviceInfo.new
|
2320
|
+
@Device.deserialize(params['Device'])
|
2321
|
+
end
|
2322
|
+
@RequestId = params['RequestId']
|
2323
|
+
end
|
2324
|
+
end
|
2325
|
+
|
1314
2326
|
# DescribeDeviceStreams的出参复杂类型
|
1315
2327
|
class DescribeDeviceStreamsData < TencentCloud::Common::AbstractModel
|
1316
2328
|
# @param RtspAddr: rtsp地址
|
@@ -1478,8 +2490,8 @@ module TencentCloud
|
|
1478
2490
|
# @type NickName: String
|
1479
2491
|
# @param Recordable: 过滤不可录制设备
|
1480
2492
|
# @type Recordable: Integer
|
1481
|
-
# @param DeviceTypes: 当Group是普通组的时候,支持根据
|
1482
|
-
#
|
2493
|
+
# @param DeviceTypes: 当Group是普通组的时候,支持根据DeviceTypes筛选类型,
|
2494
|
+
# 设备类型,1:国标VMS设备(公有云不支持此类型),2:国标IPC设备,3:国标NVR设备,9:智能告警设备(公有云不支持此类型)
|
1483
2495
|
# @type DeviceTypes: Array
|
1484
2496
|
|
1485
2497
|
attr_accessor :GroupId, :Offset, :Limit, :NickName, :Recordable, :DeviceTypes
|
@@ -1930,7 +2942,7 @@ module TencentCloud
|
|
1930
2942
|
# @type Offset: Integer
|
1931
2943
|
# @param Limit: 分页的每页数量
|
1932
2944
|
# @type Limit: Integer
|
1933
|
-
# @param LiveChannelId:
|
2945
|
+
# @param LiveChannelId: 直播频道ID
|
1934
2946
|
# @type LiveChannelId: String
|
1935
2947
|
# @param StartRecordTime: 开始录制开始时间
|
1936
2948
|
# @type StartRecordTime: Integer
|
@@ -2077,69 +3089,218 @@ module TencentCloud
|
|
2077
3089
|
end
|
2078
3090
|
|
2079
3091
|
def deserialize(params)
|
2080
|
-
@RegionId = params['RegionId']
|
2081
|
-
@RegionName = params['RegionName']
|
2082
|
-
@Instance = params['Instance']
|
2083
|
-
@InstanceName = params['InstanceName']
|
2084
|
-
@IntId = params['IntId']
|
2085
|
-
@MessageType = params['MessageType']
|
2086
|
-
@TopicId = params['TopicId']
|
2087
|
-
@CreateTime = params['CreateTime']
|
2088
|
-
@Uin = params['Uin']
|
2089
|
-
@TopicName = params['TopicName']
|
3092
|
+
@RegionId = params['RegionId']
|
3093
|
+
@RegionName = params['RegionName']
|
3094
|
+
@Instance = params['Instance']
|
3095
|
+
@InstanceName = params['InstanceName']
|
3096
|
+
@IntId = params['IntId']
|
3097
|
+
@MessageType = params['MessageType']
|
3098
|
+
@TopicId = params['TopicId']
|
3099
|
+
@CreateTime = params['CreateTime']
|
3100
|
+
@Uin = params['Uin']
|
3101
|
+
@TopicName = params['TopicName']
|
3102
|
+
@RequestId = params['RequestId']
|
3103
|
+
end
|
3104
|
+
end
|
3105
|
+
|
3106
|
+
# DescribeMessageForwards请求参数结构体
|
3107
|
+
class DescribeMessageForwardsRequest < TencentCloud::Common::AbstractModel
|
3108
|
+
# @param Limit: 数量限制
|
3109
|
+
# @type Limit: Integer
|
3110
|
+
# @param Offset: 偏移
|
3111
|
+
# @type Offset: Integer
|
3112
|
+
|
3113
|
+
attr_accessor :Limit, :Offset
|
3114
|
+
|
3115
|
+
def initialize(limit=nil, offset=nil)
|
3116
|
+
@Limit = limit
|
3117
|
+
@Offset = offset
|
3118
|
+
end
|
3119
|
+
|
3120
|
+
def deserialize(params)
|
3121
|
+
@Limit = params['Limit']
|
3122
|
+
@Offset = params['Offset']
|
3123
|
+
end
|
3124
|
+
end
|
3125
|
+
|
3126
|
+
# DescribeMessageForwards返回参数结构体
|
3127
|
+
class DescribeMessageForwardsResponse < TencentCloud::Common::AbstractModel
|
3128
|
+
# @param Total: 配置总数
|
3129
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3130
|
+
# @type Total: Integer
|
3131
|
+
# @param List: 配置列表
|
3132
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3133
|
+
# @type List: Array
|
3134
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3135
|
+
# @type RequestId: String
|
3136
|
+
|
3137
|
+
attr_accessor :Total, :List, :RequestId
|
3138
|
+
|
3139
|
+
def initialize(total=nil, list=nil, requestid=nil)
|
3140
|
+
@Total = total
|
3141
|
+
@List = list
|
3142
|
+
@RequestId = requestid
|
3143
|
+
end
|
3144
|
+
|
3145
|
+
def deserialize(params)
|
3146
|
+
@Total = params['Total']
|
3147
|
+
unless params['List'].nil?
|
3148
|
+
@List = []
|
3149
|
+
params['List'].each do |i|
|
3150
|
+
messageforward_tmp = MessageForward.new
|
3151
|
+
messageforward_tmp.deserialize(i)
|
3152
|
+
@List << messageforward_tmp
|
3153
|
+
end
|
3154
|
+
end
|
3155
|
+
@RequestId = params['RequestId']
|
3156
|
+
end
|
3157
|
+
end
|
3158
|
+
|
3159
|
+
# DescribeMonitorDataByDate请求参数结构体
|
3160
|
+
class DescribeMonitorDataByDateRequest < TencentCloud::Common::AbstractModel
|
3161
|
+
# @param StartTime: 开始时间戳
|
3162
|
+
# @type StartTime: Integer
|
3163
|
+
# @param EndTime: 结束时间戳 最多显示30天数据
|
3164
|
+
# @type EndTime: Integer
|
3165
|
+
|
3166
|
+
attr_accessor :StartTime, :EndTime
|
3167
|
+
|
3168
|
+
def initialize(starttime=nil, endtime=nil)
|
3169
|
+
@StartTime = starttime
|
3170
|
+
@EndTime = endtime
|
3171
|
+
end
|
3172
|
+
|
3173
|
+
def deserialize(params)
|
3174
|
+
@StartTime = params['StartTime']
|
3175
|
+
@EndTime = params['EndTime']
|
3176
|
+
end
|
3177
|
+
end
|
3178
|
+
|
3179
|
+
# DescribeMonitorDataByDate返回参数结构体
|
3180
|
+
class DescribeMonitorDataByDateResponse < TencentCloud::Common::AbstractModel
|
3181
|
+
# @param Data: 统计数据列表
|
3182
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3183
|
+
# @type Data: Array
|
3184
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3185
|
+
# @type RequestId: String
|
3186
|
+
|
3187
|
+
attr_accessor :Data, :RequestId
|
3188
|
+
|
3189
|
+
def initialize(data=nil, requestid=nil)
|
3190
|
+
@Data = data
|
3191
|
+
@RequestId = requestid
|
3192
|
+
end
|
3193
|
+
|
3194
|
+
def deserialize(params)
|
3195
|
+
unless params['Data'].nil?
|
3196
|
+
@Data = []
|
3197
|
+
params['Data'].each do |i|
|
3198
|
+
recordstatistic_tmp = RecordStatistic.new
|
3199
|
+
recordstatistic_tmp.deserialize(i)
|
3200
|
+
@Data << recordstatistic_tmp
|
3201
|
+
end
|
3202
|
+
end
|
3203
|
+
@RequestId = params['RequestId']
|
3204
|
+
end
|
3205
|
+
end
|
3206
|
+
|
3207
|
+
# DescribePresetList请求参数结构体
|
3208
|
+
class DescribePresetListRequest < TencentCloud::Common::AbstractModel
|
3209
|
+
# @param ChannelId: 视频通道唯一标识
|
3210
|
+
# @type ChannelId: String
|
3211
|
+
# @param DeviceId: 设备唯一标识
|
3212
|
+
# @type DeviceId: String
|
3213
|
+
|
3214
|
+
attr_accessor :ChannelId, :DeviceId
|
3215
|
+
|
3216
|
+
def initialize(channelid=nil, deviceid=nil)
|
3217
|
+
@ChannelId = channelid
|
3218
|
+
@DeviceId = deviceid
|
3219
|
+
end
|
3220
|
+
|
3221
|
+
def deserialize(params)
|
3222
|
+
@ChannelId = params['ChannelId']
|
3223
|
+
@DeviceId = params['DeviceId']
|
3224
|
+
end
|
3225
|
+
end
|
3226
|
+
|
3227
|
+
# DescribePresetList返回参数结构体
|
3228
|
+
class DescribePresetListResponse < TencentCloud::Common::AbstractModel
|
3229
|
+
# @param Data: 预置列表
|
3230
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3231
|
+
# @type Data: Array
|
3232
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3233
|
+
# @type RequestId: String
|
3234
|
+
|
3235
|
+
attr_accessor :Data, :RequestId
|
3236
|
+
|
3237
|
+
def initialize(data=nil, requestid=nil)
|
3238
|
+
@Data = data
|
3239
|
+
@RequestId = requestid
|
3240
|
+
end
|
3241
|
+
|
3242
|
+
def deserialize(params)
|
3243
|
+
unless params['Data'].nil?
|
3244
|
+
@Data = []
|
3245
|
+
params['Data'].each do |i|
|
3246
|
+
presetitem_tmp = PresetItem.new
|
3247
|
+
presetitem_tmp.deserialize(i)
|
3248
|
+
@Data << presetitem_tmp
|
3249
|
+
end
|
3250
|
+
end
|
2090
3251
|
@RequestId = params['RequestId']
|
2091
3252
|
end
|
2092
3253
|
end
|
2093
3254
|
|
2094
|
-
#
|
2095
|
-
class
|
2096
|
-
# @param
|
3255
|
+
# DescribeRecordDatesByChannel请求参数结构体
|
3256
|
+
class DescribeRecordDatesByChannelRequest < TencentCloud::Common::AbstractModel
|
3257
|
+
# @param DeviceId: 设备唯一标识
|
3258
|
+
# @type DeviceId: String
|
3259
|
+
# @param ChannelId: 通道唯一标识
|
3260
|
+
# @type ChannelId: String
|
3261
|
+
# @param Type: 1: 云端录制 2: 本地录制
|
3262
|
+
# @type Type: Integer
|
3263
|
+
# @param Limit: 限制量,默认200
|
2097
3264
|
# @type Limit: Integer
|
2098
|
-
# @param Offset:
|
3265
|
+
# @param Offset: 偏移量,默认0
|
2099
3266
|
# @type Offset: Integer
|
2100
3267
|
|
2101
|
-
attr_accessor :Limit, :Offset
|
3268
|
+
attr_accessor :DeviceId, :ChannelId, :Type, :Limit, :Offset
|
2102
3269
|
|
2103
|
-
def initialize(limit=nil, offset=nil)
|
3270
|
+
def initialize(deviceid=nil, channelid=nil, type=nil, limit=nil, offset=nil)
|
3271
|
+
@DeviceId = deviceid
|
3272
|
+
@ChannelId = channelid
|
3273
|
+
@Type = type
|
2104
3274
|
@Limit = limit
|
2105
3275
|
@Offset = offset
|
2106
3276
|
end
|
2107
3277
|
|
2108
3278
|
def deserialize(params)
|
3279
|
+
@DeviceId = params['DeviceId']
|
3280
|
+
@ChannelId = params['ChannelId']
|
3281
|
+
@Type = params['Type']
|
2109
3282
|
@Limit = params['Limit']
|
2110
3283
|
@Offset = params['Offset']
|
2111
3284
|
end
|
2112
3285
|
end
|
2113
3286
|
|
2114
|
-
#
|
2115
|
-
class
|
2116
|
-
# @param
|
2117
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2118
|
-
# @type Total: Integer
|
2119
|
-
# @param List: 配置列表
|
3287
|
+
# DescribeRecordDatesByChannel返回参数结构体
|
3288
|
+
class DescribeRecordDatesByChannelResponse < TencentCloud::Common::AbstractModel
|
3289
|
+
# @param Dates: 含有录像文件的日期列表
|
2120
3290
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2121
|
-
# @type
|
3291
|
+
# @type Dates: Array
|
2122
3292
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2123
3293
|
# @type RequestId: String
|
2124
3294
|
|
2125
|
-
attr_accessor :
|
3295
|
+
attr_accessor :Dates, :RequestId
|
2126
3296
|
|
2127
|
-
def initialize(
|
2128
|
-
@
|
2129
|
-
@List = list
|
3297
|
+
def initialize(dates=nil, requestid=nil)
|
3298
|
+
@Dates = dates
|
2130
3299
|
@RequestId = requestid
|
2131
3300
|
end
|
2132
3301
|
|
2133
3302
|
def deserialize(params)
|
2134
|
-
@
|
2135
|
-
unless params['List'].nil?
|
2136
|
-
@List = []
|
2137
|
-
params['List'].each do |i|
|
2138
|
-
messageforward_tmp = MessageForward.new
|
2139
|
-
messageforward_tmp.deserialize(i)
|
2140
|
-
@List << messageforward_tmp
|
2141
|
-
end
|
2142
|
-
end
|
3303
|
+
@Dates = params['Dates']
|
2143
3304
|
@RequestId = params['RequestId']
|
2144
3305
|
end
|
2145
3306
|
end
|
@@ -2225,13 +3386,13 @@ module TencentCloud
|
|
2225
3386
|
class DescribeRecordStreamRequest < TencentCloud::Common::AbstractModel
|
2226
3387
|
# @param DeviceId: 设备Id
|
2227
3388
|
# @type DeviceId: String
|
2228
|
-
# @param ExpireTime:
|
3389
|
+
# @param ExpireTime: 流失效时间,UNIX时间戳,30天内
|
2229
3390
|
# @type ExpireTime: Integer
|
2230
|
-
# @param RecordId: 录像文件
|
3391
|
+
# @param RecordId: 录像文件ID
|
2231
3392
|
# @type RecordId: String
|
2232
|
-
# @param StartTime: 录像流开始时间,当录像文件
|
3393
|
+
# @param StartTime: 录像流开始时间,当录像文件ID为空时有效,UNIX时间戳
|
2233
3394
|
# @type StartTime: Integer
|
2234
|
-
# @param EndTime: 录像流结束时间,当录像文件
|
3395
|
+
# @param EndTime: 录像流结束时间,当录像文件iD为空时有效,UNIX时间戳
|
2235
3396
|
# @type EndTime: Integer
|
2236
3397
|
# @param ChannelId: 通道唯一标识
|
2237
3398
|
# @type ChannelId: String
|
@@ -2280,6 +3441,90 @@ module TencentCloud
|
|
2280
3441
|
end
|
2281
3442
|
end
|
2282
3443
|
|
3444
|
+
# DescribeRecordingPlanById请求参数结构体
|
3445
|
+
class DescribeRecordingPlanByIdRequest < TencentCloud::Common::AbstractModel
|
3446
|
+
# @param PlanId: 录制计划ID
|
3447
|
+
# @type PlanId: String
|
3448
|
+
|
3449
|
+
attr_accessor :PlanId
|
3450
|
+
|
3451
|
+
def initialize(planid=nil)
|
3452
|
+
@PlanId = planid
|
3453
|
+
end
|
3454
|
+
|
3455
|
+
def deserialize(params)
|
3456
|
+
@PlanId = params['PlanId']
|
3457
|
+
end
|
3458
|
+
end
|
3459
|
+
|
3460
|
+
# DescribeRecordingPlanById返回参数结构体
|
3461
|
+
class DescribeRecordingPlanByIdResponse < TencentCloud::Common::AbstractModel
|
3462
|
+
# @param Plan: 录制计划详情
|
3463
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3464
|
+
# @type Plan: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.RecordPlanDetail`
|
3465
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3466
|
+
# @type RequestId: String
|
3467
|
+
|
3468
|
+
attr_accessor :Plan, :RequestId
|
3469
|
+
|
3470
|
+
def initialize(plan=nil, requestid=nil)
|
3471
|
+
@Plan = plan
|
3472
|
+
@RequestId = requestid
|
3473
|
+
end
|
3474
|
+
|
3475
|
+
def deserialize(params)
|
3476
|
+
unless params['Plan'].nil?
|
3477
|
+
@Plan = RecordPlanDetail.new
|
3478
|
+
@Plan.deserialize(params['Plan'])
|
3479
|
+
end
|
3480
|
+
@RequestId = params['RequestId']
|
3481
|
+
end
|
3482
|
+
end
|
3483
|
+
|
3484
|
+
# DescribeRecordingPlans请求参数结构体
|
3485
|
+
class DescribeRecordingPlansRequest < TencentCloud::Common::AbstractModel
|
3486
|
+
|
3487
|
+
|
3488
|
+
def initialize()
|
3489
|
+
end
|
3490
|
+
|
3491
|
+
def deserialize(params)
|
3492
|
+
end
|
3493
|
+
end
|
3494
|
+
|
3495
|
+
# DescribeRecordingPlans返回参数结构体
|
3496
|
+
class DescribeRecordingPlansResponse < TencentCloud::Common::AbstractModel
|
3497
|
+
# @param Plans: 录制计划详情·列表
|
3498
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3499
|
+
# @type Plans: Array
|
3500
|
+
# @param TotalCount: 录制计划总数
|
3501
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3502
|
+
# @type TotalCount: Integer
|
3503
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3504
|
+
# @type RequestId: String
|
3505
|
+
|
3506
|
+
attr_accessor :Plans, :TotalCount, :RequestId
|
3507
|
+
|
3508
|
+
def initialize(plans=nil, totalcount=nil, requestid=nil)
|
3509
|
+
@Plans = plans
|
3510
|
+
@TotalCount = totalcount
|
3511
|
+
@RequestId = requestid
|
3512
|
+
end
|
3513
|
+
|
3514
|
+
def deserialize(params)
|
3515
|
+
unless params['Plans'].nil?
|
3516
|
+
@Plans = []
|
3517
|
+
params['Plans'].each do |i|
|
3518
|
+
recordplandetail_tmp = RecordPlanDetail.new
|
3519
|
+
recordplandetail_tmp.deserialize(i)
|
3520
|
+
@Plans << recordplandetail_tmp
|
3521
|
+
end
|
3522
|
+
end
|
3523
|
+
@TotalCount = params['TotalCount']
|
3524
|
+
@RequestId = params['RequestId']
|
3525
|
+
end
|
3526
|
+
end
|
3527
|
+
|
2283
3528
|
# DescribeSIPServer请求参数结构体
|
2284
3529
|
class DescribeSIPServerRequest < TencentCloud::Common::AbstractModel
|
2285
3530
|
|
@@ -2314,6 +3559,77 @@ module TencentCloud
|
|
2314
3559
|
end
|
2315
3560
|
end
|
2316
3561
|
|
3562
|
+
# DescribeScene请求参数结构体
|
3563
|
+
class DescribeSceneRequest < TencentCloud::Common::AbstractModel
|
3564
|
+
# @param IntId: 场景ID
|
3565
|
+
# @type IntId: Integer
|
3566
|
+
|
3567
|
+
attr_accessor :IntId
|
3568
|
+
|
3569
|
+
def initialize(intid=nil)
|
3570
|
+
@IntId = intid
|
3571
|
+
end
|
3572
|
+
|
3573
|
+
def deserialize(params)
|
3574
|
+
@IntId = params['IntId']
|
3575
|
+
end
|
3576
|
+
end
|
3577
|
+
|
3578
|
+
# DescribeScene返回参数结构体
|
3579
|
+
class DescribeSceneResponse < TencentCloud::Common::AbstractModel
|
3580
|
+
# @param IntId: 场景ID
|
3581
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3582
|
+
# @type IntId: Integer
|
3583
|
+
# @param RecordDuration: 录制时长(秒)
|
3584
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3585
|
+
# @type RecordDuration: Integer
|
3586
|
+
# @param SceneName: 场景名称
|
3587
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3588
|
+
# @type SceneName: String
|
3589
|
+
# @param SceneTrigger: 场景触发规则
|
3590
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3591
|
+
# @type SceneTrigger: String
|
3592
|
+
# @param StoreDuration: 存储时长 (天)
|
3593
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3594
|
+
# @type StoreDuration: Integer
|
3595
|
+
# @param CreateTime: 创建时间
|
3596
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3597
|
+
# @type CreateTime: String
|
3598
|
+
# @param UpdateTime: 更新时间
|
3599
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3600
|
+
# @type UpdateTime: String
|
3601
|
+
# @param Uin: 用户Uin
|
3602
|
+
# @type Uin: String
|
3603
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3604
|
+
# @type RequestId: String
|
3605
|
+
|
3606
|
+
attr_accessor :IntId, :RecordDuration, :SceneName, :SceneTrigger, :StoreDuration, :CreateTime, :UpdateTime, :Uin, :RequestId
|
3607
|
+
|
3608
|
+
def initialize(intid=nil, recordduration=nil, scenename=nil, scenetrigger=nil, storeduration=nil, createtime=nil, updatetime=nil, uin=nil, requestid=nil)
|
3609
|
+
@IntId = intid
|
3610
|
+
@RecordDuration = recordduration
|
3611
|
+
@SceneName = scenename
|
3612
|
+
@SceneTrigger = scenetrigger
|
3613
|
+
@StoreDuration = storeduration
|
3614
|
+
@CreateTime = createtime
|
3615
|
+
@UpdateTime = updatetime
|
3616
|
+
@Uin = uin
|
3617
|
+
@RequestId = requestid
|
3618
|
+
end
|
3619
|
+
|
3620
|
+
def deserialize(params)
|
3621
|
+
@IntId = params['IntId']
|
3622
|
+
@RecordDuration = params['RecordDuration']
|
3623
|
+
@SceneName = params['SceneName']
|
3624
|
+
@SceneTrigger = params['SceneTrigger']
|
3625
|
+
@StoreDuration = params['StoreDuration']
|
3626
|
+
@CreateTime = params['CreateTime']
|
3627
|
+
@UpdateTime = params['UpdateTime']
|
3628
|
+
@Uin = params['Uin']
|
3629
|
+
@RequestId = params['RequestId']
|
3630
|
+
end
|
3631
|
+
end
|
3632
|
+
|
2317
3633
|
# DescribeScenes请求参数结构体
|
2318
3634
|
class DescribeScenesRequest < TencentCloud::Common::AbstractModel
|
2319
3635
|
# @param Limit: 条数限制
|
@@ -2594,6 +3910,76 @@ module TencentCloud
|
|
2594
3910
|
end
|
2595
3911
|
end
|
2596
3912
|
|
3913
|
+
# DescribeVideoListByChannel请求参数结构体
|
3914
|
+
class DescribeVideoListByChannelRequest < TencentCloud::Common::AbstractModel
|
3915
|
+
# @param DeviceId: 设备唯一标识
|
3916
|
+
# @type DeviceId: String
|
3917
|
+
# @param ChannelId: 通道唯一标识
|
3918
|
+
# @type ChannelId: String
|
3919
|
+
# @param Type: 1: 云端录制 2: 本地录制
|
3920
|
+
# @type Type: Integer
|
3921
|
+
# @param Date: 指定某天。取值【YYYY-MM-DD】
|
3922
|
+
# 为空时默认查询最近一天的记录
|
3923
|
+
# @type Date: String
|
3924
|
+
# @param Limit: 限制量,默认2000
|
3925
|
+
# @type Limit: Integer
|
3926
|
+
# @param Offset: 偏移量,默认0
|
3927
|
+
# @type Offset: Integer
|
3928
|
+
|
3929
|
+
attr_accessor :DeviceId, :ChannelId, :Type, :Date, :Limit, :Offset
|
3930
|
+
|
3931
|
+
def initialize(deviceid=nil, channelid=nil, type=nil, date=nil, limit=nil, offset=nil)
|
3932
|
+
@DeviceId = deviceid
|
3933
|
+
@ChannelId = channelid
|
3934
|
+
@Type = type
|
3935
|
+
@Date = date
|
3936
|
+
@Limit = limit
|
3937
|
+
@Offset = offset
|
3938
|
+
end
|
3939
|
+
|
3940
|
+
def deserialize(params)
|
3941
|
+
@DeviceId = params['DeviceId']
|
3942
|
+
@ChannelId = params['ChannelId']
|
3943
|
+
@Type = params['Type']
|
3944
|
+
@Date = params['Date']
|
3945
|
+
@Limit = params['Limit']
|
3946
|
+
@Offset = params['Offset']
|
3947
|
+
end
|
3948
|
+
end
|
3949
|
+
|
3950
|
+
# DescribeVideoListByChannel返回参数结构体
|
3951
|
+
class DescribeVideoListByChannelResponse < TencentCloud::Common::AbstractModel
|
3952
|
+
# @param VideoList: 录像详情列表
|
3953
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3954
|
+
# @type VideoList: Array
|
3955
|
+
# @param TotalCount: 录像总数
|
3956
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3957
|
+
# @type TotalCount: Integer
|
3958
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3959
|
+
# @type RequestId: String
|
3960
|
+
|
3961
|
+
attr_accessor :VideoList, :TotalCount, :RequestId
|
3962
|
+
|
3963
|
+
def initialize(videolist=nil, totalcount=nil, requestid=nil)
|
3964
|
+
@VideoList = videolist
|
3965
|
+
@TotalCount = totalcount
|
3966
|
+
@RequestId = requestid
|
3967
|
+
end
|
3968
|
+
|
3969
|
+
def deserialize(params)
|
3970
|
+
unless params['VideoList'].nil?
|
3971
|
+
@VideoList = []
|
3972
|
+
params['VideoList'].each do |i|
|
3973
|
+
recordtaskitem_tmp = RecordTaskItem.new
|
3974
|
+
recordtaskitem_tmp.deserialize(i)
|
3975
|
+
@VideoList << recordtaskitem_tmp
|
3976
|
+
end
|
3977
|
+
end
|
3978
|
+
@TotalCount = params['TotalCount']
|
3979
|
+
@RequestId = params['RequestId']
|
3980
|
+
end
|
3981
|
+
end
|
3982
|
+
|
2597
3983
|
# DescribeVideoList请求参数结构体
|
2598
3984
|
class DescribeVideoListRequest < TencentCloud::Common::AbstractModel
|
2599
3985
|
# @param Offset: 偏移
|
@@ -2712,6 +4098,166 @@ module TencentCloud
|
|
2712
4098
|
end
|
2713
4099
|
end
|
2714
4100
|
|
4101
|
+
# DescribeWarnMod请求参数结构体
|
4102
|
+
class DescribeWarnModRequest < TencentCloud::Common::AbstractModel
|
4103
|
+
|
4104
|
+
|
4105
|
+
def initialize()
|
4106
|
+
end
|
4107
|
+
|
4108
|
+
def deserialize(params)
|
4109
|
+
end
|
4110
|
+
end
|
4111
|
+
|
4112
|
+
# DescribeWarnMod返回参数结构体
|
4113
|
+
class DescribeWarnModResponse < TencentCloud::Common::AbstractModel
|
4114
|
+
# @param Data: 告警类型
|
4115
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4116
|
+
# @type Data: String
|
4117
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4118
|
+
# @type RequestId: String
|
4119
|
+
|
4120
|
+
attr_accessor :Data, :RequestId
|
4121
|
+
|
4122
|
+
def initialize(data=nil, requestid=nil)
|
4123
|
+
@Data = data
|
4124
|
+
@RequestId = requestid
|
4125
|
+
end
|
4126
|
+
|
4127
|
+
def deserialize(params)
|
4128
|
+
@Data = params['Data']
|
4129
|
+
@RequestId = params['RequestId']
|
4130
|
+
end
|
4131
|
+
end
|
4132
|
+
|
4133
|
+
# DescribeWarnings请求参数结构体
|
4134
|
+
class DescribeWarningsRequest < TencentCloud::Common::AbstractModel
|
4135
|
+
# @param OrderType: 1:创建时间倒序 2:创建时间升序 3:level倒序 4:leve升序
|
4136
|
+
# @type OrderType: Integer
|
4137
|
+
# @param DeviceId: 可选设备id
|
4138
|
+
# @type DeviceId: String
|
4139
|
+
# @param WarnLevelArray: 如果不传则查询所有,取值参见配置
|
4140
|
+
# @type WarnLevelArray: Array
|
4141
|
+
# @param WarnModeArray: 如果不传则查询所有,取值参见配置
|
4142
|
+
# @type WarnModeArray: Array
|
4143
|
+
# @param Offset: 不传认为是0
|
4144
|
+
# @type Offset: Integer
|
4145
|
+
# @param Limit: 不传认为是20
|
4146
|
+
# @type Limit: Integer
|
4147
|
+
# @param DateBegin: 形似:2021-05-21 00:00:00 .取值在当前日前30天内,不传默认是当前日前30天日期
|
4148
|
+
# @type DateBegin: String
|
4149
|
+
# @param DateEnd: 形似:2021-05-21 23:59:59 .取值在当前日前30天内,不传默认是当前日前30天日期
|
4150
|
+
# @type DateEnd: String
|
4151
|
+
|
4152
|
+
attr_accessor :OrderType, :DeviceId, :WarnLevelArray, :WarnModeArray, :Offset, :Limit, :DateBegin, :DateEnd
|
4153
|
+
|
4154
|
+
def initialize(ordertype=nil, deviceid=nil, warnlevelarray=nil, warnmodearray=nil, offset=nil, limit=nil, datebegin=nil, dateend=nil)
|
4155
|
+
@OrderType = ordertype
|
4156
|
+
@DeviceId = deviceid
|
4157
|
+
@WarnLevelArray = warnlevelarray
|
4158
|
+
@WarnModeArray = warnmodearray
|
4159
|
+
@Offset = offset
|
4160
|
+
@Limit = limit
|
4161
|
+
@DateBegin = datebegin
|
4162
|
+
@DateEnd = dateend
|
4163
|
+
end
|
4164
|
+
|
4165
|
+
def deserialize(params)
|
4166
|
+
@OrderType = params['OrderType']
|
4167
|
+
@DeviceId = params['DeviceId']
|
4168
|
+
@WarnLevelArray = params['WarnLevelArray']
|
4169
|
+
@WarnModeArray = params['WarnModeArray']
|
4170
|
+
@Offset = params['Offset']
|
4171
|
+
@Limit = params['Limit']
|
4172
|
+
@DateBegin = params['DateBegin']
|
4173
|
+
@DateEnd = params['DateEnd']
|
4174
|
+
end
|
4175
|
+
end
|
4176
|
+
|
4177
|
+
# DescribeWarnings返回参数结构体
|
4178
|
+
class DescribeWarningsResponse < TencentCloud::Common::AbstractModel
|
4179
|
+
# @param Total: 总数
|
4180
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4181
|
+
# @type Total: Integer
|
4182
|
+
# @param Data: 告警列表
|
4183
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4184
|
+
# @type Data: Array
|
4185
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4186
|
+
# @type RequestId: String
|
4187
|
+
|
4188
|
+
attr_accessor :Total, :Data, :RequestId
|
4189
|
+
|
4190
|
+
def initialize(total=nil, data=nil, requestid=nil)
|
4191
|
+
@Total = total
|
4192
|
+
@Data = data
|
4193
|
+
@RequestId = requestid
|
4194
|
+
end
|
4195
|
+
|
4196
|
+
def deserialize(params)
|
4197
|
+
@Total = params['Total']
|
4198
|
+
unless params['Data'].nil?
|
4199
|
+
@Data = []
|
4200
|
+
params['Data'].each do |i|
|
4201
|
+
warningsdata_tmp = WarningsData.new
|
4202
|
+
warningsdata_tmp.deserialize(i)
|
4203
|
+
@Data << warningsdata_tmp
|
4204
|
+
end
|
4205
|
+
end
|
4206
|
+
@RequestId = params['RequestId']
|
4207
|
+
end
|
4208
|
+
end
|
4209
|
+
|
4210
|
+
# DescribeXP2PData请求参数结构体
|
4211
|
+
class DescribeXP2PDataRequest < TencentCloud::Common::AbstractModel
|
4212
|
+
# @param P2PAppId: P2P应用ID
|
4213
|
+
# @type P2PAppId: String
|
4214
|
+
# @param From: 查询开始时间
|
4215
|
+
# @type From: Integer
|
4216
|
+
# @param To: 查询结束时间
|
4217
|
+
# @type To: Integer
|
4218
|
+
# @param P2PChannelId: P2P通路ID
|
4219
|
+
# @type P2PChannelId: String
|
4220
|
+
|
4221
|
+
attr_accessor :P2PAppId, :From, :To, :P2PChannelId
|
4222
|
+
|
4223
|
+
def initialize(p2pappid=nil, from=nil, to=nil, p2pchannelid=nil)
|
4224
|
+
@P2PAppId = p2pappid
|
4225
|
+
@From = from
|
4226
|
+
@To = to
|
4227
|
+
@P2PChannelId = p2pchannelid
|
4228
|
+
end
|
4229
|
+
|
4230
|
+
def deserialize(params)
|
4231
|
+
@P2PAppId = params['P2PAppId']
|
4232
|
+
@From = params['From']
|
4233
|
+
@To = params['To']
|
4234
|
+
@P2PChannelId = params['P2PChannelId']
|
4235
|
+
end
|
4236
|
+
end
|
4237
|
+
|
4238
|
+
# DescribeXP2PData返回参数结构体
|
4239
|
+
class DescribeXP2PDataResponse < TencentCloud::Common::AbstractModel
|
4240
|
+
# @param Data: [log_time,cdn_bytes , p2p_bytes, online_people, stuck_times, stuck_people,request,request_success,request_fail,play_fail]
|
4241
|
+
# [时间戳,cdn流量(字节) , p2p流量(字节), 在线人数, 卡播次数, 卡播人数,起播请求次数,起播成功次数,起播失败次数,播放失败次数, pcdn cdn流量(字节), pcdn路由流量(字节), 上传流量(字节)]
|
4242
|
+
# [1481016480, 46118502414, 75144943171, 61691, 3853, 0,0,0,0,0, 0, 0, 0]
|
4243
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4244
|
+
# @type Data: String
|
4245
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4246
|
+
# @type RequestId: String
|
4247
|
+
|
4248
|
+
attr_accessor :Data, :RequestId
|
4249
|
+
|
4250
|
+
def initialize(data=nil, requestid=nil)
|
4251
|
+
@Data = data
|
4252
|
+
@RequestId = requestid
|
4253
|
+
end
|
4254
|
+
|
4255
|
+
def deserialize(params)
|
4256
|
+
@Data = params['Data']
|
4257
|
+
@RequestId = params['RequestId']
|
4258
|
+
end
|
4259
|
+
end
|
4260
|
+
|
2715
4261
|
# 设备所在分组信息
|
2716
4262
|
class DevGroupInfo < TencentCloud::Common::AbstractModel
|
2717
4263
|
# @param DeviceId: 设备唯一标识
|
@@ -2766,33 +4312,107 @@ module TencentCloud
|
|
2766
4312
|
end
|
2767
4313
|
end
|
2768
4314
|
|
4315
|
+
# 查询设备统计返回值
|
4316
|
+
class DeviceMonitorValue < TencentCloud::Common::AbstractModel
|
4317
|
+
# @param Value: 统计值
|
4318
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4319
|
+
# @type Value: Float
|
4320
|
+
# @param Time: 统计时间
|
4321
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4322
|
+
# @type Time: Integer
|
4323
|
+
|
4324
|
+
attr_accessor :Value, :Time
|
4325
|
+
|
4326
|
+
def initialize(value=nil, time=nil)
|
4327
|
+
@Value = value
|
4328
|
+
@Time = time
|
4329
|
+
end
|
4330
|
+
|
4331
|
+
def deserialize(params)
|
4332
|
+
@Value = params['Value']
|
4333
|
+
@Time = params['Time']
|
4334
|
+
end
|
4335
|
+
end
|
4336
|
+
|
4337
|
+
# 设备事件列表
|
4338
|
+
class Events < TencentCloud::Common::AbstractModel
|
4339
|
+
# @param EventTime: 开始时间,秒级时间戳
|
4340
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4341
|
+
# @type EventTime: Integer
|
4342
|
+
# @param EventType: 事件类型 1:注册 2:心跳 4:录制异常 5:播放异常 6:流中断
|
4343
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4344
|
+
# @type EventType: Integer
|
4345
|
+
# @param EventDesc: 事件描述
|
4346
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4347
|
+
# @type EventDesc: String
|
4348
|
+
# @param DeviceType: 设备类型
|
4349
|
+
# @type DeviceType: Integer
|
4350
|
+
# @param DeviceAddress: 设备地址
|
4351
|
+
# @type DeviceAddress: String
|
4352
|
+
# @param DeviceId: 设备Id
|
4353
|
+
# @type DeviceId: String
|
4354
|
+
# @param ChannelId: 通道Id
|
4355
|
+
# @type ChannelId: String
|
4356
|
+
# @param EventLog: 事件日志
|
4357
|
+
# @type EventLog: String
|
4358
|
+
# @param DeviceName: 设备备注名称
|
4359
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4360
|
+
# @type DeviceName: String
|
4361
|
+
|
4362
|
+
attr_accessor :EventTime, :EventType, :EventDesc, :DeviceType, :DeviceAddress, :DeviceId, :ChannelId, :EventLog, :DeviceName
|
4363
|
+
|
4364
|
+
def initialize(eventtime=nil, eventtype=nil, eventdesc=nil, devicetype=nil, deviceaddress=nil, deviceid=nil, channelid=nil, eventlog=nil, devicename=nil)
|
4365
|
+
@EventTime = eventtime
|
4366
|
+
@EventType = eventtype
|
4367
|
+
@EventDesc = eventdesc
|
4368
|
+
@DeviceType = devicetype
|
4369
|
+
@DeviceAddress = deviceaddress
|
4370
|
+
@DeviceId = deviceid
|
4371
|
+
@ChannelId = channelid
|
4372
|
+
@EventLog = eventlog
|
4373
|
+
@DeviceName = devicename
|
4374
|
+
end
|
4375
|
+
|
4376
|
+
def deserialize(params)
|
4377
|
+
@EventTime = params['EventTime']
|
4378
|
+
@EventType = params['EventType']
|
4379
|
+
@EventDesc = params['EventDesc']
|
4380
|
+
@DeviceType = params['DeviceType']
|
4381
|
+
@DeviceAddress = params['DeviceAddress']
|
4382
|
+
@DeviceId = params['DeviceId']
|
4383
|
+
@ChannelId = params['ChannelId']
|
4384
|
+
@EventLog = params['EventLog']
|
4385
|
+
@DeviceName = params['DeviceName']
|
4386
|
+
end
|
4387
|
+
end
|
4388
|
+
|
2769
4389
|
# GetRecordDatesByDev请求参数结构体
|
2770
4390
|
class GetRecordDatesByDevRequest < TencentCloud::Common::AbstractModel
|
2771
4391
|
# @param DeviceId: 设备唯一标识
|
2772
4392
|
# @type DeviceId: String
|
2773
|
-
# @param Offset: 偏移量,默认0
|
2774
|
-
# @type Offset: Integer
|
2775
4393
|
# @param Limit: 限制量,默认200
|
2776
4394
|
# @type Limit: Integer
|
4395
|
+
# @param Offset: 偏移量,默认0
|
4396
|
+
# @type Offset: Integer
|
2777
4397
|
# @param ChannelId: 通道唯一标识
|
2778
4398
|
# @type ChannelId: String
|
2779
4399
|
# @param Type: 1: 云端录制 2: 本地录制
|
2780
4400
|
# @type Type: Integer
|
2781
4401
|
|
2782
|
-
attr_accessor :DeviceId, :
|
4402
|
+
attr_accessor :DeviceId, :Limit, :Offset, :ChannelId, :Type
|
2783
4403
|
|
2784
|
-
def initialize(deviceid=nil,
|
4404
|
+
def initialize(deviceid=nil, limit=nil, offset=nil, channelid=nil, type=nil)
|
2785
4405
|
@DeviceId = deviceid
|
2786
|
-
@Offset = offset
|
2787
4406
|
@Limit = limit
|
4407
|
+
@Offset = offset
|
2788
4408
|
@ChannelId = channelid
|
2789
4409
|
@Type = type
|
2790
4410
|
end
|
2791
4411
|
|
2792
4412
|
def deserialize(params)
|
2793
4413
|
@DeviceId = params['DeviceId']
|
2794
|
-
@Offset = params['Offset']
|
2795
4414
|
@Limit = params['Limit']
|
4415
|
+
@Offset = params['Offset']
|
2796
4416
|
@ChannelId = params['ChannelId']
|
2797
4417
|
@Type = params['Type']
|
2798
4418
|
end
|
@@ -3034,25 +4654,25 @@ module TencentCloud
|
|
3034
4654
|
# @type Offset: Integer
|
3035
4655
|
# @param Limit: 限制量,默认200
|
3036
4656
|
# @type Limit: Integer
|
4657
|
+
# @param ChannelId: 通道唯一标识
|
4658
|
+
# @type ChannelId: String
|
3037
4659
|
# @param LatestDay: 0:查询指定日期的录像;1:查询最近一天的录像;默认0
|
3038
4660
|
# @type LatestDay: Integer
|
3039
4661
|
# @param Date: 指定某天。取值【YYYY-MM-DD】
|
3040
|
-
#
|
4662
|
+
# 为空时默认查询最近一天的记录
|
3041
4663
|
# @type Date: String
|
3042
|
-
# @param ChannelId: 通道唯一标识
|
3043
|
-
# @type ChannelId: String
|
3044
4664
|
# @param Type: 1: 云端录制 2: 本地录制
|
3045
4665
|
# @type Type: Integer
|
3046
4666
|
|
3047
|
-
attr_accessor :DeviceId, :Offset, :Limit, :
|
4667
|
+
attr_accessor :DeviceId, :Offset, :Limit, :ChannelId, :LatestDay, :Date, :Type
|
3048
4668
|
|
3049
|
-
def initialize(deviceid=nil, offset=nil, limit=nil,
|
4669
|
+
def initialize(deviceid=nil, offset=nil, limit=nil, channelid=nil, latestday=nil, date=nil, type=nil)
|
3050
4670
|
@DeviceId = deviceid
|
3051
4671
|
@Offset = offset
|
3052
4672
|
@Limit = limit
|
4673
|
+
@ChannelId = channelid
|
3053
4674
|
@LatestDay = latestday
|
3054
4675
|
@Date = date
|
3055
|
-
@ChannelId = channelid
|
3056
4676
|
@Type = type
|
3057
4677
|
end
|
3058
4678
|
|
@@ -3060,9 +4680,9 @@ module TencentCloud
|
|
3060
4680
|
@DeviceId = params['DeviceId']
|
3061
4681
|
@Offset = params['Offset']
|
3062
4682
|
@Limit = params['Limit']
|
4683
|
+
@ChannelId = params['ChannelId']
|
3063
4684
|
@LatestDay = params['LatestDay']
|
3064
4685
|
@Date = params['Date']
|
3065
|
-
@ChannelId = params['ChannelId']
|
3066
4686
|
@Type = params['Type']
|
3067
4687
|
end
|
3068
4688
|
end
|
@@ -3132,10 +4752,19 @@ module TencentCloud
|
|
3132
4752
|
# @param Protocol: 设备接入协议
|
3133
4753
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3134
4754
|
# @type Protocol: String
|
4755
|
+
# @param CreateTime: 设备创建时间
|
4756
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4757
|
+
# @type CreateTime: Integer
|
4758
|
+
# @param ChannelNum: 设备通道总数
|
4759
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4760
|
+
# @type ChannelNum: Integer
|
4761
|
+
# @param VideoChannelNum: 设备视频通道总数
|
4762
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4763
|
+
# @type VideoChannelNum: Integer
|
3135
4764
|
|
3136
|
-
attr_accessor :DeviceId, :NickName, :Status, :ExtraInformation, :DeviceType, :RTSPUrl, :DeviceCode, :IsRecord, :Recordable, :Protocol
|
4765
|
+
attr_accessor :DeviceId, :NickName, :Status, :ExtraInformation, :DeviceType, :RTSPUrl, :DeviceCode, :IsRecord, :Recordable, :Protocol, :CreateTime, :ChannelNum, :VideoChannelNum
|
3137
4766
|
|
3138
|
-
def initialize(deviceid=nil, nickname=nil, status=nil, extrainformation=nil, devicetype=nil, rtspurl=nil, devicecode=nil, isrecord=nil, recordable=nil, protocol=nil)
|
4767
|
+
def initialize(deviceid=nil, nickname=nil, status=nil, extrainformation=nil, devicetype=nil, rtspurl=nil, devicecode=nil, isrecord=nil, recordable=nil, protocol=nil, createtime=nil, channelnum=nil, videochannelnum=nil)
|
3139
4768
|
@DeviceId = deviceid
|
3140
4769
|
@NickName = nickname
|
3141
4770
|
@Status = status
|
@@ -3146,6 +4775,9 @@ module TencentCloud
|
|
3146
4775
|
@IsRecord = isrecord
|
3147
4776
|
@Recordable = recordable
|
3148
4777
|
@Protocol = protocol
|
4778
|
+
@CreateTime = createtime
|
4779
|
+
@ChannelNum = channelnum
|
4780
|
+
@VideoChannelNum = videochannelnum
|
3149
4781
|
end
|
3150
4782
|
|
3151
4783
|
def deserialize(params)
|
@@ -3159,6 +4791,9 @@ module TencentCloud
|
|
3159
4791
|
@IsRecord = params['IsRecord']
|
3160
4792
|
@Recordable = params['Recordable']
|
3161
4793
|
@Protocol = params['Protocol']
|
4794
|
+
@CreateTime = params['CreateTime']
|
4795
|
+
@ChannelNum = params['ChannelNum']
|
4796
|
+
@VideoChannelNum = params['VideoChannelNum']
|
3162
4797
|
end
|
3163
4798
|
end
|
3164
4799
|
|
@@ -3487,32 +5122,173 @@ module TencentCloud
|
|
3487
5122
|
end
|
3488
5123
|
end
|
3489
5124
|
|
3490
|
-
# ModifyBindPlanLiveChannel请求参数结构体
|
3491
|
-
class ModifyBindPlanLiveChannelRequest < TencentCloud::Common::AbstractModel
|
3492
|
-
# @param PlanId: 直播录制计划ID
|
3493
|
-
# @type PlanId: String
|
5125
|
+
# ModifyBindPlanLiveChannel请求参数结构体
|
5126
|
+
class ModifyBindPlanLiveChannelRequest < TencentCloud::Common::AbstractModel
|
5127
|
+
# @param PlanId: 直播录制计划ID
|
5128
|
+
# @type PlanId: String
|
5129
|
+
# @param Type: 1: 绑定 2: 解绑
|
5130
|
+
# @type Type: Integer
|
5131
|
+
# @param LiveChannelIds: 直播频道ID列表
|
5132
|
+
# @type LiveChannelIds: Array
|
5133
|
+
|
5134
|
+
attr_accessor :PlanId, :Type, :LiveChannelIds
|
5135
|
+
|
5136
|
+
def initialize(planid=nil, type=nil, livechannelids=nil)
|
5137
|
+
@PlanId = planid
|
5138
|
+
@Type = type
|
5139
|
+
@LiveChannelIds = livechannelids
|
5140
|
+
end
|
5141
|
+
|
5142
|
+
def deserialize(params)
|
5143
|
+
@PlanId = params['PlanId']
|
5144
|
+
@Type = params['Type']
|
5145
|
+
@LiveChannelIds = params['LiveChannelIds']
|
5146
|
+
end
|
5147
|
+
end
|
5148
|
+
|
5149
|
+
# ModifyBindPlanLiveChannel返回参数结构体
|
5150
|
+
class ModifyBindPlanLiveChannelResponse < TencentCloud::Common::AbstractModel
|
5151
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5152
|
+
# @type RequestId: String
|
5153
|
+
|
5154
|
+
attr_accessor :RequestId
|
5155
|
+
|
5156
|
+
def initialize(requestid=nil)
|
5157
|
+
@RequestId = requestid
|
5158
|
+
end
|
5159
|
+
|
5160
|
+
def deserialize(params)
|
5161
|
+
@RequestId = params['RequestId']
|
5162
|
+
end
|
5163
|
+
end
|
5164
|
+
|
5165
|
+
# ModifyBindRecordingPlan请求参数结构体
|
5166
|
+
class ModifyBindRecordingPlanRequest < TencentCloud::Common::AbstractModel
|
5167
|
+
# @param Type: 操作类型: 1-绑定设备 ;2-解绑设备
|
5168
|
+
# @type Type: Integer
|
5169
|
+
# @param PlanId: 录制计划ID
|
5170
|
+
# @type PlanId: String
|
5171
|
+
# @param Channels: 录制通道列表
|
5172
|
+
# @type Channels: Array
|
5173
|
+
|
5174
|
+
attr_accessor :Type, :PlanId, :Channels
|
5175
|
+
|
5176
|
+
def initialize(type=nil, planid=nil, channels=nil)
|
5177
|
+
@Type = type
|
5178
|
+
@PlanId = planid
|
5179
|
+
@Channels = channels
|
5180
|
+
end
|
5181
|
+
|
5182
|
+
def deserialize(params)
|
5183
|
+
@Type = params['Type']
|
5184
|
+
@PlanId = params['PlanId']
|
5185
|
+
unless params['Channels'].nil?
|
5186
|
+
@Channels = []
|
5187
|
+
params['Channels'].each do |i|
|
5188
|
+
channelitem_tmp = ChannelItem.new
|
5189
|
+
channelitem_tmp.deserialize(i)
|
5190
|
+
@Channels << channelitem_tmp
|
5191
|
+
end
|
5192
|
+
end
|
5193
|
+
end
|
5194
|
+
end
|
5195
|
+
|
5196
|
+
# ModifyBindRecordingPlan返回参数结构体
|
5197
|
+
class ModifyBindRecordingPlanResponse < TencentCloud::Common::AbstractModel
|
5198
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5199
|
+
# @type RequestId: String
|
5200
|
+
|
5201
|
+
attr_accessor :RequestId
|
5202
|
+
|
5203
|
+
def initialize(requestid=nil)
|
5204
|
+
@RequestId = requestid
|
5205
|
+
end
|
5206
|
+
|
5207
|
+
def deserialize(params)
|
5208
|
+
@RequestId = params['RequestId']
|
5209
|
+
end
|
5210
|
+
end
|
5211
|
+
|
5212
|
+
# ModifyBindSceneChannels请求参数结构体
|
5213
|
+
class ModifyBindSceneChannelsRequest < TencentCloud::Common::AbstractModel
|
5214
|
+
# @param SceneId: 场景ID
|
5215
|
+
# @type SceneId: Integer
|
5216
|
+
# @param Type: 1: 绑定 2: 解绑
|
5217
|
+
# @type Type: Integer
|
5218
|
+
# @param Channels: 通道列表
|
5219
|
+
# @type Channels: Array
|
5220
|
+
|
5221
|
+
attr_accessor :SceneId, :Type, :Channels
|
5222
|
+
|
5223
|
+
def initialize(sceneid=nil, type=nil, channels=nil)
|
5224
|
+
@SceneId = sceneid
|
5225
|
+
@Type = type
|
5226
|
+
@Channels = channels
|
5227
|
+
end
|
5228
|
+
|
5229
|
+
def deserialize(params)
|
5230
|
+
@SceneId = params['SceneId']
|
5231
|
+
@Type = params['Type']
|
5232
|
+
unless params['Channels'].nil?
|
5233
|
+
@Channels = []
|
5234
|
+
params['Channels'].each do |i|
|
5235
|
+
channelitem_tmp = ChannelItem.new
|
5236
|
+
channelitem_tmp.deserialize(i)
|
5237
|
+
@Channels << channelitem_tmp
|
5238
|
+
end
|
5239
|
+
end
|
5240
|
+
end
|
5241
|
+
end
|
5242
|
+
|
5243
|
+
# ModifyBindSceneChannels返回参数结构体
|
5244
|
+
class ModifyBindSceneChannelsResponse < TencentCloud::Common::AbstractModel
|
5245
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5246
|
+
# @type RequestId: String
|
5247
|
+
|
5248
|
+
attr_accessor :RequestId
|
5249
|
+
|
5250
|
+
def initialize(requestid=nil)
|
5251
|
+
@RequestId = requestid
|
5252
|
+
end
|
5253
|
+
|
5254
|
+
def deserialize(params)
|
5255
|
+
@RequestId = params['RequestId']
|
5256
|
+
end
|
5257
|
+
end
|
5258
|
+
|
5259
|
+
# ModifyBindSceneDevice请求参数结构体
|
5260
|
+
class ModifyBindSceneDeviceRequest < TencentCloud::Common::AbstractModel
|
5261
|
+
# @param SceneId: 场景ID
|
5262
|
+
# @type SceneId: Integer
|
3494
5263
|
# @param Type: 1: 绑定 2: 解绑
|
3495
5264
|
# @type Type: Integer
|
3496
|
-
# @param
|
3497
|
-
# @type
|
5265
|
+
# @param Devices: 设备列表
|
5266
|
+
# @type Devices: Array
|
3498
5267
|
|
3499
|
-
attr_accessor :
|
5268
|
+
attr_accessor :SceneId, :Type, :Devices
|
3500
5269
|
|
3501
|
-
def initialize(
|
3502
|
-
@
|
5270
|
+
def initialize(sceneid=nil, type=nil, devices=nil)
|
5271
|
+
@SceneId = sceneid
|
3503
5272
|
@Type = type
|
3504
|
-
@
|
5273
|
+
@Devices = devices
|
3505
5274
|
end
|
3506
5275
|
|
3507
5276
|
def deserialize(params)
|
3508
|
-
@
|
5277
|
+
@SceneId = params['SceneId']
|
3509
5278
|
@Type = params['Type']
|
3510
|
-
|
5279
|
+
unless params['Devices'].nil?
|
5280
|
+
@Devices = []
|
5281
|
+
params['Devices'].each do |i|
|
5282
|
+
deviceitem_tmp = DeviceItem.new
|
5283
|
+
deviceitem_tmp.deserialize(i)
|
5284
|
+
@Devices << deviceitem_tmp
|
5285
|
+
end
|
5286
|
+
end
|
3511
5287
|
end
|
3512
5288
|
end
|
3513
5289
|
|
3514
|
-
#
|
3515
|
-
class
|
5290
|
+
# ModifyBindSceneDevice返回参数结构体
|
5291
|
+
class ModifyBindSceneDeviceResponse < TencentCloud::Common::AbstractModel
|
3516
5292
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3517
5293
|
# @type RequestId: String
|
3518
5294
|
|
@@ -3716,6 +5492,138 @@ module TencentCloud
|
|
3716
5492
|
end
|
3717
5493
|
end
|
3718
5494
|
|
5495
|
+
# ModifyPreset请求参数结构体
|
5496
|
+
class ModifyPresetRequest < TencentCloud::Common::AbstractModel
|
5497
|
+
# @param ChannelId: 通道ID
|
5498
|
+
# @type ChannelId: String
|
5499
|
+
# @param PresetId: 预置位编码 范围1-8
|
5500
|
+
# @type PresetId: Integer
|
5501
|
+
# @param PresetName: 预制位名称
|
5502
|
+
# @type PresetName: String
|
5503
|
+
# @param DeviceId: 设备Id
|
5504
|
+
# @type DeviceId: String
|
5505
|
+
|
5506
|
+
attr_accessor :ChannelId, :PresetId, :PresetName, :DeviceId
|
5507
|
+
|
5508
|
+
def initialize(channelid=nil, presetid=nil, presetname=nil, deviceid=nil)
|
5509
|
+
@ChannelId = channelid
|
5510
|
+
@PresetId = presetid
|
5511
|
+
@PresetName = presetname
|
5512
|
+
@DeviceId = deviceid
|
5513
|
+
end
|
5514
|
+
|
5515
|
+
def deserialize(params)
|
5516
|
+
@ChannelId = params['ChannelId']
|
5517
|
+
@PresetId = params['PresetId']
|
5518
|
+
@PresetName = params['PresetName']
|
5519
|
+
@DeviceId = params['DeviceId']
|
5520
|
+
end
|
5521
|
+
end
|
5522
|
+
|
5523
|
+
# ModifyPreset返回参数结构体
|
5524
|
+
class ModifyPresetResponse < TencentCloud::Common::AbstractModel
|
5525
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5526
|
+
# @type RequestId: String
|
5527
|
+
|
5528
|
+
attr_accessor :RequestId
|
5529
|
+
|
5530
|
+
def initialize(requestid=nil)
|
5531
|
+
@RequestId = requestid
|
5532
|
+
end
|
5533
|
+
|
5534
|
+
def deserialize(params)
|
5535
|
+
@RequestId = params['RequestId']
|
5536
|
+
end
|
5537
|
+
end
|
5538
|
+
|
5539
|
+
# ModifyRecordingPlan请求参数结构体
|
5540
|
+
class ModifyRecordingPlanRequest < TencentCloud::Common::AbstractModel
|
5541
|
+
# @param PlanId: 录制计划ID
|
5542
|
+
# @type PlanId: String
|
5543
|
+
# @param Name: 计划名称
|
5544
|
+
# @type Name: String
|
5545
|
+
# @param TimeTemplateId: 时间模板ID
|
5546
|
+
# @type TimeTemplateId: String
|
5547
|
+
|
5548
|
+
attr_accessor :PlanId, :Name, :TimeTemplateId
|
5549
|
+
|
5550
|
+
def initialize(planid=nil, name=nil, timetemplateid=nil)
|
5551
|
+
@PlanId = planid
|
5552
|
+
@Name = name
|
5553
|
+
@TimeTemplateId = timetemplateid
|
5554
|
+
end
|
5555
|
+
|
5556
|
+
def deserialize(params)
|
5557
|
+
@PlanId = params['PlanId']
|
5558
|
+
@Name = params['Name']
|
5559
|
+
@TimeTemplateId = params['TimeTemplateId']
|
5560
|
+
end
|
5561
|
+
end
|
5562
|
+
|
5563
|
+
# ModifyRecordingPlan返回参数结构体
|
5564
|
+
class ModifyRecordingPlanResponse < TencentCloud::Common::AbstractModel
|
5565
|
+
# @param Status: 操作结果
|
5566
|
+
# @type Status: String
|
5567
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5568
|
+
# @type RequestId: String
|
5569
|
+
|
5570
|
+
attr_accessor :Status, :RequestId
|
5571
|
+
|
5572
|
+
def initialize(status=nil, requestid=nil)
|
5573
|
+
@Status = status
|
5574
|
+
@RequestId = requestid
|
5575
|
+
end
|
5576
|
+
|
5577
|
+
def deserialize(params)
|
5578
|
+
@Status = params['Status']
|
5579
|
+
@RequestId = params['RequestId']
|
5580
|
+
end
|
5581
|
+
end
|
5582
|
+
|
5583
|
+
# ModifyScene请求参数结构体
|
5584
|
+
class ModifySceneRequest < TencentCloud::Common::AbstractModel
|
5585
|
+
# @param IntId: 场景ID
|
5586
|
+
# @type IntId: Integer
|
5587
|
+
# @param SceneName: 场景名称
|
5588
|
+
# @type SceneName: String
|
5589
|
+
# @param SceneTrigger: 触发条件
|
5590
|
+
# @type SceneTrigger: String
|
5591
|
+
# @param RecordDuration: 录制时长(秒)
|
5592
|
+
# @type RecordDuration: Integer
|
5593
|
+
|
5594
|
+
attr_accessor :IntId, :SceneName, :SceneTrigger, :RecordDuration
|
5595
|
+
|
5596
|
+
def initialize(intid=nil, scenename=nil, scenetrigger=nil, recordduration=nil)
|
5597
|
+
@IntId = intid
|
5598
|
+
@SceneName = scenename
|
5599
|
+
@SceneTrigger = scenetrigger
|
5600
|
+
@RecordDuration = recordduration
|
5601
|
+
end
|
5602
|
+
|
5603
|
+
def deserialize(params)
|
5604
|
+
@IntId = params['IntId']
|
5605
|
+
@SceneName = params['SceneName']
|
5606
|
+
@SceneTrigger = params['SceneTrigger']
|
5607
|
+
@RecordDuration = params['RecordDuration']
|
5608
|
+
end
|
5609
|
+
end
|
5610
|
+
|
5611
|
+
# ModifyScene返回参数结构体
|
5612
|
+
class ModifySceneResponse < TencentCloud::Common::AbstractModel
|
5613
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5614
|
+
# @type RequestId: String
|
5615
|
+
|
5616
|
+
attr_accessor :RequestId
|
5617
|
+
|
5618
|
+
def initialize(requestid=nil)
|
5619
|
+
@RequestId = requestid
|
5620
|
+
end
|
5621
|
+
|
5622
|
+
def deserialize(params)
|
5623
|
+
@RequestId = params['RequestId']
|
5624
|
+
end
|
5625
|
+
end
|
5626
|
+
|
3719
5627
|
# ModifySubscriptionStatus请求参数结构体
|
3720
5628
|
class ModifySubscriptionStatusRequest < TencentCloud::Common::AbstractModel
|
3721
5629
|
# @param DeviceId: 设备ID
|
@@ -3792,6 +5700,85 @@ module TencentCloud
|
|
3792
5700
|
end
|
3793
5701
|
end
|
3794
5702
|
|
5703
|
+
# 预置位结构出参
|
5704
|
+
class PresetItem < TencentCloud::Common::AbstractModel
|
5705
|
+
# @param PresetId: 预置位ID
|
5706
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5707
|
+
# @type PresetId: Integer
|
5708
|
+
# @param PresetName: 预置位名称
|
5709
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5710
|
+
# @type PresetName: String
|
5711
|
+
# @param Status: 预置位状态 0:未设置预置位 1:已设置预置位 2:已设置预置位&看守位
|
5712
|
+
# @type Status: Integer
|
5713
|
+
# @param ResetTime: 预置位启用时的自动归位时间
|
5714
|
+
# @type ResetTime: Integer
|
5715
|
+
|
5716
|
+
attr_accessor :PresetId, :PresetName, :Status, :ResetTime
|
5717
|
+
|
5718
|
+
def initialize(presetid=nil, presetname=nil, status=nil, resettime=nil)
|
5719
|
+
@PresetId = presetid
|
5720
|
+
@PresetName = presetname
|
5721
|
+
@Status = status
|
5722
|
+
@ResetTime = resettime
|
5723
|
+
end
|
5724
|
+
|
5725
|
+
def deserialize(params)
|
5726
|
+
@PresetId = params['PresetId']
|
5727
|
+
@PresetName = params['PresetName']
|
5728
|
+
@Status = params['Status']
|
5729
|
+
@ResetTime = params['ResetTime']
|
5730
|
+
end
|
5731
|
+
end
|
5732
|
+
|
5733
|
+
# 录制计划详情
|
5734
|
+
class RecordPlanDetail < TencentCloud::Common::AbstractModel
|
5735
|
+
# @param PlanId: 计划ID
|
5736
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5737
|
+
# @type PlanId: String
|
5738
|
+
# @param Name: 计划名称
|
5739
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5740
|
+
# @type Name: String
|
5741
|
+
# @param TimeTemplateId: 时间模板ID
|
5742
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5743
|
+
# @type TimeTemplateId: String
|
5744
|
+
# @param TimeTemplateName: 时间模板名称
|
5745
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5746
|
+
# @type TimeTemplateName: String
|
5747
|
+
# @param Channels: 绑定的通道列表
|
5748
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5749
|
+
# @type Channels: Array
|
5750
|
+
# @param RecordStorageTime: 存储周期(天)
|
5751
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5752
|
+
# @type RecordStorageTime: Integer
|
5753
|
+
|
5754
|
+
attr_accessor :PlanId, :Name, :TimeTemplateId, :TimeTemplateName, :Channels, :RecordStorageTime
|
5755
|
+
|
5756
|
+
def initialize(planid=nil, name=nil, timetemplateid=nil, timetemplatename=nil, channels=nil, recordstoragetime=nil)
|
5757
|
+
@PlanId = planid
|
5758
|
+
@Name = name
|
5759
|
+
@TimeTemplateId = timetemplateid
|
5760
|
+
@TimeTemplateName = timetemplatename
|
5761
|
+
@Channels = channels
|
5762
|
+
@RecordStorageTime = recordstoragetime
|
5763
|
+
end
|
5764
|
+
|
5765
|
+
def deserialize(params)
|
5766
|
+
@PlanId = params['PlanId']
|
5767
|
+
@Name = params['Name']
|
5768
|
+
@TimeTemplateId = params['TimeTemplateId']
|
5769
|
+
@TimeTemplateName = params['TimeTemplateName']
|
5770
|
+
unless params['Channels'].nil?
|
5771
|
+
@Channels = []
|
5772
|
+
params['Channels'].each do |i|
|
5773
|
+
channelitem_tmp = ChannelItem.new
|
5774
|
+
channelitem_tmp.deserialize(i)
|
5775
|
+
@Channels << channelitem_tmp
|
5776
|
+
end
|
5777
|
+
end
|
5778
|
+
@RecordStorageTime = params['RecordStorageTime']
|
5779
|
+
end
|
5780
|
+
end
|
5781
|
+
|
3795
5782
|
# 录制计划详情
|
3796
5783
|
class RecordPlanItem < TencentCloud::Common::AbstractModel
|
3797
5784
|
# @param PlanId: 计划ID
|
@@ -3841,6 +5828,58 @@ module TencentCloud
|
|
3841
5828
|
end
|
3842
5829
|
end
|
3843
5830
|
|
5831
|
+
# 大盘统计-录像存储统计 出参RecordStatistic
|
5832
|
+
class RecordStatistic < TencentCloud::Common::AbstractModel
|
5833
|
+
# @param Time: 时间戳
|
5834
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5835
|
+
# @type Time: Integer
|
5836
|
+
# @param Value: 统计结果
|
5837
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5838
|
+
# @type Value: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.RecordStatisticValue`
|
5839
|
+
|
5840
|
+
attr_accessor :Time, :Value
|
5841
|
+
|
5842
|
+
def initialize(time=nil, value=nil)
|
5843
|
+
@Time = time
|
5844
|
+
@Value = value
|
5845
|
+
end
|
5846
|
+
|
5847
|
+
def deserialize(params)
|
5848
|
+
@Time = params['Time']
|
5849
|
+
unless params['Value'].nil?
|
5850
|
+
@Value = RecordStatisticValue.new
|
5851
|
+
@Value.deserialize(params['Value'])
|
5852
|
+
end
|
5853
|
+
end
|
5854
|
+
end
|
5855
|
+
|
5856
|
+
# 大盘统计-录像存储统计 出参Value
|
5857
|
+
class RecordStatisticValue < TencentCloud::Common::AbstractModel
|
5858
|
+
# @param ExpectTimeLen: 期望执行时间 秒
|
5859
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5860
|
+
# @type ExpectTimeLen: Integer
|
5861
|
+
# @param RecordTimeLen: 实际执行时间 秒
|
5862
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5863
|
+
# @type RecordTimeLen: Integer
|
5864
|
+
# @param FileSize: 存储大小 G
|
5865
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5866
|
+
# @type FileSize: Float
|
5867
|
+
|
5868
|
+
attr_accessor :ExpectTimeLen, :RecordTimeLen, :FileSize
|
5869
|
+
|
5870
|
+
def initialize(expecttimelen=nil, recordtimelen=nil, filesize=nil)
|
5871
|
+
@ExpectTimeLen = expecttimelen
|
5872
|
+
@RecordTimeLen = recordtimelen
|
5873
|
+
@FileSize = filesize
|
5874
|
+
end
|
5875
|
+
|
5876
|
+
def deserialize(params)
|
5877
|
+
@ExpectTimeLen = params['ExpectTimeLen']
|
5878
|
+
@RecordTimeLen = params['RecordTimeLen']
|
5879
|
+
@FileSize = params['FileSize']
|
5880
|
+
end
|
5881
|
+
end
|
5882
|
+
|
3844
5883
|
# 普通设备的录像详情
|
3845
5884
|
class RecordTaskItem < TencentCloud::Common::AbstractModel
|
3846
5885
|
# @param RecordTaskId: 录像任务ID
|
@@ -3903,6 +5942,42 @@ module TencentCloud
|
|
3903
5942
|
end
|
3904
5943
|
end
|
3905
5944
|
|
5945
|
+
# ResetWarning请求参数结构体
|
5946
|
+
class ResetWarningRequest < TencentCloud::Common::AbstractModel
|
5947
|
+
# @param Id: 告警ID
|
5948
|
+
# @type Id: Integer
|
5949
|
+
# @param Index: Es中告警ID
|
5950
|
+
# @type Index: String
|
5951
|
+
|
5952
|
+
attr_accessor :Id, :Index
|
5953
|
+
|
5954
|
+
def initialize(id=nil, index=nil)
|
5955
|
+
@Id = id
|
5956
|
+
@Index = index
|
5957
|
+
end
|
5958
|
+
|
5959
|
+
def deserialize(params)
|
5960
|
+
@Id = params['Id']
|
5961
|
+
@Index = params['Index']
|
5962
|
+
end
|
5963
|
+
end
|
5964
|
+
|
5965
|
+
# ResetWarning返回参数结构体
|
5966
|
+
class ResetWarningResponse < TencentCloud::Common::AbstractModel
|
5967
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5968
|
+
# @type RequestId: String
|
5969
|
+
|
5970
|
+
attr_accessor :RequestId
|
5971
|
+
|
5972
|
+
def initialize(requestid=nil)
|
5973
|
+
@RequestId = requestid
|
5974
|
+
end
|
5975
|
+
|
5976
|
+
def deserialize(params)
|
5977
|
+
@RequestId = params['RequestId']
|
5978
|
+
end
|
5979
|
+
end
|
5980
|
+
|
3906
5981
|
# 场景列表元素
|
3907
5982
|
class SceneItem < TencentCloud::Common::AbstractModel
|
3908
5983
|
# @param IntId: 场景ID
|
@@ -4048,10 +6123,10 @@ module TencentCloud
|
|
4048
6123
|
# @param Name: 模板名称
|
4049
6124
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4050
6125
|
# @type Name: String
|
4051
|
-
# @param IsAllWeek: 是否全时录制,即7*24小时录制
|
6126
|
+
# @param IsAllWeek: 是否全时录制,即7*24小时录制 0-否 1-是
|
4052
6127
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4053
6128
|
# @type IsAllWeek: Integer
|
4054
|
-
# @param Type: 是否为自定义模板
|
6129
|
+
# @param Type: 是否为自定义模板 0-否 1-是
|
4055
6130
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4056
6131
|
# @type Type: Integer
|
4057
6132
|
# @param TimeTemplateSpecs: 时间片段详情
|
@@ -4317,6 +6392,111 @@ module TencentCloud
|
|
4317
6392
|
end
|
4318
6393
|
end
|
4319
6394
|
|
6395
|
+
# 告警列表出参
|
6396
|
+
class WarningsData < TencentCloud::Common::AbstractModel
|
6397
|
+
# @param Id: 唯一ID
|
6398
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6399
|
+
# @type Id: Integer
|
6400
|
+
# @param DeviceId: 设备ID
|
6401
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6402
|
+
# @type DeviceId: String
|
6403
|
+
# @param DeviceName: 设备名称
|
6404
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6405
|
+
# @type DeviceName: String
|
6406
|
+
# @param WarnChannel: 告警通道
|
6407
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6408
|
+
# @type WarnChannel: String
|
6409
|
+
# @param WarnLevel: 告警级别 1: "一级警情", 2: "二级警情", 3: "三级警情", 4: "四级警情",
|
6410
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6411
|
+
# @type WarnLevel: Integer
|
6412
|
+
# @param WarnLevelName: 告警级别名称
|
6413
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6414
|
+
# @type WarnLevelName: String
|
6415
|
+
# @param WarnMode: 告警方式 2 设备报警 5 视频报警 6 设备故障报警
|
6416
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6417
|
+
# @type WarnMode: Integer
|
6418
|
+
# @param WarnModeName: 告警方式名称
|
6419
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6420
|
+
# @type WarnModeName: String
|
6421
|
+
# @param WarnType: 告警类型 2: {
|
6422
|
+
# Name: "设备报警",
|
6423
|
+
# WarnType: map[int]string{
|
6424
|
+
# 1: "视频丢失报警",
|
6425
|
+
# 2: "设备防拆报警",
|
6426
|
+
# 3: "存储设备磁盘满报警",
|
6427
|
+
# 4: "设备高温报警",
|
6428
|
+
# 5: "设备低温报警",
|
6429
|
+
# },
|
6430
|
+
# },
|
6431
|
+
# 5: {
|
6432
|
+
# Name: "视频报警",
|
6433
|
+
# WarnType: map[int]string{
|
6434
|
+
# 1: "人工视频报警",
|
6435
|
+
# 2: "运动目标检测报警",
|
6436
|
+
# 3: "遗留物检测报警",
|
6437
|
+
# 4: "物体移除检测报警",
|
6438
|
+
# 5: "绊线检测报警",
|
6439
|
+
# 6: "入侵检测报警",
|
6440
|
+
# 7: "逆行检测报警",
|
6441
|
+
# 8: "徘徊检测报警",
|
6442
|
+
# 9: "流量统计报警",
|
6443
|
+
# 10: "密度检测报警",
|
6444
|
+
# 11: "视频异常检测报警",
|
6445
|
+
# 12: "快速移动报警",
|
6446
|
+
# },
|
6447
|
+
# },
|
6448
|
+
# 6: {
|
6449
|
+
# Name: "设备故障报警",
|
6450
|
+
# WarnType: map[int]string{
|
6451
|
+
# 1: "存储设备磁盘故障报警",
|
6452
|
+
# 2: "存储设备风扇故障报警",
|
6453
|
+
# },
|
6454
|
+
# }
|
6455
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6456
|
+
# @type WarnType: Integer
|
6457
|
+
# @param Del: 是否删除
|
6458
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6459
|
+
# @type Del: Integer
|
6460
|
+
# @param CreateTime: 创建时间
|
6461
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6462
|
+
# @type CreateTime: String
|
6463
|
+
# @param UpdateTime: 更新时间
|
6464
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6465
|
+
# @type UpdateTime: String
|
6466
|
+
|
6467
|
+
attr_accessor :Id, :DeviceId, :DeviceName, :WarnChannel, :WarnLevel, :WarnLevelName, :WarnMode, :WarnModeName, :WarnType, :Del, :CreateTime, :UpdateTime
|
6468
|
+
|
6469
|
+
def initialize(id=nil, deviceid=nil, devicename=nil, warnchannel=nil, warnlevel=nil, warnlevelname=nil, warnmode=nil, warnmodename=nil, warntype=nil, del=nil, createtime=nil, updatetime=nil)
|
6470
|
+
@Id = id
|
6471
|
+
@DeviceId = deviceid
|
6472
|
+
@DeviceName = devicename
|
6473
|
+
@WarnChannel = warnchannel
|
6474
|
+
@WarnLevel = warnlevel
|
6475
|
+
@WarnLevelName = warnlevelname
|
6476
|
+
@WarnMode = warnmode
|
6477
|
+
@WarnModeName = warnmodename
|
6478
|
+
@WarnType = warntype
|
6479
|
+
@Del = del
|
6480
|
+
@CreateTime = createtime
|
6481
|
+
@UpdateTime = updatetime
|
6482
|
+
end
|
6483
|
+
|
6484
|
+
def deserialize(params)
|
6485
|
+
@Id = params['Id']
|
6486
|
+
@DeviceId = params['DeviceId']
|
6487
|
+
@DeviceName = params['DeviceName']
|
6488
|
+
@WarnChannel = params['WarnChannel']
|
6489
|
+
@WarnLevel = params['WarnLevel']
|
6490
|
+
@WarnLevelName = params['WarnLevelName']
|
6491
|
+
@WarnMode = params['WarnMode']
|
6492
|
+
@WarnModeName = params['WarnModeName']
|
6493
|
+
@WarnType = params['WarnType']
|
6494
|
+
@Del = params['Del']
|
6495
|
+
@CreateTime = params['CreateTime']
|
6496
|
+
@UpdateTime = params['UpdateTime']
|
6497
|
+
end
|
6498
|
+
end
|
6499
|
+
|
4320
6500
|
end
|
4321
6501
|
end
|
4322
6502
|
end
|