tencentcloud-sdk-lcic 3.0.553 → 3.0.554

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d629af9fd1ca09c6d3ac2f895ea8ccb086b03b52
4
- data.tar.gz: c107030251fc6cc4ba20ff8e5d3feb52f6b284d9
3
+ metadata.gz: a6cc3bc1c39734f43ab103fab2dc78213261d9cf
4
+ data.tar.gz: 6de64efe978f3417c67859c63120848e5a3ad2fd
5
5
  SHA512:
6
- metadata.gz: 0a8256fcae6bcdea3fb0abbad08c8f5e849fd4faaba64dab6fa9b1fbaa108aaab9dfbfb7551fc3a200766035f7a51c03d888f8363401d232fbbd54e1071af34d
7
- data.tar.gz: 7b6152036510c8b46ef1c6f4956df37f2c4b8610db279bf279fec21e57a9102f3eb3df832987cfba1a7ac03e9b1b6eb3051149ef976cbe92e445ef5c7dde8484
6
+ metadata.gz: 215863abc9a2a2c019063ed9a3ec3c31f3c99991a1b674e948399fcb013b9aba3d46b2be2f8a9fbc50f02dbde31e68fff31a85d56ea866083b92c854eef55d1f
7
+ data.tar.gz: 2af8bb91bcde15c124e48c8973261526511752a775c6ffc86b60355b7a9fc87c29da99a7fabd6f6fdc0a5d5d6d7a627681d14769a7eda77e6ebe7feef932fe3f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.553
1
+ 3.0.554
@@ -485,6 +485,30 @@ module TencentCloud
485
485
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
486
  end
487
487
 
488
+ # 删除巡课
489
+
490
+ # @param request: Request instance for DeleteSupervisor.
491
+ # @type request: :class:`Tencentcloud::lcic::V20220817::DeleteSupervisorRequest`
492
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::DeleteSupervisorResponse`
493
+ def DeleteSupervisor(request)
494
+ body = send_request('DeleteSupervisor', request.serialize)
495
+ response = JSON.parse(body)
496
+ if response['Response'].key?('Error') == false
497
+ model = DeleteSupervisorResponse.new
498
+ model.deserialize(response['Response'])
499
+ model
500
+ else
501
+ code = response['Response']['Error']['Code']
502
+ message = response['Response']['Error']['Message']
503
+ reqid = response['Response']['RequestId']
504
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
505
+ end
506
+ rescue TencentCloud::Common::TencentCloudSDKException => e
507
+ raise e
508
+ rescue StandardError => e
509
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
+ end
511
+
488
512
  # 获取房间答题详情
489
513
 
490
514
  # @param request: Request instance for DescribeAnswerList.
@@ -605,6 +629,30 @@ module TencentCloud
605
629
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
630
  end
607
631
 
632
+ # 批量获取文档信息
633
+
634
+ # @param request: Request instance for DescribeDocuments.
635
+ # @type request: :class:`Tencentcloud::lcic::V20220817::DescribeDocumentsRequest`
636
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeDocumentsResponse`
637
+ def DescribeDocuments(request)
638
+ body = send_request('DescribeDocuments', request.serialize)
639
+ response = JSON.parse(body)
640
+ if response['Response'].key?('Error') == false
641
+ model = DescribeDocumentsResponse.new
642
+ model.deserialize(response['Response'])
643
+ model
644
+ else
645
+ code = response['Response']['Error']['Code']
646
+ message = response['Response']['Error']['Message']
647
+ reqid = response['Response']['RequestId']
648
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
649
+ end
650
+ rescue TencentCloud::Common::TencentCloudSDKException => e
651
+ raise e
652
+ rescue StandardError => e
653
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
+ end
655
+
608
656
  # 此接口获取指定房间下课件列表
609
657
 
610
658
  # @param request: Request instance for DescribeDocumentsByRoom.
@@ -845,6 +893,30 @@ module TencentCloud
845
893
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
846
894
  end
847
895
 
