tencentcloud-sdk-iotvideoindustry 1.0.223 → 1.0.224

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,105 @@ 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
+
346
445
  # CreateRecordPlan请求参数结构体
347
446
  class CreateRecordPlanRequest < TencentCloud::Common::AbstractModel
348
447
  # @param Name: 计划名称
@@ -402,6 +501,66 @@ module TencentCloud
402
501
  end
403
502
  end
404
503
 
504
+ # CreateScene请求参数结构体
505
+ class CreateSceneRequest < TencentCloud::Common::AbstractModel
506
+ # @param SceneName: 场景名称
507
+ # @type SceneName: String
508
+ # @param SceneTrigger: 场景触发规则
509
+ # @type SceneTrigger: String
510
+ # @param RecordDuration: 录制时长 (秒)
511
+ # @type RecordDuration: Integer
512
+ # @param StoreDuration: 录像存储时长(天)
513
+ # @type StoreDuration: Integer
514
+ # @param Devices: 设备列表
515
+ # @type Devices: Array
516
+
517
+ attr_accessor :SceneName, :SceneTrigger, :RecordDuration, :StoreDuration, :Devices
518
+
519
+ def initialize(scenename=nil, scenetrigger=nil, recordduration=nil, storeduration=nil, devices=nil)
520
+ @SceneName = scenename
521
+ @SceneTrigger = scenetrigger
522
+ @RecordDuration = recordduration
523
+ @StoreDuration = storeduration
524
+ @Devices = devices
525
+ end
526
+
527
+ def deserialize(params)
528
+ @SceneName = params['SceneName']
529
+ @SceneTrigger = params['SceneTrigger']
530
+ @RecordDuration = params['RecordDuration']
531
+ @StoreDuration = params['StoreDuration']
532
+ unless params['Devices'].nil?
533
+ @Devices = []
534
+ params['Devices'].each do |i|
535
+ deviceitem_tmp = DeviceItem.new
536
+ deviceitem_tmp.deserialize(i)
537
+ @Devices << deviceitem_tmp
538
+ end
539
+ end
540
+ end
541
+ end
542
+
543
+ # CreateScene返回参数结构体
544
+ class CreateSceneResponse < TencentCloud::Common::AbstractModel
545
+ # @param IntId: 场景ID
546
+ # 注意:此字段可能返回 null,表示取不到有效值。
547
+ # @type IntId: Integer
548
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
549
+ # @type RequestId: String
550
+
551
+ attr_accessor :IntId, :RequestId
552
+
553
+ def initialize(intid=nil, requestid=nil)
554
+ @IntId = intid
555
+ @RequestId = requestid
556
+ end
557
+
558
+ def deserialize(params)
559
+ @IntId = params['IntId']
560
+ @RequestId = params['RequestId']
561
+ end
562
+ end
563
+
405
564
  # CreateTimeTemplate请求参数结构体
406
565
  class CreateTimeTemplateRequest < TencentCloud::Common::AbstractModel
407
566
  # @param Name: 时间模板名称
@@ -453,6 +612,42 @@ module TencentCloud
453
612
  end
454
613
  end
455
614
 
615
+ # DeleteChannel请求参数结构体
616
+ class DeleteChannelRequest < TencentCloud::Common::AbstractModel
617
+ # @param DeviceId: 设备ID
618
+ # @type DeviceId: String
619
+ # @param ChannelId: 通道ID
620
+ # @type ChannelId: String
621
+
622
+ attr_accessor :DeviceId, :ChannelId
623
+
624
+ def initialize(deviceid=nil, channelid=nil)
625
+ @DeviceId = deviceid
626
+ @ChannelId = channelid
627
+ end
628
+
629
+ def deserialize(params)
630
+ @DeviceId = params['DeviceId']
631
+ @ChannelId = params['ChannelId']
632
+ end
633
+ end
634
+
635
+ # DeleteChannel返回参数结构体
636
+ class DeleteChannelResponse < TencentCloud::Common::AbstractModel
637
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
638
+ # @type RequestId: String
639
+
640
+ attr_accessor :RequestId
641
+
642
+ def initialize(requestid=nil)
643
+ @RequestId = requestid
644
+ end
645
+
646
+ def deserialize(params)
647
+ @RequestId = params['RequestId']
648
+ end
649
+ end
650
+
456
651
  # DeleteDeviceGroup请求参数结构体
457
652
  class DeleteDeviceGroupRequest < TencentCloud::Common::AbstractModel
458
653
  # @param GroupId: 分组ID
@@ -527,6 +722,106 @@ module TencentCloud
527
722
  end
528
723
  end
529
724
 
725
+ # DeleteLiveChannel请求参数结构体
726
+ class DeleteLiveChannelRequest < TencentCloud::Common::AbstractModel
727
+ # @param LiveChannelId: 直播频道ID
728
+ # @type LiveChannelId: String
729
+
730
+ attr_accessor :LiveChannelId
731
+
732
+ def initialize(livechannelid=nil)
733
+ @LiveChannelId = livechannelid
734
+ end
735
+
736
+ def deserialize(params)
737
+ @LiveChannelId = params['LiveChannelId']
738
+ end
739
+ end
740
+
741
+ # DeleteLiveChannel返回参数结构体
742
+ class DeleteLiveChannelResponse < TencentCloud::Common::AbstractModel
743
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
744
+ # @type RequestId: String
745
+
746
+ attr_accessor :RequestId
747
+
748
+ def initialize(requestid=nil)
749
+ @RequestId = requestid
750
+ end
751
+
752
+ def deserialize(params)
753
+ @RequestId = params['RequestId']
754
+ end
755
+ end
756
+
757
+ # DeleteLiveRecordPlan请求参数结构体
758
+ class DeleteLiveRecordPlanRequest < TencentCloud::Common::AbstractModel
759
+ # @param PlanId: 录制计划ID
760
+ # @type PlanId: String
761
+
762
+ attr_accessor :PlanId
763
+
764
+ def initialize(planid=nil)
765
+ @PlanId = planid
766
+ end
767
+
768
+ def deserialize(params)
769
+ @PlanId = params['PlanId']
770
+ end
771
+ end
772
+
773
+ # DeleteLiveRecordPlan返回参数结构体
774
+ class DeleteLiveRecordPlanResponse < TencentCloud::Common::AbstractModel
775
+ # @param Status: 删除状态描述
776
+ # @type Status: String
777
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
778
+ # @type RequestId: String
779
+
780
+ attr_accessor :Status, :RequestId
781
+
782
+ def initialize(status=nil, requestid=nil)
783
+ @Status = status
784
+ @RequestId = requestid
785
+ end
786
+
787
+ def deserialize(params)
788
+ @Status = params['Status']
789
+ @RequestId = params['RequestId']
790
+ end
791
+ end
792
+
793
+ # DeleteLiveVideoList请求参数结构体
794
+ class DeleteLiveVideoListRequest < TencentCloud::Common::AbstractModel
795
+ # @param IntIDs: 视频ID 列表, 大小限制(100)
796
+ # @type IntIDs: Array
797
+
798
+ attr_accessor :IntIDs
799
+
800
+ def initialize(intids=nil)
801
+ @IntIDs = intids
802
+ end
803
+
804
+ def deserialize(params)
805
+ @IntIDs = params['IntIDs']
806
+ end
807
+ end
808
+
809
+ # DeleteLiveVideoList返回参数结构体
810
+ class DeleteLiveVideoListResponse < TencentCloud::Common::AbstractModel
811
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
812
+ # @type RequestId: String
813
+
814
+ attr_accessor :RequestId
815
+
816
+ def initialize(requestid=nil)
817
+ @RequestId = requestid
818
+ end
819
+
820
+ def deserialize(params)
821
+ @RequestId = params['RequestId']
822
+ end
823
+ end
824
+
530
825
  # DeleteRecordPlan请求参数结构体
531
826
  class DeleteRecordPlanRequest < TencentCloud::Common::AbstractModel
532
827
  # @param PlanId: 录制计划ID
@@ -563,6 +858,38 @@ module TencentCloud
563
858
  end
564
859
  end
565
860
 
861
+ # DeleteScene请求参数结构体
862
+ class DeleteSceneRequest < TencentCloud::Common::AbstractModel
863
+ # @param IntId: 场景ID
864
+ # @type IntId: Integer
865
+
866
+ attr_accessor :IntId
867
+
868
+ def initialize(intid=nil)
869
+ @IntId = intid
870
+ end
871
+
872
+ def deserialize(params)
873
+ @IntId = params['IntId']
874
+ end
875
+ end
876
+
877
+ # DeleteScene返回参数结构体
878
+ class DeleteSceneResponse < TencentCloud::Common::AbstractModel
879
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
880
+ # @type RequestId: String
881
+
882
+ attr_accessor :RequestId
883
+
884
+ def initialize(requestid=nil)
885
+ @RequestId = requestid
886
+ end
887
+
888
+ def deserialize(params)
889
+ @RequestId = params['RequestId']
890
+ end
891
+ end
892
+
566
893
  # DeleteTimeTemplate请求参数结构体
567
894
  class DeleteTimeTemplateRequest < TencentCloud::Common::AbstractModel
568
895
  # @param TemplateId: 时间模板ID
@@ -600,6 +927,38 @@ module TencentCloud
600
927
  end
601
928
  end
602
929
 
930
+ # DeleteVideoList请求参数结构体
931
+ class DeleteVideoListRequest < TencentCloud::Common::AbstractModel
932
+ # @param InitIDs: 视频ID列表长度限制100内
933
+ # @type InitIDs: Array
934
+
935
+ attr_accessor :InitIDs
936
+
937
+ def initialize(initids=nil)
938
+ @InitIDs = initids
939
+ end
940
+
941
+ def deserialize(params)
942
+ @InitIDs = params['InitIDs']
943
+ end
944
+ end
945
+
946
+ # DeleteVideoList返回参数结构体
947
+ class DeleteVideoListResponse < TencentCloud::Common::AbstractModel
948
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
949
+ # @type RequestId: String
950
+
951
+ attr_accessor :RequestId
952
+
953
+ def initialize(requestid=nil)
954
+ @RequestId = requestid
955
+ end
956
+
957
+ def deserialize(params)
958
+ @RequestId = params['RequestId']
959
+ end
960
+ end
961
+
603
962
  # DescribeAllDeviceList请求参数结构体
