tencentcloud-sdk-organization 3.0.684 → 3.0.686

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: 2c2f4aab06a6c169ce9202c7b30c7c75c3b531d4
4
- data.tar.gz: 2ae99ad3a7e58fdd4d8f3f7b7b9854ba236c1ec3
3
+ metadata.gz: ca6d6f11e73dd32606efbb166d632e21e21d5317
4
+ data.tar.gz: e85a3e8e0694b96fb8b2662d767edf23a2a8f7eb
5
5
  SHA512:
6
- metadata.gz: e01bace5bd94ce9d1a354f95203457edf8ca2bbd6ae5003a5d7fefb739ffb789fd617b7734fa3a07da0a3f2660c2cbec32e3f5439e215e9b7e5f7d6eacb0e383
7
- data.tar.gz: 038e2582b1d6f1e75361968182e01384b62111d093a03830a5f418faf69e1e8db89ce6a8dff8439d2c0de886f7a9b1c462a9ee1b22083424d484181f8e36aa21
6
+ metadata.gz: 6401ba4ca973d2bf7dfa17d0a24728180880db55a129b742bd5bf1eb31ded2d2446b637b97d8b99fa525770219f36c0502e84a894e849e5c13355d469b6e946b
7
+ data.tar.gz: c103c5804087e41a774408a7133f431b55a2dfd52324c0c237a6979cb0251f4141b92614911f05e90973583ebb5fd0217cb067de01828ce18658d2dec386febe
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.684
1
+ 3.0.686
@@ -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.684
4
+ version: 3.0.686
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-25 00:00:00.000000000 Z
11
+ date: 2023-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,11 +33,11 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20181225/client.rb
37
- - lib/v20181225/models.rb
38
36
  - lib/v20210331/client.rb
39
37
  - lib/v20210331/models.rb
40
38
  - lib/tencentcloud-sdk-organization.rb
39
+ - lib/v20181225/client.rb
40
+ - lib/v20181225/models.rb
41
41
  - lib/VERSION
42
42
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
43
43
  licenses: