tencentcloud-sdk-lcic 3.0.507 → 3.0.509

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: cd8f958cfceff5372ed4479761ec8ee10b1046ff
4
- data.tar.gz: af2a8fd63f6b82092aad6c77ff16d38d35751c9a
3
+ metadata.gz: 6419849ca5a87f79735049ba8b7ad899f0ad10ad
4
+ data.tar.gz: 6f921b68846660ce8ed09b8d984fc24768c51ddf
5
5
  SHA512:
6
- metadata.gz: 713b095307225db2d1492771429bf054f84b75fbd3f0ceb5d811f8b37d665ab11310fd58acf14dd9d85b71157d7ff8775ad54c2e939c46e6a7690f8721e7a6b7
7
- data.tar.gz: 1c60754b230473b8231ecb9a64997ab7e2de6e9a66272289bb7a332119c7845868d4eacb51ad536775fc01b304bca5c12cb59d35d311cc4f513beb517d8dc4e1
6
+ metadata.gz: 15e922d8946b37266798e5345d72555467382393952fd0cf947cfa2132811ab2e7b28e71f91b460e5efaaf9b4e18e64bccb16da714cc1a12faf74b6a85a6b2e6
7
+ data.tar.gz: 3ab4d4368350534fe36b87885fea4facda234290750e377d915352b865bfa38f23277c374ab09b4a7fcd4b399df82adc8bba9c6a2d2d9a022c3d0eb8c0723c66
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.507
1
+ 3.0.509
@@ -293,6 +293,30 @@ module TencentCloud
293
293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
294
  end
295
295
 
