tencentcloud-sdk-lcic 3.0.638 → 3.0.640

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: 9dba9123d8ffb04347c22b22b628f5d742525791
4
+ data.tar.gz: fd6a4a407e8d015c6699d7ba00479f45ad5e732d
5
5
  SHA512:
6
- metadata.gz: a2594589d520a57cc089f3df04238809de6933f37148d2de7d94ed9b8c9ee1df66a08ead18048c8088a3a30ade9909f3a8f3000310d3dac88f0e2c9d232a3f3a
7
- data.tar.gz: 28b316c0337f41a07db546bb89848a7fca71cf5290720959f86abb595f7329bdd71688c783fff6966ef9ba10b1f6c7bbc1666798d5df2c905bf8b1761b1fd0da
6
+ metadata.gz: 2bef43b005030e67c2f90ac9e09e5d75fea83499d3d9e0a8f2f3ea80728c0c8e91eb08d2a907a64fa77fb1f9d6ee3fd4c83ba1337be5bcfbeb80d377097ae37c
7
+ data.tar.gz: 831f4d653ed06b8d68ccf77661ebb6dea9067100ede530738211142b48280d81d40118665855ff8afd659495e7e16923fe6c4d093f3f153264aa16c8575f2e2a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.638
1
+ 3.0.640
@@ -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.640
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-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common