tencentcloud-sdk-lcic 3.0.430 → 3.0.431

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: 209ced733e9aa20353c226eb714d7f29fbb494ac
4
- data.tar.gz: d1ced6fb91921ab24e18ff5568589e111d77a0c4
3
+ metadata.gz: b807d9ba6b958df09326f4a329c71da09865d276
4
+ data.tar.gz: 128d0b8473ac4ad0b3aafd515c715373893a1511
5
5
  SHA512:
6
- metadata.gz: ef9a53008080ec8b59231fd8971727d3efb19bde9f5f5f8db0e4237cd34198de619491d274e9ec7c2951a7caa14b2917048f86c3151241a37d10a87e0cceef74
7
- data.tar.gz: b99b0f961b7674197957af04492e351f7be7aafac21553f374c6fa8c1c873be387e03ae135cda40dc7be8abd5c2b107ea59dc7aca7ff469d9233e02864a03299
6
+ metadata.gz: 6d1ceb481de5571e99c9578a4df492da5acbe20aab8c36d5f6643c43f35209d299ebcdd9bc39c294668be889d9a33812841eaaf14d898f11931fdf1dd401931d
7
+ data.tar.gz: 38d8322cae665c02b82b9ceb2907260da2e0d8ab68b6fb7fd6cf99b969b728f233fb078def5f6ac4c6a065726e939a2e3d0e8d80073adbdbf799a08fffe318a9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.430
1
+ 3.0.431
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 绑定文档到房间
33
+
34
+ # @param request: Request instance for BindDocumentToRoom.
35
+ # @type request: :class:`Tencentcloud::lcic::V20220817::BindDocumentToRoomRequest`
36
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::BindDocumentToRoomResponse`
37
+ def BindDocumentToRoom(request)
38
+ body = send_request('BindDocumentToRoom', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = BindDocumentToRoomResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 创建房间内可以使用的文档。
33
57
 
34
58
  # @param request: Request instance for CreateDocument.
@@ -149,6 +173,30 @@ module TencentCloud
149
173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
174
  end
151
175
 
176
+ # 获取房间统计信息,仅可在房间结束后调用。
177
+
178
+ # @param request: Request instance for DescribeRoomStatistics.
179
+ # @type request: :class:`Tencentcloud::lcic::V20220817::DescribeRoomStatisticsRequest`
180
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeRoomStatisticsResponse`
181
+ def DescribeRoomStatistics(request)
182
+ body = send_request('DescribeRoomStatistics', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = DescribeRoomStatisticsResponse.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
+
152
200
  # 获取用户信息
153
201
 
154
202
  # @param request: Request instance for DescribeUser.
@@ -221,6 +269,30 @@ module TencentCloud
221
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
270
  end
223
271
 
272
+ # 修改应用
273
+
274
+ # @param request: Request instance for ModifyApp.
275
+ # @type request: :class:`Tencentcloud::lcic::V20220817::ModifyAppRequest`
276
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::ModifyAppResponse`
277
+ def ModifyApp(request)
278
+ body = send_request('ModifyApp', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = ModifyAppResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
224
296
  # 注册用户
225
297
 
226
298
  # @param request: Request instance for RegisterUser.
@@ -269,6 +341,30 @@ module TencentCloud
269
341
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
342
  end
271
343
 
344
+ # 文档从房间解绑
345
+
346
+ # @param request: Request instance for UnbindDocumentFromRoom.
347
+ # @type request: :class:`Tencentcloud::lcic::V20220817::UnbindDocumentFromRoomRequest`
348
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::UnbindDocumentFromRoomResponse`
349
+ def UnbindDocumentFromRoom(request)
350
+ body = send_request('UnbindDocumentFromRoom', request.serialize)
351
+ response = JSON.parse(body)
352
+ if response['Response'].key?('Error') == false
353
+ model = UnbindDocumentFromRoomResponse.new
354
+ model.deserialize(response['Response'])
355
+ model
356
+ else
357
+ code = response['Response']['Error']['Code']
358
+ message = response['Response']['Error']['Message']
359
+ reqid = response['Response']['RequestId']
360
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
361
+ end
362
+ rescue TencentCloud::Common::TencentCloudSDKException => e
363
+ raise e
364
+ rescue StandardError => e
365
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
+ end
367
+
272
368
 
273
369
  end
274
370
  end
@@ -49,6 +49,46 @@ module TencentCloud
49
49
  end
50
50
  end
51
51
 
52
+ # BindDocumentToRoom请求参数结构体
53
+ class BindDocumentToRoomRequest < TencentCloud::Common::AbstractModel
54
+ # @param RoomId: 房间ID。
55
+ # @type RoomId: Integer
56
+ # @param DocumentId: 文档ID。
57
+ # @type DocumentId: String
58
+ # @param BindType: 绑定类型。后台可透传到客户端,默认为0。客户端可以根据这个字段实现业务逻辑。
59
+ # @type BindType: Integer
60
+
61
+ attr_accessor :RoomId, :DocumentId, :BindType
62
+
63
+ def initialize(roomid=nil, documentid=nil, bindtype=nil)
64
+ @RoomId = roomid
65
+ @DocumentId = documentid
66
+ @BindType = bindtype
67
+ end
68
+
69
+ def deserialize(params)
70
+ @RoomId = params['RoomId']
71
+ @DocumentId = params['DocumentId']
72
+ @BindType = params['BindType']
73
+ end
74
+ end
75
+
76
+ # BindDocumentToRoom返回参数结构体
77
+ class BindDocumentToRoomResponse < TencentCloud::Common::AbstractModel
78
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
79
+ # @type RequestId: String
80
+
81
+ attr_accessor :RequestId
82
+
83
+ def initialize(requestid=nil)
84
+ @RequestId = requestid
85
+ end
86
+
87
+ def deserialize(params)
88
+ @RequestId = params['RequestId']
89
+ end
90
+ end
91
+
52
92
  # CreateDocument请求参数结构体
53
93
  class CreateDocumentRequest < TencentCloud::Common::AbstractModel
54
94
  # @param SdkAppId: 低代码互动课堂的SdkAppId。
@@ -329,12 +369,15 @@ module TencentCloud
329
369
  # @param Assistants: 助教Id列表。
330
370
  # 注意:此字段可能返回 null,表示取不到有效值。
331
371
  # @type Assistants: Array
372
+ # @param RecordUrl: 录制地址。仅在房间结束后存在。
373
+ # 注意:此字段可能返回 null,表示取不到有效值。
374
+ # @type RecordUrl: String
332
375
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
333
376
  # @type RequestId: String
334
377
 
335
- attr_accessor :Name, :StartTime, :EndTime, :TeacherId, :SdkAppId, :Resolution, :MaxMicNumber, :AutoMic, :AudioQuality, :SubType, :DisableRecord, :Assistants, :RequestId
378
+ attr_accessor :Name, :StartTime, :EndTime, :TeacherId, :SdkAppId, :Resolution, :MaxMicNumber, :AutoMic, :AudioQuality, :SubType, :DisableRecord, :Assistants, :RecordUrl, :RequestId
336
379
 
337
- 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, requestid=nil)
380
+ 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)
338
381
  @Name = name
