tencentcloud-sdk-gme 3.0.406 → 3.0.407

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: ee431ca1759037b81c249e82ffbc22faf07c39c4
4
- data.tar.gz: ce8004ca2476170505f581252f3208fc2994ec6e
3
+ metadata.gz: eb0407d1edb7e68419c4e5e6681c9644df22062a
4
+ data.tar.gz: 40ca9be62cd44e73bd9d7fb48f0884a6b7c9925c
5
5
  SHA512:
6
- metadata.gz: d32c5883160dbc2b2f586968017672130e1fef79a0927c0f45f311081e4c2ccfcb5d4e9d5713a3af2c080deb940a0f374fd1ae33b2fdc10483b5edb2e1b4ca30
7
- data.tar.gz: 31ff20c4098ec2ef02968ba2c5c725cadb728ed064fca79f47d9fe60758f66d2b8da72bfe5e1b83f5ed3908a271fe1b32c4807a16e2d69786e26538f34b0ee7b
6
+ metadata.gz: 7b13faf455ad8b9a012275aead3f74626dcc2a20ae875649b74f16a43c9815fe8459c979cc77d8c8e487bee328a831f36786d973cca42a5750a4a2bfd6a604f5
7
+ data.tar.gz: 675d8f18b3697e37044c0f6f08828125f4c81338824828aa6a84ddcf067c4fe03fd34e265f2edec9f6c5794beba4f936fe6a672399f6356f4564cba8de04ae4e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.406
1
+ 3.0.407
@@ -159,6 +159,30 @@ module TencentCloud
159
159
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
160
160
  end
161
161
 
162
+ # 本接口(DeleteRoomMember)用户删除房间或者剔除房间内用户
163
+
164
+ # @param request: Request instance for DeleteRoomMember.
165
+ # @type request: :class:`Tencentcloud::gme::V20180711::DeleteRoomMemberRequest`
166
+ # @rtype: :class:`Tencentcloud::gme::V20180711::DeleteRoomMemberResponse`
167
+ def DeleteRoomMember(request)
168
+ body = send_request('DeleteRoomMember', request.serialize)
169
+ response = JSON.parse(body)
170
+ if response['Response'].key?('Error') == false
171
+ model = DeleteRoomMemberResponse.new
172
+ model.deserialize(response['Response'])
173
+ model
174
+ else
175
+ code = response['Response']['Error']['Code']
176
+ message = response['Response']['Error']['Message']
177
+ reqid = response['Response']['RequestId']
178
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
179
+ end
180
+ rescue TencentCloud::Common::TencentCloudSDKException => e
181
+ raise e
182
+ rescue StandardError => e
183
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
184
+ end
185
+
162
186
  # 删除自定义送检用户
163
187
 
164
188
  # @param request: Request instance for DeleteScanUser.
@@ -565,6 +565,77 @@ module TencentCloud
565
565
  end
566
566
  end
567
567
 
568
+ # 剔除房间操作结果
569
+ class DeleteResult < TencentCloud::Common::AbstractModel
570
+ # @param Code: 错误码,0-剔除成功 其他-剔除失败
571
+ # @type Code: Integer
572
+ # @param ErrorMsg: 错误描述
573
+ # @type ErrorMsg: String
574
+
575
+ attr_accessor :Code, :ErrorMsg
576
+
577
+ def initialize(code=nil, errormsg=nil)
578
+ @Code = code
579
+ @ErrorMsg = errormsg
580
+ end
581
+
582
+ def deserialize(params)
583
+ @Code = params['Code']
584
+ @ErrorMsg = params['ErrorMsg']
585
+ end
586
+ end
587
+
588
+ # DeleteRoomMember请求参数结构体
589
+ class DeleteRoomMemberRequest < TencentCloud::Common::AbstractModel
590
+ # @param RoomId: 要操作的房间id
591
+ # @type RoomId: String
592
+ # @param Uids: 要剔除的用户列表
593
+ # @type Uids: Array
594
+ # @param DeleteType: 剔除类型 1-删除房间 2-剔除用户
595
+ # @type DeleteType: Integer
596
+ # @param BizId: 应用id
597
+ # @type BizId: Integer
598
+
599
+ attr_accessor :RoomId, :Uids, :DeleteType, :BizId
600
+
601
+ def initialize(roomid=nil, uids=nil, deletetype=nil, bizid=nil)
602
+ @RoomId = roomid
603
+ @Uids = uids
604
+ @DeleteType = deletetype
605
+ @BizId = bizid
606
+ end
607
+
608
+ def deserialize(params)
609
+ @RoomId = params['RoomId']
610
+ @Uids = params['Uids']
611
+ @DeleteType = params['DeleteType']
612
+ @BizId = params['BizId']
613
+ end
614
+ end
615
+
616
+ # DeleteRoomMember返回参数结构体
617
+ class DeleteRoomMemberResponse < TencentCloud::Common::AbstractModel
618
+ # @param DeleteResult: 剔除房间或成员的操作结果
619
+ # @type DeleteResult: :class:`Tencentcloud::Gme.v20180711.models.DeleteResult`
620
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
621
+ # @type RequestId: String
622
+
623
+ attr_accessor :DeleteResult, :RequestId
624
+
625
+ def initialize(deleteresult=nil, requestid=nil)
626
+ @DeleteResult = deleteresult
627
+ @RequestId = requestid
628
+ end
629
+
630
+ def deserialize(params)
631
+ unless params['DeleteResult'].nil?
632
+ @DeleteResult = DeleteResult.new
633
+ @DeleteResult.deserialize(params['DeleteResult'])
634
+ end
635
+ @RequestId = params['RequestId']
636
+ end
637
+ end
638
+
568
639
  # DeleteScanUser请求参数结构体
569
640
  class DeleteScanUserRequest < TencentCloud::Common::AbstractModel
570
641
  # @param BizId: 应用ID,登录控制台 - 服务管理创建应用得到的AppID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-gme
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.406
4
+ version: 3.0.407
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-09-08 00:00:00.000000000 Z
11
+ date: 2022-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common