tencentcloud-sdk-iotvideoindustry 1.0.234 → 1.0.239
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/client.rb
CHANGED
@@ -53,7 +53,56 @@ module TencentCloud
|
|
53
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
54
|
end
|
55
55
|
|
56
|
+
# 本接口(ControlChannelLocalRecord)用于对通道本地回放流进行控制,包括暂停、播放、拉动、结束等
|
57
|
+
|
58
|
+
# @param request: Request instance for ControlChannelLocalRecord.
|
59
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::ControlChannelLocalRecordRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::ControlChannelLocalRecordResponse`
|
61
|
+
def ControlChannelLocalRecord(request)
|
62
|
+
body = send_request('ControlChannelLocalRecord', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = ControlChannelLocalRecordResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
80
|
+
# 本接口(ControlChannelPTZ) 用于对支持GB28181 PTZ信令的设备进行指定通道的远程控制。
|
81
|
+
|
82
|
+
# @param request: Request instance for ControlChannelPTZ.
|
83
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::ControlChannelPTZRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::ControlChannelPTZResponse`
|
85
|
+
def ControlChannelPTZ(request)
|
86
|
+
body = send_request('ControlChannelPTZ', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = ControlChannelPTZResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
56
104
|
# 本接口(ControlDevicePTZ) 用于对支持GB28181 PTZ信令的设备进行远程控制。
|
105
|
+
# 请使用ControlChannelPTZ接口
|
57
106
|
|
58
107
|
# @param request: Request instance for ControlDevicePTZ.
|
59
108
|
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::ControlDevicePTZRequest`
|
@@ -77,7 +126,56 @@ module TencentCloud
|
|
77
126
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
127
|
end
|
79
128
|
|
129
|
+
# 看守位控制
|
130
|
+
|
131
|
+
# @param request: Request instance for ControlHomePosition.
|
132
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::ControlHomePositionRequest`
|
133
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::ControlHomePositionResponse`
|
134
|
+
def ControlHomePosition(request)
|
135
|
+
body = send_request('ControlHomePosition', request.serialize)
|
136
|
+
response = JSON.parse(body)
|
137
|
+
if response['Response'].key?('Error') == false
|
138
|
+
model = ControlHomePositionResponse.new
|
139
|
+
model.deserialize(response['Response'])
|
140
|
+
model
|
141
|
+
else
|
142
|
+
code = response['Response']['Error']['Code']
|
143
|
+
message = response['Response']['Error']['Message']
|
144
|
+
reqid = response['Response']['RequestId']
|
145
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
146
|
+
end
|
147
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
148
|
+
raise e
|
149
|
+
rescue StandardError => e
|
150
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
151
|
+
end
|
152
|
+
|
153
|
+
# 预置位控制
|
154
|
+
|
155
|
+
# @param request: Request instance for ControlPreset.
|
156
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::ControlPresetRequest`
|
157
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::ControlPresetResponse`
|
158
|
+
def ControlPreset(request)
|
159
|
+
body = send_request('ControlPreset', request.serialize)
|
160
|
+
response = JSON.parse(body)
|
161
|
+
if response['Response'].key?('Error') == false
|
162
|
+
model = ControlPresetResponse.new
|
163
|
+
model.deserialize(response['Response'])
|
164
|
+
model
|
165
|
+
else
|
166
|
+
code = response['Response']['Error']['Code']
|
167
|
+
message = response['Response']['Error']['Message']
|
168
|
+
reqid = response['Response']['RequestId']
|
169
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
170
|
+
end
|
171
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
172
|
+
raise e
|
173
|
+
rescue StandardError => e
|
174
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
175
|
+
end
|
176
|
+
|
80
177
|
# 对回放流进行控制,包括暂停、播放、拉动、结束等
|
178
|
+
# 请使用ControlChannelLocalRecord接口
|
81
179
|
|
82
180
|
# @param request: Request instance for ControlRecordStream.
|
83
181
|
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::ControlRecordStreamRequest`
|
@@ -222,6 +320,7 @@ module TencentCloud
|
|
222
320
|
end
|
223
321
|
|
224
322
|
# 本接口(CreateRecordPlan) 用于创建录制计划,使设备与时间模板绑定,以便及时启动录制
|
323
|
+
# 请使用CreateRecordingPlan代替
|
225
324
|
|
226
325
|
# @param request: Request instance for CreateRecordPlan.
|
227
326
|
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::CreateRecordPlanRequest`
|
@@ -245,6 +344,30 @@ module TencentCloud
|
|
245
344
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
345
|
end
|
247
346
|
|
347
|
+
# 本接口(CreateRecordingPlan) 用于创建录制计划,使通道与时间模板绑定,以便及时启动录制
|
348
|
+
|
349
|
+
# @param request: Request instance for CreateRecordingPlan.
|
350
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::CreateRecordingPlanRequest`
|
351
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::CreateRecordingPlanResponse`
|
352
|
+
def CreateRecordingPlan(request)
|
353
|
+
body = send_request('CreateRecordingPlan', request.serialize)
|
354
|
+
response = JSON.parse(body)
|
355
|
+
if response['Response'].key?('Error') == false
|
356
|
+
model = CreateRecordingPlanResponse.new
|
357
|
+
model.deserialize(response['Response'])
|
358
|
+
model
|
359
|
+
else
|
360
|
+
code = response['Response']['Error']['Code']
|
361
|
+
message = response['Response']['Error']['Message']
|
362
|
+
reqid = response['Response']['RequestId']
|
363
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
364
|
+
end
|
365
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
366
|
+
raise e
|
367
|
+
rescue StandardError => e
|
368
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
369
|
+
end
|
370
|
+
|
248
371
|
# 创建场景
|
249
372
|
|
250
373
|
# @param request: Request instance for CreateScene.
|
@@ -293,7 +416,8 @@ module TencentCloud
|
|
293
416
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
417
|
end
|
295
418
|
|
296
|
-
#
|
419
|
+
# 本接口用于删除设备下的通道
|
420
|
+
# 注意: 在线状态的设备不允许删除
|
297
421
|
|
298
422
|
# @param request: Request instance for DeleteChannel.
|
299
423
|
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DeleteChannelRequest`
|
@@ -463,6 +587,7 @@ module TencentCloud
|
|
463
587
|
|
464
588
|
# 本接口(DeleteRecordPlan)用于删除录制计划
|
465
589
|
# 录制计划删除的同时,会停止该录制计划下的全部录制任务。
|
590
|
+
# 请使用DeleteRecordingPlan接口
|
466
591
|
|
467
592
|
# @param request: Request instance for DeleteRecordPlan.
|
468
593
|
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DeleteRecordPlanRequest`
|
@@ -486,6 +611,31 @@ module TencentCloud
|
|
486
611
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
487
612
|
end
|
488
613
|
|
614
|
+
# 本接口(DeleteRecordingPlan)用于删除录制计划
|
615
|
+
# 录制计划删除的同时,会停止该录制计划下的全部录制任务。
|
616
|
+
|
617
|
+
# @param request: Request instance for DeleteRecordingPlan.
|
618
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DeleteRecordingPlanRequest`
|
619
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DeleteRecordingPlanResponse`
|
620
|
+
def DeleteRecordingPlan(request)
|
621
|
+
body = send_request('DeleteRecordingPlan', request.serialize)
|
622
|
+
response = JSON.parse(body)
|
623
|
+
if response['Response'].key?('Error') == false
|
624
|
+
model = DeleteRecordingPlanResponse.new
|
625
|
+
model.deserialize(response['Response'])
|
626
|
+
model
|
627
|
+
else
|
628
|
+
code = response['Response']['Error']['Code']
|
629
|
+
message = response['Response']['Error']['Message']
|
630
|
+
reqid = response['Response']['RequestId']
|
631
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
632
|
+
end
|
633
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
634
|
+
raise e
|
635
|
+
rescue StandardError => e
|
636
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
637
|
+
end
|
638
|
+
|
489
639
|
# 删除场景
|
490
640
|
|
491
641
|
# @param request: Request instance for DeleteScene.
|
@@ -558,16 +708,16 @@ module TencentCloud
|
|
558
708
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
559
709
|
end
|
560
710
|
|
561
|
-
#
|
711
|
+
# 设备告警-删除告警
|
562
712
|
|
563
|
-
# @param request: Request instance for
|
564
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
565
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
566
|
-
def
|
567
|
-
body = send_request('
|
713
|
+
# @param request: Request instance for DeleteWarning.
|
714
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DeleteWarningRequest`
|
715
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DeleteWarningResponse`
|
716
|
+
def DeleteWarning(request)
|
717
|
+
body = send_request('DeleteWarning', request.serialize)
|
568
718
|
response = JSON.parse(body)
|
569
719
|
if response['Response'].key?('Error') == false
|
570
|
-
model =
|
720
|
+
model = DeleteWarningResponse.new
|
571
721
|
model.deserialize(response['Response'])
|
572
722
|
model
|
573
723
|
else
|
@@ -582,16 +732,16 @@ module TencentCloud
|
|
582
732
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
583
733
|
end
|
584
734
|
|
585
|
-
#
|
735
|
+
# 获取异常事件统计
|
586
736
|
|
587
|
-
# @param request: Request instance for
|
588
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
589
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
590
|
-
def
|
591
|
-
body = send_request('
|
737
|
+
# @param request: Request instance for DescribeAbnormalEvents.
|
738
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeAbnormalEventsRequest`
|
739
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeAbnormalEventsResponse`
|
740
|
+
def DescribeAbnormalEvents(request)
|
741
|
+
body = send_request('DescribeAbnormalEvents', request.serialize)
|
592
742
|
response = JSON.parse(body)
|
593
743
|
if response['Response'].key?('Error') == false
|
594
|
-
model =
|
744
|
+
model = DescribeAbnormalEventsResponse.new
|
595
745
|
model.deserialize(response['Response'])
|
596
746
|
model
|
597
747
|
else
|
@@ -606,16 +756,17 @@ module TencentCloud
|
|
606
756
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
607
757
|
end
|
608
758
|
|
609
|
-
#
|
759
|
+
# 本接口(DescribeAllDeviceList) 用于获取设备列表。
|
760
|
+
# 请使用DescribeDevicesList接口
|
610
761
|
|
611
|
-
# @param request: Request instance for
|
612
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
613
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
614
|
-
def
|
615
|
-
body = send_request('
|
762
|
+
# @param request: Request instance for DescribeAllDeviceList.
|
763
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeAllDeviceListRequest`
|
764
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeAllDeviceListResponse`
|
765
|
+
def DescribeAllDeviceList(request)
|
766
|
+
body = send_request('DescribeAllDeviceList', request.serialize)
|
616
767
|
response = JSON.parse(body)
|
617
768
|
if response['Response'].key?('Error') == false
|
618
|
-
model =
|
769
|
+
model = DescribeAllDeviceListResponse.new
|
619
770
|
model.deserialize(response['Response'])
|
620
771
|
model
|
621
772
|
else
|
@@ -630,16 +781,16 @@ module TencentCloud
|
|
630
781
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
631
782
|
end
|
632
783
|
|
633
|
-
#
|
784
|
+
# 获取场景绑定通道列表
|
634
785
|
|
635
|
-
# @param request: Request instance for
|
636
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
637
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
638
|
-
def
|
639
|
-
body = send_request('
|
786
|
+
# @param request: Request instance for DescribeBindSceneChannels.
|
787
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeBindSceneChannelsRequest`
|
788
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeBindSceneChannelsResponse`
|
789
|
+
def DescribeBindSceneChannels(request)
|
790
|
+
body = send_request('DescribeBindSceneChannels', request.serialize)
|
640
791
|
response = JSON.parse(body)
|
641
792
|
if response['Response'].key?('Error') == false
|
642
|
-
model =
|
793
|
+
model = DescribeBindSceneChannelsResponse.new
|
643
794
|
model.deserialize(response['Response'])
|
644
795
|
model
|
645
796
|
else
|
@@ -654,16 +805,16 @@ module TencentCloud
|
|
654
805
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
655
806
|
end
|
656
807
|
|
657
|
-
#
|
808
|
+
# 获取场景绑定设备列表
|
658
809
|
|
659
|
-
# @param request: Request instance for
|
660
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
661
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
662
|
-
def
|
663
|
-
body = send_request('
|
810
|
+
# @param request: Request instance for DescribeBindSceneDevices.
|
811
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeBindSceneDevicesRequest`
|
812
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeBindSceneDevicesResponse`
|
813
|
+
def DescribeBindSceneDevices(request)
|
814
|
+
body = send_request('DescribeBindSceneDevices', request.serialize)
|
664
815
|
response = JSON.parse(body)
|
665
816
|
if response['Response'].key?('Error') == false
|
666
|
-
model =
|
817
|
+
model = DescribeBindSceneDevicesResponse.new
|
667
818
|
model.deserialize(response['Response'])
|
668
819
|
model
|
669
820
|
else
|
@@ -678,16 +829,17 @@ module TencentCloud
|
|
678
829
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
679
830
|
end
|
680
831
|
|
681
|
-
#
|
832
|
+
# 本接口(DescribeChannelLocalRecordURL)用于将NVR等设备对应通道本地回放文件,通过GB28181信令推送至云端,并生成对应的实时视频流URL,流地址URL是动态生成,如需重新播放请重新调用此接口获取最新地址。
|
833
|
+
# 正常推流,如未设置对应录制计划,且180s无人观看此流,将会被自动掐断。
|
682
834
|
|
683
|
-
# @param request: Request instance for
|
684
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
685
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
686
|
-
def
|
687
|
-
body = send_request('
|
835
|
+
# @param request: Request instance for DescribeChannelLocalRecordURL.
|
836
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeChannelLocalRecordURLRequest`
|
837
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeChannelLocalRecordURLResponse`
|
838
|
+
def DescribeChannelLocalRecordURL(request)
|
839
|
+
body = send_request('DescribeChannelLocalRecordURL', request.serialize)
|
688
840
|
response = JSON.parse(body)
|
689
841
|
if response['Response'].key?('Error') == false
|
690
|
-
model =
|
842
|
+
model = DescribeChannelLocalRecordURLResponse.new
|
691
843
|
model.deserialize(response['Response'])
|
692
844
|
model
|
693
845
|
else
|
@@ -702,16 +854,17 @@ module TencentCloud
|
|
702
854
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
703
855
|
end
|
704
856
|
|
705
|
-
# 本接口(
|
857
|
+
# 本接口(DescribeChannelStreamURL)用于获取设备指定通道实时流地址,地址是动态生成,如重新播放需要调用此接口重新获取最新播放地址。
|
858
|
+
# 正常推流,如未设置对应录制计划,且180s无人观看此流,将会被自动掐断。
|
706
859
|
|
707
|
-
# @param request: Request instance for
|
708
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
709
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
710
|
-
def
|
711
|
-
body = send_request('
|
860
|
+
# @param request: Request instance for DescribeChannelStreamURL.
|
861
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeChannelStreamURLRequest`
|
862
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeChannelStreamURLResponse`
|
863
|
+
def DescribeChannelStreamURL(request)
|
864
|
+
body = send_request('DescribeChannelStreamURL', request.serialize)
|
712
865
|
response = JSON.parse(body)
|
713
866
|
if response['Response'].key?('Error') == false
|
714
|
-
model =
|
867
|
+
model = DescribeChannelStreamURLResponse.new
|
715
868
|
model.deserialize(response['Response'])
|
716
869
|
model
|
717
870
|
else
|
@@ -726,16 +879,16 @@ module TencentCloud
|
|
726
879
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
727
880
|
end
|
728
881
|
|
729
|
-
#
|
882
|
+
# 本接口(DescribeChannels)用于获取设备下属通道列表
|
730
883
|
|
731
|
-
# @param request: Request instance for
|
732
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
733
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
734
|
-
def
|
735
|
-
body = send_request('
|
884
|
+
# @param request: Request instance for DescribeChannels.
|
885
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeChannelsRequest`
|
886
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeChannelsResponse`
|
887
|
+
def DescribeChannels(request)
|
888
|
+
body = send_request('DescribeChannels', request.serialize)
|
736
889
|
response = JSON.parse(body)
|
737
890
|
if response['Response'].key?('Error') == false
|
738
|
-
model =
|
891
|
+
model = DescribeChannelsResponse.new
|
739
892
|
model.deserialize(response['Response'])
|
740
893
|
model
|
741
894
|
else
|
@@ -750,16 +903,16 @@ module TencentCloud
|
|
750
903
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
751
904
|
end
|
752
905
|
|
753
|
-
#
|
906
|
+
# 根据直播录制计划获取频道列表
|
754
907
|
|
755
|
-
# @param request: Request instance for
|
756
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
757
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
758
|
-
def
|
759
|
-
body = send_request('
|
908
|
+
# @param request: Request instance for DescribeChannelsByLiveRecordPlan.
|
909
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeChannelsByLiveRecordPlanRequest`
|
910
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeChannelsByLiveRecordPlanResponse`
|
911
|
+
def DescribeChannelsByLiveRecordPlan(request)
|
912
|
+
body = send_request('DescribeChannelsByLiveRecordPlan', request.serialize)
|
760
913
|
response = JSON.parse(body)
|
761
914
|
if response['Response'].key?('Error') == false
|
762
|
-
model =
|
915
|
+
model = DescribeChannelsByLiveRecordPlanResponse.new
|
763
916
|
model.deserialize(response['Response'])
|
764
917
|
model
|
765
918
|
else
|
@@ -774,16 +927,16 @@ module TencentCloud
|
|
774
927
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
775
928
|
end
|
776
929
|
|
777
|
-
#
|
930
|
+
# 查询设备统计当前信息
|
778
931
|
|
779
|
-
# @param request: Request instance for
|
780
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
781
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
782
|
-
def
|
783
|
-
body = send_request('
|
932
|
+
# @param request: Request instance for DescribeCurrentDeviceData.
|
933
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeCurrentDeviceDataRequest`
|
934
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeCurrentDeviceDataResponse`
|
935
|
+
def DescribeCurrentDeviceData(request)
|
936
|
+
body = send_request('DescribeCurrentDeviceData', request.serialize)
|
784
937
|
response = JSON.parse(body)
|
785
938
|
if response['Response'].key?('Error') == false
|
786
|
-
model =
|
939
|
+
model = DescribeCurrentDeviceDataResponse.new
|
787
940
|
model.deserialize(response['Response'])
|
788
941
|
model
|
789
942
|
else
|
@@ -798,16 +951,16 @@ module TencentCloud
|
|
798
951
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
799
952
|
end
|
800
953
|
|
801
|
-
#
|
954
|
+
# 获取指定设备详细信息
|
802
955
|
|
803
|
-
# @param request: Request instance for
|
804
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
805
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
806
|
-
def
|
807
|
-
body = send_request('
|
956
|
+
# @param request: Request instance for DescribeDevice.
|
957
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceRequest`
|
958
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceResponse`
|
959
|
+
def DescribeDevice(request)
|
960
|
+
body = send_request('DescribeDevice', request.serialize)
|
808
961
|
response = JSON.parse(body)
|
809
962
|
if response['Response'].key?('Error') == false
|
810
|
-
model =
|
963
|
+
model = DescribeDeviceResponse.new
|
811
964
|
model.deserialize(response['Response'])
|
812
965
|
model
|
813
966
|
else
|
@@ -822,16 +975,16 @@ module TencentCloud
|
|
822
975
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
823
976
|
end
|
824
977
|
|
825
|
-
#
|
978
|
+
# 获取设备事件
|
826
979
|
|
827
|
-
# @param request: Request instance for
|
828
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
829
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
830
|
-
def
|
831
|
-
body = send_request('
|
980
|
+
# @param request: Request instance for DescribeDeviceEvent.
|
981
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceEventRequest`
|
982
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceEventResponse`
|
983
|
+
def DescribeDeviceEvent(request)
|
984
|
+
body = send_request('DescribeDeviceEvent', request.serialize)
|
832
985
|
response = JSON.parse(body)
|
833
986
|
if response['Response'].key?('Error') == false
|
834
|
-
model =
|
987
|
+
model = DescribeDeviceEventResponse.new
|
835
988
|
model.deserialize(response['Response'])
|
836
989
|
model
|
837
990
|
else
|
@@ -846,16 +999,16 @@ module TencentCloud
|
|
846
999
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
847
1000
|
end
|
848
1001
|
|
849
|
-
#
|
1002
|
+
# 本接口(DescribeDeviceGroup)用于根据设备ID查询设备所在分组信息,可批量查询。
|
850
1003
|
|
851
|
-
# @param request: Request instance for
|
852
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
853
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
854
|
-
def
|
855
|
-
body = send_request('
|
1004
|
+
# @param request: Request instance for DescribeDeviceGroup.
|
1005
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceGroupRequest`
|
1006
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceGroupResponse`
|
1007
|
+
def DescribeDeviceGroup(request)
|
1008
|
+
body = send_request('DescribeDeviceGroup', request.serialize)
|
856
1009
|
response = JSON.parse(body)
|
857
1010
|
if response['Response'].key?('Error') == false
|
858
|
-
model =
|
1011
|
+
model = DescribeDeviceGroupResponse.new
|
859
1012
|
model.deserialize(response['Response'])
|
860
1013
|
model
|
861
1014
|
else
|
@@ -870,16 +1023,16 @@ module TencentCloud
|
|
870
1023
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
871
1024
|
end
|
872
1025
|
|
873
|
-
#
|
1026
|
+
# 本接口(DescribeDevicesList) 用于获取设备列表,支持模糊搜索
|
874
1027
|
|
875
|
-
# @param request: Request instance for
|
876
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
877
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
878
|
-
def
|
879
|
-
body = send_request('
|
1028
|
+
# @param request: Request instance for DescribeDeviceList.
|
1029
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceListRequest`
|
1030
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceListResponse`
|
1031
|
+
def DescribeDeviceList(request)
|
1032
|
+
body = send_request('DescribeDeviceList', request.serialize)
|
880
1033
|
response = JSON.parse(body)
|
881
1034
|
if response['Response'].key?('Error') == false
|
882
|
-
model =
|
1035
|
+
model = DescribeDeviceListResponse.new
|
883
1036
|
model.deserialize(response['Response'])
|
884
1037
|
model
|
885
1038
|
else
|
@@ -894,16 +1047,16 @@ module TencentCloud
|
|
894
1047
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
895
1048
|
end
|
896
1049
|
|
897
|
-
#
|
1050
|
+
# 查询设备统计monitor信息
|
898
1051
|
|
899
|
-
# @param request: Request instance for
|
900
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
901
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
902
|
-
def
|
903
|
-
body = send_request('
|
1052
|
+
# @param request: Request instance for DescribeDeviceMonitorData.
|
1053
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceMonitorDataRequest`
|
1054
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceMonitorDataResponse`
|
1055
|
+
def DescribeDeviceMonitorData(request)
|
1056
|
+
body = send_request('DescribeDeviceMonitorData', request.serialize)
|
904
1057
|
response = JSON.parse(body)
|
905
1058
|
if response['Response'].key?('Error') == false
|
906
|
-
model =
|
1059
|
+
model = DescribeDeviceMonitorDataResponse.new
|
907
1060
|
model.deserialize(response['Response'])
|
908
1061
|
model
|
909
1062
|
else
|
@@ -918,16 +1071,16 @@ module TencentCloud
|
|
918
1071
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
919
1072
|
end
|
920
1073
|
|
921
|
-
#
|
1074
|
+
# 本接口(DescribeDevicePassWord)用于查询设备密码。
|
922
1075
|
|
923
|
-
# @param request: Request instance for
|
924
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
925
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
926
|
-
def
|
927
|
-
body = send_request('
|
1076
|
+
# @param request: Request instance for DescribeDevicePassWord.
|
1077
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeDevicePassWordRequest`
|
1078
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeDevicePassWordResponse`
|
1079
|
+
def DescribeDevicePassWord(request)
|
1080
|
+
body = send_request('DescribeDevicePassWord', request.serialize)
|
928
1081
|
response = JSON.parse(body)
|
929
1082
|
if response['Response'].key?('Error') == false
|
930
|
-
model =
|
1083
|
+
model = DescribeDevicePassWordResponse.new
|
931
1084
|
model.deserialize(response['Response'])
|
932
1085
|
model
|
933
1086
|
else
|
@@ -942,16 +1095,354 @@ module TencentCloud
|
|
942
1095
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
943
1096
|
end
|
944
1097
|
|
945
|
-
#
|
1098
|
+
# 本接口(DescribeDeviceStreams)用于获取设备实时流地址。
|
1099
|
+
# 请使用DescribeChannelStreamURL接口
|
946
1100
|
|
947
|
-
# @param request: Request instance for
|
948
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
949
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
950
|
-
def
|
1101
|
+
# @param request: Request instance for DescribeDeviceStreams.
|
1102
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceStreamsRequest`
|
1103
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeDeviceStreamsResponse`
|
1104
|
+
def DescribeDeviceStreams(request)
|
1105
|
+
body = send_request('DescribeDeviceStreams', request.serialize)
|
1106
|
+
response = JSON.parse(body)
|
1107
|
+
if response['Response'].key?('Error') == false
|
1108
|
+
model = DescribeDeviceStreamsResponse.new
|
1109
|
+
model.deserialize(response['Response'])
|
1110
|
+
model
|
1111
|
+
else
|
1112
|
+
code = response['Response']['Error']['Code']
|
1113
|
+
message = response['Response']['Error']['Message']
|
1114
|
+
reqid = response['Response']['RequestId']
|
1115
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1116
|
+
end
|
1117
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1118
|
+
raise e
|
1119
|
+
rescue StandardError => e
|
1120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
# 本接口(DescribeGroupById)用于根据分组ID查询分组。
|
1124
|
+
|
1125
|
+
# @param request: Request instance for DescribeGroupById.
|
1126
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeGroupByIdRequest`
|
1127
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeGroupByIdResponse`
|
1128
|
+
def DescribeGroupById(request)
|
1129
|
+
body = send_request('DescribeGroupById', request.serialize)
|
1130
|
+
response = JSON.parse(body)
|
1131
|
+
if response['Response'].key?('Error') == false
|
1132
|
+
model = DescribeGroupByIdResponse.new
|
1133
|
+
model.deserialize(response['Response'])
|
1134
|
+
model
|
1135
|
+
else
|
1136
|
+
code = response['Response']['Error']['Code']
|
1137
|
+
message = response['Response']['Error']['Message']
|
1138
|
+
reqid = response['Response']['RequestId']
|
1139
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1140
|
+
end
|
1141
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1142
|
+
raise e
|
1143
|
+
rescue StandardError => e
|
1144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
# 根据分组路径查询分组
|
1148
|
+
|
1149
|
+
# @param request: Request instance for DescribeGroupByPath.
|
1150
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeGroupByPathRequest`
|
1151
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeGroupByPathResponse`
|
1152
|
+
def DescribeGroupByPath(request)
|
1153
|
+
body = send_request('DescribeGroupByPath', request.serialize)
|
1154
|
+
response = JSON.parse(body)
|
1155
|
+
if response['Response'].key?('Error') == false
|
1156
|
+
model = DescribeGroupByPathResponse.new
|
1157
|
+
model.deserialize(response['Response'])
|
1158
|
+
model
|
1159
|
+
else
|
1160
|
+
code = response['Response']['Error']['Code']
|
1161
|
+
message = response['Response']['Error']['Message']
|
1162
|
+
reqid = response['Response']['RequestId']
|
1163
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1164
|
+
end
|
1165
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1166
|
+
raise e
|
1167
|
+
rescue StandardError => e
|
1168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
# 本接口(DescribeGroupDevices)用于查询分组下的设备列表。
|
1172
|
+
|
1173
|
+
# @param request: Request instance for DescribeGroupDevices.
|
1174
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeGroupDevicesRequest`
|
1175
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeGroupDevicesResponse`
|
1176
|
+
def DescribeGroupDevices(request)
|
1177
|
+
body = send_request('DescribeGroupDevices', request.serialize)
|
1178
|
+
response = JSON.parse(body)
|
1179
|
+
if response['Response'].key?('Error') == false
|
1180
|
+
model = DescribeGroupDevicesResponse.new
|
1181
|
+
model.deserialize(response['Response'])
|
1182
|
+
model
|
1183
|
+
else
|
1184
|
+
code = response['Response']['Error']['Code']
|
1185
|
+
message = response['Response']['Error']['Message']
|
1186
|
+
reqid = response['Response']['RequestId']
|
1187
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1188
|
+
end
|
1189
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1190
|
+
raise e
|
1191
|
+
rescue StandardError => e
|
1192
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
# 本接口(DescribeGroups)用于批量查询分组信息。
|
1196
|
+
|
1197
|
+
# @param request: Request instance for DescribeGroups.
|
1198
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeGroupsRequest`
|
1199
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeGroupsResponse`
|
1200
|
+
def DescribeGroups(request)
|
1201
|
+
body = send_request('DescribeGroups', request.serialize)
|
1202
|
+
response = JSON.parse(body)
|
1203
|
+
if response['Response'].key?('Error') == false
|
1204
|
+
model = DescribeGroupsResponse.new
|
1205
|
+
model.deserialize(response['Response'])
|
1206
|
+
model
|
1207
|
+
else
|
1208
|
+
code = response['Response']['Error']['Code']
|
1209
|
+
message = response['Response']['Error']['Message']
|
1210
|
+
reqid = response['Response']['RequestId']
|
1211
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1212
|
+
end
|
1213
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1214
|
+
raise e
|
1215
|
+
rescue StandardError => e
|
1216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
# 获取IPC设备下属通道
|
1220
|
+
# 请使用DescribeChannels接口
|
1221
|
+
|
1222
|
+
# @param request: Request instance for DescribeIPCChannels.
|
1223
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeIPCChannelsRequest`
|
1224
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeIPCChannelsResponse`
|
1225
|
+
def DescribeIPCChannels(request)
|
1226
|
+
body = send_request('DescribeIPCChannels', request.serialize)
|
1227
|
+
response = JSON.parse(body)
|
1228
|
+
if response['Response'].key?('Error') == false
|
1229
|
+
model = DescribeIPCChannelsResponse.new
|
1230
|
+
model.deserialize(response['Response'])
|
1231
|
+
model
|
1232
|
+
else
|
1233
|
+
code = response['Response']['Error']['Code']
|
1234
|
+
message = response['Response']['Error']['Message']
|
1235
|
+
reqid = response['Response']['RequestId']
|
1236
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1237
|
+
end
|
1238
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1239
|
+
raise e
|
1240
|
+
rescue StandardError => e
|
1241
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1242
|
+
end
|
1243
|
+
|
1244
|
+
# 直播详情接口
|
1245
|
+
|
1246
|
+
# @param request: Request instance for DescribeLiveChannel.
|
1247
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeLiveChannelRequest`
|
1248
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeLiveChannelResponse`
|
1249
|
+
def DescribeLiveChannel(request)
|
1250
|
+
body = send_request('DescribeLiveChannel', request.serialize)
|
1251
|
+
response = JSON.parse(body)
|
1252
|
+
if response['Response'].key?('Error') == false
|
1253
|
+
model = DescribeLiveChannelResponse.new
|
1254
|
+
model.deserialize(response['Response'])
|
1255
|
+
model
|
1256
|
+
else
|
1257
|
+
code = response['Response']['Error']['Code']
|
1258
|
+
message = response['Response']['Error']['Message']
|
1259
|
+
reqid = response['Response']['RequestId']
|
1260
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1261
|
+
end
|
1262
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1263
|
+
raise e
|
1264
|
+
rescue StandardError => e
|
1265
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1266
|
+
end
|
1267
|
+
|
1268
|
+
# 直播列表接口
|
1269
|
+
|
1270
|
+
# @param request: Request instance for DescribeLiveChannelList.
|
1271
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeLiveChannelListRequest`
|
1272
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeLiveChannelListResponse`
|
1273
|
+
def DescribeLiveChannelList(request)
|
1274
|
+
body = send_request('DescribeLiveChannelList', request.serialize)
|
1275
|
+
response = JSON.parse(body)
|
1276
|
+
if response['Response'].key?('Error') == false
|
1277
|
+
model = DescribeLiveChannelListResponse.new
|
1278
|
+
model.deserialize(response['Response'])
|
1279
|
+
model
|
1280
|
+
else
|
1281
|
+
code = response['Response']['Error']['Code']
|
1282
|
+
message = response['Response']['Error']['Message']
|
1283
|
+
reqid = response['Response']['RequestId']
|
1284
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1285
|
+
end
|
1286
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1287
|
+
raise e
|
1288
|
+
rescue StandardError => e
|
1289
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
# 获取直播录制计划详情
|
1293
|
+
|
1294
|
+
# @param request: Request instance for DescribeLiveRecordPlanById.
|
1295
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeLiveRecordPlanByIdRequest`
|
1296
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeLiveRecordPlanByIdResponse`
|
1297
|
+
def DescribeLiveRecordPlanById(request)
|
1298
|
+
body = send_request('DescribeLiveRecordPlanById', request.serialize)
|
1299
|
+
response = JSON.parse(body)
|
1300
|
+
if response['Response'].key?('Error') == false
|
1301
|
+
model = DescribeLiveRecordPlanByIdResponse.new
|
1302
|
+
model.deserialize(response['Response'])
|
1303
|
+
model
|
1304
|
+
else
|
1305
|
+
code = response['Response']['Error']['Code']
|
1306
|
+
message = response['Response']['Error']['Message']
|
1307
|
+
reqid = response['Response']['RequestId']
|
1308
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1309
|
+
end
|
1310
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1311
|
+
raise e
|
1312
|
+
rescue StandardError => e
|
1313
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1314
|
+
end
|
1315
|
+
|
1316
|
+
# 获取直播录制计划列表
|
1317
|
+
|
1318
|
+
# @param request: Request instance for DescribeLiveRecordPlanIds.
|
1319
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeLiveRecordPlanIdsRequest`
|
1320
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeLiveRecordPlanIdsResponse`
|
1321
|
+
def DescribeLiveRecordPlanIds(request)
|
1322
|
+
body = send_request('DescribeLiveRecordPlanIds', request.serialize)
|
1323
|
+
response = JSON.parse(body)
|
1324
|
+
if response['Response'].key?('Error') == false
|
1325
|
+
model = DescribeLiveRecordPlanIdsResponse.new
|
1326
|
+
model.deserialize(response['Response'])
|
1327
|
+
model
|
1328
|
+
else
|
1329
|
+
code = response['Response']['Error']['Code']
|
1330
|
+
message = response['Response']['Error']['Message']
|
1331
|
+
reqid = response['Response']['RequestId']
|
1332
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1333
|
+
end
|
1334
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1335
|
+
raise e
|
1336
|
+
rescue StandardError => e
|
1337
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1338
|
+
end
|
1339
|
+
|
1340
|
+
# 直播拉流接口
|
1341
|
+
|
1342
|
+
# @param request: Request instance for DescribeLiveStream.
|
1343
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeLiveStreamRequest`
|
1344
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeLiveStreamResponse`
|
1345
|
+
def DescribeLiveStream(request)
|
1346
|
+
body = send_request('DescribeLiveStream', request.serialize)
|
1347
|
+
response = JSON.parse(body)
|
1348
|
+
if response['Response'].key?('Error') == false
|
1349
|
+
model = DescribeLiveStreamResponse.new
|
1350
|
+
model.deserialize(response['Response'])
|
1351
|
+
model
|
1352
|
+
else
|
1353
|
+
code = response['Response']['Error']['Code']
|
1354
|
+
message = response['Response']['Error']['Message']
|
1355
|
+
reqid = response['Response']['RequestId']
|
1356
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1357
|
+
end
|
1358
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1359
|
+
raise e
|
1360
|
+
rescue StandardError => e
|
1361
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1362
|
+
end
|
1363
|
+
|
1364
|
+
# 直播录像回放列表
|
1365
|
+
|
1366
|
+
# @param request: Request instance for DescribeLiveVideoList.
|
1367
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeLiveVideoListRequest`
|
1368
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeLiveVideoListResponse`
|
1369
|
+
def DescribeLiveVideoList(request)
|
951
1370
|
body = send_request('DescribeLiveVideoList', request.serialize)
|
952
1371
|
response = JSON.parse(body)
|
953
1372
|
if response['Response'].key?('Error') == false
|
954
|
-
model = DescribeLiveVideoListResponse.new
|
1373
|
+
model = DescribeLiveVideoListResponse.new
|
1374
|
+
model.deserialize(response['Response'])
|
1375
|
+
model
|
1376
|
+
else
|
1377
|
+
code = response['Response']['Error']['Code']
|
1378
|
+
message = response['Response']['Error']['Message']
|
1379
|
+
reqid = response['Response']['RequestId']
|
1380
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1381
|
+
end
|
1382
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1383
|
+
raise e
|
1384
|
+
rescue StandardError => e
|
1385
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1386
|
+
end
|
1387
|
+
|
1388
|
+
# 查看消息转发配置详情
|
1389
|
+
|
1390
|
+
# @param request: Request instance for DescribeMessageForward.
|
1391
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeMessageForwardRequest`
|
1392
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeMessageForwardResponse`
|
1393
|
+
def DescribeMessageForward(request)
|
1394
|
+
body = send_request('DescribeMessageForward', request.serialize)
|
1395
|
+
response = JSON.parse(body)
|
1396
|
+
if response['Response'].key?('Error') == false
|
1397
|
+
model = DescribeMessageForwardResponse.new
|
1398
|
+
model.deserialize(response['Response'])
|
1399
|
+
model
|
1400
|
+
else
|
1401
|
+
code = response['Response']['Error']['Code']
|
1402
|
+
message = response['Response']['Error']['Message']
|
1403
|
+
reqid = response['Response']['RequestId']
|
1404
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1405
|
+
end
|
1406
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1407
|
+
raise e
|
1408
|
+
rescue StandardError => e
|
1409
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
# 查看消息转发配置列表
|
1413
|
+
|
1414
|
+
# @param request: Request instance for DescribeMessageForwards.
|
1415
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeMessageForwardsRequest`
|
1416
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeMessageForwardsResponse`
|
1417
|
+
def DescribeMessageForwards(request)
|
1418
|
+
body = send_request('DescribeMessageForwards', request.serialize)
|
1419
|
+
response = JSON.parse(body)
|
1420
|
+
if response['Response'].key?('Error') == false
|
1421
|
+
model = DescribeMessageForwardsResponse.new
|
1422
|
+
model.deserialize(response['Response'])
|
1423
|
+
model
|
1424
|
+
else
|
1425
|
+
code = response['Response']['Error']['Code']
|
1426
|
+
message = response['Response']['Error']['Message']
|
1427
|
+
reqid = response['Response']['RequestId']
|
1428
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1429
|
+
end
|
1430
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1431
|
+
raise e
|
1432
|
+
rescue StandardError => e
|
1433
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
# 运营中心-设备录像存储统计
|
1437
|
+
|
1438
|
+
# @param request: Request instance for DescribeMonitorDataByDate.
|
1439
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeMonitorDataByDateRequest`
|
1440
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeMonitorDataByDateResponse`
|
1441
|
+
def DescribeMonitorDataByDate(request)
|
1442
|
+
body = send_request('DescribeMonitorDataByDate', request.serialize)
|
1443
|
+
response = JSON.parse(body)
|
1444
|
+
if response['Response'].key?('Error') == false
|
1445
|
+
model = DescribeMonitorDataByDateResponse.new
|
955
1446
|
model.deserialize(response['Response'])
|
956
1447
|
model
|
957
1448
|
else
|
@@ -966,16 +1457,16 @@ module TencentCloud
|
|
966
1457
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
967
1458
|
end
|
968
1459
|
|
969
|
-
#
|
1460
|
+
# 获取预置位列表
|
970
1461
|
|
971
|
-
# @param request: Request instance for
|
972
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
973
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
974
|
-
def
|
975
|
-
body = send_request('
|
1462
|
+
# @param request: Request instance for DescribePresetList.
|
1463
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribePresetListRequest`
|
1464
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribePresetListResponse`
|
1465
|
+
def DescribePresetList(request)
|
1466
|
+
body = send_request('DescribePresetList', request.serialize)
|
976
1467
|
response = JSON.parse(body)
|
977
1468
|
if response['Response'].key?('Error') == false
|
978
|
-
model =
|
1469
|
+
model = DescribePresetListResponse.new
|
979
1470
|
model.deserialize(response['Response'])
|
980
1471
|
model
|
981
1472
|
else
|
@@ -990,16 +1481,16 @@ module TencentCloud
|
|
990
1481
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
991
1482
|
end
|
992
1483
|
|
993
|
-
#
|
1484
|
+
# 本接口(DescribeRecordDatesByChannel)用于查询设备含有录像文件的日期列表。
|
994
1485
|
|
995
|
-
# @param request: Request instance for
|
996
|
-
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
997
|
-
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::
|
998
|
-
def
|
999
|
-
body = send_request('
|
1486
|
+
# @param request: Request instance for DescribeRecordDatesByChannel.
|
1487
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeRecordDatesByChannelRequest`
|
1488
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeRecordDatesByChannelResponse`
|
1489
|
+
def DescribeRecordDatesByChannel(request)
|
1490
|
+
body = send_request('DescribeRecordDatesByChannel', request.serialize)
|
1000
1491
|
response = JSON.parse(body)
|
1001
1492
|
if response['Response'].key?('Error') == false
|
1002
|
-
model =
|
1493
|
+
model = DescribeRecordDatesByChannelResponse.new
|
1003
1494
|
model.deserialize(response['Response'])
|
1004
1495
|
model
|
1005
1496
|
else
|
@@ -1038,7 +1529,9 @@ module TencentCloud
|
|
1038
1529
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1039
1530
|
end
|
1040
1531
|
|
1041
|
-
#
|
1532
|
+
# 获取回放视频流地址
|
1533
|
+
# 请使用DescribeChannelLocalRecordURL接口
|
1534
|
+
|
1042
1535
|
# RecordId和StartTime/EndTime互斥
|
1043
1536
|
# 当存在RecordId时,StartTime和EndTime无效
|
1044
1537
|
# 当RecordId为空,StartTime和EndTime生效
|
@@ -1065,6 +1558,54 @@ module TencentCloud
|
|
1065
1558
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1066
1559
|
end
|
1067
1560
|
|
1561
|
+
# 本接口(DescribeRecordingPlanById)用于根据录制计划ID获取录制计划。
|
1562
|
+
|
1563
|
+
# @param request: Request instance for DescribeRecordingPlanById.
|
1564
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeRecordingPlanByIdRequest`
|
1565
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeRecordingPlanByIdResponse`
|
1566
|
+
def DescribeRecordingPlanById(request)
|
1567
|
+
body = send_request('DescribeRecordingPlanById', request.serialize)
|
1568
|
+
response = JSON.parse(body)
|
1569
|
+
if response['Response'].key?('Error') == false
|
1570
|
+
model = DescribeRecordingPlanByIdResponse.new
|
1571
|
+
model.deserialize(response['Response'])
|
1572
|
+
model
|
1573
|
+
else
|
1574
|
+
code = response['Response']['Error']['Code']
|
1575
|
+
message = response['Response']['Error']['Message']
|
1576
|
+
reqid = response['Response']['RequestId']
|
1577
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1578
|
+
end
|
1579
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1580
|
+
raise e
|
1581
|
+
rescue StandardError => e
|
1582
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1583
|
+
end
|
1584
|
+
|
1585
|
+
# 本接口(DescribeRecordingPlans)用于获取用户的全部录制计划。
|
1586
|
+
|
1587
|
+
# @param request: Request instance for DescribeRecordingPlans.
|
1588
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeRecordingPlansRequest`
|
1589
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeRecordingPlansResponse`
|
1590
|
+
def DescribeRecordingPlans(request)
|
1591
|
+
body = send_request('DescribeRecordingPlans', request.serialize)
|
1592
|
+
response = JSON.parse(body)
|
1593
|
+
if response['Response'].key?('Error') == false
|
1594
|
+
model = DescribeRecordingPlansResponse.new
|
1595
|
+
model.deserialize(response['Response'])
|
1596
|
+
model
|
1597
|
+
else
|
1598
|
+
code = response['Response']['Error']['Code']
|
1599
|
+
message = response['Response']['Error']['Message']
|
1600
|
+
reqid = response['Response']['RequestId']
|
1601
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1602
|
+
end
|
1603
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1604
|
+
raise e
|
1605
|
+
rescue StandardError => e
|
1606
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1607
|
+
end
|
1608
|
+
|
1068
1609
|
# 本接口用于获取SIP服务器相关配置,用户可以通过这些配置项,将设备通过GB28181协议注册到本服务。
|
1069
1610
|
|
1070
1611
|
# @param request: Request instance for DescribeSIPServer.
|
@@ -1089,6 +1630,30 @@ module TencentCloud
|
|
1089
1630
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1090
1631
|
end
|
1091
1632
|
|
1633
|
+
# 场景详情
|
1634
|
+
|
1635
|
+
# @param request: Request instance for DescribeScene.
|
1636
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeSceneRequest`
|
1637
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeSceneResponse`
|
1638
|
+
def DescribeScene(request)
|
1639
|
+
body = send_request('DescribeScene', request.serialize)
|
1640
|
+
response = JSON.parse(body)
|
1641
|
+
if response['Response'].key?('Error') == false
|
1642
|
+
model = DescribeSceneResponse.new
|
1643
|
+
model.deserialize(response['Response'])
|
1644
|
+
model
|
1645
|
+
else
|
1646
|
+
code = response['Response']['Error']['Code']
|
1647
|
+
message = response['Response']['Error']['Message']
|
1648
|
+
reqid = response['Response']['RequestId']
|
1649
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1650
|
+
end
|
1651
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1652
|
+
raise e
|
1653
|
+
rescue StandardError => e
|
1654
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1655
|
+
end
|
1656
|
+
|
1092
1657
|
# 获取场景列表
|
1093
1658
|
|
1094
1659
|
# @param request: Request instance for DescribeScenes.
|
@@ -1209,7 +1774,7 @@ module TencentCloud
|
|
1209
1774
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1210
1775
|
end
|
1211
1776
|
|
1212
|
-
#
|
1777
|
+
# 根据时间获取云端录制文件列表
|
1213
1778
|
|
1214
1779
|
# @param request: Request instance for DescribeVideoList.
|
1215
1780
|
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeVideoListRequest`
|
@@ -1233,7 +1798,104 @@ module TencentCloud
|
|
1233
1798
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1234
1799
|
end
|
1235
1800
|
|
1801
|
+
# 本接口(DescribeVideoListByChannel)用于查询指定通道的录制文件列表
|
1802
|
+
|
1803
|
+
# @param request: Request instance for DescribeVideoListByChannel.
|
1804
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeVideoListByChannelRequest`
|
1805
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeVideoListByChannelResponse`
|
1806
|
+
def DescribeVideoListByChannel(request)
|
1807
|
+
body = send_request('DescribeVideoListByChannel', request.serialize)
|
1808
|
+
response = JSON.parse(body)
|
1809
|
+
if response['Response'].key?('Error') == false
|
1810
|
+
model = DescribeVideoListByChannelResponse.new
|
1811
|
+
model.deserialize(response['Response'])
|
1812
|
+
model
|
1813
|
+
else
|
1814
|
+
code = response['Response']['Error']['Code']
|
1815
|
+
message = response['Response']['Error']['Message']
|
1816
|
+
reqid = response['Response']['RequestId']
|
1817
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1818
|
+
end
|
1819
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1820
|
+
raise e
|
1821
|
+
rescue StandardError => e
|
1822
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1823
|
+
end
|
1824
|
+
|
1825
|
+
# 告警等级列表
|
1826
|
+
|
1827
|
+
# @param request: Request instance for DescribeWarnMod.
|
1828
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeWarnModRequest`
|
1829
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeWarnModResponse`
|
1830
|
+
def DescribeWarnMod(request)
|
1831
|
+
body = send_request('DescribeWarnMod', request.serialize)
|
1832
|
+
response = JSON.parse(body)
|
1833
|
+
if response['Response'].key?('Error') == false
|
1834
|
+
model = DescribeWarnModResponse.new
|
1835
|
+
model.deserialize(response['Response'])
|
1836
|
+
model
|
1837
|
+
else
|
1838
|
+
code = response['Response']['Error']['Code']
|
1839
|
+
message = response['Response']['Error']['Message']
|
1840
|
+
reqid = response['Response']['RequestId']
|
1841
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1842
|
+
end
|
1843
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1844
|
+
raise e
|
1845
|
+
rescue StandardError => e
|
1846
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
# 获取告警列表
|
1850
|
+
|
1851
|
+
# @param request: Request instance for DescribeWarnings.
|
1852
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeWarningsRequest`
|
1853
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeWarningsResponse`
|
1854
|
+
def DescribeWarnings(request)
|
1855
|
+
body = send_request('DescribeWarnings', request.serialize)
|
1856
|
+
response = JSON.parse(body)
|
1857
|
+
if response['Response'].key?('Error') == false
|
1858
|
+
model = DescribeWarningsResponse.new
|
1859
|
+
model.deserialize(response['Response'])
|
1860
|
+
model
|
1861
|
+
else
|
1862
|
+
code = response['Response']['Error']['Code']
|
1863
|
+
message = response['Response']['Error']['Message']
|
1864
|
+
reqid = response['Response']['RequestId']
|
1865
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1866
|
+
end
|
1867
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1868
|
+
raise e
|
1869
|
+
rescue StandardError => e
|
1870
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1871
|
+
end
|
1872
|
+
|
1873
|
+
# 获取X-P2P的统计数据
|
1874
|
+
|
1875
|
+
# @param request: Request instance for DescribeXP2PData.
|
1876
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeXP2PDataRequest`
|
1877
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::DescribeXP2PDataResponse`
|
1878
|
+
def DescribeXP2PData(request)
|
1879
|
+
body = send_request('DescribeXP2PData', request.serialize)
|
1880
|
+
response = JSON.parse(body)
|
1881
|
+
if response['Response'].key?('Error') == false
|
1882
|
+
model = DescribeXP2PDataResponse.new
|
1883
|
+
model.deserialize(response['Response'])
|
1884
|
+
model
|
1885
|
+
else
|
1886
|
+
code = response['Response']['Error']['Code']
|
1887
|
+
message = response['Response']['Error']['Message']
|
1888
|
+
reqid = response['Response']['RequestId']
|
1889
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1890
|
+
end
|
1891
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1892
|
+
raise e
|
1893
|
+
rescue StandardError => e
|
1894
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1895
|
+
end
|
1896
|
+
|
1236
1897
|
# 本接口(GetRecordDatesByDev)用于查询设备含有录像文件的日期列表。
|
1898
|
+
# 请使用DescribeRecordDatesByChannel接口
|
1237
1899
|
|
1238
1900
|
# @param request: Request instance for GetRecordDatesByDev.
|
1239
1901
|
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::GetRecordDatesByDevRequest`
|
@@ -1282,6 +1944,7 @@ module TencentCloud
|
|
1282
1944
|
end
|
1283
1945
|
|
1284
1946
|
# 本接口(GetRecordPlanById)用于根据录制计划ID获取录制计划。
|
1947
|
+
# 请使用DescribeRecordingPlanById接口
|
1285
1948
|
|
1286
1949
|
# @param request: Request instance for GetRecordPlanById.
|
1287
1950
|
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::GetRecordPlanByIdRequest`
|
@@ -1306,6 +1969,7 @@ module TencentCloud
|
|
1306
1969
|
end
|
1307
1970
|
|
1308
1971
|
# 本接口(GetRecordPlans)用于获取用户的全部录制计划。
|
1972
|
+
# 请使用DescribeRecordingPlans接口
|
1309
1973
|
|
1310
1974
|
# @param request: Request instance for GetRecordPlans.
|
1311
1975
|
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::GetRecordPlansRequest`
|
@@ -1378,6 +2042,7 @@ module TencentCloud
|
|
1378
2042
|
end
|
1379
2043
|
|
1380
2044
|
# 本接口(GetVideoListByCon)用于查询设备的录制文件列表
|
2045
|
+
# 请使用DescribeVideoListByChannel接口
|
1381
2046
|
|
1382
2047
|
# @param request: Request instance for GetVideoListByCon.
|
1383
2048
|
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::GetVideoListByConRequest`
|
@@ -1425,6 +2090,78 @@ module TencentCloud
|
|
1425
2090
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1426
2091
|
end
|
1427
2092
|
|
2093
|
+
# 本接口(ModifyBindRecordingPlan)用于更新录制计划绑定的通道
|
2094
|
+
|
2095
|
+
# @param request: Request instance for ModifyBindRecordingPlan.
|
2096
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::ModifyBindRecordingPlanRequest`
|
2097
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::ModifyBindRecordingPlanResponse`
|
2098
|
+
def ModifyBindRecordingPlan(request)
|
2099
|
+
body = send_request('ModifyBindRecordingPlan', request.serialize)
|
2100
|
+
response = JSON.parse(body)
|
2101
|
+
if response['Response'].key?('Error') == false
|
2102
|
+
model = ModifyBindRecordingPlanResponse.new
|
2103
|
+
model.deserialize(response['Response'])
|
2104
|
+
model
|
2105
|
+
else
|
2106
|
+
code = response['Response']['Error']['Code']
|
2107
|
+
message = response['Response']['Error']['Message']
|
2108
|
+
reqid = response['Response']['RequestId']
|
2109
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2110
|
+
end
|
2111
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2112
|
+
raise e
|
2113
|
+
rescue StandardError => e
|
2114
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2115
|
+
end
|
2116
|
+
|
2117
|
+
# 场景绑定解绑通道接口
|
2118
|
+
|
2119
|
+
# @param request: Request instance for ModifyBindSceneChannels.
|
2120
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::ModifyBindSceneChannelsRequest`
|
2121
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::ModifyBindSceneChannelsResponse`
|
2122
|
+
def ModifyBindSceneChannels(request)
|
2123
|
+
body = send_request('ModifyBindSceneChannels', request.serialize)
|
2124
|
+
response = JSON.parse(body)
|
2125
|
+
if response['Response'].key?('Error') == false
|
2126
|
+
model = ModifyBindSceneChannelsResponse.new
|
2127
|
+
model.deserialize(response['Response'])
|
2128
|
+
model
|
2129
|
+
else
|
2130
|
+
code = response['Response']['Error']['Code']
|
2131
|
+
message = response['Response']['Error']['Message']
|
2132
|
+
reqid = response['Response']['RequestId']
|
2133
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2134
|
+
end
|
2135
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2136
|
+
raise e
|
2137
|
+
rescue StandardError => e
|
2138
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
# 场景绑定/解绑通道接口
|
2142
|
+
|
2143
|
+
# @param request: Request instance for ModifyBindSceneDevice.
|
2144
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::ModifyBindSceneDeviceRequest`
|
2145
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::ModifyBindSceneDeviceResponse`
|
2146
|
+
def ModifyBindSceneDevice(request)
|
2147
|
+
body = send_request('ModifyBindSceneDevice', request.serialize)
|
2148
|
+
response = JSON.parse(body)
|
2149
|
+
if response['Response'].key?('Error') == false
|
2150
|
+
model = ModifyBindSceneDeviceResponse.new
|
2151
|
+
model.deserialize(response['Response'])
|
2152
|
+
model
|
2153
|
+
else
|
2154
|
+
code = response['Response']['Error']['Code']
|
2155
|
+
message = response['Response']['Error']['Message']
|
2156
|
+
reqid = response['Response']['RequestId']
|
2157
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2158
|
+
end
|
2159
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2160
|
+
raise e
|
2161
|
+
rescue StandardError => e
|
2162
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2163
|
+
end
|
2164
|
+
|
1428
2165
|
# 本接口(ModifyDeviceData)用于编辑设备信息。
|
1429
2166
|
|
1430
2167
|
# @param request: Request instance for ModifyDeviceData.
|
@@ -1545,6 +2282,78 @@ module TencentCloud
|
|
1545
2282
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1546
2283
|
end
|
1547
2284
|
|
2285
|
+
# 编辑预置位信息
|
2286
|
+
|
2287
|
+
# @param request: Request instance for ModifyPreset.
|
2288
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::ModifyPresetRequest`
|
2289
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::ModifyPresetResponse`
|
2290
|
+
def ModifyPreset(request)
|
2291
|
+
body = send_request('ModifyPreset', request.serialize)
|
2292
|
+
response = JSON.parse(body)
|
2293
|
+
if response['Response'].key?('Error') == false
|
2294
|
+
model = ModifyPresetResponse.new
|
2295
|
+
model.deserialize(response['Response'])
|
2296
|
+
model
|
2297
|
+
else
|
2298
|
+
code = response['Response']['Error']['Code']
|
2299
|
+
message = response['Response']['Error']['Message']
|
2300
|
+
reqid = response['Response']['RequestId']
|
2301
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2302
|
+
end
|
2303
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2304
|
+
raise e
|
2305
|
+
rescue StandardError => e
|
2306
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2307
|
+
end
|
2308
|
+
|
2309
|
+
# 本接口(ModifyRecordingPlan)用于更新录制计划。
|
2310
|
+
|
2311
|
+
# @param request: Request instance for ModifyRecordingPlan.
|
2312
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::ModifyRecordingPlanRequest`
|
2313
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::ModifyRecordingPlanResponse`
|
2314
|
+
def ModifyRecordingPlan(request)
|
2315
|
+
body = send_request('ModifyRecordingPlan', request.serialize)
|
2316
|
+
response = JSON.parse(body)
|
2317
|
+
if response['Response'].key?('Error') == false
|
2318
|
+
model = ModifyRecordingPlanResponse.new
|
2319
|
+
model.deserialize(response['Response'])
|
2320
|
+
model
|
2321
|
+
else
|
2322
|
+
code = response['Response']['Error']['Code']
|
2323
|
+
message = response['Response']['Error']['Message']
|
2324
|
+
reqid = response['Response']['RequestId']
|
2325
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2326
|
+
end
|
2327
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2328
|
+
raise e
|
2329
|
+
rescue StandardError => e
|
2330
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2331
|
+
end
|
2332
|
+
|
2333
|
+
# 修改场景
|
2334
|
+
|
2335
|
+
# @param request: Request instance for ModifyScene.
|
2336
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::ModifySceneRequest`
|
2337
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::ModifySceneResponse`
|
2338
|
+
def ModifyScene(request)
|
2339
|
+
body = send_request('ModifyScene', request.serialize)
|
2340
|
+
response = JSON.parse(body)
|
2341
|
+
if response['Response'].key?('Error') == false
|
2342
|
+
model = ModifySceneResponse.new
|
2343
|
+
model.deserialize(response['Response'])
|
2344
|
+
model
|
2345
|
+
else
|
2346
|
+
code = response['Response']['Error']['Code']
|
2347
|
+
message = response['Response']['Error']['Message']
|
2348
|
+
reqid = response['Response']['RequestId']
|
2349
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2350
|
+
end
|
2351
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2352
|
+
raise e
|
2353
|
+
rescue StandardError => e
|
2354
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2355
|
+
end
|
2356
|
+
|
1548
2357
|
# 编辑设备订阅状态
|
1549
2358
|
|
1550
2359
|
# @param request: Request instance for ModifySubscriptionStatus.
|
@@ -1593,6 +2402,30 @@ module TencentCloud
|
|
1593
2402
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1594
2403
|
end
|
1595
2404
|
|
2405
|
+
# 重置设备告警
|
2406
|
+
|
2407
|
+
# @param request: Request instance for ResetWarning.
|
2408
|
+
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::ResetWarningRequest`
|
2409
|
+
# @rtype: :class:`Tencentcloud::iotvideoindustry::V20201201::ResetWarningResponse`
|
2410
|
+
def ResetWarning(request)
|
2411
|
+
body = send_request('ResetWarning', request.serialize)
|
2412
|
+
response = JSON.parse(body)
|
2413
|
+
if response['Response'].key?('Error') == false
|
2414
|
+
model = ResetWarningResponse.new
|
2415
|
+
model.deserialize(response['Response'])
|
2416
|
+
model
|
2417
|
+
else
|
2418
|
+
code = response['Response']['Error']['Code']
|
2419
|
+
message = response['Response']['Error']['Message']
|
2420
|
+
reqid = response['Response']['RequestId']
|
2421
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2422
|
+
end
|
2423
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2424
|
+
raise e
|
2425
|
+
rescue StandardError => e
|
2426
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2427
|
+
end
|
2428
|
+
|
1596
2429
|
# 本接口(UpdateDeviceGroup)用于修改分组信息。
|
1597
2430
|
|
1598
2431
|
# @param request: Request instance for UpdateDeviceGroup.
|
@@ -1642,6 +2475,7 @@ module TencentCloud
|
|
1642
2475
|
end
|
1643
2476
|
|
1644
2477
|
# 本接口(UpdateRecordPlan)用于更新录制计划。
|
2478
|
+
# 请使用 ModifyRecordingPlan接口和ModifyBindRecordingPlan接口
|
1645
2479
|
|
1646
2480
|
# @param request: Request instance for UpdateRecordPlan.
|
1647
2481
|
# @type request: :class:`Tencentcloud::iotvideoindustry::V20201201::UpdateRecordPlanRequest`
|