604
963
  class DescribeAllDeviceListRequest < TencentCloud::Common::AbstractModel
605
964
  # @param Offset: 偏移量,默认0
@@ -665,27 +1024,141 @@ module TencentCloud
665
1024
  end
666
1025
  end
667
1026
 
668
- # DescribeDeviceGroup请求参数结构体
669
- class DescribeDeviceGroupRequest < TencentCloud::Common::AbstractModel
670
- # @param DeviceIds: 设备唯一标识列表
671
- # @type DeviceIds: Array
1027
+ # DescribeBindSceneDevices请求参数结构体
1028
+ class DescribeBindSceneDevicesRequest < TencentCloud::Common::AbstractModel
1029
+ # @param SceneId: 场景ID
1030
+ # @type SceneId: Integer
1031
+ # @param Offset: 偏移值
1032
+ # @type Offset: Integer
1033
+ # @param Limit: 条数限制最大不能超过1000
1034
+ # @type Limit: Integer
672
1035
 
673
- attr_accessor :DeviceIds
1036
+ attr_accessor :SceneId, :Offset, :Limit
674
1037
 
675
- def initialize(deviceids=nil)
676
- @DeviceIds = deviceids
1038
+ def initialize(sceneid=nil, offset=nil, limit=nil)
1039
+ @SceneId = sceneid
1040
+ @Offset = offset
1041
+ @Limit = limit
677
1042
  end
678
1043
 
679
1044
  def deserialize(params)
680
- @DeviceIds = params['DeviceIds']
1045
+ @SceneId = params['SceneId']
1046
+ @Offset = params['Offset']
1047
+ @Limit = params['Limit']
681
1048
  end
682
1049
  end
683
1050
 
684
- # DescribeDeviceGroup返回参数结构体
685
- class DescribeDeviceGroupResponse < TencentCloud::Common::AbstractModel
686
- # @param DevGroups: 设备所在分组信息
1051
+ # DescribeBindSceneDevices返回参数结构体
1052
+ class DescribeBindSceneDevicesResponse < TencentCloud::Common::AbstractModel
1053
+ # @param Total: 总数
687
1054
  # 注意:此字段可能返回 null,表示取不到有效值。
688
- # @type DevGroups: Array
1055
+ # @type Total: Integer
1056
+ # @param List: 设备列表
1057
+ # 注意:此字段可能返回 null,表示取不到有效值。
1058
+ # @type List: Array
1059
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1060
+ # @type RequestId: String
1061
+
1062
+ attr_accessor :Total, :List, :RequestId
1063
+
1064
+ def initialize(total=nil, list=nil, requestid=nil)
1065
+ @Total = total
1066
+ @List = list
1067
+ @RequestId = requestid
1068
+ end
1069
+
1070
+ def deserialize(params)
1071
+ @Total = params['Total']
1072
+ unless params['List'].nil?
1073
+ @List = []
1074
+ params['List'].each do |i|
1075
+ deviceitem_tmp = DeviceItem.new
1076
+ deviceitem_tmp.deserialize(i)
1077
+ @List << deviceitem_tmp
1078
+ end
1079
+ end
1080
+ @RequestId = params['RequestId']
1081
+ end
1082
+ end
1083
+
1084
+ # DescribeChannelsByLiveRecordPlan请求参数结构体
1085
+ class DescribeChannelsByLiveRecordPlanRequest < TencentCloud::Common::AbstractModel
1086
+ # @param PlanId: 录制计划ID
1087
+ # @type PlanId: String
1088
+ # @param Offset: 分页偏移量
1089
+ # @type Offset: Integer
1090
+ # @param Limit: 分页大小
1091
+ # @type Limit: Integer
1092
+
1093
+ attr_accessor :PlanId, :Offset, :Limit
1094
+
1095
+ def initialize(planid=nil, offset=nil, limit=nil)
1096
+ @PlanId = planid
1097
+ @Offset = offset
1098
+ @Limit = limit
1099
+ end
1100
+
1101
+ def deserialize(params)
1102
+ @PlanId = params['PlanId']
1103
+ @Offset = params['Offset']
1104
+ @Limit = params['Limit']
1105
+ end
1106
+ end
1107
+
1108
+ # DescribeChannelsByLiveRecordPlan返回参数结构体
1109
+ class DescribeChannelsByLiveRecordPlanResponse < TencentCloud::Common::AbstractModel
1110
+ # @param TotalCount: 总个数
1111
+ # 注意:此字段可能返回 null,表示取不到有效值。
1112
+ # @type TotalCount: Integer
1113
+ # @param LiveChannels: 通道详情数组
1114
+ # 注意:此字段可能返回 null,表示取不到有效值。
1115
+ # @type LiveChannels: Array
1116
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1117
+ # @type RequestId: String
1118
+
1119
+ attr_accessor :TotalCount, :LiveChannels, :RequestId
1120
+
1121
+ def initialize(totalcount=nil, livechannels=nil, requestid=nil)
1122
+ @TotalCount = totalcount
1123
+ @LiveChannels = livechannels
1124
+ @RequestId = requestid
1125
+ end
1126
+
1127
+ def deserialize(params)
1128
+ @TotalCount = params['TotalCount']
1129
+ unless params['LiveChannels'].nil?
1130
+ @LiveChannels = []
1131
+ params['LiveChannels'].each do |i|
1132
+ livechannelitem_tmp = LiveChannelItem.new
1133
+ livechannelitem_tmp.deserialize(i)
1134
+ @LiveChannels << livechannelitem_tmp
1135
+ end
1136
+ end
1137
+ @RequestId = params['RequestId']
1138
+ end
1139
+ end
1140
+
1141
+ # DescribeDeviceGroup请求参数结构体
1142
+ class DescribeDeviceGroupRequest < TencentCloud::Common::AbstractModel
1143
+ # @param DeviceIds: 设备唯一标识列表
1144
+ # @type DeviceIds: Array
1145
+
1146
+ attr_accessor :DeviceIds
1147
+
1148
+ def initialize(deviceids=nil)
1149
+ @DeviceIds = deviceids
1150
+ end
1151
+
1152
+ def deserialize(params)
1153
+ @DeviceIds = params['DeviceIds']
1154
+ end
1155
+ end
1156
+
1157
+ # DescribeDeviceGroup返回参数结构体
1158
+ class DescribeDeviceGroupResponse < TencentCloud::Common::AbstractModel
1159
+ # @param DevGroups: 设备所在分组信息
1160
+ # 注意:此字段可能返回 null,表示取不到有效值。
1161
+ # @type DevGroups: Array
689
1162
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
690
1163
  # @type RequestId: String
691
1164
 
@@ -1075,192 +1548,658 @@ module TencentCloud
1075
1548
  end
1076
1549
  end
1077
1550
 
1078
- # DescribeRecordStreamData 复杂类型
1079
- class DescribeRecordStreamData < TencentCloud::Common::AbstractModel
1080
- # @param RtspAddr: Rtsp地址
1081
- # @type RtspAddr: String
1082
- # @param RtmpAddr: Rtmp地址
1083
- # @type RtmpAddr: String
1084
- # @param HlsAddr: Hls地址
1085
- # @type HlsAddr: String
1086
- # @param FlvAddr: Flv地址
1087
- # @type FlvAddr: String
1088
- # @param StreamId: 流Id
1089
- # @type StreamId: String
1551
+ # DescribeLiveChannelList请求参数结构体
1552
+ class DescribeLiveChannelListRequest < TencentCloud::Common::AbstractModel
1553
+ # @param Offset: 偏移量
1554
+ # @type Offset: Integer
1555
+ # @param Limit: 最大数
1556
+ # @type Limit: Integer
1557
+ # @param LiveChannelType: 直播频道类型,1:固定直播;2:移动直播
1558
+ # @type LiveChannelType: Integer
1559
+ # @param RecordPlanId: 直播录制计划ID, null: 直播录制计划为空
1560
+ # @type RecordPlanId: String
1561
+ # @param LiveChannelName: 频道名称 (支持模糊搜索)
1562
+ # @type LiveChannelName: String
1090
1563
 
1091
- attr_accessor :RtspAddr, :RtmpAddr, :HlsAddr, :FlvAddr, :StreamId
1564
+ attr_accessor :Offset, :Limit, :LiveChannelType, :RecordPlanId, :LiveChannelName
1092
1565
 
1093
- def initialize(rtspaddr=nil, rtmpaddr=nil, hlsaddr=nil, flvaddr=nil, streamid=nil)
1094
- @RtspAddr = rtspaddr
1095
- @RtmpAddr = rtmpaddr
1096
- @HlsAddr = hlsaddr
1097
- @FlvAddr = flvaddr
1098
- @StreamId = streamid
1566
+ def initialize(offset=nil, limit=nil, livechanneltype=nil, recordplanid=nil, livechannelname=nil)
1567
+ @Offset = offset
1568
+ @Limit = limit
1569
+ @LiveChannelType = livechanneltype
1570
+ @RecordPlanId = recordplanid
1571
+ @LiveChannelName = livechannelname
1099
1572
  end
1100
1573
 
1101
1574
  def deserialize(params)
1102
- @RtspAddr = params['RtspAddr']
1103
- @RtmpAddr = params['RtmpAddr']
1104
- @HlsAddr = params['HlsAddr']
1105
- @FlvAddr = params['FlvAddr']
1106
- @StreamId = params['StreamId']
1575
+ @Offset = params['Offset']
1576
+ @Limit = params['Limit']
1577
+ @LiveChannelType = params['LiveChannelType']
1578
+ @RecordPlanId = params['RecordPlanId']
1579
+ @LiveChannelName = params['LiveChannelName']
1107
1580
  end
1108
1581
  end
1109
1582
 