896
+ # 结束房间的直播
897
+
898
+ # @param request: Request instance for EndRoom.
899
+ # @type request: :class:`Tencentcloud::lcic::V20220817::EndRoomRequest`
900
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::EndRoomResponse`
901
+ def EndRoom(request)
902
+ body = send_request('EndRoom', request.serialize)
903
+ response = JSON.parse(body)
904
+ if response['Response'].key?('Error') == false
905
+ model = EndRoomResponse.new
906
+ model.deserialize(response['Response'])
907
+ model
908
+ else
909
+ code = response['Response']['Error']['Code']
910
+ message = response['Response']['Error']['Message']
911
+ reqid = response['Response']['RequestId']
912
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
913
+ end
914
+ rescue TencentCloud::Common::TencentCloudSDKException => e
915
+ raise e
916
+ rescue StandardError => e
917
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
918
+ end
919
+
848
920
  # 获取房间事件,仅在课堂结束1小时内有效。
849
921
 
850
922
  # @param request: Request instance for GetRoomEvent.
@@ -1157,6 +1229,30 @@ module TencentCloud
1157
1229
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1158
1230
  end
1159
1231
 
1232
+ # 开始房间的直播
1233
+
1234
+ # @param request: Request instance for StartRoom.
1235
+ # @type request: :class:`Tencentcloud::lcic::V20220817::StartRoomRequest`
1236
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::StartRoomResponse`
1237
+ def StartRoom(request)
1238
+ body = send_request('StartRoom', request.serialize)
1239
+ response = JSON.parse(body)
1240
+ if response['Response'].key?('Error') == false
1241
+ model = StartRoomResponse.new
1242
+ model.deserialize(response['Response'])
1243
+ model
1244
+ else
1245
+ code = response['Response']['Error']['Code']
1246
+ message = response['Response']['Error']['Message']
1247
+ reqid = response['Response']['RequestId']
1248
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1249
+ end
1250
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1251
+ raise e
1252
+ rescue StandardError => e
1253
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1254
+ end
1255
+
1160
1256
  # 文档从房间解绑
1161
1257
 
1162
1258
  # @param request: Request instance for UnbindDocumentFromRoom.
@@ -1061,6 +1061,42 @@ module TencentCloud
1061
1061
  end
1062
1062
  end
1063
1063
 
1064
+ # DeleteSupervisor请求参数结构体
1065
+ class DeleteSupervisorRequest < TencentCloud::Common::AbstractModel
1066
+ # @param SdkAppId: 应用ID
1067
+ # @type SdkAppId: Integer
1068
+ # @param Users: 用户ID列表
1069
+ # @type Users: Array
1070
+
1071
+ attr_accessor :SdkAppId, :Users
1072
+
1073
+ def initialize(sdkappid=nil, users=nil)
1074
+ @SdkAppId = sdkappid
1075
+ @Users = users
1076
+ end
1077
+
1078
+ def deserialize(params)
1079
+ @SdkAppId = params['SdkAppId']
1080
+ @Users = params['Users']
1081
+ end
1082
+ end
1083
+
1084
+ # DeleteSupervisor返回参数结构体
1085
+ class DeleteSupervisorResponse < TencentCloud::Common::AbstractModel
1086
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1087
+ # @type RequestId: String
1088
+
1089
+ attr_accessor :RequestId
1090
+
1091
+ def initialize(requestid=nil)
1092
+ @RequestId = requestid
1093
+ end
1094
+
1095
+ def deserialize(params)
1096
+ @RequestId = params['RequestId']
1097
+ end
1098
+ end
1099
+
1064
1100
  # DescribeAnswerList请求参数结构体
1065
1101
  class DescribeAnswerListRequest < TencentCloud::Common::AbstractModel
1066
1102
  # @param QuestionId: 问题ID
@@ -1422,6 +1458,78 @@ module TencentCloud
1422
1458
  end
1423
1459
  end
1424
1460
 