339
382
  @StartTime = starttime
340
383
  @EndTime = endtime
@@ -347,6 +390,7 @@ module TencentCloud
347
390
  @SubType = subtype
348
391
  @DisableRecord = disablerecord
349
392
  @Assistants = assistants
393
+ @RecordUrl = recordurl
350
394
  @RequestId = requestid
351
395
  end
352
396
 
@@ -363,6 +407,70 @@ module TencentCloud
363
407
  @SubType = params['SubType']
364
408
  @DisableRecord = params['DisableRecord']
365
409
  @Assistants = params['Assistants']
410
+ @RecordUrl = params['RecordUrl']
411
+ @RequestId = params['RequestId']
412
+ end
413
+ end
414
+
415
+ # DescribeRoomStatistics请求参数结构体
416
+ class DescribeRoomStatisticsRequest < TencentCloud::Common::AbstractModel
417
+ # @param RoomId: 房间Id。
418
+ # @type RoomId: Integer
419
+ # @param Page: 分页查询当前页数,从1开始递增。
420
+ # @type Page: Integer
421
+ # @param Limit: 每页数据量,最大1000。
422
+ # @type Limit: Integer
423
+
424
+ attr_accessor :RoomId, :Page, :Limit
425
+
426
+ def initialize(roomid=nil, page=nil, limit=nil)
427
+ @RoomId = roomid
428
+ @Page = page
429
+ @Limit = limit
430
+ end
431
+
432
+ def deserialize(params)
433
+ @RoomId = params['RoomId']
434
+ @Page = params['Page']
435
+ @Limit = params['Limit']
436
+ end
437
+ end
438
+
439
+ # DescribeRoomStatistics返回参数结构体
440
+ class DescribeRoomStatisticsResponse < TencentCloud::Common::AbstractModel
441
+ # @param PeakMemberNumber: 峰值在线成员人数。
442
+ # @type PeakMemberNumber: Integer
443
+ # @param MemberNumber: 累计在线人数。
444
+ # @type MemberNumber: Integer
445
+ # @param Total: 记录总数。包含进入房间或者应到未到的。
446
+ # @type Total: Integer
447
+ # @param MemberRecords: 成员记录列表。
448
+ # @type MemberRecords: Array
449
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
450
+ # @type RequestId: String
451
+
452
+ attr_accessor :PeakMemberNumber, :MemberNumber, :Total, :MemberRecords, :RequestId
453
+
454
+ def initialize(peakmembernumber=nil, membernumber=nil, total=nil, memberrecords=nil, requestid=nil)
455
+ @PeakMemberNumber = peakmembernumber
456
+ @MemberNumber = membernumber
457
+ @Total = total
458
+ @MemberRecords = memberrecords
459
+ @RequestId = requestid
460
+ end
461
+
462
+ def deserialize(params)
463
+ @PeakMemberNumber = params['PeakMemberNumber']
464
+ @MemberNumber = params['MemberNumber']
465
+ @Total = params['Total']
466
+ unless params['MemberRecords'].nil?
467
+ @MemberRecords = []
468
+ params['MemberRecords'].each do |i|
469
+ memberrecord_tmp = MemberRecord.new
470
+ memberrecord_tmp.deserialize(i)
471
+ @MemberRecords << memberrecord_tmp
472
+ end
473
+ end
366
474
  @RequestId = params['RequestId']