1110
- # DescribeRecordStream请求参数结构体
1111
- class DescribeRecordStreamRequest < TencentCloud::Common::AbstractModel
1112
- # @param DeviceId: 设备Id
1113
- # @type DeviceId: String
1114
- # @param ExpireTime: 流失效时间
1115
- # @type ExpireTime: Integer
1116
- # @param RecordId: 录像文件Id
1117
- # @type RecordId: String
1118
- # @param StartTime: 录像流开始时间,当录像文件Id为空时有效
1119
- # @type StartTime: Integer
1120
- # @param EndTime: 录像流结束时间,当录像文件Id为空时有效
1121
- # @type EndTime: Integer
1122
- # @param ChannelId: 通道唯一标识
1123
- # @type ChannelId: String
1583
+ # DescribeLiveChannelList返回参数结构体
1584
+ class DescribeLiveChannelListResponse < TencentCloud::Common::AbstractModel
1585
+ # @param Total: 频道总数
1586
+ # 注意:此字段可能返回 null,表示取不到有效值。
1587
+ # @type Total: Integer
1588
+ # @param LiveChannels: 频道信息数组
1589
+ # 注意:此字段可能返回 null,表示取不到有效值。
1590
+ # @type LiveChannels: Array
1591
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1592
+ # @type RequestId: String
1124
1593
 
1125
- attr_accessor :DeviceId, :ExpireTime, :RecordId, :StartTime, :EndTime, :ChannelId
1594
+ attr_accessor :Total, :LiveChannels, :RequestId
1126
1595
 
1127
- def initialize(deviceid=nil, expiretime=nil, recordid=nil, starttime=nil, endtime=nil, channelid=nil)
1128
- @DeviceId = deviceid
1129
- @ExpireTime = expiretime
1130
- @RecordId = recordid
1131
- @StartTime = starttime
1132
- @EndTime = endtime
1133
- @ChannelId = channelid
1596
+ def initialize(total=nil, livechannels=nil, requestid=nil)
1597
+ @Total = total
1598
+ @LiveChannels = livechannels
1599
+ @RequestId = requestid
1134
1600
  end
1135
1601
 
1136
1602
  def deserialize(params)
1137
- @DeviceId = params['DeviceId']
1138
- @ExpireTime = params['ExpireTime']
1139
- @RecordId = params['RecordId']
1140
- @StartTime = params['StartTime']
1141
- @EndTime = params['EndTime']
1142
- @ChannelId = params['ChannelId']
1603
+ @Total = params['Total']
1604
+ unless params['LiveChannels'].nil?
1605
+ @LiveChannels = []
1606
+ params['LiveChannels'].each do |i|
1607
+ livechannelinfo_tmp = LiveChannelInfo.new
1608
+ livechannelinfo_tmp.deserialize(i)
1609
+ @LiveChannels << livechannelinfo_tmp
1610
+ end
1611
+ end
1612
+ @RequestId = params['RequestId']
1143
1613
  end
1144
1614
  end
1145
1615
 
1146
- # DescribeRecordStream返回参数结构体
1147
- class DescribeRecordStreamResponse < TencentCloud::Common::AbstractModel
1148
- # @param Data: 结果
1149
- # @type Data: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.DescribeRecordStreamData`
1616
+ # DescribeLiveChannel请求参数结构体
1617
+ class DescribeLiveChannelRequest < TencentCloud::Common::AbstractModel
1618
+ # @param LiveChannelId: 频道ID
1619
+ # @type LiveChannelId: String
1620
+
1621
+ attr_accessor :LiveChannelId
1622
+
1623
+ def initialize(livechannelid=nil)
1624
+ @LiveChannelId = livechannelid
1625
+ end
1626
+
1627
+ def deserialize(params)
1628
+ @LiveChannelId = params['LiveChannelId']
1629
+ end
1630
+ end
1631
+
1632
+ # DescribeLiveChannel返回参数结构体
1633
+ class DescribeLiveChannelResponse < TencentCloud::Common::AbstractModel
1634
+ # @param LiveChannelId: 频道ID
1635
+ # 注意:此字段可能返回 null,表示取不到有效值。
1636
+ # @type LiveChannelId: String
1637
+ # @param LiveChannelName: 频道名称
1638
+ # 注意:此字段可能返回 null,表示取不到有效值。
1639
+ # @type LiveChannelName: String
1640
+ # @param LiveChannelType: 直播频道类型 1:固定直播;2:移动直播
1641
+ # 注意:此字段可能返回 null,表示取不到有效值。
1642
+ # @type LiveChannelType: Integer
1643
+ # @param LiveStatus: 通道直播状态:1: 未推流,2: 推流中
1644
+ # 注意:此字段可能返回 null,表示取不到有效值。
1645
+ # @type LiveStatus: Integer
1646
+ # @param PushStreamAddress: 推流地址
1647
+ # 注意:此字段可能返回 null,表示取不到有效值。
1648
+ # @type PushStreamAddress: String
1649
+ # @param CreateTime: 创建时间
1650
+ # 注意:此字段可能返回 null,表示取不到有效值。
1651
+ # @type CreateTime: Array
1652
+ # @param UpdateTime: 修改时间
1653
+ # 注意:此字段可能返回 null,表示取不到有效值。
1654
+ # @type UpdateTime: Array
1150
1655
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1151
1656
  # @type RequestId: String
1152
1657
 
1153
- attr_accessor :Data, :RequestId
1658
+ attr_accessor :LiveChannelId, :LiveChannelName, :LiveChannelType, :LiveStatus, :PushStreamAddress, :CreateTime, :UpdateTime, :RequestId
1154
1659
 
1155
- def initialize(data=nil, requestid=nil)
1156
- @Data = data
1660
+ def initialize(livechannelid=nil, livechannelname=nil, livechanneltype=nil, livestatus=nil, pushstreamaddress=nil, createtime=nil, updatetime=nil, requestid=nil)
1661
+ @LiveChannelId = livechannelid
1662
+ @LiveChannelName = livechannelname
1663
+ @LiveChannelType = livechanneltype
1664
+ @LiveStatus = livestatus
1665
+ @PushStreamAddress = pushstreamaddress
1666
+ @CreateTime = createtime
1667
+ @UpdateTime = updatetime
1157
1668
  @RequestId = requestid
1158
1669
  end
1159
1670
 
1160
1671
  def deserialize(params)
1161
- unless params['Data'].nil?
1162
- @Data = DescribeRecordStreamData.new
1163
- @Data.deserialize(params['Data'])
1164
- end
1672
+ @LiveChannelId = params['LiveChannelId']
1673
+ @LiveChannelName = params['LiveChannelName']
1674
+ @LiveChannelType = params['LiveChannelType']
1675
+ @LiveStatus = params['LiveStatus']
1676
+ @PushStreamAddress = params['PushStreamAddress']
1677
+ @CreateTime = params['CreateTime']
1678
+ @UpdateTime = params['UpdateTime']
1165
1679
  @RequestId = params['RequestId']
1166
1680
  end
1167
1681
  end
1168
1682
 
1169
- # DescribeSIPServer请求参数结构体
1170
- class DescribeSIPServerRequest < TencentCloud::Common::AbstractModel
1683
+ # DescribeLiveRecordPlanById请求参数结构体
1684
+ class DescribeLiveRecordPlanByIdRequest < TencentCloud::Common::AbstractModel
1685
+ # @param PlanId: 录制计划ID
1686
+ # @type PlanId: String
1171
1687
 
1688
+ attr_accessor :PlanId
1172
1689
 
1173
- def initialize()
1690
+ def initialize(planid=nil)
1691
+ @PlanId = planid
1174
1692
  end
1175
1693
 
1176
1694
  def deserialize(params)
1695
+ @PlanId = params['PlanId']
1177
1696
  end
1178
1697
  end
1179
1698
 
1180
- # DescribeSIPServer返回参数结构体
1181
- class DescribeSIPServerResponse < TencentCloud::Common::AbstractModel
1182
- # @param Data: SIP服务器相关配置项
1183
- # @type Data: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.ServerConfiguration`
1699
+ # DescribeLiveRecordPlanById返回参数结构体
1700
+ class DescribeLiveRecordPlanByIdResponse < TencentCloud::Common::AbstractModel
1701
+ # @param PlanName: 计划名称
1702
+ # @type PlanName: String
1703
+ # @param TemplateId: 模板ID
1704
+ # @type TemplateId: String
1705
+ # @param TemplateName: 模板名称
1706
+ # @type TemplateName: String
1707
+ # @param RecordStorageTime: 存储时间
1708
+ # @type RecordStorageTime: Integer
1709
+ # @param PlanType: 计划类型
1710
+ # @type PlanType: Integer
1184
1711
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1185
1712
  # @type RequestId: String
1186
1713
 
1187
- attr_accessor :Data, :RequestId
1714
+ attr_accessor :PlanName, :TemplateId, :TemplateName, :RecordStorageTime, :PlanType, :RequestId
1188
1715
 
1189
- def initialize(data=nil, requestid=nil)
1190
- @Data = data
1716
+ def initialize(planname=nil, templateid=nil, templatename=nil, recordstoragetime=nil, plantype=nil, requestid=nil)
1717
+ @PlanName = planname
1718
+ @TemplateId = templateid
1719
+ @TemplateName = templatename
1720
+ @RecordStorageTime = recordstoragetime
1721
+ @PlanType = plantype
1191
1722
  @RequestId = requestid
1192
1723
  end
1193
1724
 
1194
1725
  def deserialize(params)
1195
- unless params['Data'].nil?
1196
- @Data = ServerConfiguration.new
1197
- @Data.deserialize(params['Data'])
1198
- end
1726
+ @PlanName = params['PlanName']
1727
+ @TemplateId = params['TemplateId']
1728
+ @TemplateName = params['TemplateName']
1729
+ @RecordStorageTime = params['RecordStorageTime']
1730
+ @PlanType = params['PlanType']
1199
1731
  @RequestId = params['RequestId']
1200
1732
  end
1201
1733
  end
1202
1734
 
1203
- # DescribeStatisticDetails请求参数结构体
1204
- class DescribeStatisticDetailsRequest < TencentCloud::Common::AbstractModel
1205
- # @param StartDate: 开始日期,格式【YYYY-MM-DD】
1206
- # @type StartDate: String
1207
- # @param EndDate: 结束日期,格式【YYYY-MM-DD】
1208
- # @type EndDate: String
1209
- # @param StatisticField: 统计项。取值范围:
1210
- # 1.录制设备数:RecordingDevice
1211
- # 2.非录制设备数:NonRecordingDevice
1212
- # 3.观看流量总数:WatchFlux
1213
- # 4.已用存储容量总数:StorageUsage
1214
- # 5. X-P2P分享流量: P2PFluxTotal
1215
- # 6. X-P2P峰值带宽: P2PPeakValue
1216
- # 7. RTMP推流路数(直播推流): LivePushTotal
1217
- # @type StatisticField: String
1735
+ # DescribeLiveRecordPlanIds请求参数结构体
1736
+ class DescribeLiveRecordPlanIdsRequest < TencentCloud::Common::AbstractModel
1737
+ # @param TemplateId: 时间模板ID
1738
+ # @type TemplateId: String
1739
+ # @param Offset: 分页偏移量
1740
+ # @type Offset: Integer
1741
+ # @param Limit: 分页大小
1742
+ # @type Limit: Integer
1218
1743
 