1461
+ # DescribeDocuments请求参数结构体
1462
+ class DescribeDocumentsRequest < TencentCloud::Common::AbstractModel
1463
+ # @param SchoolId: 学校id
1464
+ # @type SchoolId: Integer
1465
+ # @param Page: 分页查询当前页数,从1开始递增
1466
+ # @type Page: Integer
1467
+ # @param Limit: 每页数据量,最大1000
1468
+ # @type Limit: Integer
1469
+ # @param Permission: 课件权限。[0]:获取owner的私有课件;[1]:获取owner的公开课件; [0,1]:则获取owner的私有课件和公开课件;[2]:获取owner的私有课件和所有人(包括owner)的公开课件
1470
+ # @type Permission: Array
1471
+ # @param Owner: 课件所有者的user_id,不填默认获取school_id下所有课件
1472
+ # @type Owner: String
1473
+ # @param Keyword: 课件名称搜索词
1474
+ # @type Keyword: String
1475
+ # @param DocumentId: 课件id列表,从列表中查询,忽略错误的id
1476
+ # @type DocumentId: Array
1477
+
1478
+ attr_accessor :SchoolId, :Page, :Limit, :Permission, :Owner, :Keyword, :DocumentId
1479
+
1480
+ def initialize(schoolid=nil, page=nil, limit=nil, permission=nil, owner=nil, keyword=nil, documentid=nil)
1481
+ @SchoolId = schoolid
1482
+ @Page = page
1483
+ @Limit = limit
1484
+ @Permission = permission
1485
+ @Owner = owner
1486
+ @Keyword = keyword
1487
+ @DocumentId = documentid
1488
+ end
1489
+
1490
+ def deserialize(params)
1491
+ @SchoolId = params['SchoolId']
1492
+ @Page = params['Page']
1493
+ @Limit = params['Limit']
1494
+ @Permission = params['Permission']
1495
+ @Owner = params['Owner']
1496
+ @Keyword = params['Keyword']
1497
+ @DocumentId = params['DocumentId']
1498
+ end
1499
+ end
1500
+
1501
+ # DescribeDocuments返回参数结构体
1502
+ class DescribeDocumentsResponse < TencentCloud::Common::AbstractModel
1503
+ # @param Total: 符合查询条件文档总数
1504
+ # @type Total: Integer
1505
+ # @param Documents: 文档信息列表
1506
+ # 注意:此字段可能返回 null,表示取不到有效值。
1507
+ # @type Documents: Array
1508
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1509
+ # @type RequestId: String
1510
+
1511
+ attr_accessor :Total, :Documents, :RequestId
1512
+
1513
+ def initialize(total=nil, documents=nil, requestid=nil)
1514
+ @Total = total
1515
+ @Documents = documents
1516
+ @RequestId = requestid
1517
+ end
1518
+
1519
+ def deserialize(params)
1520
+ @Total = params['Total']
1521
+ unless params['Documents'].nil?
1522
+ @Documents = []
1523
+ params['Documents'].each do |i|
1524
+ documentinfo_tmp = DocumentInfo.new
1525
+ documentinfo_tmp.deserialize(i)
1526
+ @Documents << documentinfo_tmp
1527
+ end
1528
+ end
1529
+ @RequestId = params['RequestId']
1530
+ end
1531
+ end
1532
+
1425
1533
  # DescribeGroupList请求参数结构体
1426
1534
  class DescribeGroupListRequest < TencentCloud::Common::AbstractModel
1427
1535
  # @param SdkAppId: 低代码平台应用ID
@@ -2048,10 +2156,22 @@ module TencentCloud
2048
2156
  # @param UpdateTime: 更新的UNIX时间戳
2049
2157
  # 注意:此字段可能返回 null,表示取不到有效值。
2050
2158
  # @type UpdateTime: Integer
2159
+ # @param Pages: 课件页数
2160
+ # 注意:此字段可能返回 null,表示取不到有效值。
2161
+ # @type Pages: Integer
2162
+ # @param Width: 宽,仅在静态转码的课件有效
2163
+ # 注意:此字段可能返回 null,表示取不到有效值。
2164
+ # @type Width: Integer
2165
+ # @param Height: 高,仅在静态转码的课件有效
2166
+ # 注意:此字段可能返回 null,表示取不到有效值。
2167
+ # @type Height: Integer
2168
+ # @param Cover: 封面,仅转码的课件会生成封面
2169
+ # 注意:此字段可能返回 null,表示取不到有效值。
2170
+ # @type Cover: String
2051
2171
 
