tencentcloud-sdk-iotvideoindustry 1.0.222 → 1.0.226

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.
@@ -343,6 +343,166 @@ module TencentCloud
343
343
  end
344
344
  end
345
345
 
346
+ # CreateLiveChannel请求参数结构体
347
+ class CreateLiveChannelRequest < TencentCloud::Common::AbstractModel
348
+ # @param LiveChannelName: 直播频道名称
349
+ # @type LiveChannelName: String
350
+ # @param LiveChannelType: 直播频道类型 1:固定直播;2:移动直播
351
+ # @type LiveChannelType: Integer
352
+
353
+ attr_accessor :LiveChannelName, :LiveChannelType
354
+
355
+ def initialize(livechannelname=nil, livechanneltype=nil)
356
+ @LiveChannelName = livechannelname
357
+ @LiveChannelType = livechanneltype
358
+ end
359
+
360
+ def deserialize(params)
361
+ @LiveChannelName = params['LiveChannelName']
362
+ @LiveChannelType = params['LiveChannelType']
363
+ end
364
+ end
365
+
366
+ # CreateLiveChannel返回参数结构体
367
+ class CreateLiveChannelResponse < TencentCloud::Common::AbstractModel
368
+ # @param LiveChannelId: 直播频道ID
369
+ # 注意:此字段可能返回 null,表示取不到有效值。
370
+ # @type LiveChannelId: String
371
+ # @param PushStreamAddress: 直播频道推流地址
372
+ # 注意:此字段可能返回 null,表示取不到有效值。
373
+ # @type PushStreamAddress: String
374
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
375
+ # @type RequestId: String
376
+
377
+ attr_accessor :LiveChannelId, :PushStreamAddress, :RequestId
378
+
379
+ def initialize(livechannelid=nil, pushstreamaddress=nil, requestid=nil)
380
+ @LiveChannelId = livechannelid
381
+ @PushStreamAddress = pushstreamaddress
382
+ @RequestId = requestid
383
+ end
384
+
385
+ def deserialize(params)
386
+ @LiveChannelId = params['LiveChannelId']
387
+ @PushStreamAddress = params['PushStreamAddress']
388
+ @RequestId = params['RequestId']
389
+ end
390
+ end
391
+
392
+ # CreateLiveRecordPlan请求参数结构体
393
+ class CreateLiveRecordPlanRequest < TencentCloud::Common::AbstractModel
394
+ # @param PlanName: 录制计划名
395
+ # @type PlanName: String
396
+ # @param PlanType: 计划类型 1:固定直播 2:移动直播
397
+ # @type PlanType: Integer
398
+ # @param TemplateId: 时间模板ID,固定直播时为必填
399
+ # @type TemplateId: String
400
+ # @param RecordStorageTime: 录制文件存储时长,单位天,默认30天
401
+ # @type RecordStorageTime: Integer
402
+ # @param LiveChannelIds: 绑定的直播频道ID列表
403
+ # @type LiveChannelIds: Array
404
+
405
+ attr_accessor :PlanName, :PlanType, :TemplateId, :RecordStorageTime, :LiveChannelIds
406
+
407
+ def initialize(planname=nil, plantype=nil, templateid=nil, recordstoragetime=nil, livechannelids=nil)
408
+ @PlanName = planname
409
+ @PlanType = plantype
410
+ @TemplateId = templateid
411
+ @RecordStorageTime = recordstoragetime
412
+ @LiveChannelIds = livechannelids
413
+ end
414
+
415
+ def deserialize(params)
416
+ @PlanName = params['PlanName']
417
+ @PlanType = params['PlanType']
418
+ @TemplateId = params['TemplateId']
419
+ @RecordStorageTime = params['RecordStorageTime']
420
+ @LiveChannelIds = params['LiveChannelIds']
421
+ end
422
+ end
423
+
424
+ # CreateLiveRecordPlan返回参数结构体
425
+ class CreateLiveRecordPlanResponse < TencentCloud::Common::AbstractModel
426
+ # @param PlanId: 录制计划名称
427
+ # 注意:此字段可能返回 null,表示取不到有效值。
428
+ # @type PlanId: String
429
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
430
+ # @type RequestId: String
431
+
432
+ attr_accessor :PlanId, :RequestId
433
+
434
+ def initialize(planid=nil, requestid=nil)
435
+ @PlanId = planid
436
+ @RequestId = requestid
437
+ end
438
+
439
+ def deserialize(params)
440
+ @PlanId = params['PlanId']
441
+ @RequestId = params['RequestId']
442
+ end
443
+ end
444
+
445
+ # CreateMessageForward请求参数结构体
446
+ class CreateMessageForwardRequest < TencentCloud::Common::AbstractModel
447
+ # @param RegionId: 区域ID
448
+ # @type RegionId: String
449
+ # @param RegionName: 区域名称
450
+ # @type RegionName: String
451
+ # @param Instance: 实例ID
452
+ # @type Instance: String
453
+ # @param InstanceName: 实例名称
454
+ # @type InstanceName: String
455
+ # @param MessageType: json数组, 转发类型 1: 告警 2:GPS
456
+ # @type MessageType: String
457
+ # @param TopicId: kafka topic id
458
+ # @type TopicId: String
459
+ # @param TopicName: kafka topic 名称
460
+ # @type TopicName: String
461
+
462
+ attr_accessor :RegionId, :RegionName, :Instance, :InstanceName, :MessageType, :TopicId, :TopicName
463
+
464
+ def initialize(regionid=nil, regionname=nil, instance=nil, instancename=nil, messagetype=nil, topicid=nil, topicname=nil)
465
+ @RegionId = regionid
466
+ @RegionName = regionname
467
+ @Instance = instance
468
+ @InstanceName = instancename
469
+ @MessageType = messagetype
470
+ @TopicId = topicid
471
+ @TopicName = topicname
472
+ end
473
+
474
+ def deserialize(params)
475
+ @RegionId = params['RegionId']
476
+ @RegionName = params['RegionName']
477
+ @Instance = params['Instance']
478
+ @InstanceName = params['InstanceName']
479
+ @MessageType = params['MessageType']
480
+ @TopicId = params['TopicId']
481
+ @TopicName = params['TopicName']
482
+ end
483
+ end
484
+
485
+ # CreateMessageForward返回参数结构体
486
+ class CreateMessageForwardResponse < TencentCloud::Common::AbstractModel
487
+ # @param IntId: 配置ID
488
+ # 注意:此字段可能返回 null,表示取不到有效值。
489
+ # @type IntId: Integer
490
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
491
+ # @type RequestId: String
492
+
493
+ attr_accessor :IntId, :RequestId
494
+
495
+ def initialize(intid=nil, requestid=nil)
496
+ @IntId = intid
497
+ @RequestId = requestid
498
+ end
499
+
500
+ def deserialize(params)
501
+ @IntId = params['IntId']
502
+ @RequestId = params['RequestId']
503
+ end
504
+ end
505
+
346
506
  # CreateRecordPlan请求参数结构体
347
507
  class CreateRecordPlanRequest < TencentCloud::Common::AbstractModel
348
508
  # @param Name: 计划名称
@@ -402,6 +562,66 @@ module TencentCloud
402
562
  end
403
563
  end
404
564
 
565
+ # CreateScene请求参数结构体
566
+ class CreateSceneRequest < TencentCloud::Common::AbstractModel
567
+ # @param SceneName: 场景名称
568
+ # @type SceneName: String
569
+ # @param SceneTrigger: 场景触发规则
570
+ # @type SceneTrigger: String
571
+ # @param RecordDuration: 录制时长 (秒)
572
+ # @type RecordDuration: Integer
573
+ # @param StoreDuration: 录像存储时长(天)
574
+ # @type StoreDuration: Integer
575
+ # @param Devices: 设备列表
576
+ # @type Devices: Array
577
+
578
+ attr_accessor :SceneName, :SceneTrigger, :RecordDuration, :StoreDuration, :Devices
579
+
580
+ def initialize(scenename=nil, scenetrigger=nil, recordduration=nil, storeduration=nil, devices=nil)
581
+ @SceneName = scenename
582
+ @SceneTrigger = scenetrigger
583
+ @RecordDuration = recordduration
584
+ @StoreDuration = storeduration
585
+ @Devices = devices
586
+ end
587
+
588
+ def deserialize(params)
589
+ @SceneName = params['SceneName']
590
+ @SceneTrigger = params['SceneTrigger']
591
+ @RecordDuration = params['RecordDuration']
592
+ @StoreDuration = params['StoreDuration']
593
+ unless params['Devices'].nil?
594
+ @Devices = []
595
+ params['Devices'].each do |i|
596
+ deviceitem_tmp = DeviceItem.new
597
+ deviceitem_tmp.deserialize(i)
598
+ @Devices << deviceitem_tmp
599
+ end
600
+ end
601
+ end
602
+ end
603
+
604
+ # CreateScene返回参数结构体
605
+ class CreateSceneResponse < TencentCloud::Common::AbstractModel
606
+ # @param IntId: 场景ID
607
+ # 注意:此字段可能返回 null,表示取不到有效值。
608
+ # @type IntId: Integer
609
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
610
+ # @type RequestId: String
611
+
612
+ attr_accessor :IntId, :RequestId
613
+
614
+ def initialize(intid=nil, requestid=nil)
615
+ @IntId = intid
616
+ @RequestId = requestid
617
+ end
618
+
619
+ def deserialize(params)
620
+ @IntId = params['IntId']
621
+ @RequestId = params['RequestId']
622
+ end
623
+ end
624
+
405
625
  # CreateTimeTemplate请求参数结构体
406
626
  class CreateTimeTemplateRequest < TencentCloud::Common::AbstractModel
407
627
  # @param Name: 时间模板名称
@@ -453,6 +673,42 @@ module TencentCloud
453
673
  end
454
674
  end
455
675
 
676
+ # DeleteChannel请求参数结构体
677
+ class DeleteChannelRequest < TencentCloud::Common::AbstractModel
678
+ # @param DeviceId: 设备ID
679
+ # @type DeviceId: String
680
+ # @param ChannelId: 通道ID
681
+ # @type ChannelId: String
682
+
683
+ attr_accessor :DeviceId, :ChannelId
684
+
685
+ def initialize(deviceid=nil, channelid=nil)
686
+ @DeviceId = deviceid
687
+ @ChannelId = channelid
688
+ end
689
+
690
+ def deserialize(params)
691
+ @DeviceId = params['DeviceId']
692
+ @ChannelId = params['ChannelId']
693
+ end
694
+ end
695
+
696
+ # DeleteChannel返回参数结构体
697
+ class DeleteChannelResponse < TencentCloud::Common::AbstractModel
698
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
699
+ # @type RequestId: String
700
+
701
+ attr_accessor :RequestId
702
+
703
+ def initialize(requestid=nil)
704
+ @RequestId = requestid
705
+ end
706
+
707
+ def deserialize(params)
708
+ @RequestId = params['RequestId']
709
+ end
710
+ end
711
+
456
712
  # DeleteDeviceGroup请求参数结构体
457
713
  class DeleteDeviceGroupRequest < TencentCloud::Common::AbstractModel
458
714
  # @param GroupId: 分组ID
@@ -527,62 +783,57 @@ module TencentCloud
527
783
  end
528
784
  end
529
785
 
530
- # DeleteRecordPlan请求参数结构体
531
- class DeleteRecordPlanRequest < TencentCloud::Common::AbstractModel
532
- # @param PlanId: 录制计划ID
533
- # @type PlanId: String
786
+ # DeleteLiveChannel请求参数结构体
787
+ class DeleteLiveChannelRequest < TencentCloud::Common::AbstractModel
788
+ # @param LiveChannelId: 直播频道ID
789
+ # @type LiveChannelId: String
534
790
 
535
- attr_accessor :PlanId
791
+ attr_accessor :LiveChannelId
536
792
 
537
- def initialize(planid=nil)
538
- @PlanId = planid
793
+ def initialize(livechannelid=nil)
794
+ @LiveChannelId = livechannelid
539
795
  end
540
796
 
541
797
  def deserialize(params)
542
- @PlanId = params['PlanId']
798
+ @LiveChannelId = params['LiveChannelId']
543
799
  end
544
800
  end
545
801
 
546
- # DeleteRecordPlan返回参数结构体
547
- class DeleteRecordPlanResponse < TencentCloud::Common::AbstractModel
548
- # @param Status: 操作结果,OK:成功,其他:失败
549
- # @type Status: String
802
+ # DeleteLiveChannel返回参数结构体
803
+ class DeleteLiveChannelResponse < TencentCloud::Common::AbstractModel
550
804
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
551
805
  # @type RequestId: String
552
806
 
553
- attr_accessor :Status, :RequestId
807
+ attr_accessor :RequestId
554
808
 
555
- def initialize(status=nil, requestid=nil)
556
- @Status = status
809
+ def initialize(requestid=nil)
557
810
  @RequestId = requestid
558
811
  end
559
812
 
560
813
  def deserialize(params)
561
- @Status = params['Status']
562
814
  @RequestId = params['RequestId']
563
815
  end
564
816
  end
565
817
 
566
- # DeleteTimeTemplate请求参数结构体
567
- class DeleteTimeTemplateRequest < TencentCloud::Common::AbstractModel
568
- # @param TemplateId: 时间模板ID
569
- # @type TemplateId: String
818
+ # DeleteLiveRecordPlan请求参数结构体
819
+ class DeleteLiveRecordPlanRequest < TencentCloud::Common::AbstractModel
820
+ # @param PlanId: 录制计划ID
821
+ # @type PlanId: String
570
822
 
571
- attr_accessor :TemplateId
823
+ attr_accessor :PlanId
572
824
 
573
- def initialize(templateid=nil)
574
- @TemplateId = templateid
825
+ def initialize(planid=nil)
826
+ @PlanId = planid
575
827
  end
576
828
 
577
829
  def deserialize(params)
578
- @TemplateId = params['TemplateId']
830
+ @PlanId = params['PlanId']
579
831
  end
580
832
  end
581
833
 
582
- # DeleteTimeTemplate返回参数结构体
583
- class DeleteTimeTemplateResponse < TencentCloud::Common::AbstractModel
584
- # @param Status: 操作结果,OK:成功,其他:失败
585
- # 注意:此字段可能返回 null,表示取不到有效值。
834
+ # DeleteLiveRecordPlan返回参数结构体
835
+ class DeleteLiveRecordPlanResponse < TencentCloud::Common::AbstractModel
836
+ # @param Status: 删除状态描述
586
837
  # @type Status: String
587
838
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
588
839
  # @type RequestId: String
@@ -600,477 +851,1340 @@ module TencentCloud
600
851
  end