367
475
  end
368
476
  end
@@ -499,6 +607,98 @@ module TencentCloud
499
607
  end
500
608
  end
501
609
 
610
+ # 成员记录信息。
611
+ class MemberRecord < TencentCloud::Common::AbstractModel
612
+ # @param UserId: 用户ID。
613
+ # @type UserId: String
614
+ # @param UserName: 用户名称。
615
+ # @type UserName: String
616
+ # @param PresentTime: 在线时长,单位秒。
617
+ # @type PresentTime: Integer
618
+ # @param Camera: 是否开启摄像头。
619
+ # @type Camera: Integer
620
+ # @param Mic: 是否开启麦克风。
621
+ # @type Mic: Integer
622
+ # @param Silence: 是否禁言。
623
+ # @type Silence: Integer
624
+ # @param AnswerQuestions: 回答问题数量。
625
+ # @type AnswerQuestions: Integer
626
+ # @param HandUps: 举手数量。
627
+ # @type HandUps: Integer
628
+ # @param FirstJoinTimestamp: 首次进入房间的unix时间戳。
629
+ # @type FirstJoinTimestamp: Integer
630
+ # @param LastQuitTimestamp: 最后一次退出房间的unix时间戳。
631
+ # @type LastQuitTimestamp: Integer
632
+ # @param Rewords: 奖励次数。
633
+ # @type Rewords: Integer
634
+
635
+ attr_accessor :UserId, :UserName, :PresentTime, :Camera, :Mic, :Silence, :AnswerQuestions, :HandUps, :FirstJoinTimestamp, :LastQuitTimestamp, :Rewords
636
+
637
+ def initialize(userid=nil, username=nil, presenttime=nil, camera=nil, mic=nil, silence=nil, answerquestions=nil, handups=nil, firstjointimestamp=nil, lastquittimestamp=nil, rewords=nil)
638
+ @UserId = userid
639
+ @UserName = username
640
+ @PresentTime = presenttime
641
+ @Camera = camera
642
+ @Mic = mic
643
+ @Silence = silence
644
+ @AnswerQuestions = answerquestions
645
+ @HandUps = handups
646
+ @FirstJoinTimestamp = firstjointimestamp
647
+ @LastQuitTimestamp = lastquittimestamp
648
+ @Rewords = rewords
649
+ end
650
+
651
+ def deserialize(params)
652
+ @UserId = params['UserId']
653
+ @UserName = params['UserName']
654
+ @PresentTime = params['PresentTime']
655
+ @Camera = params['Camera']
656
+ @Mic = params['Mic']
657
+ @Silence = params['Silence']
658
+ @AnswerQuestions = params['AnswerQuestions']
659
+ @HandUps = params['HandUps']
660
+ @FirstJoinTimestamp = params['FirstJoinTimestamp']
661
+ @LastQuitTimestamp = params['LastQuitTimestamp']
662
+ @Rewords = params['Rewords']
663
+ end
664
+ end
665
+
666
+ # ModifyApp请求参数结构体
667
+ class ModifyAppRequest < TencentCloud::Common::AbstractModel
668
+ # @param SdkAppId: 低代码互动课堂的SdkAppId。
669
+ # @type SdkAppId: Integer
670
+ # @param Callback: 回调地址。
671
+ # @type Callback: String
672
+
673
+ attr_accessor :SdkAppId, :Callback
674
+
675
+ def initialize(sdkappid=nil, callback=nil)
676
+ @SdkAppId = sdkappid
677
+ @Callback = callback
678
+ end
679
+
680
+ def deserialize(params)
681
+ @SdkAppId = params['SdkAppId']
682
+ @Callback = params['Callback']
683
+ end
684
+ end
685
+
686
+ # ModifyApp返回参数结构体
687
+ class ModifyAppResponse < TencentCloud::Common::AbstractModel
688
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
689
+ # @type RequestId: String
690
+
691
+ attr_accessor :RequestId
692
+
693
+ def initialize(requestid=nil)
694
+ @RequestId = requestid
695
+ end
696
+
697
+ def deserialize(params)
698
+ @RequestId = params['RequestId']
699
+ end
700
+ end
701
+
502
702
  # RegisterUser请求参数结构体
