tencentcloud-sdk-lcic 3.0.555 → 3.0.557

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: 7bd16b8b06d9c9cd42dda8a2c51b5e3cc6cbd53a
4
- data.tar.gz: 180a106322c9001b5484d4795000c8b424ea3b3d
3
+ metadata.gz: 0277d965ade2aef7668d57a239c5b92989b24687
4
+ data.tar.gz: 9e18ad0d598f38af03c9920c27cca8425d6603f6
5
5
  SHA512:
6
- metadata.gz: 65a19cb9713de7be2ef9e013d75df8c3a89275fcf1c5237ad3c06c17c46dcb69e3cfd17923ad707a822aa93305e7f740d0e1c0f0a0b94e35deb2d3ce2329b1a5
7
- data.tar.gz: 631c0463079d55a13e352cf2378b09cddaebe7a987ce9e244ceb25c3525038ea38eb3fc04a596e6d4e9b97d80728faa125b7339833ba623c182b3187736d82c5
6
+ metadata.gz: 9c3c3ec900c1f1735f2d09326fd00182a2c5a609c23ee4930cbc4baf180e333a4d4b0ec7f56b4e1b5e9ce5f1a894b0e3d149efe7fb52502d588283a03da26698
7
+ data.tar.gz: 307dde7724842645d54c9a4c0b6a3adac1f8426ac6c89a2d9499231335d3eeef1b589ccdcb094b9a78b8cdfdd1da7fe535466a0ffe82287fdad7b6c44d61b53e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.555
1
+ 3.0.557
@@ -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`
@@ -57,7 +57,7 @@ module TencentCloud
57
57
  end
58
58
  end
59
59
 
60
- # 房间问答问题详情
60
+ # 房间问答答案详情
61
61
  class AnswerInfo < TencentCloud::Common::AbstractModel
62
62
  # @param Name: 用户名
63
63
  # @type Name: String
@@ -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: 批量注册用户信息列表
@@ -3077,7 +3149,7 @@ module TencentCloud
3077
3149
  end
3078
3150
  end
3079
3151
 
3080
- # 房间问答答案详情
3152
+ # 房间问答问题详情
3081
3153
  class QuestionInfo < TencentCloud::Common::AbstractModel
3082
3154
  # @param QuestionId: 问题ID
3083
3155
  # @type QuestionId: String
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.555
4
+ version: 3.0.557
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-19 00:00:00.000000000 Z
11
+ date: 2023-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common