601
852
  end
602
853
 
603
- # DescribeAllDeviceList请求参数结构体
604
- class DescribeAllDeviceListRequest < TencentCloud::Common::AbstractModel
605
- # @param Offset: 偏移量,默认0
606
- # @type Offset: Integer
607
- # @param Limit: 限制,默认200
608
- # @type Limit: Integer
609
- # @param NickName: 设备名称,需要模糊匹配设备名称时为必填
610
- # @type NickName: String
611
- # @param DeviceIds: DeviceId列表,需要精确查找设备时为必填
612
- # @type DeviceIds: Array
613
- # @param DeviceTypes: 设备类型过滤
614
- # @type DeviceTypes: Array
854
+ # DeleteLiveVideoList请求参数结构体
855
+ class DeleteLiveVideoListRequest < TencentCloud::Common::AbstractModel
856
+ # @param IntIDs: 视频ID 列表, 大小限制(100)
857
+ # @type IntIDs: Array
615
858
 
616
- attr_accessor :Offset, :Limit, :NickName, :DeviceIds, :DeviceTypes
859
+ attr_accessor :IntIDs
617
860
 
618
- def initialize(offset=nil, limit=nil, nickname=nil, deviceids=nil, devicetypes=nil)
619
- @Offset = offset
620
- @Limit = limit
621
- @NickName = nickname
622
- @DeviceIds = deviceids
623
- @DeviceTypes = devicetypes
861
+ def initialize(intids=nil)
862
+ @IntIDs = intids
624
863
  end
625
864
 
626
865
  def deserialize(params)
627
- @Offset = params['Offset']
628
- @Limit = params['Limit']
629
- @NickName = params['NickName']
630
- @DeviceIds = params['DeviceIds']
631
- @DeviceTypes = params['DeviceTypes']
866
+ @IntIDs = params['IntIDs']
632
867
  end
633
868
  end
634
869
 
635
- # DescribeAllDeviceList返回参数结构体
636
- class DescribeAllDeviceListResponse < TencentCloud::Common::AbstractModel
637
- # @param TotalCount: 设备总数
638
- # 注意:此字段可能返回 null,表示取不到有效值。
639
- # @type TotalCount: Integer
640
- # @param Devices: 设备详细信息列表
641
- # 注意:此字段可能返回 null,表示取不到有效值。
642
- # @type Devices: Array
870
+ # DeleteLiveVideoList返回参数结构体
871
+ class DeleteLiveVideoListResponse < TencentCloud::Common::AbstractModel
643
872
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
644
873
  # @type RequestId: String
645
874
 
646
- attr_accessor :TotalCount, :Devices, :RequestId
875
+ attr_accessor :RequestId
647
876
 
648
- def initialize(totalcount=nil, devices=nil, requestid=nil)
649
- @TotalCount = totalcount
650
- @Devices = devices
877
+ def initialize(requestid=nil)
651
878
  @RequestId = requestid
652
879
  end
653
880
 
654
881
  def deserialize(params)
655
- @TotalCount = params['TotalCount']
656
- unless params['Devices'].nil?
657
- @Devices = []
658
- params['Devices'].each do |i|
659
- alldeviceinfo_tmp = AllDeviceInfo.new
660
- alldeviceinfo_tmp.deserialize(i)
661
- @Devices << alldeviceinfo_tmp
662
- end
663
- end
664
882
  @RequestId = params['RequestId']
665
883
  end
666
884
  end
667
885
 
668
- # DescribeDeviceGroup请求参数结构体
669
- class DescribeDeviceGroupRequest < TencentCloud::Common::AbstractModel
670
- # @param DeviceIds: 设备唯一标识列表
671
- # @type DeviceIds: Array
886
+ # DeleteMessageForward请求参数结构体
887
+ class DeleteMessageForwardRequest < TencentCloud::Common::AbstractModel
888
+ # @param IntId: 配置ID
889
+ # @type IntId: Integer
672
890
 
673
- attr_accessor :DeviceIds
891
+ attr_accessor :IntId
674
892
 
675
- def initialize(deviceids=nil)
676
- @DeviceIds = deviceids
893
+ def initialize(intid=nil)
894
+ @IntId = intid
677
895
  end
678
896
 
679
897
  def deserialize(params)
680
- @DeviceIds = params['DeviceIds']
898
+ @IntId = params['IntId']
681
899
  end
682
900
  end
683
901
 
684
- # DescribeDeviceGroup返回参数结构体
685
- class DescribeDeviceGroupResponse < TencentCloud::Common::AbstractModel
686
- # @param DevGroups: 设备所在分组信息
687
- # 注意:此字段可能返回 null,表示取不到有效值。
688
- # @type DevGroups: Array
902
+ # DeleteMessageForward返回参数结构体
903
+ class DeleteMessageForwardResponse < TencentCloud::Common::AbstractModel
689
904
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
690
905
  # @type RequestId: String
691
906
 
692
- attr_accessor :DevGroups, :RequestId
907
+ attr_accessor :RequestId
693
908
 
694
- def initialize(devgroups=nil, requestid=nil)
695
- @DevGroups = devgroups
909
+ def initialize(requestid=nil)
696
910
  @RequestId = requestid
697
911
  end
698
912
 
699
913
  def deserialize(params)
700
- unless params['DevGroups'].nil?
701
- @DevGroups = []
702
- params['DevGroups'].each do |i|
703
- devgroupinfo_tmp = DevGroupInfo.new
704
- devgroupinfo_tmp.deserialize(i)
705
- @DevGroups << devgroupinfo_tmp
706
- end
707
- end
708
914
  @RequestId = params['RequestId']
709
915
  end
710
916
  end
711
917
 
712
- # DescribeDevicePassWord请求参数结构体
713
- class DescribeDevicePassWordRequest < TencentCloud::Common::AbstractModel
714
- # @param DeviceId: 设备唯一标识
715
- # @type DeviceId: String
918
+ # DeleteRecordPlan请求参数结构体
919
+ class DeleteRecordPlanRequest < TencentCloud::Common::AbstractModel
920
+ # @param PlanId: 录制计划ID
921
+ # @type PlanId: String
716
922
 
717
- attr_accessor :DeviceId
923
+ attr_accessor :PlanId
718
924
 
719
- def initialize(deviceid=nil)
720
- @DeviceId = deviceid
721
- end
925
+ def initialize(planid=nil)
926
+ @PlanId = planid
927
+ end
722
928
 
723
929
  def deserialize(params)
724
- @DeviceId = params['DeviceId']
930
+ @PlanId = params['PlanId']
725
931
  end
726
932
  end
727
933
 
728
- # DescribeDevicePassWord返回参数结构体
729
- class DescribeDevicePassWordResponse < TencentCloud::Common::AbstractModel
730
- # @param PassWord: 设备密码
731
- # @type PassWord: String
934
+ # DeleteRecordPlan返回参数结构体
935
+ class DeleteRecordPlanResponse < TencentCloud::Common::AbstractModel
936
+ # @param Status: 操作结果,OK:成功,其他:失败
937
+ # @type Status: String
732
938
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
733
939
  # @type RequestId: String
734
940
 
735
- attr_accessor :PassWord, :RequestId
941
+ attr_accessor :Status, :RequestId
736
942
 
737
- def initialize(password=nil, requestid=nil)
738
- @PassWord = password
943
+ def initialize(status=nil, requestid=nil)
944
+ @Status = status
739
945
  @RequestId = requestid
740
946
  end
741
947
 
742
948
  def deserialize(params)
743
- @PassWord = params['PassWord']
949
+ @Status = params['Status']
744
950
  @RequestId = params['RequestId']
745
951
  end
746
952
  end
747
953
 
748
- # DescribeDeviceStreams的出参复杂类型
749
- class DescribeDeviceStreamsData < TencentCloud::Common::AbstractModel
750
- # @param RtspAddr: rtsp地址
751
- # @type RtspAddr: String
752
- # @param RtmpAddr: rtmp地址
753
- # @type RtmpAddr: String
754
- # @param HlsAddr: hls地址
755
- # @type HlsAddr: String
756
- # @param FlvAddr: flv地址
757
- # @type FlvAddr: String
954
+ # DeleteScene请求参数结构体
955
+ class DeleteSceneRequest < TencentCloud::Common::AbstractModel
956
+ # @param IntId: 场景ID
957
+ # @type IntId: Integer
758
958
 
759
- attr_accessor :RtspAddr, :RtmpAddr, :HlsAddr, :FlvAddr
959
+ attr_accessor :IntId
760
960
 
761
- def initialize(rtspaddr=nil, rtmpaddr=nil, hlsaddr=nil, flvaddr=nil)
762
- @RtspAddr = rtspaddr
763
- @RtmpAddr = rtmpaddr
764
- @HlsAddr = hlsaddr
765
- @FlvAddr = flvaddr
961
+ def initialize(intid=nil)
962
+ @IntId = intid
766
963
  end
767
964
 
768
965
  def deserialize(params)
769
- @RtspAddr = params['RtspAddr']
770
- @RtmpAddr = params['RtmpAddr']
771
- @HlsAddr = params['HlsAddr']
772
- @FlvAddr = params['FlvAddr']
966
+ @IntId = params['IntId']
773
967
  end
774
968
  end
775
969
 
776
- # DescribeDeviceStreams请求参数结构体
777
- class DescribeDeviceStreamsRequest < TencentCloud::Common::AbstractModel
778
- # @param DeviceId: 设备唯一标识
779
- # @type DeviceId: String
780
- # @param ExpireTime: 流地址失效时间
781
- # @type ExpireTime: Integer
782
- # @param ChannelId: 通道唯一标识(接口升级字段为必填)
783
- # @type ChannelId: String
970
+ # DeleteScene返回参数结构体
971
+ class DeleteSceneResponse < TencentCloud::Common::AbstractModel
972
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
973
+ # @type RequestId: String
784
974
 
785
- attr_accessor :DeviceId, :ExpireTime, :ChannelId
975
+ attr_accessor :RequestId
786
976
 
787
- def initialize(deviceid=nil, expiretime=nil, channelid=nil)
788
- @DeviceId = deviceid
789
- @ExpireTime = expiretime
790
- @ChannelId = channelid
977
+ def initialize(requestid=nil)
978
+ @RequestId = requestid
791
979
  end
792
980
 
793
981
  def deserialize(params)
794
- @DeviceId = params['DeviceId']
795
- @ExpireTime = params['ExpireTime']
796
- @ChannelId = params['ChannelId']
982
+ @RequestId = params['RequestId']
797
983
  end
798
984
  end
799
985
 
800
- # DescribeDeviceStreams返回参数结构体
801
- class DescribeDeviceStreamsResponse < TencentCloud::Common::AbstractModel
802
- # @param Data: 设备实时流地址列表
803
- # @type Data: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.DescribeDeviceStreamsData`
986
+ # DeleteTimeTemplate请求参数结构体
987
+ class DeleteTimeTemplateRequest < TencentCloud::Common::AbstractModel
988
+ # @param TemplateId: 时间模板ID
989
+ # @type TemplateId: String
990
+
991
+ attr_accessor :TemplateId
992
+
993
+ def initialize(templateid=nil)
994
+ @TemplateId = templateid
995
+ end
996
+
997
+ def deserialize(params)
998
+ @TemplateId = params['TemplateId']
999
+ end
1000
+ end
1001
+
1002
+ # DeleteTimeTemplate返回参数结构体
1003
+ class DeleteTimeTemplateResponse < TencentCloud::Common::AbstractModel
1004
+ # @param Status: 操作结果,OK:成功,其他:失败
1005
+ # 注意:此字段可能返回 null,表示取不到有效值。
1006
+ # @type Status: String
804
1007
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
805
1008
  # @type RequestId: String
806
1009
 
807
- attr_accessor :Data, :RequestId
1010
+ attr_accessor :Status, :RequestId
808
1011
 
809
- def initialize(data=nil, requestid=nil)
810
- @Data = data
1012
+ def initialize(status=nil, requestid=nil)
1013
+ @Status = status
811
1014
  @RequestId = requestid
812
1015
  end
813
1016
 
814
1017
  def deserialize(params)
815
- unless params['Data'].nil?
816
- @Data = DescribeDeviceStreamsData.new
817
- @Data.deserialize(params['Data'])
818
- end
1018
+ @Status = params['Status']
819
1019
  @RequestId = params['RequestId']
820
1020
  end
821
1021
  end
822
1022
 
823
- # DescribeGroupById请求参数结构体
824
- class DescribeGroupByIdRequest < TencentCloud::Common::AbstractModel
825
- # @param GroupId: 分组ID
826
- # @type GroupId: String
1023
+ # DeleteVideoList请求参数结构体
1024
+ class DeleteVideoListRequest < TencentCloud::Common::AbstractModel
1025
+ # @param InitIDs: 视频ID列表长度限制100内
1026
+ # @type InitIDs: Array
827
1027
 
828
- attr_accessor :GroupId
1028
+ attr_accessor :InitIDs
829
1029
 
830
- def initialize(groupid=nil)
831
- @GroupId = groupid
1030
+ def initialize(initids=nil)
1031
+ @InitIDs = initids
832
1032
  end
833
1033
 
834
1034
  def deserialize(params)
835
- @GroupId = params['GroupId']
1035
+ @InitIDs = params['InitIDs']
836
1036
  end
837
1037
  end
838
1038
 
839
- # DescribeGroupById返回参数结构体
840
- class DescribeGroupByIdResponse < TencentCloud::Common::AbstractModel
841
- # @param Group: 分组信息详情
1039
+ # DeleteVideoList返回参数结构体
1040
+ class DeleteVideoListResponse < TencentCloud::Common::AbstractModel
1041
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1042
+ # @type RequestId: String
1043
+
1044
+ attr_accessor :RequestId
1045
+
1046
+ def initialize(requestid=nil)
1047
+ @RequestId = requestid
1048
+ end
1049
+
1050
+ def deserialize(params)
1051
+ @RequestId = params['RequestId']
1052
+ end
1053
+ end
1054
+
1055
+ # DescribeAllDeviceList请求参数结构体
1056
+ class DescribeAllDeviceListRequest < TencentCloud::Common::AbstractModel
1057
+ # @param Offset: 偏移量,默认0
1058
+ # @type Offset: Integer
1059
+ # @param Limit: 限制,默认200
1060
+ # @type Limit: Integer
1061
+ # @param NickName: 设备名称,需要模糊匹配设备名称时为必填
1062
+ # @type NickName: String
1063
+ # @param DeviceIds: DeviceId列表,需要精确查找设备时为必填
1064
+ # @type DeviceIds: Array
1065
+ # @param DeviceTypes: 设备类型过滤
1066
+ # @type DeviceTypes: Array
1067
+
1068
+ attr_accessor :Offset, :Limit, :NickName, :DeviceIds, :DeviceTypes
1069
+
1070
+ def initialize(offset=nil, limit=nil, nickname=nil, deviceids=nil, devicetypes=nil)
1071
+ @Offset = offset
1072
+ @Limit = limit
1073
+ @NickName = nickname
1074
+ @DeviceIds = deviceids
1075
+ @DeviceTypes = devicetypes
1076
+ end
1077
+
1078
+ def deserialize(params)
1079
+ @Offset = params['Offset']
1080
+ @Limit = params['Limit']
1081
+ @NickName = params['NickName']
1082
+ @DeviceIds = params['DeviceIds']
1083
+ @DeviceTypes = params['DeviceTypes']
1084
+ end
1085
+ end
1086
+
1087
+ # DescribeAllDeviceList返回参数结构体
1088
+ class DescribeAllDeviceListResponse < TencentCloud::Common::AbstractModel
1089
+ # @param TotalCount: 设备总数
842
1090
  # 注意:此字段可能返回 null,表示取不到有效值。