503
703
  class RegisterUserRequest < TencentCloud::Common::AbstractModel
504
704
  # @param SdkAppId: 低代码互动课堂的SdkAppId。
@@ -594,6 +794,42 @@ module TencentCloud
594
794
  end
595
795
  end
596
796
 
797
+ # UnbindDocumentFromRoom请求参数结构体
798
+ class UnbindDocumentFromRoomRequest < TencentCloud::Common::AbstractModel
799
+ # @param RoomId: 房间ID。
800
+ # @type RoomId: Integer
801
+ # @param DocumentId: 文档ID。
802
+ # @type DocumentId: String
803
+
804
+ attr_accessor :RoomId, :DocumentId
805
+
806
+ def initialize(roomid=nil, documentid=nil)
807
+ @RoomId = roomid
808
+ @DocumentId = documentid
809
+ end
810
+
811
+ def deserialize(params)
812
+ @RoomId = params['RoomId']
813
+ @DocumentId = params['DocumentId']
814
+ end
815
+ end
816
+
817
+ # UnbindDocumentFromRoom返回参数结构体
818
+ class UnbindDocumentFromRoomResponse < TencentCloud::Common::AbstractModel
819
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
820
+ # @type RequestId: String
821
+
822
+ attr_accessor :RequestId
823
+
824
+ def initialize(requestid=nil)
825
+ @RequestId = requestid
826
+ end
827
+
828
+ def deserialize(params)
829
+ @RequestId = params['RequestId']
830
+ end
831
+ end
832
+
597
833
  end
598
834
  end
599
835
  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.430
4
+ version: 3.0.431
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-18 00:00:00.000000000 Z
11
+ date: 2022-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common