2052
- attr_accessor :DocumentId, :DocumentUrl, :DocumentName, :Owner, :SdkAppId, :Permission, :TranscodeResult, :TranscodeType, :TranscodeProgress, :TranscodeState, :TranscodeInfo, :DocumentType, :DocumentSize, :UpdateTime
2172
+ attr_accessor :DocumentId, :DocumentUrl, :DocumentName, :Owner, :SdkAppId, :Permission, :TranscodeResult, :TranscodeType, :TranscodeProgress, :TranscodeState, :TranscodeInfo, :DocumentType, :DocumentSize, :UpdateTime, :Pages, :Width, :Height, :Cover
2053
2173
 
2054
- def initialize(documentid=nil, documenturl=nil, documentname=nil, owner=nil, sdkappid=nil, permission=nil, transcoderesult=nil, transcodetype=nil, transcodeprogress=nil, transcodestate=nil, transcodeinfo=nil, documenttype=nil, documentsize=nil, updatetime=nil)
2174
+ def initialize(documentid=nil, documenturl=nil, documentname=nil, owner=nil, sdkappid=nil, permission=nil, transcoderesult=nil, transcodetype=nil, transcodeprogress=nil, transcodestate=nil, transcodeinfo=nil, documenttype=nil, documentsize=nil, updatetime=nil, pages=nil, width=nil, height=nil, cover=nil)
2055
2175
  @DocumentId = documentid
2056
2176
  @DocumentUrl = documenturl
2057
2177
  @DocumentName = documentname
@@ -2066,6 +2186,10 @@ module TencentCloud
2066
2186
  @DocumentType = documenttype
2067
2187
  @DocumentSize = documentsize
2068
2188
  @UpdateTime = updatetime
2189
+ @Pages = pages
2190
+ @Width = width
2191
+ @Height = height
2192
+ @Cover = cover
2069
2193
  end
2070
2194
 
2071
2195
  def deserialize(params)
@@ -2083,6 +2207,42 @@ module TencentCloud
2083
2207
  @DocumentType = params['DocumentType']
2084
2208
  @DocumentSize = params['DocumentSize']
2085
2209
  @UpdateTime = params['UpdateTime']
2210
+ @Pages = params['Pages']
2211
+ @Width = params['Width']
2212
+ @Height = params['Height']
2213
+ @Cover = params['Cover']
2214
+ end
2215
+ end
2216
+
2217
+ # EndRoom请求参数结构体
2218
+ class EndRoomRequest < TencentCloud::Common::AbstractModel
2219
+ # @param RoomId: 房间ID。
2220
+ # @type RoomId: Integer
2221
+
2222
+ attr_accessor :RoomId
2223
+
2224
+ def initialize(roomid=nil)
2225
+ @RoomId = roomid
2226
+ end
2227
+
2228
+ def deserialize(params)
2229
+ @RoomId = params['RoomId']
2230
+ end
2231
+ end
2232
+
2233
+ # EndRoom返回参数结构体
2234
+ class EndRoomResponse < TencentCloud::Common::AbstractModel
2235
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2236
+ # @type RequestId: String
2237
+
2238
+ attr_accessor :RequestId
2239
+
2240
+ def initialize(requestid=nil)
2241
+ @RequestId = requestid
2242
+ end
2243
+
2244
+ def deserialize(params)
2245
+ @RequestId = params['RequestId']
2086
2246
  end
2087
2247
  end
2088
2248
 
@@ -2565,10 +2725,20 @@ module TencentCloud
2565
2725
  # @type PerMemberMicCount: Integer
2566
2726
  # @param PerMemberMessageCount: 每个成员发送消息数量。
2567
2727
  # @type PerMemberMessageCount: Integer
2728
+ # @param Role: 用户角色。0代表学生;1代表老师; 2助教;3巡课。
2729
+ # @type Role: Integer
2730
+ # @param GroupId: 上课班号
2731
+ # @type GroupId: String
2732
+ # @param SubGroupId: 子上课班号
2733
+ # 注意:此字段可能返回 null,表示取不到有效值。
2734
+ # @type SubGroupId: Array
2735
+ # @param Stage: 用户的上台状态
2736
+ # 注意:此字段可能返回 null,表示取不到有效值。
2737
+ # @type Stage: Integer
2568
2738
 