843
- # @type Group: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.GroupItem`
1091
+ # @type TotalCount: Integer
1092
+ # @param Devices: 设备详细信息列表
1093
+ # 注意:此字段可能返回 null,表示取不到有效值。
1094
+ # @type Devices: Array
844
1095
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
845
1096
  # @type RequestId: String
846
1097
 
847
- attr_accessor :Group, :RequestId
1098
+ attr_accessor :TotalCount, :Devices, :RequestId
848
1099
 
849
- def initialize(group=nil, requestid=nil)
850
- @Group = group
1100
+ def initialize(totalcount=nil, devices=nil, requestid=nil)
1101
+ @TotalCount = totalcount
1102
+ @Devices = devices
851
1103
  @RequestId = requestid
852
1104
  end
853
1105
 
854
1106
  def deserialize(params)
855
- unless params['Group'].nil?
856
- @Group = GroupItem.new
857
- @Group.deserialize(params['Group'])
1107
+ @TotalCount = params['TotalCount']
1108
+ unless params['Devices'].nil?
1109
+ @Devices = []
1110
+ params['Devices'].each do |i|
1111
+ alldeviceinfo_tmp = AllDeviceInfo.new
1112
+ alldeviceinfo_tmp.deserialize(i)
1113
+ @Devices << alldeviceinfo_tmp
1114
+ end
858
1115
  end
859
1116
  @RequestId = params['RequestId']
860
1117
  end
861
1118
  end
862
1119
 
863
- # DescribeGroupByPath请求参数结构体
864
- class DescribeGroupByPathRequest < TencentCloud::Common::AbstractModel
865
- # @param GroupPath: 分组路径,格式为/aaa(/bbb/ccc)
866
- # @type GroupPath: String
1120
+ # DescribeBindSceneDevices请求参数结构体
1121
+ class DescribeBindSceneDevicesRequest < TencentCloud::Common::AbstractModel
1122
+ # @param SceneId: 场景ID
1123
+ # @type SceneId: Integer
1124
+ # @param Offset: 偏移值
1125
+ # @type Offset: Integer
1126
+ # @param Limit: 条数限制最大不能超过1000
1127
+ # @type Limit: Integer
867
1128
 
868
- attr_accessor :GroupPath
1129
+ attr_accessor :SceneId, :Offset, :Limit
869
1130
 
870
- def initialize(grouppath=nil)
871
- @GroupPath = grouppath
1131
+ def initialize(sceneid=nil, offset=nil, limit=nil)
1132
+ @SceneId = sceneid
1133
+ @Offset = offset
1134
+ @Limit = limit
872
1135
  end
873
1136
 
874
1137
  def deserialize(params)
875
- @GroupPath = params['GroupPath']
1138
+ @SceneId = params['SceneId']
1139
+ @Offset = params['Offset']
1140
+ @Limit = params['Limit']
876
1141
  end
877
1142
  end
878
1143
 
879
- # DescribeGroupByPath返回参数结构体
880
- class DescribeGroupByPathResponse < TencentCloud::Common::AbstractModel
881
- # @param Group: 分组信息详情
1144
+ # DescribeBindSceneDevices返回参数结构体
1145
+ class DescribeBindSceneDevicesResponse < TencentCloud::Common::AbstractModel
1146
+ # @param Total: 总数
882
1147
  # 注意:此字段可能返回 null,表示取不到有效值。
883
- # @type Group: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.GroupItem`
1148
+ # @type Total: Integer
1149
+ # @param List: 设备列表
1150
+ # 注意:此字段可能返回 null,表示取不到有效值。
1151
+ # @type List: Array
884
1152
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
885
1153
  # @type RequestId: String
886
1154
 
887
- attr_accessor :Group, :RequestId
1155
+ attr_accessor :Total, :List, :RequestId
888
1156
 
889
- def initialize(group=nil, requestid=nil)
890
- @Group = group
1157
+ def initialize(total=nil, list=nil, requestid=nil)
1158
+ @Total = total
1159
+ @List = list
891
1160
  @RequestId = requestid
892
1161
  end
893
1162
 
894
1163
  def deserialize(params)
895
- unless params['Group'].nil?
896
- @Group = GroupItem.new
897
- @Group.deserialize(params['Group'])
1164
+ @Total = params['Total']
1165
+ unless params['List'].nil?
1166
+ @List = []
1167
+ params['List'].each do |i|
1168
+ deviceitem_tmp = DeviceItem.new
1169
+ deviceitem_tmp.deserialize(i)
1170
+ @List << deviceitem_tmp
1171
+ end
898
1172
  end
899
1173
  @RequestId = params['RequestId']
900
1174
  end
901
1175
  end
902
1176
 
903
- # DescribeGroupDevices请求参数结构体
904
- class DescribeGroupDevicesRequest < TencentCloud::Common::AbstractModel
905
- # @param GroupId: 分组ID
906
- # @type GroupId: String
907
- # @param Offset: 偏移量,默认0
1177
+ # DescribeChannelsByLiveRecordPlan请求参数结构体
1178
+ class DescribeChannelsByLiveRecordPlanRequest < TencentCloud::Common::AbstractModel
1179
+ # @param PlanId: 录制计划ID
1180
+ # @type PlanId: String
1181
+ # @param Offset: 分页偏移量
908
1182
  # @type Offset: Integer
909
- # @param Limit: 限制值,默认200
1183
+ # @param Limit: 分页大小
910
1184
  # @type Limit: Integer
911
- # @param NickName: 设备名称,根据设备名称模糊匹配时必填
912
- # @type NickName: String
913
- # @param Recordable: 过滤不可录制设备
914
- # @type Recordable: Integer
915
- # @param DeviceTypes: 当Group是普通组的时候,支持根据deviceTypes筛选类型
916
- # 0: 普通摄像头1: 国标VMS设备 2: 国标IPC设备 3: 国标NVR设备 4: 国标NVR通道 5: 国标VMS通道 6: 国标IPC通道 9: 智能告警设备 10: 带有RTSP固定地址的设备
917
- # @type DeviceTypes: Array
918
1185
 
919
- attr_accessor :GroupId, :Offset, :Limit, :NickName, :Recordable, :DeviceTypes
1186
+ attr_accessor :PlanId, :Offset, :Limit
920
1187
 
921
- def initialize(groupid=nil, offset=nil, limit=nil, nickname=nil, recordable=nil, devicetypes=nil)
922
- @GroupId = groupid
1188
+ def initialize(planid=nil, offset=nil, limit=nil)
1189
+ @PlanId = planid
923
1190
  @Offset = offset
924
1191
  @Limit = limit
925
- @NickName = nickname
926
- @Recordable = recordable
927
- @DeviceTypes = devicetypes
928
1192
  end
929
1193
 
930
1194
  def deserialize(params)
931
- @GroupId = params['GroupId']
1195
+ @PlanId = params['PlanId']
932
1196
  @Offset = params['Offset']
933
1197
  @Limit = params['Limit']
934
- @NickName = params['NickName']
935
- @Recordable = params['Recordable']
936
- @DeviceTypes = params['DeviceTypes']
937
1198
  end
938
1199
  end
939
1200
 