296
+ # 获取当前房间的成员列表,房间结束或过期后无法使用。
297
+
298
+ # @param request: Request instance for DescribeCurrentMemberList.
299
+ # @type request: :class:`Tencentcloud::lcic::V20220817::DescribeCurrentMemberListRequest`
300
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeCurrentMemberListResponse`
301
+ def DescribeCurrentMemberList(request)
302
+ body = send_request('DescribeCurrentMemberList', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = DescribeCurrentMemberListResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
296
320
  # 获取文档信息
297
321
 
298
322
  # @param request: Request instance for DescribeDocument.
@@ -670,6 +670,61 @@ module TencentCloud
670
670
  end
671
671
  end
672
672
 
673
+ # DescribeCurrentMemberList请求参数结构体
674
+ class DescribeCurrentMemberListRequest < TencentCloud::Common::AbstractModel
675
+ # @param RoomId: 房间Id。
676
+ # @type RoomId: Integer
677
+ # @param Page: 分页查询当前页数,从1开始递增。
678
+ # @type Page: Integer
679
+ # @param Limit: 每页数据量,最大1000。
680
+ # @type Limit: Integer
681
+
682
+ attr_accessor :RoomId, :Page, :Limit
683
+
684
+ def initialize(roomid=nil, page=nil, limit=nil)
685
+ @RoomId = roomid
686
+ @Page = page
687
+ @Limit = limit
688
+ end
689
+
690
+ def deserialize(params)
691
+ @RoomId = params['RoomId']
692
+ @Page = params['Page']
693
+ @Limit = params['Limit']
694
+ end
695
+ end
696
+
697
+ # DescribeCurrentMemberList返回参数结构体
698
+ class DescribeCurrentMemberListResponse < TencentCloud::Common::AbstractModel
699
+ # @param Total: 记录总数。当前房间的总人数。
700
+ # @type Total: Integer
701
+ # @param MemberRecords: 成员记录列表。
702
+ # @type MemberRecords: Array
703
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
704
+ # @type RequestId: String
705
+
706
+ attr_accessor :Total, :MemberRecords, :RequestId
707
+
708
+ def initialize(total=nil, memberrecords=nil, requestid=nil)
709
+ @Total = total
710
+ @MemberRecords = memberrecords
711
+ @RequestId = requestid
712
+ end
713
+
714
+ def deserialize(params)
715
+ @Total = params['Total']
716
+ unless params['MemberRecords'].nil?
717
+ @MemberRecords = []
718
+ params['MemberRecords'].each do |i|
719
+ memberrecord_tmp = MemberRecord.new
720
+ memberrecord_tmp.deserialize(i)
721
+ @MemberRecords << memberrecord_tmp
722
+ end
723
+ end
724
+ @RequestId = params['RequestId']
725
+ end
726
+ end
727
+
673
728
  # DescribeDocument请求参数结构体
674
729
  class DescribeDocumentRequest < TencentCloud::Common::AbstractModel
675
730
  # @param DocumentId: 文档Id(唯一id)
@@ -890,12 +945,15 @@ module TencentCloud
890
945
  # @param RecordUrl: 录制地址。仅在房间结束后存在。
891
946
  # 注意:此字段可能返回 null,表示取不到有效值。
892
947
  # @type RecordUrl: String
948
+ # @param Status: 课堂状态。0为未开始,1为正在上课,2为已结束,3为已过期。
949
+ # 注意:此字段可能返回 null,表示取不到有效值。
950
+ # @type Status: Integer
893
951
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
894
952
  # @type RequestId: String
895
953
 
896
- attr_accessor :Name, :StartTime, :EndTime, :TeacherId, :SdkAppId, :Resolution, :MaxMicNumber, :AutoMic, :AudioQuality, :SubType, :DisableRecord, :Assistants, :RecordUrl, :RequestId
954
+ attr_accessor :Name, :StartTime, :EndTime, :TeacherId, :SdkAppId, :Resolution, :MaxMicNumber, :AutoMic, :AudioQuality, :SubType, :DisableRecord, :Assistants, :RecordUrl, :Status, :RequestId
897
955
 
898
- def initialize(name=nil, starttime=nil, endtime=nil, teacherid=nil, sdkappid=nil, resolution=nil, maxmicnumber=nil, automic=nil, audioquality=nil, subtype=nil, disablerecord=nil, assistants=nil, recordurl=nil, requestid=nil)
956
+ def initialize(name=nil, starttime=nil, endtime=nil, teacherid=nil, sdkappid=nil, resolution=nil, maxmicnumber=nil, automic=nil, audioquality=nil, subtype=nil, disablerecord=nil, assistants=nil, recordurl=nil, status=nil, requestid=nil)
899
957
  @Name = name
900
958
  @StartTime = starttime
901
959
  @EndTime = endtime
@@ -909,6 +967,7 @@ module TencentCloud
909
967
  @DisableRecord = disablerecord
910
968
  @Assistants = assistants
911
969
  @RecordUrl = recordurl
970
+ @Status = status
912
971
  @RequestId = requestid
913
972
  end
914
973
 
@@ -926,6 +985,7 @@ module TencentCloud
926
985
  @DisableRecord = params['DisableRecord']
927
986
  @Assistants = params['Assistants']
928
987
  @RecordUrl = params['RecordUrl']
988
+ @Status = params['Status']
929
989
  @RequestId = params['RequestId']
930
990
  end
931
991
  end
@@ -964,16 +1024,24 @@ module TencentCloud
964
1024
  # @type Total: Integer
965
1025
  # @param MemberRecords: 成员记录列表。
966
1026
  # @type MemberRecords: Array
1027
+ # @param RealStartTime: 秒级unix时间戳,实际房间开始时间。
1028
+ # 注意:此字段可能返回 null,表示取不到有效值。
1029
+ # @type RealStartTime: Integer
1030
+ # @param RealEndTime: 秒级unix时间戳,实际房间结束时间。
1031
+ # 注意:此字段可能返回 null,表示取不到有效值。
1032
+ # @type RealEndTime: Integer
967
1033
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
968
1034
  # @type RequestId: String
969
1035
 
970
- attr_accessor :PeakMemberNumber, :MemberNumber, :Total, :MemberRecords, :RequestId
1036
+ attr_accessor :PeakMemberNumber, :MemberNumber, :Total, :MemberRecords, :RealStartTime, :RealEndTime, :RequestId
971
1037
 
972
- def initialize(peakmembernumber=nil, membernumber=nil, total=nil, memberrecords=nil, requestid=nil)
1038
+ def initialize(peakmembernumber=nil, membernumber=nil, total=nil, memberrecords=nil, realstarttime=nil, realendtime=nil, requestid=nil)
973
1039
  @PeakMemberNumber = peakmembernumber
974
1040
  @MemberNumber = membernumber
975
1041
  @Total = total
976
1042
  @MemberRecords = memberrecords
1043
+ @RealStartTime = realstarttime
1044
+ @RealEndTime = realendtime
977
1045
  @RequestId = requestid
978
1046
  end
979
1047
 
@@ -989,6 +1057,8 @@ module TencentCloud
989
1057
  @MemberRecords << memberrecord_tmp
990
1058
  end
991
1059
  end
1060
+ @RealStartTime = params['RealStartTime']
1061
+ @RealEndTime = params['RealEndTime']
992
1062
  @RequestId = params['RequestId']
993
1063
  end
994
1064
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lcic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.507
4
+ version: 3.0.509
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-02-13 00:00:00.000000000 Z
11
+ date: 2023-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common