tencentcloud-sdk-lcic 3.0.556 → 3.0.558
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 +28 -2
- data/lib/v20220817/models.rb +72 -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: 8ded9fa6322fcdca0be167ea8cb39d7c07baa1b6
|
4
|
+
data.tar.gz: f79b41413752f42726f3ed1d0929423e6e08cd50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a298fd5c8cb6f7e0325ccf20e5738856f1a1997e7901500955079f70d8082242ad299a917b50f49b27c8abe809d9abf9bff3559e243444ec04c26545aa9163bd
|
7
|
+
data.tar.gz: 7eec39bf65935c18c7de6f2a843a53beb4cefe78094833d8214296a83848093764c5ed110e8b7b2f8ab50490f77f625a4c80d83fff0945eea8f2bf234efafa4f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.558
|
data/lib/v20220817/client.rb
CHANGED
@@ -173,6 +173,30 @@ module TencentCloud
|
|
173
173
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
174
|
end
|
175
175
|
|
176
|
+
# 批量获取文档详情
|
177
|
+
|
178
|
+
# @param request: Request instance for BatchDescribeDocument.
|
179
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::BatchDescribeDocumentRequest`
|
180
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::BatchDescribeDocumentResponse`
|
181
|
+
def BatchDescribeDocument(request)
|
182
|
+
body = send_request('BatchDescribeDocument', request.serialize)
|
183
|
+
response = JSON.parse(body)
|
184
|
+
if response['Response'].key?('Error') == false
|
185
|
+
model = BatchDescribeDocumentResponse.new
|
186
|
+
model.deserialize(response['Response'])
|
187
|
+
model
|
188
|
+
else
|
189
|
+
code = response['Response']['Error']['Code']
|
190
|
+
message = response['Response']['Error']['Message']
|
191
|
+
reqid = response['Response']['RequestId']
|
192
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
193
|
+
end
|
194
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
195
|
+
raise e
|
196
|
+
rescue StandardError => e
|
197
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
|
+
end
|
199
|
+
|
176
200
|
# 如果批量注册的用户已存在,则会被覆盖。一次最多注册1000个用户。默认请求频率限制:10次/秒
|
177
201
|
|
178
202
|
# @param request: Request instance for BatchRegister.
|
@@ -629,7 +653,9 @@ module TencentCloud
|
|
629
653
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
654
|
end
|
631
655
|
|
632
|
-
#
|
656
|
+
# 有新接口替换
|
657
|
+
|
658
|
+
# 批量获取文档信息(已废弃,替代接口BatchDescribeDocument)
|
633
659
|
|
634
660
|
# @param request: Request instance for DescribeDocuments.
|
635
661
|
# @type request: :class:`Tencentcloud::lcic::V20220817::DescribeDocumentsRequest`
|
@@ -1229,7 +1255,7 @@ module TencentCloud
|
|
1229
1255
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1230
1256
|
end
|
1231
1257
|
|
1232
|
-
#
|
1258
|
+
# 开始房间的直播。 说明:开始房间接口调用之前需要有用户进入课堂初始化课堂信息。
|
1233
1259
|
|
1234
1260
|
# @param request: Request instance for StartRoom.
|
1235
1261
|
# @type request: :class:`Tencentcloud::lcic::V20220817::StartRoomRequest`
|
data/lib/v20220817/models.rb
CHANGED
@@ -388,6 +388,78 @@ module TencentCloud
|
|
388
388
|
end
|
389
389
|
end
|
390
390
|
|
391
|
+
# BatchDescribeDocument请求参数结构体
|
392
|
+
class BatchDescribeDocumentRequest < TencentCloud::Common::AbstractModel
|
393
|
+
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
394
|
+
# @type SdkAppId: Integer
|
395
|
+
# @param Page: 分页查询当前页数,从1开始递增
|
396
|
+
# @type Page: Integer
|
397
|
+
# @param Limit: 每页数据量,最大1000
|
398
|
+
# @type Limit: Integer
|
399
|
+
# @param Permission: 课件权限。[0]:获取owner的私有课件;[1]:获取owner的公开课件; [0,1]:则获取owner的私有课件和公开课件;[2]:获取owner的私有课件和所有人(包括owner)的公开课件
|
400
|
+
# @type Permission: Array
|
401
|
+
# @param Owner: 课件所有者的user_id,不填默认获取SdkAppId下所有课件
|
402
|
+
# @type Owner: String
|
403
|
+
# @param Keyword: 课件名称搜索词
|
404
|
+
# @type Keyword: String
|
405
|
+
# @param DocumentId: 课件id列表,从列表中查询,忽略错误的id
|
406
|
+
# @type DocumentId: Array
|
407
|
+
|
408
|
+
attr_accessor :SdkAppId, :Page, :Limit, :Permission, :Owner, :Keyword, :DocumentId
|
409
|
+
|
410
|
+
def initialize(sdkappid=nil, page=nil, limit=nil, permission=nil, owner=nil, keyword=nil, documentid=nil)
|
411
|
+
@SdkAppId = sdkappid
|
412
|
+
@Page = page
|
413
|
+
@Limit = limit
|
414
|
+
@Permission = permission
|
415
|
+
@Owner = owner
|
416
|
+
@Keyword = keyword
|
417
|
+
@DocumentId = documentid
|
418
|
+
end
|
419
|
+
|
420
|
+
def deserialize(params)
|
421
|
+
@SdkAppId = params['SdkAppId']
|
422
|
+
@Page = params['Page']
|
423
|
+
@Limit = params['Limit']
|
424
|
+
@Permission = params['Permission']
|
425
|
+
@Owner = params['Owner']
|
426
|
+
@Keyword = params['Keyword']
|
427
|
+
@DocumentId = params['DocumentId']
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
431
|
+
# BatchDescribeDocument返回参数结构体
|
432
|
+
class BatchDescribeDocumentResponse < TencentCloud::Common::AbstractModel
|
433
|
+
# @param Total: 符合查询条件文档总数
|
434
|
+
# @type Total: Integer
|
435
|
+
# @param Documents: 文档信息列表
|
436
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
437
|
+
# @type Documents: Array
|
438
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
439
|
+
# @type RequestId: String
|
440
|
+
|
441
|
+
attr_accessor :Total, :Documents, :RequestId
|
442
|
+
|
443
|
+
def initialize(total=nil, documents=nil, requestid=nil)
|
444
|
+
@Total = total
|
445
|
+
@Documents = documents
|
446
|
+
@RequestId = requestid
|
447
|
+
end
|
448
|
+
|
449
|
+
def deserialize(params)
|
450
|
+
@Total = params['Total']
|
451
|
+
unless params['Documents'].nil?
|
452
|
+
@Documents = []
|
453
|
+
params['Documents'].each do |i|
|
454
|
+
documentinfo_tmp = DocumentInfo.new
|
455
|
+
documentinfo_tmp.deserialize(i)
|
456
|
+
@Documents << documentinfo_tmp
|
457
|
+
end
|
458
|
+
end
|
459
|
+
@RequestId = params['RequestId']
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
391
463
|
# BatchRegister请求参数结构体
|
392
464
|
class BatchRegisterRequest < TencentCloud::Common::AbstractModel
|
393
465
|
# @param Users: 批量注册用户信息列表
|
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.558
|
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-04-
|
11
|
+
date: 2023-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|