940
- # DescribeGroupDevices返回参数结构体
941
- class DescribeGroupDevicesResponse < TencentCloud::Common::AbstractModel
942
- # @param TotalCount: 分组绑定的设备数
1201
+ # DescribeChannelsByLiveRecordPlan返回参数结构体
1202
+ class DescribeChannelsByLiveRecordPlanResponse < TencentCloud::Common::AbstractModel
1203
+ # @param TotalCount: 总个数
1204
+ # 注意:此字段可能返回 null,表示取不到有效值。
1205
+ # @type TotalCount: Integer
1206
+ # @param LiveChannels: 通道详情数组
1207
+ # 注意:此字段可能返回 null,表示取不到有效值。
1208
+ # @type LiveChannels: Array
1209
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1210
+ # @type RequestId: String
1211
+
1212
+ attr_accessor :TotalCount, :LiveChannels, :RequestId
1213
+
1214
+ def initialize(totalcount=nil, livechannels=nil, requestid=nil)
1215
+ @TotalCount = totalcount
1216
+ @LiveChannels = livechannels
1217
+ @RequestId = requestid
1218
+ end
1219
+
1220
+ def deserialize(params)
1221
+ @TotalCount = params['TotalCount']
1222
+ unless params['LiveChannels'].nil?
1223
+ @LiveChannels = []
1224
+ params['LiveChannels'].each do |i|
1225
+ livechannelitem_tmp = LiveChannelItem.new
1226
+ livechannelitem_tmp.deserialize(i)
1227
+ @LiveChannels << livechannelitem_tmp
1228
+ end
1229
+ end
1230
+ @RequestId = params['RequestId']
1231
+ end
1232
+ end
1233
+
1234
+ # DescribeDeviceGroup请求参数结构体
1235
+ class DescribeDeviceGroupRequest < TencentCloud::Common::AbstractModel
1236
+ # @param DeviceIds: 设备唯一标识列表
1237
+ # @type DeviceIds: Array
1238
+
1239
+ attr_accessor :DeviceIds
1240
+
1241
+ def initialize(deviceids=nil)
1242
+ @DeviceIds = deviceids
1243
+ end
1244
+
1245
+ def deserialize(params)
1246
+ @DeviceIds = params['DeviceIds']
1247
+ end
1248
+ end
1249
+
1250
+ # DescribeDeviceGroup返回参数结构体
1251
+ class DescribeDeviceGroupResponse < TencentCloud::Common::AbstractModel
1252
+ # @param DevGroups: 设备所在分组信息
1253
+ # 注意:此字段可能返回 null,表示取不到有效值。
1254
+ # @type DevGroups: Array
1255
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1256
+ # @type RequestId: String
1257
+
1258
+ attr_accessor :DevGroups, :RequestId
1259
+
1260
+ def initialize(devgroups=nil, requestid=nil)
1261
+ @DevGroups = devgroups
1262
+ @RequestId = requestid
1263
+ end
1264
+
1265
+ def deserialize(params)
1266
+ unless params['DevGroups'].nil?
1267
+ @DevGroups = []
1268
+ params['DevGroups'].each do |i|
1269
+ devgroupinfo_tmp = DevGroupInfo.new
1270
+ devgroupinfo_tmp.deserialize(i)
1271
+ @DevGroups << devgroupinfo_tmp
1272
+ end
1273
+ end
1274
+ @RequestId = params['RequestId']
1275
+ end
1276
+ end
1277
+
1278
+ # DescribeDevicePassWord请求参数结构体
1279
+ class DescribeDevicePassWordRequest < TencentCloud::Common::AbstractModel
1280
+ # @param DeviceId: 设备唯一标识
1281
+ # @type DeviceId: String
1282
+
1283
+ attr_accessor :DeviceId
1284
+
1285
+ def initialize(deviceid=nil)
1286
+ @DeviceId = deviceid
1287
+ end
1288
+
1289
+ def deserialize(params)
1290
+ @DeviceId = params['DeviceId']
1291
+ end
1292
+ end
1293
+
1294
+ # DescribeDevicePassWord返回参数结构体
1295
+ class DescribeDevicePassWordResponse < TencentCloud::Common::AbstractModel
1296
+ # @param PassWord: 设备密码
1297
+ # @type PassWord: String
1298
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1299
+ # @type RequestId: String
1300
+
1301
+ attr_accessor :PassWord, :RequestId
1302
+
1303
+ def initialize(password=nil, requestid=nil)
1304
+ @PassWord = password
1305
+ @RequestId = requestid
1306
+ end
1307
+
1308
+ def deserialize(params)
1309
+ @PassWord = params['PassWord']
1310
+ @RequestId = params['RequestId']
1311
+ end
1312
+ end
1313
+
1314
+ # DescribeDeviceStreams的出参复杂类型
1315
+ class DescribeDeviceStreamsData < TencentCloud::Common::AbstractModel
1316
+ # @param RtspAddr: rtsp地址
1317
+ # @type RtspAddr: String
1318
+ # @param RtmpAddr: rtmp地址
1319
+ # @type RtmpAddr: String
1320
+ # @param HlsAddr: hls地址
1321
+ # @type HlsAddr: String
1322
+ # @param FlvAddr: flv地址
1323
+ # @type FlvAddr: String
1324
+
1325
+ attr_accessor :RtspAddr, :RtmpAddr, :HlsAddr, :FlvAddr
1326
+
1327
+ def initialize(rtspaddr=nil, rtmpaddr=nil, hlsaddr=nil, flvaddr=nil)
1328
+ @RtspAddr = rtspaddr
1329
+ @RtmpAddr = rtmpaddr
1330
+ @HlsAddr = hlsaddr
1331
+ @FlvAddr = flvaddr
1332
+ end
1333
+
1334
+ def deserialize(params)
1335
+ @RtspAddr = params['RtspAddr']
1336
+ @RtmpAddr = params['RtmpAddr']
1337
+ @HlsAddr = params['HlsAddr']
1338
+ @FlvAddr = params['FlvAddr']
1339
+ end
1340
+ end
1341
+
1342
+ # DescribeDeviceStreams请求参数结构体
1343
+ class DescribeDeviceStreamsRequest < TencentCloud::Common::AbstractModel
1344
+ # @param DeviceId: 设备唯一标识
1345
+ # @type DeviceId: String
1346
+ # @param ExpireTime: 流地址失效时间
1347
+ # @type ExpireTime: Integer
1348
+ # @param ChannelId: 通道唯一标识(接口升级字段为必填)
1349
+ # @type ChannelId: String
1350
+
1351
+ attr_accessor :DeviceId, :ExpireTime, :ChannelId
1352
+
1353
+ def initialize(deviceid=nil, expiretime=nil, channelid=nil)
1354
+ @DeviceId = deviceid
1355
+ @ExpireTime = expiretime
1356
+ @ChannelId = channelid
1357
+ end
1358
+
1359
+ def deserialize(params)
1360
+ @DeviceId = params['DeviceId']
1361
+ @ExpireTime = params['ExpireTime']
1362
+ @ChannelId = params['ChannelId']
1363
+ end
1364
+ end
1365
+
1366
+ # DescribeDeviceStreams返回参数结构体
1367
+ class DescribeDeviceStreamsResponse < TencentCloud::Common::AbstractModel
1368
+ # @param Data: 设备实时流地址列表
1369
+ # @type Data: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.DescribeDeviceStreamsData`
1370
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1371
+ # @type RequestId: String
1372
+
1373
+ attr_accessor :Data, :RequestId
1374
+
1375
+ def initialize(data=nil, requestid=nil)
1376
+ @Data = data
1377
+ @RequestId = requestid
1378
+ end
1379
+
1380
+ def deserialize(params)
1381
+ unless params['Data'].nil?
1382
+ @Data = DescribeDeviceStreamsData.new
1383
+ @Data.deserialize(params['Data'])
1384
+ end
1385
+ @RequestId = params['RequestId']
1386
+ end
1387
+ end
1388
+
1389
+ # DescribeGroupById请求参数结构体
1390
+ class DescribeGroupByIdRequest < TencentCloud::Common::AbstractModel
1391
+ # @param GroupId: 分组ID
1392
+ # @type GroupId: String
1393
+
1394
+ attr_accessor :GroupId
1395
+
1396
+ def initialize(groupid=nil)
1397
+ @GroupId = groupid
1398
+ end
1399
+
1400
+ def deserialize(params)
1401
+ @GroupId = params['GroupId']
1402
+ end
1403
+ end
1404
+
1405
+ # DescribeGroupById返回参数结构体
1406
+ class DescribeGroupByIdResponse < TencentCloud::Common::AbstractModel
1407
+ # @param Group: 分组信息详情
1408
+ # 注意:此字段可能返回 null,表示取不到有效值。
1409
+ # @type Group: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.GroupItem`
1410
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1411
+ # @type RequestId: String
1412
+
1413
+ attr_accessor :Group, :RequestId
1414
+
1415
+ def initialize(group=nil, requestid=nil)
1416
+ @Group = group
1417
+ @RequestId = requestid
1418
+ end
1419
+
1420
+ def deserialize(params)
1421
+ unless params['Group'].nil?
1422
+ @Group = GroupItem.new
1423
+ @Group.deserialize(params['Group'])
1424
+ end
1425
+ @RequestId = params['RequestId']
1426
+ end
1427
+ end
1428
+
1429
+ # DescribeGroupByPath请求参数结构体
1430
+ class DescribeGroupByPathRequest < TencentCloud::Common::AbstractModel
1431
+ # @param GroupPath: 分组路径,格式为/aaa(/bbb/ccc)
1432
+ # @type GroupPath: String
1433
+
1434
+ attr_accessor :GroupPath
1435
+
1436
+ def initialize(grouppath=nil)
1437
+ @GroupPath = grouppath
1438
+ end
1439
+
1440
+ def deserialize(params)
1441
+ @GroupPath = params['GroupPath']
1442
+ end
1443
+ end
1444
+
1445
+ # DescribeGroupByPath返回参数结构体
1446
+ class DescribeGroupByPathResponse < TencentCloud::Common::AbstractModel
1447
+ # @param Group: 分组信息详情
1448
+ # 注意:此字段可能返回 null,表示取不到有效值。
1449
+ # @type Group: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.GroupItem`
1450
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1451
+ # @type RequestId: String
1452
+
1453
+ attr_accessor :Group, :RequestId
1454
+
1455
+ def initialize(group=nil, requestid=nil)
1456
+ @Group = group
1457
+ @RequestId = requestid
1458
+ end
1459
+
1460
+ def deserialize(params)
1461
+ unless params['Group'].nil?
1462
+ @Group = GroupItem.new
1463
+ @Group.deserialize(params['Group'])
1464
+ end
1465
+ @RequestId = params['RequestId']
1466
+ end
1467
+ end
1468
+
1469
+ # DescribeGroupDevices请求参数结构体
1470
+ class DescribeGroupDevicesRequest < TencentCloud::Common::AbstractModel
1471
+ # @param GroupId: 分组ID
1472
+ # @type GroupId: String
1473
+ # @param Offset: 偏移量,默认0
1474
+ # @type Offset: Integer
1475
+ # @param Limit: 限制值,默认200
1476
+ # @type Limit: Integer
1477
+ # @param NickName: 设备名称,根据设备名称模糊匹配时必填
1478
+ # @type NickName: String
1479
+ # @param Recordable: 过滤不可录制设备
1480
+ # @type Recordable: Integer
1481
+ # @param DeviceTypes: 当Group是普通组的时候,支持根据deviceTypes筛选类型
1482
+ # 0: 普通摄像头1: 国标VMS设备 2: 国标IPC设备 3: 国标NVR设备 4: 国标NVR通道 5: 国标VMS通道 6: 国标IPC通道 9: 智能告警设备 10: 带有RTSP固定地址的设备
1483
+ # @type DeviceTypes: Array
1484
+
1485
+ attr_accessor :GroupId, :Offset, :Limit, :NickName, :Recordable, :DeviceTypes
1486
+
1487
+ def initialize(groupid=nil, offset=nil, limit=nil, nickname=nil, recordable=nil, devicetypes=nil)
1488
+ @GroupId = groupid
1489
+ @Offset = offset
1490
+ @Limit = limit
1491
+ @NickName = nickname
1492
+ @Recordable = recordable
1493
+ @DeviceTypes = devicetypes
1494
+ end
1495
+
1496
+ def deserialize(params)
1497
+ @GroupId = params['GroupId']
1498
+ @Offset = params['Offset']
1499
+ @Limit = params['Limit']
1500
+ @NickName = params['NickName']
1501
+ @Recordable = params['Recordable']
1502
+ @DeviceTypes = params['DeviceTypes']
1503
+ end
1504
+ end
1505
+
1506
+ # DescribeGroupDevices返回参数结构体
1507
+ class DescribeGroupDevicesResponse < TencentCloud::Common::AbstractModel
1508
+ # @param TotalCount: 分组绑定的设备数
1509
+ # 注意:此字段可能返回 null,表示取不到有效值。
1510
+ # @type TotalCount: Integer
1511
+ # @param DeviceList: 设备详情列表
1512
+ # 注意:此字段可能返回 null,表示取不到有效值。
1513
+ # @type DeviceList: Array
1514
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1515
+ # @type RequestId: String
1516
+
1517
+ attr_accessor :TotalCount, :DeviceList, :RequestId
1518
+
1519
+ def initialize(totalcount=nil, devicelist=nil, requestid=nil)
1520
+ @TotalCount = totalcount
1521
+ @DeviceList = devicelist
1522
+ @RequestId = requestid
1523
+ end
1524
+
1525
+ def deserialize(params)
1526
+ @TotalCount = params['TotalCount']
1527
+ unless params['DeviceList'].nil?
1528
+ @DeviceList = []
1529
+ params['DeviceList'].each do |i|
1530
+ groupdeviceitem_tmp = GroupDeviceItem.new
1531
+ groupdeviceitem_tmp.deserialize(i)
1532
+ @DeviceList << groupdeviceitem_tmp
1533
+ end
1534
+ end
1535
+ @RequestId = params['RequestId']
1536
+ end
1537
+ end
1538
+
1539
+ # DescribeGroups请求参数结构体
1540
+ class DescribeGroupsRequest < TencentCloud::Common::AbstractModel
1541
+ # @param GroupIds: 分组ID列表
1542
+ # @type GroupIds: Array
1543
+
1544
+ attr_accessor :GroupIds
1545
+
1546
+ def initialize(groupids=nil)
1547
+ @GroupIds = groupids
1548
+ end
1549
+
1550
+ def deserialize(params)
1551
+ @GroupIds = params['GroupIds']
1552
+ end
1553
+ end
1554
+
1555
+ # DescribeGroups返回参数结构体
1556
+ class DescribeGroupsResponse < TencentCloud::Common::AbstractModel
1557
+ # @param Groups: 分组详细信息列表
1558
+ # 注意:此字段可能返回 null,表示取不到有效值。
1559
+ # @type Groups: Array
1560
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1561
+ # @type RequestId: String
1562
+
1563
+ attr_accessor :Groups, :RequestId
1564
+
1565
+ def initialize(groups=nil, requestid=nil)
1566
+ @Groups = groups
1567
+ @RequestId = requestid
1568
+ end
1569
+
1570
+ def deserialize(params)
1571
+ unless params['Groups'].nil?
1572
+ @Groups = []
1573
+ params['Groups'].each do |i|
1574
+ groupinfo_tmp = GroupInfo.new
1575
+ groupinfo_tmp.deserialize(i)
1576
+ @Groups << groupinfo_tmp
1577
+ end
1578
+ end
1579
+ @RequestId = params['RequestId']
1580
+ end
1581
+ end
1582
+
1583
+ # DescribeIPCChannels请求参数结构体
1584
+ class DescribeIPCChannelsRequest < TencentCloud::Common::AbstractModel
1585
+ # @param Offset: 偏移量,默认0
1586
+ # @type Offset: Integer
1587
+ # @param Limit: 限制,默认0
1588
+ # @type Limit: Integer
1589
+ # @param DeviceId: 设备Id
1590
+ # @type DeviceId: String
1591
+ # @param ChannelTypes: 通道类型 0: 未知类型 1: 视频通道 2: 音频通道 3: 告警通道
1592
+ # @type ChannelTypes: Array
1593
+
1594
+ attr_accessor :Offset, :Limit, :DeviceId, :ChannelTypes
1595
+
1596
+ def initialize(offset=nil, limit=nil, deviceid=nil, channeltypes=nil)
1597
+ @Offset = offset
1598
+ @Limit = limit
1599
+ @DeviceId = deviceid
1600
+ @ChannelTypes = channeltypes
1601
+ end
1602
+
1603
+ def deserialize(params)
1604
+ @Offset = params['Offset']
1605
+ @Limit = params['Limit']
1606
+ @DeviceId = params['DeviceId']
1607
+ @ChannelTypes = params['ChannelTypes']
1608
+ end
1609
+ end
1610
+
1611
+ # DescribeIPCChannels返回参数结构体
1612
+ class DescribeIPCChannelsResponse < TencentCloud::Common::AbstractModel
1613
+ # @param TotalCount: 通道总数
1614
+ # 注意:此字段可能返回 null,表示取不到有效值。
1615
+ # @type TotalCount: Integer
1616
+ # @param DeviceList: 通道详情列表
1617
+ # 注意:此字段可能返回 null,表示取不到有效值。
1618
+ # @type DeviceList: Array
1619
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1620
+ # @type RequestId: String
1621
+
1622
+ attr_accessor :TotalCount, :DeviceList, :RequestId
1623
+
1624
+ def initialize(totalcount=nil, devicelist=nil, requestid=nil)
1625
+ @TotalCount = totalcount
1626
+ @DeviceList = devicelist
1627
+ @RequestId = requestid
1628
+ end
1629
+
1630
+ def deserialize(params)
1631
+ @TotalCount = params['TotalCount']
1632
+ unless params['DeviceList'].nil?
1633
+ @DeviceList = []
1634
+ params['DeviceList'].each do |i|
1635
+ groupdeviceitem_tmp = GroupDeviceItem.new
1636
+ groupdeviceitem_tmp.deserialize(i)
1637
+ @DeviceList << groupdeviceitem_tmp
1638
+ end
1639
+ end
1640
+ @RequestId = params['RequestId']
1641
+ end
1642
+ end
1643
+
1644
+ # DescribeLiveChannelList请求参数结构体
1645
+ class DescribeLiveChannelListRequest < TencentCloud::Common::AbstractModel
1646
+ # @param Offset: 偏移量
1647
+ # @type Offset: Integer
1648
+ # @param Limit: 最大数
1649
+ # @type Limit: Integer
1650
+ # @param LiveChannelType: 直播频道类型,1:固定直播;2:移动直播
1651
+ # @type LiveChannelType: Integer
1652
+ # @param RecordPlanId: 直播录制计划ID, null: 直播录制计划为空
1653
+ # @type RecordPlanId: String
1654
+ # @param LiveChannelName: 频道名称 (支持模糊搜索)
1655
+ # @type LiveChannelName: String
1656
+
1657
+ attr_accessor :Offset, :Limit, :LiveChannelType, :RecordPlanId, :LiveChannelName
1658
+
1659
+ def initialize(offset=nil, limit=nil, livechanneltype=nil, recordplanid=nil, livechannelname=nil)
1660
+ @Offset = offset
1661
+ @Limit = limit
1662
+ @LiveChannelType = livechanneltype
1663
+ @RecordPlanId = recordplanid
1664
+ @LiveChannelName = livechannelname
1665
+ end
1666
+
1667
+ def deserialize(params)
1668
+ @Offset = params['Offset']
1669
+ @Limit = params['Limit']
1670
+ @LiveChannelType = params['LiveChannelType']
1671
+ @RecordPlanId = params['RecordPlanId']
1672
+ @LiveChannelName = params['LiveChannelName']
1673
+ end
1674
+ end
1675
+
1676
+ # DescribeLiveChannelList返回参数结构体
1677
+ class DescribeLiveChannelListResponse < TencentCloud::Common::AbstractModel
1678
+ # @param Total: 频道总数
1679
+ # 注意:此字段可能返回 null,表示取不到有效值。
1680
+ # @type Total: Integer
1681
+ # @param LiveChannels: 频道信息数组
1682
+ # 注意:此字段可能返回 null,表示取不到有效值。
1683
+ # @type LiveChannels: Array
1684
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1685
+ # @type RequestId: String
1686
+
1687
+ attr_accessor :Total, :LiveChannels, :RequestId
1688
+
1689
+ def initialize(total=nil, livechannels=nil, requestid=nil)
1690
+ @Total = total
1691
+ @LiveChannels = livechannels
1692
+ @RequestId = requestid
1693
+ end
1694
+
1695
+ def deserialize(params)
1696
+ @Total = params['Total']
1697
+ unless params['LiveChannels'].nil?
1698
+ @LiveChannels = []
1699
+ params['LiveChannels'].each do |i|
1700
+ livechannelinfo_tmp = LiveChannelInfo.new
1701
+ livechannelinfo_tmp.deserialize(i)
1702
+ @LiveChannels << livechannelinfo_tmp
1703
+ end
1704
+ end
1705
+ @RequestId = params['RequestId']
1706
+ end
1707
+ end
1708
+
1709
+ # DescribeLiveChannel请求参数结构体
1710
+ class DescribeLiveChannelRequest < TencentCloud::Common::AbstractModel
1711
+ # @param LiveChannelId: 频道ID
1712
+ # @type LiveChannelId: String
1713
+
1714
+ attr_accessor :LiveChannelId
1715
+
1716
+ def initialize(livechannelid=nil)
1717
+ @LiveChannelId = livechannelid
1718
+ end
1719
+
1720
+ def deserialize(params)
1721
+ @LiveChannelId = params['LiveChannelId']
1722
+ end
1723
+ end
1724
+
1725
+ # DescribeLiveChannel返回参数结构体
1726
+ class DescribeLiveChannelResponse < TencentCloud::Common::AbstractModel
1727
+ # @param LiveChannelId: 频道ID
1728
+ # 注意:此字段可能返回 null,表示取不到有效值。
1729
+ # @type LiveChannelId: String
1730
+ # @param LiveChannelName: 频道名称
1731
+ # 注意:此字段可能返回 null,表示取不到有效值。
1732
+ # @type LiveChannelName: String
1733
+ # @param LiveChannelType: 直播频道类型 1:固定直播;2:移动直播
1734
+ # 注意:此字段可能返回 null,表示取不到有效值。
1735
+ # @type LiveChannelType: Integer
1736
+ # @param LiveStatus: 通道直播状态:1: 未推流,2: 推流中
1737
+ # 注意:此字段可能返回 null,表示取不到有效值。
1738
+ # @type LiveStatus: Integer
1739
+ # @param PushStreamAddress: 推流地址
1740
+ # 注意:此字段可能返回 null,表示取不到有效值。
1741
+ # @type PushStreamAddress: String
1742
+ # @param CreateTime: 创建时间
1743
+ # 注意:此字段可能返回 null,表示取不到有效值。
1744
+ # @type CreateTime: Array
1745
+ # @param UpdateTime: 修改时间
1746
+ # 注意:此字段可能返回 null,表示取不到有效值。
1747
+ # @type UpdateTime: Array
1748
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1749
+ # @type RequestId: String
1750
+
1751
+ attr_accessor :LiveChannelId, :LiveChannelName, :LiveChannelType, :LiveStatus, :PushStreamAddress, :CreateTime, :UpdateTime, :RequestId
1752
+
1753
+ def initialize(livechannelid=nil, livechannelname=nil, livechanneltype=nil, livestatus=nil, pushstreamaddress=nil, createtime=nil, updatetime=nil, requestid=nil)
1754
+ @LiveChannelId = livechannelid
1755
+ @LiveChannelName = livechannelname
1756
+ @LiveChannelType = livechanneltype
1757
+ @LiveStatus = livestatus
1758
+ @PushStreamAddress = pushstreamaddress
1759
+ @CreateTime = createtime
1760
+ @UpdateTime = updatetime
1761
+ @RequestId = requestid
1762
+ end
1763
+
1764
+ def deserialize(params)
1765
+ @LiveChannelId = params['LiveChannelId']
1766
+ @LiveChannelName = params['LiveChannelName']
1767
+ @LiveChannelType = params['LiveChannelType']
1768
+ @LiveStatus = params['LiveStatus']
1769
+ @PushStreamAddress = params['PushStreamAddress']
1770
+ @CreateTime = params['CreateTime']
1771
+ @UpdateTime = params['UpdateTime']
1772
+ @RequestId = params['RequestId']
1773
+ end
1774
+ end
1775
+
1776
+ # DescribeLiveRecordPlanById请求参数结构体
1777
+ class DescribeLiveRecordPlanByIdRequest < TencentCloud::Common::AbstractModel
1778
+ # @param PlanId: 录制计划ID
1779
+ # @type PlanId: String
1780
+
1781
+ attr_accessor :PlanId
1782
+
1783
+ def initialize(planid=nil)
1784
+ @PlanId = planid
1785
+ end
1786
+
1787
+ def deserialize(params)
1788
+ @PlanId = params['PlanId']
1789
+ end
1790
+ end
1791
+
1792
+ # DescribeLiveRecordPlanById返回参数结构体
1793
+ class DescribeLiveRecordPlanByIdResponse < TencentCloud::Common::AbstractModel
1794
+ # @param PlanName: 计划名称
1795
+ # @type PlanName: String
1796
+ # @param TemplateId: 模板ID
1797
+ # @type TemplateId: String
1798
+ # @param TemplateName: 模板名称
1799
+ # @type TemplateName: String
1800
+ # @param RecordStorageTime: 存储时间
1801
+ # @type RecordStorageTime: Integer
1802
+ # @param PlanType: 计划类型
1803
+ # @type PlanType: Integer
1804
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1805
+ # @type RequestId: String
1806
+
1807
+ attr_accessor :PlanName, :TemplateId, :TemplateName, :RecordStorageTime, :PlanType, :RequestId
1808
+
1809
+ def initialize(planname=nil, templateid=nil, templatename=nil, recordstoragetime=nil, plantype=nil, requestid=nil)
1810
+ @PlanName = planname
1811
+ @TemplateId = templateid
1812
+ @TemplateName = templatename
1813
+ @RecordStorageTime = recordstoragetime
1814
+ @PlanType = plantype
1815
+ @RequestId = requestid
1816
+ end
1817
+
1818
+ def deserialize(params)
1819
+ @PlanName = params['PlanName']
1820
+ @TemplateId = params['TemplateId']
1821
+ @TemplateName = params['TemplateName']
1822
+ @RecordStorageTime = params['RecordStorageTime']
1823
+ @PlanType = params['PlanType']
1824
+ @RequestId = params['RequestId']
1825
+ end
1826
+ end
1827
+
1828
+ # DescribeLiveRecordPlanIds请求参数结构体
1829
+ class DescribeLiveRecordPlanIdsRequest < TencentCloud::Common::AbstractModel
1830
+ # @param TemplateId: 时间模板ID
1831
+ # @type TemplateId: String
1832
+ # @param Offset: 分页偏移量
1833
+ # @type Offset: Integer
1834
+ # @param Limit: 分页大小
1835
+ # @type Limit: Integer
1836
+
1837
+ attr_accessor :TemplateId, :Offset, :Limit
1838
+
1839
+ def initialize(templateid=nil, offset=nil, limit=nil)
1840
+ @TemplateId = templateid
1841
+ @Offset = offset
1842
+ @Limit = limit
1843
+ end
1844
+
1845
+ def deserialize(params)
1846
+ @TemplateId = params['TemplateId']
1847
+ @Offset = params['Offset']
1848
+ @Limit = params['Limit']
1849
+ end
1850
+ end
1851
+
1852
+ # DescribeLiveRecordPlanIds返回参数结构体
1853
+ class DescribeLiveRecordPlanIdsResponse < TencentCloud::Common::AbstractModel
1854
+ # @param TotalCount: 总个数
1855
+ # @type TotalCount: Integer
1856
+ # @param Plans: 计划数组
1857
+ # @type Plans: Array
1858
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1859
+ # @type RequestId: String
1860
+
1861
+ attr_accessor :TotalCount, :Plans, :RequestId
1862
+
1863
+ def initialize(totalcount=nil, plans=nil, requestid=nil)
1864
+ @TotalCount = totalcount
1865
+ @Plans = plans
1866
+ @RequestId = requestid
1867
+ end
1868
+
1869
+ def deserialize(params)
1870
+ @TotalCount = params['TotalCount']
1871
+ unless params['Plans'].nil?
1872
+ @Plans = []
1873
+ params['Plans'].each do |i|
1874
+ liverecordplanitem_tmp = LiveRecordPlanItem.new
1875
+ liverecordplanitem_tmp.deserialize(i)
1876
+ @Plans << liverecordplanitem_tmp
1877
+ end
1878
+ end
1879
+ @RequestId = params['RequestId']
1880
+ end
1881
+ end
1882
+
1883
+ # DescribeLiveStream请求参数结构体
1884
+ class DescribeLiveStreamRequest < TencentCloud::Common::AbstractModel
1885
+ # @param LiveChannelId: 频道ID
1886
+ # @type LiveChannelId: String
1887
+ # @param ExpireTime: 过期时间
1888
+ # @type ExpireTime: Integer
1889
+
1890
+ attr_accessor :LiveChannelId, :ExpireTime
1891
+
1892
+ def initialize(livechannelid=nil, expiretime=nil)
1893
+ @LiveChannelId = livechannelid
1894
+ @ExpireTime = expiretime
1895
+ end
1896
+
1897
+ def deserialize(params)
1898
+ @LiveChannelId = params['LiveChannelId']
1899
+ @ExpireTime = params['ExpireTime']
1900
+ end
1901
+ end
1902
+
1903
+ # DescribeLiveStream返回参数结构体
1904
+ class DescribeLiveStreamResponse < TencentCloud::Common::AbstractModel
1905
+ # @param Data: 拉流地址,只有在推流情况下才有
1906
+ # 注意:此字段可能返回 null,表示取不到有效值。
1907
+ # @type Data: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.StreamAddress`
1908
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1909
+ # @type RequestId: String
1910
+
1911
+ attr_accessor :Data, :RequestId
1912
+
1913
+ def initialize(data=nil, requestid=nil)
1914
+ @Data = data
1915
+ @RequestId = requestid
1916
+ end
1917
+
1918
+ def deserialize(params)
1919
+ unless params['Data'].nil?
1920
+ @Data = StreamAddress.new
1921
+ @Data.deserialize(params['Data'])
1922
+ end
1923
+ @RequestId = params['RequestId']
1924
+ end
1925
+ end
1926
+
1927
+ # DescribeLiveVideoList请求参数结构体
1928
+ class DescribeLiveVideoListRequest < TencentCloud::Common::AbstractModel
1929
+ # @param Offset: 偏移量
1930
+ # @type Offset: Integer
1931
+ # @param Limit: 分页的每页数量
1932
+ # @type Limit: Integer
1933
+ # @param LiveChannelId: 直播ID
1934
+ # @type LiveChannelId: String
1935
+ # @param StartRecordTime: 开始录制开始时间
1936
+ # @type StartRecordTime: Integer
1937
+ # @param EndRecordTime: 开始录制结束时间
1938
+ # @type EndRecordTime: Integer
1939
+ # @param StartExpireTime: 过期开始时间
1940
+ # @type StartExpireTime: Integer
1941
+ # @param EndExpireTime: 过期结束时间
1942
+ # @type EndExpireTime: Integer
1943
+ # @param StartFileSize: 文件大小范围 Byte
1944
+ # @type StartFileSize: Integer
1945
+ # @param EndFileSize: 文件大小范围 Byte
1946
+ # @type EndFileSize: Integer
1947
+ # @param IsRecording: 录制状态,5: 录制回写完
1948
+ # @type IsRecording: Integer
1949
+
1950
+ attr_accessor :Offset, :Limit, :LiveChannelId, :StartRecordTime, :EndRecordTime, :StartExpireTime, :EndExpireTime, :StartFileSize, :EndFileSize, :IsRecording
1951
+
1952
+ def initialize(offset=nil, limit=nil, livechannelid=nil, startrecordtime=nil, endrecordtime=nil, startexpiretime=nil, endexpiretime=nil, startfilesize=nil, endfilesize=nil, isrecording=nil)
1953
+ @Offset = offset
1954
+ @Limit = limit
1955
+ @LiveChannelId = livechannelid
1956
+ @StartRecordTime = startrecordtime
1957
+ @EndRecordTime = endrecordtime
1958
+ @StartExpireTime = startexpiretime
1959
+ @EndExpireTime = endexpiretime
1960
+ @StartFileSize = startfilesize
1961
+ @EndFileSize = endfilesize
1962
+ @IsRecording = isrecording
1963
+ end
1964
+
1965
+ def deserialize(params)
1966
+ @Offset = params['Offset']
1967
+ @Limit = params['Limit']
1968
+ @LiveChannelId = params['LiveChannelId']
1969
+ @StartRecordTime = params['StartRecordTime']
1970
+ @EndRecordTime = params['EndRecordTime']
1971
+ @StartExpireTime = params['StartExpireTime']
1972
+ @EndExpireTime = params['EndExpireTime']
1973
+ @StartFileSize = params['StartFileSize']
1974
+ @EndFileSize = params['EndFileSize']
1975
+ @IsRecording = params['IsRecording']
1976
+ end
1977
+ end
1978
+
1979
+ # DescribeLiveVideoList返回参数结构体
1980
+ class DescribeLiveVideoListResponse < TencentCloud::Common::AbstractModel
1981
+ # @param Total: 总的条数
1982
+ # 注意:此字段可能返回 null,表示取不到有效值。
1983
+ # @type Total: Integer
1984
+ # @param RecordList: 录制任务详情数组
1985
+ # 注意:此字段可能返回 null,表示取不到有效值。
1986
+ # @type RecordList: Array
1987
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1988
+ # @type RequestId: String
1989
+
1990
+ attr_accessor :Total, :RecordList, :RequestId
1991
+
1992
+ def initialize(total=nil, recordlist=nil, requestid=nil)
1993
+ @Total = total
1994
+ @RecordList = recordlist
1995
+ @RequestId = requestid
1996
+ end
1997
+
1998
+ def deserialize(params)
1999
+ @Total = params['Total']
2000
+ unless params['RecordList'].nil?
2001
+ @RecordList = []
2002
+ params['RecordList'].each do |i|
2003
+ liverecorditem_tmp = LiveRecordItem.new
2004
+ liverecorditem_tmp.deserialize(i)
2005
+ @RecordList << liverecorditem_tmp
2006
+ end
2007
+ end
2008
+ @RequestId = params['RequestId']
2009
+ end
2010
+ end
2011
+
2012
+ # DescribeMessageForward请求参数结构体
2013
+ class DescribeMessageForwardRequest < TencentCloud::Common::AbstractModel
2014
+ # @param IntId: 配置ID
2015
+ # @type IntId: Integer
2016
+
2017
+ attr_accessor :IntId
2018
+
2019
+ def initialize(intid=nil)
2020
+ @IntId = intid
2021
+ end
2022
+
2023
+ def deserialize(params)
2024
+ @IntId = params['IntId']
2025
+ end
2026
+ end
2027
+
2028
+ # DescribeMessageForward返回参数结构体
2029
+ class DescribeMessageForwardResponse < TencentCloud::Common::AbstractModel
2030
+ # @param RegionId: 区域ID
2031
+ # 注意:此字段可能返回 null,表示取不到有效值。
2032
+ # @type RegionId: String
2033
+ # @param RegionName: 区域名称
2034
+ # 注意:此字段可能返回 null,表示取不到有效值。
2035
+ # @type RegionName: String
2036
+ # @param Instance: 实例ID
2037
+ # 注意:此字段可能返回 null,表示取不到有效值。
2038
+ # @type Instance: String
2039
+ # @param InstanceName: 实例名称
2040
+ # 注意:此字段可能返回 null,表示取不到有效值。
2041
+ # @type InstanceName: String
2042
+ # @param IntId: 配置ID
2043
+ # 注意:此字段可能返回 null,表示取不到有效值。
2044
+ # @type IntId: Integer
2045
+ # @param MessageType: json数组, 转发类型 1: 告警 2:GPS
2046
+ # 注意:此字段可能返回 null,表示取不到有效值。
2047
+ # @type MessageType: String
2048
+ # @param TopicId: kafka topic id
2049
+ # 注意:此字段可能返回 null,表示取不到有效值。
2050
+ # @type TopicId: String
2051
+ # @param CreateTime: 配置创建时间
2052
+ # 注意:此字段可能返回 null,表示取不到有效值。
2053
+ # @type CreateTime: String
2054
+ # @param Uin: 用户Uin信息
943
2055
  # 注意:此字段可能返回 null,表示取不到有效值。