2569
- attr_accessor :UserId, :UserName, :PresentTime, :Camera, :Mic, :Silence, :AnswerQuestions, :HandUps, :FirstJoinTimestamp, :LastQuitTimestamp, :Rewords, :IPAddress, :Location, :Device, :PerMemberMicCount, :PerMemberMessageCount
2739
+ attr_accessor :UserId, :UserName, :PresentTime, :Camera, :Mic, :Silence, :AnswerQuestions, :HandUps, :FirstJoinTimestamp, :LastQuitTimestamp, :Rewords, :IPAddress, :Location, :Device, :PerMemberMicCount, :PerMemberMessageCount, :Role, :GroupId, :SubGroupId, :Stage
2570
2740
 
2571
- def initialize(userid=nil, username=nil, presenttime=nil, camera=nil, mic=nil, silence=nil, answerquestions=nil, handups=nil, firstjointimestamp=nil, lastquittimestamp=nil, rewords=nil, ipaddress=nil, location=nil, device=nil, permembermiccount=nil, permembermessagecount=nil)
2741
+ def initialize(userid=nil, username=nil, presenttime=nil, camera=nil, mic=nil, silence=nil, answerquestions=nil, handups=nil, firstjointimestamp=nil, lastquittimestamp=nil, rewords=nil, ipaddress=nil, location=nil, device=nil, permembermiccount=nil, permembermessagecount=nil, role=nil, groupid=nil, subgroupid=nil, stage=nil)
2572
2742
  @UserId = userid
2573
2743
  @UserName = username
2574
2744
  @PresentTime = presenttime
@@ -2585,6 +2755,10 @@ module TencentCloud
2585
2755
  @Device = device
2586
2756
  @PerMemberMicCount = permembermiccount
2587
2757
  @PerMemberMessageCount = permembermessagecount
2758
+ @Role = role
2759
+ @GroupId = groupid
2760
+ @SubGroupId = subgroupid
2761
+ @Stage = stage
2588
2762
  end
2589
2763
 
2590
2764
  def deserialize(params)
@@ -2604,6 +2778,10 @@ module TencentCloud
2604
2778
  @Device = params['Device']
2605
2779
  @PerMemberMicCount = params['PerMemberMicCount']
2606
2780
  @PerMemberMessageCount = params['PerMemberMessageCount']
2781
+ @Role = params['Role']
2782
+ @GroupId = params['GroupId']
2783
+ @SubGroupId = params['SubGroupId']
2784
+ @Stage = params['Stage']
2607
2785
  end
2608
2786
  end
2609
2787
 
@@ -3274,6 +3452,38 @@ module TencentCloud
3274
3452
  end
3275
3453
  end
3276
3454
 
3455
+ # StartRoom请求参数结构体
3456
+ class StartRoomRequest < TencentCloud::Common::AbstractModel
3457
+ # @param RoomId: 房间ID。
3458
+ # @type RoomId: Integer
3459
+
3460
+ attr_accessor :RoomId
3461
+
3462
+ def initialize(roomid=nil)
3463
+ @RoomId = roomid
3464
+ end
3465
+
3466
+ def deserialize(params)
3467
+ @RoomId = params['RoomId']
3468
+ end
3469
+ end
3470
+
3471
+ # StartRoom返回参数结构体
3472
+ class StartRoomResponse < TencentCloud::Common::AbstractModel
3473
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3474
+ # @type RequestId: String
3475
+
3476
+ attr_accessor :RequestId
3477
+
3478
+ def initialize(requestid=nil)
3479
+ @RequestId = requestid
3480
+ end
3481
+
3482
+ def deserialize(params)
3483
+ @RequestId = params['RequestId']
3484
+ end
3485
+ end
3486
+
3277
3487
  # 文字水印配置
3278
3488
  class TextMarkConfig < TencentCloud::Common::AbstractModel
3279
3489
  # @param Text: 文字水印内容
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.553
4
+ version: 3.0.554
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-18 00:00:00.000000000 Z
11
+ date: 2023-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common