1219
- attr_accessor :StartDate, :EndDate, :StatisticField
1744
+ attr_accessor :TemplateId, :Offset, :Limit
1220
1745
 
1221
- def initialize(startdate=nil, enddate=nil, statisticfield=nil)
1222
- @StartDate = startdate
1223
- @EndDate = enddate
1224
- @StatisticField = statisticfield
1746
+ def initialize(templateid=nil, offset=nil, limit=nil)
1747
+ @TemplateId = templateid
1748
+ @Offset = offset
1749
+ @Limit = limit
1225
1750
  end
1226
1751
 
1227
1752
  def deserialize(params)
1228
- @StartDate = params['StartDate']
1229
- @EndDate = params['EndDate']
1230
- @StatisticField = params['StatisticField']
1753
+ @TemplateId = params['TemplateId']
1754
+ @Offset = params['Offset']
1755
+ @Limit = params['Limit']
1231
1756
  end
1232
1757
  end
1233
1758
 
1234
- # DescribeStatisticDetails返回参数结构体
1235
- class DescribeStatisticDetailsResponse < TencentCloud::Common::AbstractModel
1236
- # @param Data: 统计详情列表
1237
- # 注意:此字段可能返回 null,表示取不到有效值。
1238
- # @type Data: Array
1759
+ # DescribeLiveRecordPlanIds返回参数结构体
1760
+ class DescribeLiveRecordPlanIdsResponse < TencentCloud::Common::AbstractModel
1761
+ # @param TotalCount: 总个数
1762
+ # @type TotalCount: Integer
1763
+ # @param Plans: 计划数组
1764
+ # @type Plans: Array
1239
1765
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1240
1766
  # @type RequestId: String
1241
1767
 
1242
- attr_accessor :Data, :RequestId
1768
+ attr_accessor :TotalCount, :Plans, :RequestId
1243
1769
 
1244
- def initialize(data=nil, requestid=nil)
1245
- @Data = data
1770
+ def initialize(totalcount=nil, plans=nil, requestid=nil)
1771
+ @TotalCount = totalcount
1772
+ @Plans = plans
1246
1773
  @RequestId = requestid
1247
1774
  end
1248
1775
 
1249
1776
  def deserialize(params)
1250
- unless params['Data'].nil?
1251
- @Data = []
1252
- params['Data'].each do |i|
1253
- statisticitem_tmp = StatisticItem.new
1254
- statisticitem_tmp.deserialize(i)
1255
- @Data << statisticitem_tmp
1777
+ @TotalCount = params['TotalCount']
1778
+ unless params['Plans'].nil?
1779
+ @Plans = []
1780
+ params['Plans'].each do |i|
1781
+ liverecordplanitem_tmp = LiveRecordPlanItem.new
1782
+ liverecordplanitem_tmp.deserialize(i)
1783
+ @Plans << liverecordplanitem_tmp
1256
1784
  end
1257
1785
  end
1258
1786
  @RequestId = params['RequestId']
1259
1787
  end
1260
1788
  end
1261
1789
 
1262
- # DescribeStatisticSummary请求参数结构体
1263
- class DescribeStatisticSummaryRequest < TencentCloud::Common::AbstractModel
1790
+ # DescribeLiveStream请求参数结构体
1791
+ class DescribeLiveStreamRequest < TencentCloud::Common::AbstractModel
1792
+ # @param LiveChannelId: 频道ID
1793
+ # @type LiveChannelId: String
1794
+ # @param ExpireTime: 过期时间
1795
+ # @type ExpireTime: Integer
1796
+
1797
+ attr_accessor :LiveChannelId, :ExpireTime
1798
+
1799
+ def initialize(livechannelid=nil, expiretime=nil)
1800
+ @LiveChannelId = livechannelid
1801
+ @ExpireTime = expiretime
1802
+ end
1803
+
1804
+ def deserialize(params)
1805
+ @LiveChannelId = params['LiveChannelId']
1806
+ @ExpireTime = params['ExpireTime']
1807
+ end
1808
+ end
1809
+
1810
+ # DescribeLiveStream返回参数结构体
1811
+ class DescribeLiveStreamResponse < TencentCloud::Common::AbstractModel
1812
+ # @param Data: 拉流地址,只有在推流情况下才有
1813
+ # 注意:此字段可能返回 null,表示取不到有效值。
1814
+ # @type Data: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.StreamAddress`
1815
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1816
+ # @type RequestId: String
1817
+
1818
+ attr_accessor :Data, :RequestId
1819
+
1820
+ def initialize(data=nil, requestid=nil)
1821
+ @Data = data
1822
+ @RequestId = requestid
1823
+ end
1824
+
1825
+ def deserialize(params)
1826
+ unless params['Data'].nil?
1827
+ @Data = StreamAddress.new
1828
+ @Data.deserialize(params['Data'])
1829
+ end
1830
+ @RequestId = params['RequestId']
1831
+ end
1832
+ end
1833
+
1834
+ # DescribeLiveVideoList请求参数结构体
1835
+ class DescribeLiveVideoListRequest < TencentCloud::Common::AbstractModel
1836
+ # @param Offset: 偏移量
1837
+ # @type Offset: Integer
1838
+ # @param Limit: 分页的每页数量
1839
+ # @type Limit: Integer
1840
+ # @param LiveChannelId: 直播ID
1841
+ # @type LiveChannelId: String
1842
+ # @param StartRecordTime: 开始录制开始时间
1843
+ # @type StartRecordTime: Integer
1844
+ # @param EndRecordTime: 开始录制结束时间
1845
+ # @type EndRecordTime: Integer
1846
+ # @param StartExpireTime: 过期开始时间
1847
+ # @type StartExpireTime: Integer
1848
+ # @param EndExpireTime: 过期结束时间
1849
+ # @type EndExpireTime: Integer
1850
+ # @param StartFileSize: 文件大小范围 Byte
1851
+ # @type StartFileSize: Integer
1852
+ # @param EndFileSize: 文件大小范围 Byte
1853
+ # @type EndFileSize: Integer
1854
+ # @param IsRecording: 录制状态,5: 录制回写完
1855
+ # @type IsRecording: Integer
1856
+
1857
+ attr_accessor :Offset, :Limit, :LiveChannelId, :StartRecordTime, :EndRecordTime, :StartExpireTime, :EndExpireTime, :StartFileSize, :EndFileSize, :IsRecording
1858
+
1859
+ def initialize(offset=nil, limit=nil, livechannelid=nil, startrecordtime=nil, endrecordtime=nil, startexpiretime=nil, endexpiretime=nil, startfilesize=nil, endfilesize=nil, isrecording=nil)
1860
+ @Offset = offset
1861
+ @Limit = limit
1862
+ @LiveChannelId = livechannelid
1863
+ @StartRecordTime = startrecordtime
1864
+ @EndRecordTime = endrecordtime
1865
+ @StartExpireTime = startexpiretime
1866
+ @EndExpireTime = endexpiretime
1867
+ @StartFileSize = startfilesize
1868
+ @EndFileSize = endfilesize
1869
+ @IsRecording = isrecording
1870
+ end
1871
+
1872
+ def deserialize(params)
1873
+ @Offset = params['Offset']
1874
+ @Limit = params['Limit']
1875
+ @LiveChannelId = params['LiveChannelId']
1876
+ @StartRecordTime = params['StartRecordTime']
1877
+ @EndRecordTime = params['EndRecordTime']
1878
+ @StartExpireTime = params['StartExpireTime']
1879
+ @EndExpireTime = params['EndExpireTime']
1880
+ @StartFileSize = params['StartFileSize']
1881
+ @EndFileSize = params['EndFileSize']
1882
+ @IsRecording = params['IsRecording']
1883
+ end
1884
+ end
1885
+
1886
+ # DescribeLiveVideoList返回参数结构体
1887
+ class DescribeLiveVideoListResponse < TencentCloud::Common::AbstractModel
1888
+ # @param Total: 总的条数
1889
+ # 注意:此字段可能返回 null,表示取不到有效值。
1890
+ # @type Total: Integer
1891
+ # @param RecordList: 录制任务详情数组
1892
+ # 注意:此字段可能返回 null,表示取不到有效值。
1893
+ # @type RecordList: Array
1894
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1895
+ # @type RequestId: String
1896
+
1897
+ attr_accessor :Total, :RecordList, :RequestId
1898
+
1899
+ def initialize(total=nil, recordlist=nil, requestid=nil)
1900
+ @Total = total
1901
+ @RecordList = recordlist
1902
+ @RequestId = requestid
1903
+ end
1904
+
1905
+ def deserialize(params)
1906
+ @Total = params['Total']
1907
+ unless params['RecordList'].nil?
1908
+ @RecordList = []
1909
+ params['RecordList'].each do |i|
1910
+ liverecorditem_tmp = LiveRecordItem.new
1911
+ liverecorditem_tmp.deserialize(i)
1912
+ @RecordList << liverecorditem_tmp
1913
+ end
1914
+ end
1915
+ @RequestId = params['RequestId']
1916
+ end
1917
+ end
1918
+
1919
+ # DescribeRecordDatesByLive请求参数结构体
1920
+ class DescribeRecordDatesByLiveRequest < TencentCloud::Common::AbstractModel
1921
+ # @param LiveChannelId: 直播频道ID
1922
+ # @type LiveChannelId: String
1923
+ # @param Offset: 分页值,本地录制时参数无效
1924
+ # @type Offset: Integer
1925
+ # @param Limit: 限制值,本地录制时参数无效
1926
+ # @type Limit: Integer
1927
+
1928
+ attr_accessor :LiveChannelId, :Offset, :Limit
1929
+
1930
+ def initialize(livechannelid=nil, offset=nil, limit=nil)
1931
+ @LiveChannelId = livechannelid
1932
+ @Offset = offset
1933
+ @Limit = limit
1934
+ end
1935
+
1936
+ def deserialize(params)
1937
+ @LiveChannelId = params['LiveChannelId']
1938
+ @Offset = params['Offset']
1939
+ @Limit = params['Limit']
1940
+ end
1941
+ end
1942
+
1943
+ # DescribeRecordDatesByLive返回参数结构体
1944
+ class DescribeRecordDatesByLiveResponse < TencentCloud::Common::AbstractModel
1945
+ # @param Dates: 录制日期数组
1946
+ # 注意:此字段可能返回 null,表示取不到有效值。
1947
+ # @type Dates: Array
1948
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1949
+ # @type RequestId: String
1950
+
1951
+ attr_accessor :Dates, :RequestId
1952
+
1953
+ def initialize(dates=nil, requestid=nil)
1954
+ @Dates = dates
1955
+ @RequestId = requestid
1956
+ end
1957
+
1958
+ def deserialize(params)
1959
+ @Dates = params['Dates']
1960
+ @RequestId = params['RequestId']
1961
+ end
1962
+ end
1963
+
1964
+ # DescribeRecordStreamData 复杂类型
1965
+ class DescribeRecordStreamData < TencentCloud::Common::AbstractModel
1966
+ # @param RtspAddr: Rtsp地址
1967
+ # @type RtspAddr: String
1968
+ # @param RtmpAddr: Rtmp地址
1969
+ # @type RtmpAddr: String
1970
+ # @param HlsAddr: Hls地址
1971
+ # @type HlsAddr: String
1972
+ # @param FlvAddr: Flv地址
1973
+ # @type FlvAddr: String
1974
+ # @param StreamId: 流Id
1975
+ # @type StreamId: String
1976
+
1977
+ attr_accessor :RtspAddr, :RtmpAddr, :HlsAddr, :FlvAddr, :StreamId
1978
+
1979
+ def initialize(rtspaddr=nil, rtmpaddr=nil, hlsaddr=nil, flvaddr=nil, streamid=nil)
1980
+ @RtspAddr = rtspaddr
1981
+ @RtmpAddr = rtmpaddr
1982
+ @HlsAddr = hlsaddr
1983
+ @FlvAddr = flvaddr
1984
+ @StreamId = streamid
1985
+ end
1986
+
1987
+ def deserialize(params)
1988
+ @RtspAddr = params['RtspAddr']
1989
+ @RtmpAddr = params['RtmpAddr']
1990
+ @HlsAddr = params['HlsAddr']
1991
+ @FlvAddr = params['FlvAddr']
1992
+ @StreamId = params['StreamId']
1993
+ end
1994
+ end
1995
+
1996
+ # DescribeRecordStream请求参数结构体
1997
+ class DescribeRecordStreamRequest < TencentCloud::Common::AbstractModel
1998
+ # @param DeviceId: 设备Id
1999
+ # @type DeviceId: String
2000
+ # @param ExpireTime: 流失效时间
2001
+ # @type ExpireTime: Integer
2002
+ # @param RecordId: 录像文件Id
2003
+ # @type RecordId: String
2004
+ # @param StartTime: 录像流开始时间,当录像文件Id为空时有效
2005
+ # @type StartTime: Integer
2006
+ # @param EndTime: 录像流结束时间,当录像文件Id为空时有效
2007
+ # @type EndTime: Integer
2008
+ # @param ChannelId: 通道唯一标识
2009
+ # @type ChannelId: String
2010
+
2011
+ attr_accessor :DeviceId, :ExpireTime, :RecordId, :StartTime, :EndTime, :ChannelId
2012
+
2013
+ def initialize(deviceid=nil, expiretime=nil, recordid=nil, starttime=nil, endtime=nil, channelid=nil)
2014
+ @DeviceId = deviceid
2015
+ @ExpireTime = expiretime
2016
+ @RecordId = recordid
2017
+ @StartTime = starttime
2018
+ @EndTime = endtime
2019
+ @ChannelId = channelid
2020
+ end
2021
+
2022
+ def deserialize(params)
2023
+ @DeviceId = params['DeviceId']
2024
+ @ExpireTime = params['ExpireTime']
2025
+ @RecordId = params['RecordId']
2026
+ @StartTime = params['StartTime']
2027
+ @EndTime = params['EndTime']
2028
+ @ChannelId = params['ChannelId']
2029
+ end
2030
+ end
2031
+
2032
+ # DescribeRecordStream返回参数结构体
2033
+ class DescribeRecordStreamResponse < TencentCloud::Common::AbstractModel
2034
+ # @param Data: 结果
2035
+ # @type Data: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.DescribeRecordStreamData`
2036
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2037
+ # @type RequestId: String
2038
+
2039
+ attr_accessor :Data, :RequestId
2040
+
2041
+ def initialize(data=nil, requestid=nil)
2042
+ @Data = data
2043
+ @RequestId = requestid
2044
+ end
2045
+
2046
+ def deserialize(params)
2047
+ unless params['Data'].nil?
2048
+ @Data = DescribeRecordStreamData.new
2049
+ @Data.deserialize(params['Data'])
2050
+ end
2051
+ @RequestId = params['RequestId']
2052
+ end
2053
+ end
2054
+
2055
+ # DescribeSIPServer请求参数结构体
2056
+ class DescribeSIPServerRequest < TencentCloud::Common::AbstractModel
2057
+
2058
+
2059
+ def initialize()
2060
+ end
2061
+
2062
+ def deserialize(params)
2063
+ end
2064
+ end
2065
+
2066
+ # DescribeSIPServer返回参数结构体
2067
+ class DescribeSIPServerResponse < TencentCloud::Common::AbstractModel
2068
+ # @param Data: SIP服务器相关配置项
2069
+ # @type Data: :class:`Tencentcloud::Iotvideoindustry.v20201201.models.ServerConfiguration`
2070
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2071
+ # @type RequestId: String
2072
+
2073
+ attr_accessor :Data, :RequestId
2074
+
2075
+ def initialize(data=nil, requestid=nil)
2076
+ @Data = data
2077
+ @RequestId = requestid
2078
+ end
2079
+
2080
+ def deserialize(params)
2081
+ unless params['Data'].nil?
2082
+ @Data = ServerConfiguration.new
2083
+ @Data.deserialize(params['Data'])
2084
+ end
2085
+ @RequestId = params['RequestId']
2086
+ end
2087
+ end
2088
+
2089
+ # DescribeScenes请求参数结构体
2090
+ class DescribeScenesRequest < TencentCloud::Common::AbstractModel
2091
+ # @param Limit: 条数限制
2092
+ # @type Limit: Integer
2093
+ # @param Offset: 偏移
2094
+ # @type Offset: Integer
2095
+
2096
+ attr_accessor :Limit, :Offset
2097
+
2098
+ def initialize(limit=nil, offset=nil)
2099
+ @Limit = limit
2100
+ @Offset = offset
2101
+ end
2102
+
2103
+ def deserialize(params)
2104
+ @Limit = params['Limit']
2105
+ @Offset = params['Offset']
2106
+ end
2107
+ end
2108
+
2109
+ # DescribeScenes返回参数结构体
2110
+ class DescribeScenesResponse < TencentCloud::Common::AbstractModel
2111
+ # @param Total: 场景总数
2112
+ # 注意:此字段可能返回 null,表示取不到有效值。
2113
+ # @type Total: Integer
2114
+ # @param List: 场景列表
2115
+ # 注意:此字段可能返回 null,表示取不到有效值。
2116
+ # @type List: Array
2117
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2118
+ # @type RequestId: String
2119
+
2120
+ attr_accessor :Total, :List, :RequestId
2121
+
2122
+ def initialize(total=nil, list=nil, requestid=nil)
2123
+ @Total = total
2124
+ @List = list
2125
+ @RequestId = requestid
2126
+ end
2127
+
2128
+ def deserialize(params)
2129
+ @Total = params['Total']
2130
+ unless params['List'].nil?
2131
+ @List = []
2132
+ params['List'].each do |i|
2133
+ sceneitem_tmp = SceneItem.new
2134
+ sceneitem_tmp.deserialize(i)
2135
+ @List << sceneitem_tmp
2136
+ end
2137
+ end
2138
+ @RequestId = params['RequestId']
2139
+ end
2140
+ end
2141
+
2142
+ # DescribeStatisticDetails请求参数结构体
2143
+ class DescribeStatisticDetailsRequest < TencentCloud::Common::AbstractModel
2144
+ # @param StartDate: 开始日期,格式【YYYY-MM-DD】
2145
+ # @type StartDate: String
2146
+ # @param EndDate: 结束日期,格式【YYYY-MM-DD】
2147
+ # @type EndDate: String
2148
+ # @param StatisticField: 统计项。取值范围:
2149
+ # 1.录制设备数:RecordingDevice
2150
+ # 2.非录制设备数:NonRecordingDevice
2151
+ # 3.观看流量总数:WatchFlux
2152
+ # 4.已用存储容量总数:StorageUsage
2153
+ # 5. X-P2P分享流量: P2PFluxTotal
2154
+ # 6. X-P2P峰值带宽: P2PPeakValue
2155
+ # 7. RTMP推流路数(直播推流): LivePushTotal
2156
+ # @type StatisticField: String
2157
+
2158
+ attr_accessor :StartDate, :EndDate, :StatisticField
2159
+
2160
+ def initialize(startdate=nil, enddate=nil, statisticfield=nil)
2161
+ @StartDate = startdate
2162
+ @EndDate = enddate
2163
+ @StatisticField = statisticfield
2164
+ end
2165
+
2166
+ def deserialize(params)
2167
+ @StartDate = params['StartDate']
2168
+ @EndDate = params['EndDate']
2169
+ @StatisticField = params['StatisticField']
2170
+ end
2171
+ end
2172
+
2173
+ # DescribeStatisticDetails返回参数结构体
2174
+ class DescribeStatisticDetailsResponse < TencentCloud::Common::AbstractModel
2175
+ # @param Data: 统计详情列表
2176
+ # 注意:此字段可能返回 null,表示取不到有效值。
2177
+ # @type Data: Array
2178
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2179
+ # @type RequestId: String
2180
+
2181
+ attr_accessor :Data, :RequestId
2182
+
2183
+ def initialize(data=nil, requestid=nil)
2184
+ @Data = data
2185
+ @RequestId = requestid
2186
+ end
2187
+
2188
+ def deserialize(params)
2189
+ unless params['Data'].nil?
2190
+ @Data = []
2191
+ params['Data'].each do |i|
2192
+ statisticitem_tmp = StatisticItem.new
2193
+ statisticitem_tmp.deserialize(i)
2194
+ @Data << statisticitem_tmp
2195
+ end
2196
+ end
2197
+ @RequestId = params['RequestId']
2198
+ end
2199
+ end
2200
+
2201
+ # DescribeStatisticSummary请求参数结构体
2202
+ class DescribeStatisticSummaryRequest < TencentCloud::Common::AbstractModel
1264
2203
  # @param Date: 指定日期。格式【YYYY-MM-DD】