944
- # @type TotalCount: Integer
945
- # @param DeviceList: 设备详情列表
2056
+ # @type Uin: String
2057
+ # @param TopicName: kafka topic 名称
946
2058
  # 注意:此字段可能返回 null,表示取不到有效值。
947
- # @type DeviceList: Array
2059
+ # @type TopicName: String
948
2060
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
949
2061
  # @type RequestId: String
950
2062
 
951
- attr_accessor :TotalCount, :DeviceList, :RequestId
2063
+ attr_accessor :RegionId, :RegionName, :Instance, :InstanceName, :IntId, :MessageType, :TopicId, :CreateTime, :Uin, :TopicName, :RequestId
952
2064
 
953
- def initialize(totalcount=nil, devicelist=nil, requestid=nil)
954
- @TotalCount = totalcount
955
- @DeviceList = devicelist
2065
+ def initialize(regionid=nil, regionname=nil, instance=nil, instancename=nil, intid=nil, messagetype=nil, topicid=nil, createtime=nil, uin=nil, topicname=nil, requestid=nil)
2066
+ @RegionId = regionid
2067
+ @RegionName = regionname
2068
+ @Instance = instance
2069
+ @InstanceName = instancename
2070
+ @IntId = intid
2071
+ @MessageType = messagetype
2072
+ @TopicId = topicid
2073
+ @CreateTime = createtime
2074
+ @Uin = uin
2075
+ @TopicName = topicname
956
2076
  @RequestId = requestid
