tencentcloud-sdk-organization 3.0.685 → 3.0.687

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: f1849651e45eb389f74e3970211336c0b5a59935
4
- data.tar.gz: 39d91aac157d9c7c20343f9bc78b17cc2c513b02
3
+ metadata.gz: 93aa38c53912904400210c70b2525a3ace6be1f1
4
+ data.tar.gz: 51a5132495ad41ae04864cde7cc0d8341d26e261
5
5
  SHA512:
6
- metadata.gz: bcb9fa10d0320fb1fdb371ab53aa0b4f782a4de4b38b1bab946c888be00cf57952b308d2bc02e769f24b7c4e1e69ae797d6658bcf80f87e7e4a576a05de32912
7
- data.tar.gz: 6978588d178571fd58e26046167e778697d3035af4c5790420824d42a321ed84fdd615b66610667b0aa699ed2d91562eb9f00a8cf932884497e34c4fe002bc05
6
+ metadata.gz: d9cf5c9b668e909cd2c80017350e4a05cc0d2ab22fb117124f2807e12b4d6d223fcce9c599a1145906598728575b9340b86bcc64bc00c5c2baf6ebe7d7334936
7
+ data.tar.gz: faf4f0043e3fcfbc0ee4a4a8f99c0d7372ef70b4051894245480ef0869e498cb81f66c5adf159ff6f35f8ef14bfa481e7cd9b5d4323bac750cad892c5a121f03
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.685
1
+ 3.0.687
@@ -269,6 +269,30 @@ module TencentCloud
269
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
270
  end
271
271
 
272
+ # 删除成员账号
273
+
274
+ # @param request: Request instance for DeleteAccount.
275
+ # @type request: :class:`Tencentcloud::organization::V20210331::DeleteAccountRequest`
276
+ # @rtype: :class:`Tencentcloud::organization::V20210331::DeleteAccountResponse`
277
+ def DeleteAccount(request)
278
+ body = send_request('DeleteAccount', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DeleteAccountResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
272
296
  # 删除企业组织
273
297
 
274
298
  # @param request: Request instance for DeleteOrganization.
@@ -514,6 +514,38 @@ module TencentCloud
514
514
  end
515
515
  end
516
516
 
517
+ # DeleteAccount请求参数结构体
518
+ class DeleteAccountRequest < TencentCloud::Common::AbstractModel
519
+ # @param MemberUin: 成员uin。
520
+ # @type MemberUin: Integer
521
+
522
+ attr_accessor :MemberUin
523
+
524
+ def initialize(memberuin=nil)
525
+ @MemberUin = memberuin
526
+ end
527
+
528
+ def deserialize(params)
529
+ @MemberUin = params['MemberUin']
530
+ end
531
+ end
532
+
533
+ # DeleteAccount返回参数结构体
534
+ class DeleteAccountResponse < TencentCloud::Common::AbstractModel
535
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
536
+ # @type RequestId: String
537
+
538
+ attr_accessor :RequestId
539
+
540
+ def initialize(requestid=nil)
541
+ @RequestId = requestid
542
+ end
543
+
544
+ def deserialize(params)
545
+ @RequestId = params['RequestId']
546
+ end
547
+ end
548
+
517
549
  # DeleteOrganizationIdentity请求参数结构体
518
550
  class DeleteOrganizationIdentityRequest < TencentCloud::Common::AbstractModel
519
551
  # @param IdentityId: 身份ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-organization
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.685
4
+ version: 3.0.687
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-10-26 00:00:00.000000000 Z
11
+ date: 2023-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common