tencentcloud-sdk-lcic 3.0.508 → 3.0.509
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220817/client.rb +24 -0
- data/lib/v20220817/models.rb +55 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6419849ca5a87f79735049ba8b7ad899f0ad10ad
|
4
|
+
data.tar.gz: 6f921b68846660ce8ed09b8d984fc24768c51ddf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15e922d8946b37266798e5345d72555467382393952fd0cf947cfa2132811ab2e7b28e71f91b460e5efaaf9b4e18e64bccb16da714cc1a12faf74b6a85a6b2e6
|
7
|
+
data.tar.gz: 3ab4d4368350534fe36b87885fea4facda234290750e377d915352b865bfa38f23277c374ab09b4a7fcd4b399df82adc8bba9c6a2d2d9a022c3d0eb8c0723c66
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.509
|
data/lib/v20220817/client.rb
CHANGED
@@ -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.
|
data/lib/v20220817/models.rb
CHANGED
@@ -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)
|
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.
|
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-
|
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
|