957
2077
  end
958
2078
 
959
2079
  def deserialize(params)
960
- @TotalCount = params['TotalCount']
961
- unless params['DeviceList'].nil?
962
- @DeviceList = []
963
- params['DeviceList'].each do |i|
964
- groupdeviceitem_tmp = GroupDeviceItem.new
965
- groupdeviceitem_tmp.deserialize(i)
966
- @DeviceList << groupdeviceitem_tmp
967
- end
968
- end
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']
969
2090
  @RequestId = params['RequestId']
970
2091
  end
971
2092
  end
972
2093
 
973
- # DescribeGroups请求参数结构体
974
- class DescribeGroupsRequest < TencentCloud::Common::AbstractModel
975
- # @param GroupIds: 分组ID列表
976
- # @type GroupIds: Array
2094
+ # DescribeMessageForwards请求参数结构体
2095
+ class DescribeMessageForwardsRequest < TencentCloud::Common::AbstractModel
2096
+ # @param Limit: 数量限制
2097
+ # @type Limit: Integer
2098
+ # @param Offset: 偏移
2099
+ # @type Offset: Integer
977
2100
 
978
- attr_accessor :GroupIds
2101
+ attr_accessor :Limit, :Offset
979
2102
 
980
- def initialize(groupids=nil)
981
- @GroupIds = groupids
2103
+ def initialize(limit=nil, offset=nil)
2104
+ @Limit = limit
2105
+ @Offset = offset
982
2106
  end
983
2107
 
984
2108
  def deserialize(params)
985
- @GroupIds = params['GroupIds']
2109
+ @Limit = params['Limit']
2110
+ @Offset = params['Offset']
986
2111
  end
987
2112
  end
988
2113
 
989
- # DescribeGroups返回参数结构体
990
- class DescribeGroupsResponse < TencentCloud::Common::AbstractModel
991
- # @param Groups: 分组详细信息列表
2114
+ # DescribeMessageForwards返回参数结构体
2115
+ class DescribeMessageForwardsResponse < TencentCloud::Common::AbstractModel
2116
+ # @param Total: 配置总数
992
2117
  # 注意:此字段可能返回 null,表示取不到有效值。
993
- # @type Groups: Array
2118
+ # @type Total: Integer
2119
+ # @param List: 配置列表
2120
+ # 注意:此字段可能返回 null,表示取不到有效值。
2121
+ # @type List: Array
994
2122
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
995
2123
  # @type RequestId: String
996
2124
 
997
- attr_accessor :Groups, :RequestId
2125
+ attr_accessor :Total, :List, :RequestId
998
2126
 
999
- def initialize(groups=nil, requestid=nil)
1000
- @Groups = groups
2127
+ def initialize(total=nil, list=nil, requestid=nil)
2128
+ @Total = total
2129
+ @List = list
1001
2130
  @RequestId = requestid
1002
2131
  end
1003
2132
 
1004
2133
  def deserialize(params)
1005
- unless params['Groups'].nil?
1006
- @Groups = []
1007
- params['Groups'].each do |i|
1008
- groupinfo_tmp = GroupInfo.new
1009
- groupinfo_tmp.deserialize(i)
1010
- @Groups << groupinfo_tmp
2134
+ @Total = params['Total']
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
1011
2141
  end
1012
2142
  end
1013
2143
  @RequestId = params['RequestId']
1014
2144
  end
1015
2145
  end
1016
2146
 
1017
- # DescribeIPCChannels请求参数结构体
1018
- class DescribeIPCChannelsRequest < TencentCloud::Common::AbstractModel
1019
- # @param Offset: 偏移量,默认0
2147
+ # DescribeRecordDatesByLive请求参数结构体
2148
+ class DescribeRecordDatesByLiveRequest < TencentCloud::Common::AbstractModel
2149
+ # @param LiveChannelId: 直播频道ID
2150
+ # @type LiveChannelId: String
2151
+ # @param Offset: 分页值,本地录制时参数无效
1020
2152
  # @type Offset: Integer
1021
- # @param Limit: 限制,默认0
2153
+ # @param Limit: 限制值,本地录制时参数无效
1022
2154
  # @type Limit: Integer
1023
- # @param DeviceId: 设备Id
1024
- # @type DeviceId: String
1025
- # @param ChannelTypes: 通道类型 0: 未知类型 1: 视频通道 2: 音频通道 3: 告警通道
1026
- # @type ChannelTypes: Array
1027
2155
 
1028
- attr_accessor :Offset, :Limit, :DeviceId, :ChannelTypes
2156
+ attr_accessor :LiveChannelId, :Offset, :Limit
1029
2157
 
1030
- def initialize(offset=nil, limit=nil, deviceid=nil, channeltypes=nil)
2158
+ def initialize(livechannelid=nil, offset=nil, limit=nil)
2159
+ @LiveChannelId = livechannelid
1031
2160
  @Offset = offset
1032
2161
  @Limit = limit
1033
- @DeviceId = deviceid
1034
- @ChannelTypes = channeltypes
1035
2162
  end
1036
2163
 
1037
2164
  def deserialize(params)
2165
+ @LiveChannelId = params['LiveChannelId']
1038
2166
  @Offset = params['Offset']
1039
2167
  @Limit = params['Limit']
1040
- @DeviceId = params['DeviceId']
1041
- @ChannelTypes = params['ChannelTypes']
1042
2168
  end
1043
2169
  end
1044
2170
 
1045
- # DescribeIPCChannels返回参数结构体
1046
- class DescribeIPCChannelsResponse < TencentCloud::Common::AbstractModel
1047
- # @param TotalCount: 通道总数
2171
+ # DescribeRecordDatesByLive返回参数结构体
2172
+ class DescribeRecordDatesByLiveResponse < TencentCloud::Common::AbstractModel
2173
+ # @param Dates: 录制日期数组
1048
2174
  # 注意:此字段可能返回 null,表示取不到有效值。
1049
- # @type TotalCount: Integer
1050
- # @param DeviceList: 通道详情列表
1051
- # 注意:此字段可能返回 null,表示取不到有效值。
1052
- # @type DeviceList: Array
2175
+ # @type Dates: Array
1053
2176
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1054
2177
  # @type RequestId: String
1055
2178
 
1056
- attr_accessor :TotalCount, :DeviceList, :RequestId
2179
+ attr_accessor :Dates, :RequestId
1057
2180
 
1058
- def initialize(totalcount=nil, devicelist=nil, requestid=nil)
1059
- @TotalCount = totalcount
1060
- @DeviceList = devicelist
2181
+ def initialize(dates=nil, requestid=nil)
2182
+ @Dates = dates
1061
2183
  @RequestId = requestid
1062
2184
  end
1063
2185
 
1064
2186
  def deserialize(params)
1065
- @TotalCount = params['TotalCount']
1066
- unless params['DeviceList'].nil?
1067
- @DeviceList = []
1068
- params['DeviceList'].each do |i|
1069
- groupdeviceitem_tmp = GroupDeviceItem.new
1070
- groupdeviceitem_tmp.deserialize(i)
1071
- @DeviceList << groupdeviceitem_tmp
1072
- end
1073
- end
2187
+ @Dates = params['Dates']
1074
2188
  @RequestId = params['RequestId']
1075
2189
  end
1076
2190
  end
@@ -1200,6 +2314,59 @@ module TencentCloud
1200
2314
  end
1201
2315
  end
1202
2316
 
2317
+ # DescribeScenes请求参数结构体
2318
+ class DescribeScenesRequest < TencentCloud::Common::AbstractModel
2319
+ # @param Limit: 条数限制
2320
+ # @type Limit: Integer
2321
+ # @param Offset: 偏移
2322
+ # @type Offset: Integer
2323
+
2324
+ attr_accessor :Limit, :Offset
2325
+
2326
+ def initialize(limit=nil, offset=nil)
2327
+ @Limit = limit
2328
+ @Offset = offset
2329
+ end
2330
+
2331
+ def deserialize(params)
2332
+ @Limit = params['Limit']
2333
+ @Offset = params['Offset']
2334
+ end
2335
+ end
2336
+
2337
+ # DescribeScenes返回参数结构体
2338
+ class DescribeScenesResponse < TencentCloud::Common::AbstractModel
2339
+ # @param Total: 场景总数
2340
+ # 注意:此字段可能返回 null,表示取不到有效值。
2341
+ # @type Total: Integer
2342
+ # @param List: 场景列表
2343
+ # 注意:此字段可能返回 null,表示取不到有效值。
2344
+ # @type List: Array
2345
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2346
+ # @type RequestId: String
2347
+
2348
+ attr_accessor :Total, :List, :RequestId
2349
+
2350
+ def initialize(total=nil, list=nil, requestid=nil)
2351
+ @Total = total
2352
+ @List = list
2353
+ @RequestId = requestid
2354
+ end
2355
+
2356
+ def deserialize(params)
2357
+ @Total = params['Total']
2358
+ unless params['List'].nil?
2359
+ @List = []
2360
+ params['List'].each do |i|
2361
+ sceneitem_tmp = SceneItem.new
2362
+ sceneitem_tmp.deserialize(i)
2363
+ @List << sceneitem_tmp
2364
+ end
2365
+ end
2366
+ @RequestId = params['RequestId']
2367
+ end
2368
+ end
2369
+
1203
2370
  # DescribeStatisticDetails请求参数结构体
1204
2371
  class DescribeStatisticDetailsRequest < TencentCloud::Common::AbstractModel
1205
2372
  # @param StartDate: 开始日期,格式【YYYY-MM-DD】
@@ -1391,6 +2558,42 @@ module TencentCloud
1391
2558
  end
1392
2559
  end
1393
2560
 
2561
+ # DescribeSubscriptionStatus请求参数结构体
2562
+ class DescribeSubscriptionStatusRequest < TencentCloud::Common::AbstractModel
2563
+ # @param DeviceId: 设备ID
2564
+ # @type DeviceId: String
2565
+
2566
+ attr_accessor :DeviceId
2567
+
2568
+ def initialize(deviceid=nil)
2569
+ @DeviceId = deviceid
2570
+ end
2571
+
2572
+ def deserialize(params)
2573
+ @DeviceId = params['DeviceId']
2574
+ end
2575
+ end
2576
+
2577
+ # DescribeSubscriptionStatus返回参数结构体
2578
+ class DescribeSubscriptionStatusResponse < TencentCloud::Common::AbstractModel
2579
+ # @param AlarmStatus: 设备GB28181报警订阅状态 1:未开启订阅;2:已开启订阅
2580
+ # @type AlarmStatus: Integer
2581
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2582
+ # @type RequestId: String
2583
+
2584
+ attr_accessor :AlarmStatus, :RequestId
2585
+
2586
+ def initialize(alarmstatus=nil, requestid=nil)
2587
+ @AlarmStatus = alarmstatus
2588
+ @RequestId = requestid
2589
+ end
2590
+
2591
+ def deserialize(params)
2592
+ @AlarmStatus = params['AlarmStatus']
2593
+ @RequestId = params['RequestId']
2594
+ end
2595
+ end
2596
+
1394
2597
  # DescribeVideoList请求参数结构体
1395
2598
  class DescribeVideoListRequest < TencentCloud::Common::AbstractModel
1396
2599
  # @param Offset: 偏移
@@ -2035,48 +3238,292 @@ module TencentCloud
2035
3238
  # @type DeviceNum: Integer
2036
3239
  # @param SubGroupNum: 子分组数量
2037
3240
  # 注意:此字段可能返回 null,表示取不到有效值。