1265
2204
  # @type Date: String
1266
2205
 
@@ -1391,6 +2330,42 @@ module TencentCloud
1391
2330
  end
1392
2331
  end
1393
2332
 
2333
+ # DescribeSubscriptionStatus请求参数结构体
2334
+ class DescribeSubscriptionStatusRequest < TencentCloud::Common::AbstractModel
2335
+ # @param DeviceId: 设备ID
2336
+ # @type DeviceId: String
2337
+
2338
+ attr_accessor :DeviceId
2339
+
2340
+ def initialize(deviceid=nil)
2341
+ @DeviceId = deviceid
2342
+ end
2343
+
2344
+ def deserialize(params)
2345
+ @DeviceId = params['DeviceId']
2346
+ end
2347
+ end
2348
+
2349
+ # DescribeSubscriptionStatus返回参数结构体
2350
+ class DescribeSubscriptionStatusResponse < TencentCloud::Common::AbstractModel
2351
+ # @param AlarmStatus: 设备GB28181报警订阅状态 1:未开启订阅;2:已开启订阅
2352
+ # @type AlarmStatus: Integer
2353
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2354
+ # @type RequestId: String
2355
+
2356
+ attr_accessor :AlarmStatus, :RequestId
2357
+
2358
+ def initialize(alarmstatus=nil, requestid=nil)
2359
+ @AlarmStatus = alarmstatus
2360
+ @RequestId = requestid
2361
+ end
2362
+
2363
+ def deserialize(params)
2364
+ @AlarmStatus = params['AlarmStatus']
2365
+ @RequestId = params['RequestId']
2366
+ end
2367
+ end
2368
+
1394
2369
  # DescribeVideoList请求参数结构体
1395
2370
  class DescribeVideoListRequest < TencentCloud::Common::AbstractModel
1396
2371
  # @param Offset: 偏移
@@ -2000,83 +2975,260 @@ module TencentCloud
2000
2975
  end
2001
2976
 
2002
2977
  def deserialize(params)
2003
- @GroupId = params['GroupId']
2004
- @GroupName = params['GroupName']
2005
- @GroupType = params['GroupType']
2006
- @GroupPath = params['GroupPath']
2007
- @ParentId = params['ParentId']
2008
- @GroupDescribe = params['GroupDescribe']
2009
- @ExtraInformation = params['ExtraInformation']
2010
- @CreateTime = params['CreateTime']
2011
- @GroupStatus = params['GroupStatus']
2012
- @Error = params['Error']
2978
+ @GroupId = params['GroupId']
2979
+ @GroupName = params['GroupName']
2980
+ @GroupType = params['GroupType']
2981
+ @GroupPath = params['GroupPath']
2982
+ @ParentId = params['ParentId']
2983
+ @GroupDescribe = params['GroupDescribe']
2984
+ @ExtraInformation = params['ExtraInformation']
2985
+ @CreateTime = params['CreateTime']
2986
+ @GroupStatus = params['GroupStatus']
2987
+ @Error = params['Error']
2988
+ end
2989
+ end
2990
+
2991
+ # 分组信息
2992
+ class GroupItem < TencentCloud::Common::AbstractModel
2993
+ # @param GroupName: 分组名称
2994
+ # 注意:此字段可能返回 null,表示取不到有效值。
2995
+ # @type GroupName: String
2996
+ # @param ParentId: 父分组ID
2997
+ # 注意:此字段可能返回 null,表示取不到有效值。
2998
+ # @type ParentId: String
2999
+ # @param GroupId: 分组ID
3000
+ # 注意:此字段可能返回 null,表示取不到有效值。
3001
+ # @type GroupId: String
3002
+ # @param GroupPath: 分组路径
3003
+ # 注意:此字段可能返回 null,表示取不到有效值。
3004
+ # @type GroupPath: String
3005
+ # @param GroupDescribe: 分组描述
3006
+ # 注意:此字段可能返回 null,表示取不到有效值。
3007
+ # @type GroupDescribe: String
3008
+ # @param DeviceNum: 分组绑定设备数
3009
+ # 注意:此字段可能返回 null,表示取不到有效值。
3010
+ # @type DeviceNum: Integer
3011
+ # @param SubGroupNum: 子分组数量
3012
+ # 注意:此字段可能返回 null,表示取不到有效值。
3013
+ # @type SubGroupNum: Integer
3014
+ # @param ExtraInformation: 分组附加信息
3015
+ # 注意:此字段可能返回 null,表示取不到有效值。
3016
+ # @type ExtraInformation: String
3017
+ # @param GroupType: 分组类型
3018
+ # 注意:此字段可能返回 null,表示取不到有效值。
3019
+ # @type GroupType: String
3020
+ # @param CreateTime: 创建时间
3021
+ # 注意:此字段可能返回 null,表示取不到有效值。
3022
+ # @type CreateTime: Integer
3023
+ # @param GroupStatus: 分组状态
3024
+ # 注意:此字段可能返回 null,表示取不到有效值。
3025
+ # @type GroupStatus: Integer
3026
+
3027
+ attr_accessor :GroupName, :ParentId, :GroupId, :GroupPath, :GroupDescribe, :DeviceNum, :SubGroupNum, :ExtraInformation, :GroupType, :CreateTime, :GroupStatus
3028
+
3029
+ def initialize(groupname=nil, parentid=nil, groupid=nil, grouppath=nil, groupdescribe=nil, devicenum=nil, subgroupnum=nil, extrainformation=nil, grouptype=nil, createtime=nil, groupstatus=nil)
3030
+ @GroupName = groupname
3031
+ @ParentId = parentid
3032
+ @GroupId = groupid
3033
+ @GroupPath = grouppath
3034
+ @GroupDescribe = groupdescribe
3035
+ @DeviceNum = devicenum
3036
+ @SubGroupNum = subgroupnum
3037
+ @ExtraInformation = extrainformation
3038
+ @GroupType = grouptype
3039
+ @CreateTime = createtime
3040
+ @GroupStatus = groupstatus
3041
+ end
3042
+
3043
+ def deserialize(params)
3044
+ @GroupName = params['GroupName']
3045
+ @ParentId = params['ParentId']
3046
+ @GroupId = params['GroupId']
3047
+ @GroupPath = params['GroupPath']
3048
+ @GroupDescribe = params['GroupDescribe']
3049
+ @DeviceNum = params['DeviceNum']
3050
+ @SubGroupNum = params['SubGroupNum']
3051
+ @ExtraInformation = params['ExtraInformation']
3052
+ @GroupType = params['GroupType']
3053
+ @CreateTime = params['CreateTime']
3054
+ @GroupStatus = params['GroupStatus']
3055
+ end
3056
+ end
3057
+
3058
+ # 频道信息
3059
+ class LiveChannelInfo < TencentCloud::Common::AbstractModel
3060
+ # @param LiveChannelId: 频道ID
3061
+ # 注意:此字段可能返回 null,表示取不到有效值。
3062
+ # @type LiveChannelId: String
3063
+ # @param LiveChannelName: 频道名称
3064
+ # 注意:此字段可能返回 null,表示取不到有效值。
3065
+ # @type LiveChannelName: String
3066
+ # @param LiveChannelType: 频道类型
3067
+ # 注意:此字段可能返回 null,表示取不到有效值。
3068
+ # @type LiveChannelType: Integer
3069
+ # @param LiveStatus: 通道直播状态:1: 未推流,2: 推流中
3070
+ # 注意:此字段可能返回 null,表示取不到有效值。
3071
+ # @type LiveStatus: Integer
3072
+ # @param PushStreamAddress: 推流地址
3073
+ # 注意:此字段可能返回 null,表示取不到有效值。
3074
+ # @type PushStreamAddress: String
3075
+ # @param CreateTime: 创建时间
3076
+ # 注意:此字段可能返回 null,表示取不到有效值。
3077
+ # @type CreateTime: String
3078
+ # @param UpdateTime: 修改时间
3079
+ # 注意:此字段可能返回 null,表示取不到有效值。
3080
+ # @type UpdateTime: String
3081
+
3082
+ attr_accessor :LiveChannelId, :LiveChannelName, :LiveChannelType, :LiveStatus, :PushStreamAddress, :CreateTime, :UpdateTime
3083
+
3084
+ def initialize(livechannelid=nil, livechannelname=nil, livechanneltype=nil, livestatus=nil, pushstreamaddress=nil, createtime=nil, updatetime=nil)
3085
+ @LiveChannelId = livechannelid
3086
+ @LiveChannelName = livechannelname
3087
+ @LiveChannelType = livechanneltype
3088
+ @LiveStatus = livestatus
3089
+ @PushStreamAddress = pushstreamaddress
3090
+ @CreateTime = createtime
3091
+ @UpdateTime = updatetime
3092
+ end
3093
+
3094
+ def deserialize(params)
3095
+ @LiveChannelId = params['LiveChannelId']
3096
+ @LiveChannelName = params['LiveChannelName']
3097
+ @LiveChannelType = params['LiveChannelType']
3098
+ @LiveStatus = params['LiveStatus']
3099
+ @PushStreamAddress = params['PushStreamAddress']
3100
+ @CreateTime = params['CreateTime']
3101
+ @UpdateTime = params['UpdateTime']
3102
+ end
3103
+ end
3104
+
3105
+ # 直播频道详情
3106
+ class LiveChannelItem < TencentCloud::Common::AbstractModel
3107
+ # @param ChannelId: 频道ID
3108
+ # @type ChannelId: String
3109
+ # @param ChannelName: 频道名称
3110
+ # @type ChannelName: String
3111
+
3112
+ attr_accessor :ChannelId, :ChannelName
3113
+
3114
+ def initialize(channelid=nil, channelname=nil)
3115
+ @ChannelId = channelid
3116
+ @ChannelName = channelname
3117
+ end
3118
+
3119
+ def deserialize(params)
3120
+ @ChannelId = params['ChannelId']
3121
+ @ChannelName = params['ChannelName']
3122
+ end
3123
+ end
3124
+
3125
+ # 直播录制详情item
3126
+ class LiveRecordItem < TencentCloud::Common::AbstractModel
3127
+ # @param IntID: 录制文件自增ID
3128
+ # @type IntID: Integer
3129
+ # @param LiveChannelId: 直播频道ID
3130
+ # @type LiveChannelId: String
3131
+ # @param ExpectDeleteTime: 过期时间
3132
+ # @type ExpectDeleteTime: Integer
3133
+ # @param RecordTimeLen: 录制时长
3134
+ # @type RecordTimeLen: Integer
3135
+ # @param FileSize: 文件大小
3136
+ # @type FileSize: Integer
3137
+ # @param VideoUrl: 录制文件url
3138
+ # @type VideoUrl: String
3139
+ # @param RecordPlanId: 录制计划ID
3140
+ # @type RecordPlanId: String
3141
+ # @param StartTime: 录制开始时间
3142
+ # @type StartTime: Integer
3143
+ # @param EndTime: 录制结束时间
3144
+ # @type EndTime: Integer
3145
+
3146
+ attr_accessor :IntID, :LiveChannelId, :ExpectDeleteTime, :RecordTimeLen, :FileSize, :VideoUrl, :RecordPlanId, :StartTime, :EndTime
3147
+
3148
+ def initialize(intid=nil, livechannelid=nil, expectdeletetime=nil, recordtimelen=nil, filesize=nil, videourl=nil, recordplanid=nil, starttime=nil, endtime=nil)
3149
+ @IntID = intid
3150
+ @LiveChannelId = livechannelid
3151
+ @ExpectDeleteTime = expectdeletetime
3152
+ @RecordTimeLen = recordtimelen
3153
+ @FileSize = filesize
3154
+ @VideoUrl = videourl
3155
+ @RecordPlanId = recordplanid
3156
+ @StartTime = starttime
3157
+ @EndTime = endtime
3158
+ end
3159
+
3160
+ def deserialize(params)
3161
+ @IntID = params['IntID']
3162
+ @LiveChannelId = params['LiveChannelId']
3163
+ @ExpectDeleteTime = params['ExpectDeleteTime']
3164
+ @RecordTimeLen = params['RecordTimeLen']
3165
+ @FileSize = params['FileSize']
3166
+ @VideoUrl = params['VideoUrl']
3167
+ @RecordPlanId = params['RecordPlanId']
3168
+ @StartTime = params['StartTime']
3169
+ @EndTime = params['EndTime']
3170
+ end
3171
+ end
3172
+
3173
+ # 直播录制计划详情
3174
+ class LiveRecordPlanItem < TencentCloud::Common::AbstractModel
3175
+ # @param PlanId: 计划ID
3176
+ # 注意:此字段可能返回 null,表示取不到有效值。
3177
+ # @type PlanId: String
3178
+ # @param PlanName: 计划名称
3179
+ # 注意:此字段可能返回 null,表示取不到有效值。
3180
+ # @type PlanName: String
3181
+
3182
+ attr_accessor :PlanId, :PlanName
3183
+
3184
+ def initialize(planid=nil, planname=nil)
3185
+ @PlanId = planid
3186
+ @PlanName = planname
3187
+ end
3188
+
3189
+ def deserialize(params)
3190
+ @PlanId = params['PlanId']
3191
+ @PlanName = params['PlanName']
3192
+ end
3193
+ end
3194
+
3195
+ # ModifyBindPlanLiveChannel请求参数结构体
3196
+ class ModifyBindPlanLiveChannelRequest < TencentCloud::Common::AbstractModel
3197
+ # @param PlanId: 直播录制计划ID
3198
+ # @type PlanId: String
3199
+ # @param Type: 1: 绑定 2: 解绑
3200
+ # @type Type: Integer
3201
+ # @param LiveChannelIds: 直播频道ID列表
3202
+ # @type LiveChannelIds: Array
3203
+
3204
+ attr_accessor :PlanId, :Type, :LiveChannelIds
3205
+
3206
+ def initialize(planid=nil, type=nil, livechannelids=nil)
3207
+ @PlanId = planid
3208
+ @Type = type
3209
+ @LiveChannelIds = livechannelids
3210
+ end
3211
+
3212
+ def deserialize(params)
3213
+ @PlanId = params['PlanId']
3214
+ @Type = params['Type']
3215
+ @LiveChannelIds = params['LiveChannelIds']
2013
3216
  end
