tencentcloud-sdk-tiw 3.0.539 → 3.0.540

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4a1596a96208d6aabf70ed79ef447672347b24d
4
- data.tar.gz: 8080caf7d99d042ac2c0a50779a6b227c4451cee
3
+ metadata.gz: eb4b19b68601cf20f5b6cef8cebf969e8d1510c7
4
+ data.tar.gz: 1ee0296263f3575b3db26298f3faf3d2b4bce641
5
5
  SHA512:
6
- metadata.gz: 29b461f9b82364fe6d5947cf7de7b8a7e443bd549894933d1588d0d4c72ba157fccb056af32b99fb5541e29a1c97566c38010da0c13c5d2bbaa283d9a716c59e
7
- data.tar.gz: 6e20969dbc9056e57d84604d9b189348ccfa341f4eaa1b00d287924827a42837cd12cd63fcb36f63e60844d1b473813798ebbde5b5c17fbfe982813c68a20644
6
+ metadata.gz: 4841907a90d6fe9b1b4091d6255e968a2f2b47df128a8b18a1d1f618ae230b57e8b7ee62d6548eaa1a2bfb1cce067609b2e73302523375a5716c4a33d0d0bf72
7
+ data.tar.gz: 86a37f9413cd25a9b0a3aca3d3915d1008e445ddcbf1f8552c2db502f91002260d3b15a835a7105b61b1a5f4d5f62ee6c40b08e757aead2bbf01f3c233404f34
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.539
1
+ 3.0.540
@@ -437,6 +437,30 @@ module TencentCloud
437
437
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
438
  end
439
439
 
440
+ # 根据房间号搜索实时录制任务
441
+
442
+ # @param request: Request instance for DescribeRecordSearch.
443
+ # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeRecordSearchRequest`
444
+ # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeRecordSearchResponse`
445
+ def DescribeRecordSearch(request)
446
+ body = send_request('DescribeRecordSearch', request.serialize)
447
+ response = JSON.parse(body)
448
+ if response['Response'].key?('Error') == false
449
+ model = DescribeRecordSearchResponse.new
450
+ model.deserialize(response['Response'])
451
+ model
452
+ else
453
+ code = response['Response']['Error']['Code']
454
+ message = response['Response']['Error']['Message']
455
+ reqid = response['Response']['RequestId']
456
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
457
+ end
458
+ rescue TencentCloud::Common::TencentCloudSDKException => e
459
+ raise e
460
+ rescue StandardError => e
461
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
+ end
463
+
440
464
  # 查询白板房间列表
441
465
 
442
466
  # @param request: Request instance for DescribeRoomList.
@@ -1167,6 +1167,48 @@ module TencentCloud
1167
1167
  end
1168
1168
  end
1169
1169
 
1170
+ # DescribeRecordSearch请求参数结构体
1171
+ class DescribeRecordSearchRequest < TencentCloud::Common::AbstractModel
1172
+
1173
+
1174
+ def initialize()
1175
+ end
1176
+
1177
+ def deserialize(params)
1178
+ end
1179
+ end
1180
+
1181
+ # DescribeRecordSearch返回参数结构体
1182
+ class DescribeRecordSearchResponse < TencentCloud::Common::AbstractModel
1183
+ # @param RecordTaskSet: 录制任务搜索结果集合
1184
+ # @type RecordTaskSet: Array
1185
+ # @param TotalCount: 录制总任务数
1186
+ # @type TotalCount: Integer
1187
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1188
+ # @type RequestId: String
1189
+
1190
+ attr_accessor :RecordTaskSet, :TotalCount, :RequestId
1191
+
1192
+ def initialize(recordtaskset=nil, totalcount=nil, requestid=nil)
1193
+ @RecordTaskSet = recordtaskset
1194
+ @TotalCount = totalcount
1195
+ @RequestId = requestid
1196
+ end
1197
+
1198
+ def deserialize(params)
1199
+ unless params['RecordTaskSet'].nil?
1200
+ @RecordTaskSet = []
1201
+ params['RecordTaskSet'].each do |i|
1202
+ recordtasksearchresult_tmp = RecordTaskSearchResult.new
1203
+ recordtasksearchresult_tmp.deserialize(i)
1204
+ @RecordTaskSet << recordtasksearchresult_tmp
1205
+ end
1206
+ end
1207
+ @TotalCount = params['TotalCount']
1208
+ @RequestId = params['RequestId']
1209
+ end
1210
+ end
1211
+
1170
1212
  # DescribeRoomList请求参数结构体
1171
1213
  class DescribeRoomListRequest < TencentCloud::Common::AbstractModel
1172
1214
  # @param SdkAppId: 白板应用的SdkAppId
@@ -2570,6 +2612,124 @@ module TencentCloud
2570
2612
  end
2571
2613
  end
2572
2614
 