2038
- # @type SubGroupNum: Integer
2039
- # @param ExtraInformation: 分组附加信息
3241
+ # @type SubGroupNum: Integer
3242
+ # @param ExtraInformation: 分组附加信息
3243
+ # 注意:此字段可能返回 null,表示取不到有效值。
3244
+ # @type ExtraInformation: String
3245
+ # @param GroupType: 分组类型
3246
+ # 注意:此字段可能返回 null,表示取不到有效值。
3247
+ # @type GroupType: String
3248
+ # @param CreateTime: 创建时间
3249
+ # 注意:此字段可能返回 null,表示取不到有效值。
3250
+ # @type CreateTime: Integer
3251
+ # @param GroupStatus: 分组状态
3252
+ # 注意:此字段可能返回 null,表示取不到有效值。
3253
+ # @type GroupStatus: Integer
3254
+
3255
+ attr_accessor :GroupName, :ParentId, :GroupId, :GroupPath, :GroupDescribe, :DeviceNum, :SubGroupNum, :ExtraInformation, :GroupType, :CreateTime, :GroupStatus
3256
+
3257
+ def initialize(groupname=nil, parentid=nil, groupid=nil, grouppath=nil, groupdescribe=nil, devicenum=nil, subgroupnum=nil, extrainformation=nil, grouptype=nil, createtime=nil, groupstatus=nil)
3258
+ @GroupName = groupname
3259
+ @ParentId = parentid
3260
+ @GroupId = groupid
3261
+ @GroupPath = grouppath
3262
+ @GroupDescribe = groupdescribe
3263
+ @DeviceNum = devicenum
3264
+ @SubGroupNum = subgroupnum
3265
+ @ExtraInformation = extrainformation
3266
+ @GroupType = grouptype
3267
+ @CreateTime = createtime
3268
+ @GroupStatus = groupstatus
3269
+ end
3270
+
3271
+ def deserialize(params)
3272
+ @GroupName = params['GroupName']
3273
+ @ParentId = params['ParentId']
3274
+ @GroupId = params['GroupId']
3275
+ @GroupPath = params['GroupPath']
3276
+ @GroupDescribe = params['GroupDescribe']
3277
+ @DeviceNum = params['DeviceNum']
3278
+ @SubGroupNum = params['SubGroupNum']
3279
+ @ExtraInformation = params['ExtraInformation']
3280
+ @GroupType = params['GroupType']
3281
+ @CreateTime = params['CreateTime']
3282
+ @GroupStatus = params['GroupStatus']
3283
+ end
3284
+ end
3285
+
3286
+ # 频道信息
3287
+ class LiveChannelInfo < TencentCloud::Common::AbstractModel
3288
+ # @param LiveChannelId: 频道ID
3289
+ # 注意:此字段可能返回 null,表示取不到有效值。
3290
+ # @type LiveChannelId: String
3291
+ # @param LiveChannelName: 频道名称
3292
+ # 注意:此字段可能返回 null,表示取不到有效值。
3293
+ # @type LiveChannelName: String
3294
+ # @param LiveChannelType: 频道类型
3295
+ # 注意:此字段可能返回 null,表示取不到有效值。
3296
+ # @type LiveChannelType: Integer
3297
+ # @param LiveStatus: 通道直播状态:1: 未推流,2: 推流中
3298
+ # 注意:此字段可能返回 null,表示取不到有效值。
3299
+ # @type LiveStatus: Integer
3300
+ # @param PushStreamAddress: 推流地址
3301
+ # 注意:此字段可能返回 null,表示取不到有效值。
3302
+ # @type PushStreamAddress: String
3303
+ # @param CreateTime: 创建时间
3304
+ # 注意:此字段可能返回 null,表示取不到有效值。
3305
+ # @type CreateTime: String
3306
+ # @param UpdateTime: 修改时间
3307
+ # 注意:此字段可能返回 null,表示取不到有效值。
3308
+ # @type UpdateTime: String
3309
+
3310
+ attr_accessor :LiveChannelId, :LiveChannelName, :LiveChannelType, :LiveStatus, :PushStreamAddress, :CreateTime, :UpdateTime
3311
+
3312
+ def initialize(livechannelid=nil, livechannelname=nil, livechanneltype=nil, livestatus=nil, pushstreamaddress=nil, createtime=nil, updatetime=nil)
3313
+ @LiveChannelId = livechannelid
3314
+ @LiveChannelName = livechannelname
3315
+ @LiveChannelType = livechanneltype
3316
+ @LiveStatus = livestatus
3317
+ @PushStreamAddress = pushstreamaddress
3318
+ @CreateTime = createtime
3319
+ @UpdateTime = updatetime
3320
+ end
3321
+
3322
+ def deserialize(params)
3323
+ @LiveChannelId = params['LiveChannelId']
3324
+ @LiveChannelName = params['LiveChannelName']
3325
+ @LiveChannelType = params['LiveChannelType']
3326
+ @LiveStatus = params['LiveStatus']
3327
+ @PushStreamAddress = params['PushStreamAddress']
3328
+ @CreateTime = params['CreateTime']
3329
+ @UpdateTime = params['UpdateTime']
3330
+ end
3331
+ end
3332
+
3333
+ # 直播频道详情
3334
+ class LiveChannelItem < TencentCloud::Common::AbstractModel
3335
+ # @param ChannelId: 频道ID
3336
+ # @type ChannelId: String
3337
+ # @param ChannelName: 频道名称
3338
+ # @type ChannelName: String
3339
+
3340
+ attr_accessor :ChannelId, :ChannelName
3341
+
3342
+ def initialize(channelid=nil, channelname=nil)
3343
+ @ChannelId = channelid
3344
+ @ChannelName = channelname
3345
+ end
3346
+
3347
+ def deserialize(params)
3348
+ @ChannelId = params['ChannelId']
3349
+ @ChannelName = params['ChannelName']
3350
+ end
3351
+ end
3352
+
3353
+ # 直播录制详情item
3354
+ class LiveRecordItem < TencentCloud::Common::AbstractModel
3355
+ # @param IntID: 录制文件自增ID
3356
+ # @type IntID: Integer
3357
+ # @param LiveChannelId: 直播频道ID
3358
+ # @type LiveChannelId: String
3359
+ # @param ExpectDeleteTime: 过期时间
3360
+ # @type ExpectDeleteTime: Integer
3361
+ # @param RecordTimeLen: 录制时长
3362
+ # @type RecordTimeLen: Integer
3363
+ # @param FileSize: 文件大小
3364
+ # @type FileSize: Integer
3365
+ # @param VideoUrl: 录制文件url
3366
+ # @type VideoUrl: String
3367
+ # @param RecordPlanId: 录制计划ID
3368
+ # @type RecordPlanId: String
3369
+ # @param StartTime: 录制开始时间
3370
+ # @type StartTime: Integer
3371
+ # @param EndTime: 录制结束时间
3372
+ # @type EndTime: Integer
3373
+
3374
+ attr_accessor :IntID, :LiveChannelId, :ExpectDeleteTime, :RecordTimeLen, :FileSize, :VideoUrl, :RecordPlanId, :StartTime, :EndTime
3375
+
3376
+ def initialize(intid=nil, livechannelid=nil, expectdeletetime=nil, recordtimelen=nil, filesize=nil, videourl=nil, recordplanid=nil, starttime=nil, endtime=nil)
3377
+ @IntID = intid
3378
+ @LiveChannelId = livechannelid
3379
+ @ExpectDeleteTime = expectdeletetime
3380
+ @RecordTimeLen = recordtimelen
3381
+ @FileSize = filesize
3382
+ @VideoUrl = videourl
3383
+ @RecordPlanId = recordplanid
3384
+ @StartTime = starttime
3385
+ @EndTime = endtime
3386
+ end
3387
+
3388
+ def deserialize(params)
3389
+ @IntID = params['IntID']
3390
+ @LiveChannelId = params['LiveChannelId']
3391
+ @ExpectDeleteTime = params['ExpectDeleteTime']
3392
+ @RecordTimeLen = params['RecordTimeLen']
3393
+ @FileSize = params['FileSize']
3394
+ @VideoUrl = params['VideoUrl']
3395
+ @RecordPlanId = params['RecordPlanId']
3396
+ @StartTime = params['StartTime']
3397
+ @EndTime = params['EndTime']
3398
+ end
3399
+ end
3400
+
3401
+ # 直播录制计划详情
3402
+ class LiveRecordPlanItem < TencentCloud::Common::AbstractModel
3403
+ # @param PlanId: 计划ID
3404
+ # 注意:此字段可能返回 null,表示取不到有效值。
3405
+ # @type PlanId: String
3406
+ # @param PlanName: 计划名称
3407
+ # 注意:此字段可能返回 null,表示取不到有效值。
3408
+ # @type PlanName: String
3409
+
3410
+ attr_accessor :PlanId, :PlanName
3411
+
3412
+ def initialize(planid=nil, planname=nil)
3413
+ @PlanId = planid
3414
+ @PlanName = planname
3415
+ end
3416
+
3417
+ def deserialize(params)
3418
+ @PlanId = params['PlanId']
3419
+ @PlanName = params['PlanName']
3420
+ end
3421
+ end
3422
+
3423
+ # 消息转发配置信息
3424
+ class MessageForward < TencentCloud::Common::AbstractModel
3425
+ # @param IntId: 配置ID
3426
+ # 注意:此字段可能返回 null,表示取不到有效值。
3427
+ # @type IntId: Integer
3428
+ # @param Uin: 用户Uin
3429
+ # 注意:此字段可能返回 null,表示取不到有效值。
3430
+ # @type Uin: String
3431
+ # @param MessageType: json数组, 转发类型 1: 告警 2:GPS
3432
+ # 注意:此字段可能返回 null,表示取不到有效值。
3433
+ # @type MessageType: String
3434
+ # @param RegionId: 区域ID
3435
+ # 注意:此字段可能返回 null,表示取不到有效值。
3436
+ # @type RegionId: String
3437
+ # @param RegionName: 区域名称
3438
+ # 注意:此字段可能返回 null,表示取不到有效值。
3439
+ # @type RegionName: String
3440
+ # @param Instance: 实例ID
2040
3441
  # 注意:此字段可能返回 null,表示取不到有效值。
2041
- # @type ExtraInformation: String
2042
- # @param GroupType: 分组类型
3442
+ # @type Instance: String
3443
+ # @param InstanceName: 实例名称
2043
3444
  # 注意:此字段可能返回 null,表示取不到有效值。
2044
- # @type GroupType: String
3445
+ # @type InstanceName: String
3446
+ # @param TopicId: kafka topic id
3447
+ # 注意:此字段可能返回 null,表示取不到有效值。
3448
+ # @type TopicId: String
2045
3449
  # @param CreateTime: 创建时间
2046
3450
  # 注意:此字段可能返回 null,表示取不到有效值。
2047
- # @type CreateTime: Integer
2048
- # @param GroupStatus: 分组状态
3451
+ # @type CreateTime: String
3452
+ # @param UpdateTime: 更新时间
2049
3453
  # 注意:此字段可能返回 null,表示取不到有效值。
2050
- # @type GroupStatus: Integer
3454
+ # @type UpdateTime: String
3455
+ # @param TopicName: topic 名称
3456
+ # 注意:此字段可能返回 null,表示取不到有效值。
3457
+ # @type TopicName: String
2051
3458
 
2052
- attr_accessor :GroupName, :ParentId, :GroupId, :GroupPath, :GroupDescribe, :DeviceNum, :SubGroupNum, :ExtraInformation, :GroupType, :CreateTime, :GroupStatus
3459
+ attr_accessor :IntId, :Uin, :MessageType, :RegionId, :RegionName, :Instance, :InstanceName, :TopicId, :CreateTime, :UpdateTime, :TopicName
2053
3460
 
2054
- def initialize(groupname=nil, parentid=nil, groupid=nil, grouppath=nil, groupdescribe=nil, devicenum=nil, subgroupnum=nil, extrainformation=nil, grouptype=nil, createtime=nil, groupstatus=nil)
2055
- @GroupName = groupname
2056
- @ParentId = parentid
2057
- @GroupId = groupid
2058
- @GroupPath = grouppath
2059
- @GroupDescribe = groupdescribe
2060
- @DeviceNum = devicenum
2061
- @SubGroupNum = subgroupnum
2062
- @ExtraInformation = extrainformation
2063
- @GroupType = grouptype
3461
+ def initialize(intid=nil, uin=nil, messagetype=nil, regionid=nil, regionname=nil, instance=nil, instancename=nil, topicid=nil, createtime=nil, updatetime=nil, topicname=nil)
3462
+ @IntId = intid
3463
+ @Uin = uin
3464
+ @MessageType = messagetype
3465
+ @RegionId = regionid
3466
+ @RegionName = regionname
3467
+ @Instance = instance
3468
+ @InstanceName = instancename
3469
+ @TopicId = topicid
2064
3470
  @CreateTime = createtime
2065
- @GroupStatus = groupstatus
3471
+ @UpdateTime = updatetime
3472
+ @TopicName = topicname
2066
3473
  end
2067
3474
 
2068
3475
  def deserialize(params)
2069
- @GroupName = params['GroupName']
2070
- @ParentId = params['ParentId']
2071
- @GroupId = params['GroupId']
2072
- @GroupPath = params['GroupPath']
2073
- @GroupDescribe = params['GroupDescribe']
2074
- @DeviceNum = params['DeviceNum']
2075
- @SubGroupNum = params['SubGroupNum']
2076
- @ExtraInformation = params['ExtraInformation']
2077
- @GroupType = params['GroupType']
3476
+ @IntId = params['IntId']
3477
+ @Uin = params['Uin']
3478
+ @MessageType = params['MessageType']
3479
+ @RegionId = params['RegionId']
3480
+ @RegionName = params['RegionName']
3481
+ @Instance = params['Instance']
3482
+ @InstanceName = params['InstanceName']
3483
+ @TopicId = params['TopicId']
2078
3484
  @CreateTime = params['CreateTime']
2079
- @GroupStatus = params['GroupStatus']
3485
+ @UpdateTime = params['UpdateTime']
3486
+ @TopicName = params['TopicName']
3487
+ end
3488
+ end
3489
+
3490
+ # ModifyBindPlanLiveChannel请求参数结构体
3491
+ class ModifyBindPlanLiveChannelRequest < TencentCloud::Common::AbstractModel
3492
+ # @param PlanId: 直播录制计划ID
3493
+ # @type PlanId: String
3494
+ # @param Type: 1: 绑定 2: 解绑
3495
+ # @type Type: Integer
3496
+ # @param LiveChannelIds: 直播频道ID列表
3497
+ # @type LiveChannelIds: Array
3498
+
3499
+ attr_accessor :PlanId, :Type, :LiveChannelIds
3500
+
3501
+ def initialize(planid=nil, type=nil, livechannelids=nil)
3502
+ @PlanId = planid
3503
+ @Type = type
3504
+ @LiveChannelIds = livechannelids
3505
+ end
3506
+
3507
+ def deserialize(params)
3508
+ @PlanId = params['PlanId']
3509
+ @Type = params['Type']
3510
+ @LiveChannelIds = params['LiveChannelIds']
3511
+ end
3512
+ end
3513
+
3514
+ # ModifyBindPlanLiveChannel返回参数结构体
3515
+ class ModifyBindPlanLiveChannelResponse < TencentCloud::Common::AbstractModel
3516
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3517
+ # @type RequestId: String
3518
+
3519
+ attr_accessor :RequestId
3520
+
3521
+ def initialize(requestid=nil)
3522
+ @RequestId = requestid
3523
+ end
3524
+
3525
+ def deserialize(params)
3526
+ @RequestId = params['RequestId']
2080
3527
  end