2014
3217
  end
2015
3218
 
2016
- # 分组信息
2017
- class GroupItem < TencentCloud::Common::AbstractModel
2018
- # @param GroupName: 分组名称
2019
- # 注意:此字段可能返回 null,表示取不到有效值。
2020
- # @type GroupName: String
2021
- # @param ParentId: 父分组ID
2022
- # 注意:此字段可能返回 null,表示取不到有效值。
2023
- # @type ParentId: String
2024
- # @param GroupId: 分组ID
2025
- # 注意:此字段可能返回 null,表示取不到有效值。
2026
- # @type GroupId: String
2027
- # @param GroupPath: 分组路径
2028
- # 注意:此字段可能返回 null,表示取不到有效值。
2029
- # @type GroupPath: String
2030
- # @param GroupDescribe: 分组描述
2031
- # 注意:此字段可能返回 null,表示取不到有效值。
2032
- # @type GroupDescribe: String
2033
- # @param DeviceNum: 分组绑定设备数
2034
- # 注意:此字段可能返回 null,表示取不到有效值。
2035
- # @type DeviceNum: Integer
2036
- # @param SubGroupNum: 子分组数量
2037
- # 注意:此字段可能返回 null,表示取不到有效值。
2038
- # @type SubGroupNum: Integer
2039
- # @param ExtraInformation: 分组附加信息
2040
- # 注意:此字段可能返回 null,表示取不到有效值。
2041
- # @type ExtraInformation: String
2042
- # @param GroupType: 分组类型
2043
- # 注意:此字段可能返回 null,表示取不到有效值。
2044
- # @type GroupType: String
2045
- # @param CreateTime: 创建时间
2046
- # 注意:此字段可能返回 null,表示取不到有效值。
2047
- # @type CreateTime: Integer
2048
- # @param GroupStatus: 分组状态
2049
- # 注意:此字段可能返回 null,表示取不到有效值。
2050
- # @type GroupStatus: Integer
3219
+ # ModifyBindPlanLiveChannel返回参数结构体
3220
+ class ModifyBindPlanLiveChannelResponse < TencentCloud::Common::AbstractModel
3221
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3222
+ # @type RequestId: String
2051
3223
 
2052
- attr_accessor :GroupName, :ParentId, :GroupId, :GroupPath, :GroupDescribe, :DeviceNum, :SubGroupNum, :ExtraInformation, :GroupType, :CreateTime, :GroupStatus
3224
+ attr_accessor :RequestId
2053
3225
 
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
2064
- @CreateTime = createtime
2065
- @GroupStatus = groupstatus
3226
+ def initialize(requestid=nil)
3227
+ @RequestId = requestid
2066
3228
  end
2067
3229
 
2068
3230
  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']
2078
- @CreateTime = params['CreateTime']
2079
- @GroupStatus = params['GroupStatus']
3231
+ @RequestId = params['RequestId']
2080
3232
  end
2081
3233
  end
2082
3234
 
@@ -2121,6 +3273,194 @@ module TencentCloud
2121
3273
  end
2122
3274
  end
2123
3275
 
