tencentcloud-sdk-lcic 3.0.637 → 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: 0d19356efa16b92328b579b2349c7edaa39849b6
4
- data.tar.gz: 9c15f88b3b70a43c74a34a1c64acec233942b9bc
3
+ metadata.gz: dfe0fdd826a07ebc431f5c715798451e5022b9bf
4
+ data.tar.gz: c7a26df3d40e4c82e8197352489346be466f1de0
5
5
  SHA512:
6
- metadata.gz: 7b7cbeeda08e0bef491ed18df9cf8ebfc26287426a93d7be05a5d8af892e040ecb3775142af7515052dcc2d8f5a7f798c7e1886bf0ffac29f91b5e7fbeab0c2d
7
- data.tar.gz: f89fb2ca38f6bb5704038c209d3e326c2acd15807322779dea8ed37661975f35fdfbb6250e053f9a8f14e2730de541eea9757e6de9d53867854e4a2152f771b5
6
+ metadata.gz: c9ffad632ea0470e58b8e70bf41d00f5d1764ed8688fc97289ee523fb4981b1425cde59c208994b956c571c07a83174d2b9ab9db2f705df291d56390422c5b31
7
+ data.tar.gz: 30960a64d3897ed09c38be58ca56741614e906308068ff0e49cc0604cd79b8b4cd57b81611597909bf2607b113c4b5287533703bf2fcf14d75e11e33a9327306
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.637
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.637
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-16 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