2081
3528
  end
2082
3529
 
@@ -2121,6 +3568,230 @@ module TencentCloud
2121
3568
  end
2122
3569
  end
2123
3570
 
3571
+ # ModifyLiveChannel请求参数结构体
3572
+ class ModifyLiveChannelRequest < TencentCloud::Common::AbstractModel
3573
+ # @param LiveChannelId: 直播频道ID
3574
+ # @type LiveChannelId: String
3575
+ # @param LiveChannelName: 直播频道名
3576
+ # @type LiveChannelName: String
3577
+
3578
+ attr_accessor :LiveChannelId, :LiveChannelName
3579
+
3580
+ def initialize(livechannelid=nil, livechannelname=nil)
3581
+ @LiveChannelId = livechannelid
3582
+ @LiveChannelName = livechannelname
3583
+ end
3584
+
3585
+ def deserialize(params)
3586
+ @LiveChannelId = params['LiveChannelId']
3587
+ @LiveChannelName = params['LiveChannelName']
3588
+ end
3589
+ end
3590
+
3591
+ # ModifyLiveChannel返回参数结构体
3592
+ class ModifyLiveChannelResponse < TencentCloud::Common::AbstractModel
3593
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3594
+ # @type RequestId: String
3595
+
3596
+ attr_accessor :RequestId
3597
+
3598
+ def initialize(requestid=nil)
3599
+ @RequestId = requestid
3600
+ end
3601
+
3602
+ def deserialize(params)
3603
+ @RequestId = params['RequestId']
3604
+ end
3605
+ end
3606
+
3607
+ # ModifyLiveRecordPlan请求参数结构体
3608
+ class ModifyLiveRecordPlanRequest < TencentCloud::Common::AbstractModel
3609
+ # @param PlanId: 录制计划ID
3610
+ # @type PlanId: String
3611
+ # @param PlanName: 录制计划名
3612
+ # @type PlanName: String
3613
+ # @param TemplateId: 时间模板ID,固定直播时为必填
3614
+ # @type TemplateId: String
3615
+
3616
+ attr_accessor :PlanId, :PlanName, :TemplateId
3617
+
3618
+ def initialize(planid=nil, planname=nil, templateid=nil)
3619
+ @PlanId = planid
3620
+ @PlanName = planname
3621
+ @TemplateId = templateid
3622
+ end
3623
+
3624
+ def deserialize(params)
3625
+ @PlanId = params['PlanId']
3626
+ @PlanName = params['PlanName']
3627
+ @TemplateId = params['TemplateId']
3628
+ end
3629
+ end
3630
+
3631
+ # ModifyLiveRecordPlan返回参数结构体
3632
+ class ModifyLiveRecordPlanResponse < TencentCloud::Common::AbstractModel
3633
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3634
+ # @type RequestId: String
3635
+
3636
+ attr_accessor :RequestId
3637
+
3638
+ def initialize(requestid=nil)
3639
+ @RequestId = requestid
3640
+ end
3641
+
3642
+ def deserialize(params)
3643
+ @RequestId = params['RequestId']
3644
+ end
3645
+ end
3646
+
3647
+ # ModifyLiveVideo请求参数结构体
3648
+ class ModifyLiveVideoRequest < TencentCloud::Common::AbstractModel
3649
+ # @param IntIDs: 视频ID 列表, 大小限制(100)
3650
+ # @type IntIDs: Array
3651
+ # @param ExpireTime: 过期时间 秒 (-1: 为永不过期)
3652
+ # @type ExpireTime: Integer
3653
+
3654
+ attr_accessor :IntIDs, :ExpireTime
3655
+
3656
+ def initialize(intids=nil, expiretime=nil)
3657
+ @IntIDs = intids
3658
+ @ExpireTime = expiretime
3659
+ end
3660
+
3661
+ def deserialize(params)
3662
+ @IntIDs = params['IntIDs']
3663
+ @ExpireTime = params['ExpireTime']
3664
+ end
3665
+ end
3666
+
3667
+ # ModifyLiveVideo返回参数结构体
3668
+ class ModifyLiveVideoResponse < TencentCloud::Common::AbstractModel
3669
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3670
+ # @type RequestId: String
3671
+
3672
+ attr_accessor :RequestId
3673
+
3674
+ def initialize(requestid=nil)
3675
+ @RequestId = requestid
3676
+ end
3677
+
3678
+ def deserialize(params)
3679
+ @RequestId = params['RequestId']
3680
+ end
3681
+ end
3682
+
3683
+ # ModifyMessageForward请求参数结构体
3684
+ class ModifyMessageForwardRequest < TencentCloud::Common::AbstractModel
3685
+ # @param IntId: 配置ID
3686
+ # @type IntId: Integer
3687
+ # @param MessageType: json数组, 转发类型 1: 告警 2:GPS
3688
+ # @type MessageType: String
3689
+
3690
+ attr_accessor :IntId, :MessageType
3691
+
3692
+ def initialize(intid=nil, messagetype=nil)
3693
+ @IntId = intid
3694
+ @MessageType = messagetype
3695
+ end
3696
+
3697
+ def deserialize(params)
3698
+ @IntId = params['IntId']
3699
+ @MessageType = params['MessageType']
3700
+ end
3701
+ end
3702
+
3703
+ # ModifyMessageForward返回参数结构体
3704
+ class ModifyMessageForwardResponse < TencentCloud::Common::AbstractModel
3705
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3706
+ # @type RequestId: String
3707
+
3708
+ attr_accessor :RequestId
3709
+
3710
+ def initialize(requestid=nil)
3711
+ @RequestId = requestid
3712
+ end
3713
+
3714
+ def deserialize(params)
3715
+ @RequestId = params['RequestId']
3716
+ end
3717
+ end
3718
+
3719
+ # ModifySubscriptionStatus请求参数结构体
3720
+ class ModifySubscriptionStatusRequest < TencentCloud::Common::AbstractModel
3721
+ # @param DeviceId: 设备ID
3722
+ # @type DeviceId: String
3723
+ # @param Status: 订阅状态 1:关闭订阅 2:开启订阅
3724
+ # @type Status: Integer
3725
+ # @param SubscriptionItem: 订阅类型 Alarm:告警订阅 Catalog:目录订阅 MobilePosition:移动位置订阅
3726
+ # @type SubscriptionItem: String
3727
+
3728
+ attr_accessor :DeviceId, :Status, :SubscriptionItem
3729
+
3730
+ def initialize(deviceid=nil, status=nil, subscriptionitem=nil)
3731
+ @DeviceId = deviceid
3732
+ @Status = status
3733
+ @SubscriptionItem = subscriptionitem
3734
+ end
3735
+
3736
+ def deserialize(params)
3737
+ @DeviceId = params['DeviceId']
3738
+ @Status = params['Status']
3739
+ @SubscriptionItem = params['SubscriptionItem']
3740
+ end
3741
+ end
3742
+
3743
+ # ModifySubscriptionStatus返回参数结构体
3744
+ class ModifySubscriptionStatusResponse < TencentCloud::Common::AbstractModel
3745
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3746
+ # @type RequestId: String
3747
+
3748
+ attr_accessor :RequestId
3749
+
3750
+ def initialize(requestid=nil)
3751
+ @RequestId = requestid
3752
+ end
3753
+
3754
+ def deserialize(params)
3755
+ @RequestId = params['RequestId']
3756
+ end
3757
+ end
3758
+
3759
+ # ModifyVideoInfo请求参数结构体
3760
+ class ModifyVideoInfoRequest < TencentCloud::Common::AbstractModel
3761
+ # @param InitIDs: 视频ID列表长度限制100内
3762
+ # @type InitIDs: Array
3763
+ # @param ExpireTime: 过期时间 时间戳 -1: 永不过期 0: 无效值
3764
+ # @type ExpireTime: Integer
3765
+
3766
+ attr_accessor :InitIDs, :ExpireTime
3767
+
3768
+ def initialize(initids=nil, expiretime=nil)
3769
+ @InitIDs = initids
3770
+ @ExpireTime = expiretime
3771
+ end
3772
+
3773
+ def deserialize(params)
3774
+ @InitIDs = params['InitIDs']
3775
+ @ExpireTime = params['ExpireTime']
3776
+ end
3777
+ end
3778
+
3779
+ # ModifyVideoInfo返回参数结构体
3780
+ class ModifyVideoInfoResponse < TencentCloud::Common::AbstractModel
3781
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3782
+ # @type RequestId: String
3783
+
3784
+ attr_accessor :RequestId
3785
+
3786
+ def initialize(requestid=nil)
3787
+ @RequestId = requestid
3788
+ end
3789
+
3790
+ def deserialize(params)
3791
+ @RequestId = params['RequestId']
3792
+ end
3793
+ end
3794
+
2124
3795
  # 录制计划详情
2125
3796
  class RecordPlanItem < TencentCloud::Common::AbstractModel
2126
3797
  # @param PlanId: 计划ID
@@ -2232,6 +3903,56 @@ module TencentCloud
2232
3903
  end
2233
3904
  end
2234
3905
 
3906
+ # 场景列表元素
3907
+ class SceneItem < TencentCloud::Common::AbstractModel
3908
+ # @param IntId: 场景ID
3909
+ # 注意:此字段可能返回 null,表示取不到有效值。
3910
+ # @type IntId: Integer
3911
+ # @param Uin: 用户UIN
3912
+ # 注意:此字段可能返回 null,表示取不到有效值。
3913
+ # @type Uin: String
3914
+ # @param SceneName: 场景名称
3915
+ # 注意:此字段可能返回 null,表示取不到有效值。
3916
+ # @type SceneName: String
3917
+ # @param SceneTrigger: 触发规则
3918
+ # 注意:此字段可能返回 null,表示取不到有效值。
3919
+ # @type SceneTrigger: String
3920
+ # @param RecordDuration: 录制时长 秒
3921
+ # 注意:此字段可能返回 null,表示取不到有效值。
3922
+ # @type RecordDuration: Integer
3923
+ # @param StoreDuration: 存储时长 天
3924
+ # 注意:此字段可能返回 null,表示取不到有效值。
3925
+ # @type StoreDuration: Integer
3926
+ # @param CreateTime: 创建时间
3927
+ # @type CreateTime: String
3928
+ # @param UpdateTime: 修改时间
3929
+ # @type UpdateTime: String
3930
+
3931
+ attr_accessor :IntId, :Uin, :SceneName, :SceneTrigger, :RecordDuration, :StoreDuration, :CreateTime, :UpdateTime
3932
+
3933
+ def initialize(intid=nil, uin=nil, scenename=nil, scenetrigger=nil, recordduration=nil, storeduration=nil, createtime=nil, updatetime=nil)
3934
+ @IntId = intid
3935
+ @Uin = uin
3936
+ @SceneName = scenename
3937
+ @SceneTrigger = scenetrigger
3938
+ @RecordDuration = recordduration
3939
+ @StoreDuration = storeduration
3940
+ @CreateTime = createtime
3941
+ @UpdateTime = updatetime
3942
+ end
3943
+
3944
+ def deserialize(params)
3945
+ @IntId = params['IntId']
3946
+ @Uin = params['Uin']
3947
+ @SceneName = params['SceneName']
3948
+ @SceneTrigger = params['SceneTrigger']
3949
+ @RecordDuration = params['RecordDuration']
3950
+ @StoreDuration = params['StoreDuration']
3951
+ @CreateTime = params['CreateTime']
3952
+ @UpdateTime = params['UpdateTime']
3953
+ end
3954
+ end
3955
+
2235
3956
  # SIIP服务器相关配置项
2236
3957
  class ServerConfiguration < TencentCloud::Common::AbstractModel
2237
3958
  # @param Host: SIP服务器地址
@@ -2282,6 +4003,43 @@ module TencentCloud
2282
4003
  end
2283
4004
  end
2284
4005
 
4006
+ # 拉流地址,只有在推流情况下才有
4007
+ class StreamAddress < TencentCloud::Common::AbstractModel
4008
+ # @param StreamId: 流ID
4009
+ # 注意:此字段可能返回 null,表示取不到有效值。
4010
+ # @type StreamId: String
4011
+ # @param RtspAddr: rtsp流地址
4012
+ # 注意:此字段可能返回 null,表示取不到有效值。
4013
+ # @type RtspAddr: String
4014
+ # @param RtmpAddr: rtmp流地址
4015
+ # 注意:此字段可能返回 null,表示取不到有效值。
4016
+ # @type RtmpAddr: String
4017
+ # @param HlsAddr: hls流地址
4018
+ # 注意:此字段可能返回 null,表示取不到有效值。
4019
+ # @type HlsAddr: String
4020
+ # @param FlvAddr: flv流地址
4021
+ # 注意:此字段可能返回 null,表示取不到有效值。
4022
+ # @type FlvAddr: String
4023
+
4024
+ attr_accessor :StreamId, :RtspAddr, :RtmpAddr, :HlsAddr, :FlvAddr
4025
+
4026
+ def initialize(streamid=nil, rtspaddr=nil, rtmpaddr=nil, hlsaddr=nil, flvaddr=nil)
4027
+ @StreamId = streamid
4028
+ @RtspAddr = rtspaddr
4029
+ @RtmpAddr = rtmpaddr
4030
+ @HlsAddr = hlsaddr
4031
+ @FlvAddr = flvaddr
4032
+ end
4033
+
4034
+ def deserialize(params)
4035
+ @StreamId = params['StreamId']
4036
+ @RtspAddr = params['RtspAddr']
4037
+ @RtmpAddr = params['RtmpAddr']
4038
+ @HlsAddr = params['HlsAddr']
4039
+ @FlvAddr = params['FlvAddr']
4040
+ end
4041
+ end
4042
+
2285
4043
  # 时间模板详情
2286
4044
  class TimeTemplateItem < TencentCloud::Common::AbstractModel
2287
4045
  # @param TemplateId: 时间模板ID