tencentcloud-sdk-lcic 3.0.638 → 3.0.639

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: f23ffffd52085c4b87ec78c6be711440d2a58e47
4
- data.tar.gz: b582a7b0ad188a433cb223756ce5150bbb7b83b9
3
+ metadata.gz: dfe0fdd826a07ebc431f5c715798451e5022b9bf
4
+ data.tar.gz: c7a26df3d40e4c82e8197352489346be466f1de0
5
5
  SHA512:
6
- metadata.gz: a2594589d520a57cc089f3df04238809de6933f37148d2de7d94ed9b8c9ee1df66a08ead18048c8088a3a30ade9909f3a8f3000310d3dac88f0e2c9d232a3f3a
7
- data.tar.gz: 28b316c0337f41a07db546bb89848a7fca71cf5290720959f86abb595f7329bdd71688c783fff6966ef9ba10b1f6c7bbc1666798d5df2c905bf8b1761b1fd0da
6
+ metadata.gz: c9ffad632ea0470e58b8e70bf41d00f5d1764ed8688fc97289ee523fb4981b1425cde59c208994b956c571c07a83174d2b9ab9db2f705df291d56390422c5b31
7
+ data.tar.gz: 30960a64d3897ed09c38be58ca56741614e906308068ff0e49cc0604cd79b8b4cd57b81611597909bf2607b113c4b5287533703bf2fcf14d75e11e33a9327306
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.638
1
+ 3.0.639
@@ -533,6 +533,30 @@ module TencentCloud
533
533
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
534
  end
535
535
 
536
+ # 删除已注册用户。注:如果该成员已被添加到群组,请先在群组中删除该成员。
537
+
538
+ # @param request: Request instance for DeleteUser.
539
+ # @type request: :class:`Tencentcloud::lcic::V20220817::DeleteUserRequest`
540
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::DeleteUserResponse`
541
+ def DeleteUser(request)
542
+ body = send_request('DeleteUser', request.serialize)
543
+ response = JSON.parse(body)
544
+ if response['Response'].key?('Error') == false
545
+ model = DeleteUserResponse.new
546
+ model.deserialize(response['Response'])
547
+ model
548
+ else
549
+ code = response['Response']['Error']['Code']
550
+ message = response['Response']['Error']['Message']
551
+ reqid = response['Response']['RequestId']
552
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
553
+ end
554
+ rescue TencentCloud::Common::TencentCloudSDKException => e
555
+ raise e
556
+ rescue StandardError => e
557
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
558
+ end
559
+
536
560
  # 获取房间答题详情
537
561
 
538
562
  # @param request: Request instance for DescribeAnswerList.
@@ -1193,6 +1193,38 @@ module TencentCloud
1193
1193
  end
1194
1194
  end
1195
1195
 
1196
+ # DeleteUser请求参数结构体
1197
+ class DeleteUserRequest < TencentCloud::Common::AbstractModel
1198
+ # @param UserId: 待删除用户的ID
1199
+ # @type UserId: String
1200
+
1201
+ attr_accessor :UserId
1202
+
1203
+ def initialize(userid=nil)
1204
+ @UserId = userid
1205
+ end
1206
+
1207
+ def deserialize(params)
1208
+ @UserId = params['UserId']
1209
+ end
1210
+ end
1211
+
1212
+ # DeleteUser返回参数结构体
1213
+ class DeleteUserResponse < TencentCloud::Common::AbstractModel
1214
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1215
+ # @type RequestId: String
1216
+
1217
+ attr_accessor :RequestId
1218
+
1219
+ def initialize(requestid=nil)
1220
+ @RequestId = requestid
1221
+ end
1222
+
1223
+ def deserialize(params)
1224
+ @RequestId = params['RequestId']
1225
+ end
1226
+ end
1227
+
1196
1228
  # DescribeAnswerList请求参数结构体
1197
1229
  class DescribeAnswerListRequest < TencentCloud::Common::AbstractModel
1198
1230
  # @param QuestionId: 问题ID
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.638
4
+ version: 3.0.639
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-08-17 00:00:00.000000000 Z
11
+ date: 2023-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common