3276
+ # ModifyLiveChannel请求参数结构体
3277
+ class ModifyLiveChannelRequest < TencentCloud::Common::AbstractModel
3278
+ # @param LiveChannelId: 直播频道ID
3279
+ # @type LiveChannelId: String
3280
+ # @param LiveChannelName: 直播频道名
3281
+ # @type LiveChannelName: String
3282
+
3283
+ attr_accessor :LiveChannelId, :LiveChannelName
3284
+
3285
+ def initialize(livechannelid=nil, livechannelname=nil)
3286
+ @LiveChannelId = livechannelid
3287
+ @LiveChannelName = livechannelname
3288
+ end
3289
+
3290
+ def deserialize(params)
3291
+ @LiveChannelId = params['LiveChannelId']
3292
+ @LiveChannelName = params['LiveChannelName']
3293
+ end
3294
+ end
3295
+
3296
+ # ModifyLiveChannel返回参数结构体
3297
+ class ModifyLiveChannelResponse < TencentCloud::Common::AbstractModel
3298
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3299
+ # @type RequestId: String
3300
+
3301
+ attr_accessor :RequestId
3302
+
3303
+ def initialize(requestid=nil)
3304
+ @RequestId = requestid
3305
+ end
3306
+
3307
+ def deserialize(params)
3308
+ @RequestId = params['RequestId']
3309
+ end
3310
+ end
3311
+
3312
+ # ModifyLiveRecordPlan请求参数结构体
3313
+ class ModifyLiveRecordPlanRequest < TencentCloud::Common::AbstractModel
3314
+ # @param PlanId: 录制计划ID
3315
+ # @type PlanId: String
3316
+ # @param PlanName: 录制计划名
3317
+ # @type PlanName: String
3318
+ # @param TemplateId: 时间模板ID,固定直播时为必填
3319
+ # @type TemplateId: String
3320
+
3321
+ attr_accessor :PlanId, :PlanName, :TemplateId
3322
+
3323
+ def initialize(planid=nil, planname=nil, templateid=nil)
3324
+ @PlanId = planid
3325
+ @PlanName = planname
3326
+ @TemplateId = templateid
3327
+ end
3328
+
3329
+ def deserialize(params)
3330
+ @PlanId = params['PlanId']
3331
+ @PlanName = params['PlanName']
3332
+ @TemplateId = params['TemplateId']
3333
+ end
3334
+ end
3335
+
3336
+ # ModifyLiveRecordPlan返回参数结构体
3337
+ class ModifyLiveRecordPlanResponse < TencentCloud::Common::AbstractModel
3338
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3339
+ # @type RequestId: String
3340
+
3341
+ attr_accessor :RequestId
3342
+
3343
+ def initialize(requestid=nil)
3344
+ @RequestId = requestid
3345
+ end
3346
+
3347
+ def deserialize(params)
3348
+ @RequestId = params['RequestId']
3349
+ end
3350
+ end
3351
+
3352
+ # ModifyLiveVideo请求参数结构体
3353
+ class ModifyLiveVideoRequest < TencentCloud::Common::AbstractModel
3354
+ # @param IntIDs: 视频ID 列表, 大小限制(100)
3355
+ # @type IntIDs: Array
3356
+ # @param ExpireTime: 过期时间 秒 (-1: 为永不过期)
3357
+ # @type ExpireTime: Integer
3358
+
3359
+ attr_accessor :IntIDs, :ExpireTime
3360
+
3361
+ def initialize(intids=nil, expiretime=nil)
3362
+ @IntIDs = intids
3363
+ @ExpireTime = expiretime
3364
+ end
3365
+
3366
+ def deserialize(params)
3367
+ @IntIDs = params['IntIDs']
3368
+ @ExpireTime = params['ExpireTime']
3369
+ end
3370
+ end
3371
+
3372
+ # ModifyLiveVideo返回参数结构体
3373
+ class ModifyLiveVideoResponse < TencentCloud::Common::AbstractModel
3374
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3375
+ # @type RequestId: String
3376
+
3377
+ attr_accessor :RequestId
3378
+
3379
+ def initialize(requestid=nil)
3380
+ @RequestId = requestid
3381
+ end
3382
+
3383
+ def deserialize(params)
3384
+ @RequestId = params['RequestId']
3385
+ end
3386
+ end
3387
+
3388
+ # ModifySubscriptionStatus请求参数结构体
3389
+ class ModifySubscriptionStatusRequest < TencentCloud::Common::AbstractModel
3390
+ # @param DeviceId: 设备ID
3391
+ # @type DeviceId: String
3392
+ # @param Status: 订阅状态 1:关闭订阅 2:开启订阅
3393
+ # @type Status: Integer
3394
+ # @param SubscriptionItem: 订阅类型 Alarm:告警订阅 Catalog:目录订阅 MobilePosition:移动位置订阅
3395
+ # @type SubscriptionItem: String
3396
+
3397
+ attr_accessor :DeviceId, :Status, :SubscriptionItem
3398
+
3399
+ def initialize(deviceid=nil, status=nil, subscriptionitem=nil)
3400
+ @DeviceId = deviceid
3401
+ @Status = status
3402
+ @SubscriptionItem = subscriptionitem
3403
+ end
3404
+
3405
+ def deserialize(params)
3406
+ @DeviceId = params['DeviceId']
3407
+ @Status = params['Status']
3408
+ @SubscriptionItem = params['SubscriptionItem']
3409
+ end
3410
+ end
3411
+
3412
+ # ModifySubscriptionStatus返回参数结构体
3413
+ class ModifySubscriptionStatusResponse < TencentCloud::Common::AbstractModel
3414
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3415
+ # @type RequestId: String
3416
+
3417
+ attr_accessor :RequestId
3418
+
3419
+ def initialize(requestid=nil)
3420
+ @RequestId = requestid
3421
+ end
3422
+
3423
+ def deserialize(params)
3424
+ @RequestId = params['RequestId']
3425
+ end
3426
+ end
3427
+
3428
+ # ModifyVideoInfo请求参数结构体
3429
+ class ModifyVideoInfoRequest < TencentCloud::Common::AbstractModel
3430
+ # @param InitIDs: 视频ID列表长度限制100内
3431
+ # @type InitIDs: Array
3432
+ # @param ExpireTime: 过期时间 时间戳 -1: 永不过期 0: 无效值
3433
+ # @type ExpireTime: Integer
3434
+
3435
+ attr_accessor :InitIDs, :ExpireTime
3436
+
3437
+ def initialize(initids=nil, expiretime=nil)
3438
+ @InitIDs = initids
3439
+ @ExpireTime = expiretime
3440
+ end
3441
+
3442
+ def deserialize(params)
3443
+ @InitIDs = params['InitIDs']
3444
+ @ExpireTime = params['ExpireTime']
3445
+ end
3446
+ end
3447
+
3448
+ # ModifyVideoInfo返回参数结构体
3449
+ class ModifyVideoInfoResponse < TencentCloud::Common::AbstractModel
3450
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3451
+ # @type RequestId: String
3452
+
3453
+ attr_accessor :RequestId
3454
+
3455
+ def initialize(requestid=nil)
3456
+ @RequestId = requestid
3457
+ end
3458
+
3459
+ def deserialize(params)
3460
+ @RequestId = params['RequestId']
3461
+ end
3462
+ end
3463
+
2124
3464
  # 录制计划详情
2125
3465
  class RecordPlanItem < TencentCloud::Common::AbstractModel
2126
3466
  # @param PlanId: 计划ID
@@ -2232,6 +3572,56 @@ module TencentCloud
2232
3572
  end
2233
3573
  end
2234
3574
 
3575
+ # 场景列表元素
3576
+ class SceneItem < TencentCloud::Common::AbstractModel
3577
+ # @param IntId: 场景ID
3578
+ # 注意:此字段可能返回 null,表示取不到有效值。
3579
+ # @type IntId: Integer
3580
+ # @param Uin: 用户UIN
3581
+ # 注意:此字段可能返回 null,表示取不到有效值。
3582
+ # @type Uin: String
3583
+ # @param SceneName: 场景名称
3584
+ # 注意:此字段可能返回 null,表示取不到有效值。
3585
+ # @type SceneName: String
3586
+ # @param SceneTrigger: 触发规则
3587
+ # 注意:此字段可能返回 null,表示取不到有效值。
3588
+ # @type SceneTrigger: String
3589
+ # @param RecordDuration: 录制时长 秒
3590
+ # 注意:此字段可能返回 null,表示取不到有效值。
3591
+ # @type RecordDuration: Integer
3592
+ # @param StoreDuration: 存储时长 天
3593
+ # 注意:此字段可能返回 null,表示取不到有效值。
3594
+ # @type StoreDuration: Integer
3595
+ # @param CreateTime: 创建时间
3596
+ # @type CreateTime: String
3597
+ # @param UpdateTime: 修改时间
3598
+ # @type UpdateTime: String
3599
+
3600
+ attr_accessor :IntId, :Uin, :SceneName, :SceneTrigger, :RecordDuration, :StoreDuration, :CreateTime, :UpdateTime
3601
+
3602
+ def initialize(intid=nil, uin=nil, scenename=nil, scenetrigger=nil, recordduration=nil, storeduration=nil, createtime=nil, updatetime=nil)
3603
+ @IntId = intid
3604
+ @Uin = uin
3605
+ @SceneName = scenename
3606
+ @SceneTrigger = scenetrigger
3607
+ @RecordDuration = recordduration
3608
+ @StoreDuration = storeduration
3609
+ @CreateTime = createtime
3610
+ @UpdateTime = updatetime
3611
+ end
3612
+
3613
+ def deserialize(params)
3614
+ @IntId = params['IntId']
3615
+ @Uin = params['Uin']
3616
+ @SceneName = params['SceneName']
3617
+ @SceneTrigger = params['SceneTrigger']
3618
+ @RecordDuration = params['RecordDuration']
3619
+ @StoreDuration = params['StoreDuration']
3620
+ @CreateTime = params['CreateTime']
3621
+ @UpdateTime = params['UpdateTime']
3622
+ end
3623
+ end
3624
+
2235
3625
  # SIIP服务器相关配置项
2236
3626
  class ServerConfiguration < TencentCloud::Common::AbstractModel
2237
3627
  # @param Host: SIP服务器地址
@@ -2282,6 +3672,43 @@ module TencentCloud
2282
3672
  end
2283
3673
  end
2284
3674
 
3675
+ # 拉流地址,只有在推流情况下才有
3676
+ class StreamAddress < TencentCloud::Common::AbstractModel
3677
+ # @param StreamId: 流ID
3678
+ # 注意:此字段可能返回 null,表示取不到有效值。
3679
+ # @type StreamId: String
3680
+ # @param RtspAddr: rtsp流地址
3681
+ # 注意:此字段可能返回 null,表示取不到有效值。
3682
+ # @type RtspAddr: String
3683
+ # @param RtmpAddr: rtmp流地址
3684
+ # 注意:此字段可能返回 null,表示取不到有效值。
3685
+ # @type RtmpAddr: String
3686
+ # @param HlsAddr: hls流地址
3687
+ # 注意:此字段可能返回 null,表示取不到有效值。
3688
+ # @type HlsAddr: String
3689
+ # @param FlvAddr: flv流地址
3690
+ # 注意:此字段可能返回 null,表示取不到有效值。
3691
+ # @type FlvAddr: String
3692
+
3693
+ attr_accessor :StreamId, :RtspAddr, :RtmpAddr, :HlsAddr, :FlvAddr
3694
+
3695
+ def initialize(streamid=nil, rtspaddr=nil, rtmpaddr=nil, hlsaddr=nil, flvaddr=nil)
3696
+ @StreamId = streamid
3697
+ @RtspAddr = rtspaddr
3698
+ @RtmpAddr = rtmpaddr
3699
+ @HlsAddr = hlsaddr
3700
+ @FlvAddr = flvaddr
3701
+ end
3702
+
3703
+ def deserialize(params)
3704
+ @StreamId = params['StreamId']
3705
+ @RtspAddr = params['RtspAddr']
3706
+ @RtmpAddr = params['RtmpAddr']
3707
+ @HlsAddr = params['HlsAddr']
3708
+ @FlvAddr = params['FlvAddr']
3709
+ end
3710
+ end
3711
+
2285
3712
  # 时间模板详情
2286
3713
  class TimeTemplateItem < TencentCloud::Common::AbstractModel
2287
3714
  # @param TemplateId: 时间模板ID