tencentcloud-sdk-lcic 3.0.508 → 3.0.510

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: 99f2eab78fe09f3f1073c32ce8191cf358f7b249
4
- data.tar.gz: 5aa2434aac7335ab2f6616c25919152288b9ce76
3
+ metadata.gz: 84f1b9e554931612c5f8105121566a28a2e5081d
4
+ data.tar.gz: fb1db35395e17429fbaeee905b888e76e6b9c4fc
5
5
  SHA512:
6
- metadata.gz: 28b5f984020d7081c14c40b60035c68e403968b8534f87c61fbe3027b2830ba7840242bcf28a3115035c32078e13622a96a0da5a3800724a8660e5501a4d6278
7
- data.tar.gz: 23b605c3d20ad3b81deb7e3cda8a5d01d561ef2ff484c77f876073c4d9cecdf5feb68c15904dd64c70a2cbeb20144cc7f853d8a7796d68fbd0792f5ec9d3f77f
6
+ metadata.gz: 0f8a6619d2d41693a6208075bafbe02caa754cc89f685a7ef3a5c15a5dfbee24d4c36a7355a099b57f7e9ab95dcc57f30a97df987c69b83e57b0b5b6c8e12a8e
7
+ data.tar.gz: f3549d9b76d2d6a0d0c93adf8b1888930510f9f1785aaae509782dac6d8f2bf19997ffa414f3696ee02a543246958cacf543109dcc9dcd86974e08e8f57eb381
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.508
1
+ 3.0.510
@@ -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.
@@ -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)
@@ -1366,10 +1421,16 @@ module TencentCloud
1366
1421
  # @type LastQuitTimestamp: Integer
1367
1422
  # @param Rewords: 奖励次数。
1368
1423
  # @type Rewords: Integer
1424
+ # @param IPAddress: 用户IP。
1425
+ # @type IPAddress: String
1426
+ # @param Location: 用户位置信息。
1427
+ # @type Location: String
1428
+ # @param Device: 用户设备平台信息。0:unknown 1:windows 2:mac 3:android 4:ios 5:web 6:h5 7:miniprogram (小程序)
1429
+ # @type Device: Integer
1369
1430
 
1370
- attr_accessor :UserId, :UserName, :PresentTime, :Camera, :Mic, :Silence, :AnswerQuestions, :HandUps, :FirstJoinTimestamp, :LastQuitTimestamp, :Rewords
1431
+ attr_accessor :UserId, :UserName, :PresentTime, :Camera, :Mic, :Silence, :AnswerQuestions, :HandUps, :FirstJoinTimestamp, :LastQuitTimestamp, :Rewords, :IPAddress, :Location, :Device
1371
1432
 
1372
- def initialize(userid=nil, username=nil, presenttime=nil, camera=nil, mic=nil, silence=nil, answerquestions=nil, handups=nil, firstjointimestamp=nil, lastquittimestamp=nil, rewords=nil)
1433
+ 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)
1373
1434
  @UserId = userid
1374
1435
  @UserName = username
1375
1436
  @PresentTime = presenttime
@@ -1381,6 +1442,9 @@ module TencentCloud
1381
1442
  @FirstJoinTimestamp = firstjointimestamp
1382
1443
  @LastQuitTimestamp = lastquittimestamp
1383
1444
  @Rewords = rewords
1445
+ @IPAddress = ipaddress
1446
+ @Location = location
1447
+ @Device = device
1384
1448
  end
1385
1449
 
1386
1450
  def deserialize(params)
@@ -1395,6 +1459,9 @@ module TencentCloud
1395
1459
  @FirstJoinTimestamp = params['FirstJoinTimestamp']
1396
1460
  @LastQuitTimestamp = params['LastQuitTimestamp']
1397
1461
  @Rewords = params['Rewords']
1462
+ @IPAddress = params['IPAddress']
1463
+ @Location = params['Location']
1464
+ @Device = params['Device']
1398
1465
  end
1399
1466
  end
1400
1467
 
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.508
4
+ version: 3.0.510
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-14 00:00:00.000000000 Z
11
+ date: 2023-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common