2615
+ # 实时录制结果
2616
+ class RecordTaskResult < TencentCloud::Common::AbstractModel
2617
+ # @param FinishReason: AUTO - 自动停止录制, USER_CALL - 用户主动调用停止录制
2618
+ # @type FinishReason: String
2619
+ # @param ExceptionCnt: 异常数
2620
+ # @type ExceptionCnt: Integer
2621
+ # @param RoomId: 房间号
2622
+ # @type RoomId: Integer
2623
+ # @param GroupId: 分组
2624
+ # @type GroupId: String
2625
+ # @param RecordStartTime: 录制真实开始时间
2626
+ # @type RecordStartTime: Integer
2627
+ # @param RecordStopTime: 录制结束时间
2628
+ # @type RecordStopTime: Integer
2629
+ # @param TotalTime: 录制总时长
2630
+ # @type TotalTime: Integer
2631
+ # @param VideoInfos: 视频信息列表
2632
+ # @type VideoInfos: Array
2633
+ # @param OmittedDurations: 被忽略的视频时间段
2634
+ # @type OmittedDurations: Array
2635
+ # @param Details: 详情
2636
+ # @type Details: String
2637
+ # @param ErrorCode: 任务失败错误码
2638
+ # @type ErrorCode: Integer
2639
+ # @param ErrorMsg: 错误信息
2640
+ # @type ErrorMsg: String
2641
+
2642
+ attr_accessor :FinishReason, :ExceptionCnt, :RoomId, :GroupId, :RecordStartTime, :RecordStopTime, :TotalTime, :VideoInfos, :OmittedDurations, :Details, :ErrorCode, :ErrorMsg
2643
+
2644
+ def initialize(finishreason=nil, exceptioncnt=nil, roomid=nil, groupid=nil, recordstarttime=nil, recordstoptime=nil, totaltime=nil, videoinfos=nil, omitteddurations=nil, details=nil, errorcode=nil, errormsg=nil)
2645
+ @FinishReason = finishreason
2646
+ @ExceptionCnt = exceptioncnt
2647
+ @RoomId = roomid
2648
+ @GroupId = groupid
2649
+ @RecordStartTime = recordstarttime
2650
+ @RecordStopTime = recordstoptime
2651
+ @TotalTime = totaltime
2652
+ @VideoInfos = videoinfos
2653
+ @OmittedDurations = omitteddurations
2654
+ @Details = details
2655
+ @ErrorCode = errorcode
2656
+ @ErrorMsg = errormsg
2657
+ end
2658
+
2659
+ def deserialize(params)
2660
+ @FinishReason = params['FinishReason']
2661
+ @ExceptionCnt = params['ExceptionCnt']
2662
+ @RoomId = params['RoomId']
2663
+ @GroupId = params['GroupId']
2664
+ @RecordStartTime = params['RecordStartTime']
2665
+ @RecordStopTime = params['RecordStopTime']
2666
+ @TotalTime = params['TotalTime']
2667
+ unless params['VideoInfos'].nil?
2668
+ @VideoInfos = []
2669
+ params['VideoInfos'].each do |i|
2670
+ videoinfo_tmp = VideoInfo.new
2671
+ videoinfo_tmp.deserialize(i)
2672
+ @VideoInfos << videoinfo_tmp
2673
+ end
2674
+ end
2675
+ unless params['OmittedDurations'].nil?
2676
+ @OmittedDurations = []
2677
+ params['OmittedDurations'].each do |i|
2678
+ omittedduration_tmp = OmittedDuration.new
2679
+ omittedduration_tmp.deserialize(i)
2680
+ @OmittedDurations << omittedduration_tmp
2681
+ end
2682
+ end
2683
+ @Details = params['Details']
2684
+ @ErrorCode = params['ErrorCode']
2685
+ @ErrorMsg = params['ErrorMsg']
2686
+ end
2687
+ end
2688
+
2689
+ # 实时录制任务搜索结果
2690
+ class RecordTaskSearchResult < TencentCloud::Common::AbstractModel
2691
+ # @param TaskId: 任务唯一ID
2692
+ # @type TaskId: String
2693
+ # @param Status: 实时录制任务状态
2694
+ # - PAUSED: 录制已暂停
2695
+ # - PREPARED: 录制在准备阶段
2696
+ # - RECORDING: 正在录制
2697
+ # - STOPPED:录制已停止
2698
+ # - FINISHED: 录制已结束
2699
+ # @type Status: String
2700
+ # @param RoomId: 实时录制房间号
2701
+ # @type RoomId: Integer
2702
+ # @param CreateTime: 任务创建时间
2703
+ # @type CreateTime: String
2704
+ # @param SdkAppId: 用户应用SdkAppId
2705
+ # @type SdkAppId: Integer
2706
+ # @param Result: 实时录制结果
2707
+ # @type Result: :class:`Tencentcloud::Tiw.v20190919.models.RecordTaskResult`
2708
+
2709
+ attr_accessor :TaskId, :Status, :RoomId, :CreateTime, :SdkAppId, :Result
2710
+
2711
+ def initialize(taskid=nil, status=nil, roomid=nil, createtime=nil, sdkappid=nil, result=nil)
2712
+ @TaskId = taskid
2713
+ @Status = status
2714
+ @RoomId = roomid
2715
+ @CreateTime = createtime
2716
+ @SdkAppId = sdkappid
2717
+ @Result = result
2718
+ end
2719
+
2720
+ def deserialize(params)
2721
+ @TaskId = params['TaskId']
2722
+ @Status = params['Status']
2723
+ @RoomId = params['RoomId']
2724
+ @CreateTime = params['CreateTime']
2725
+ @SdkAppId = params['SdkAppId']
2726
+ unless params['Result'].nil?
2727
+ @Result = RecordTaskResult.new
2728
+ @Result.deserialize(params['Result'])
2729
+ end
2730
+ end
2731
+ end
2732
+
2573
2733
  # ResumeOnlineRecord请求参数结构体
2574
2734
  class ResumeOnlineRecordRequest < TencentCloud::Common::AbstractModel
2575
2735
  # @param SdkAppId: 客户的SdkAppId
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tiw
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.539
4
+ version: 3.0.540
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-28 00:00:00.000000000 Z
11
+ date: 2023-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common