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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210331/client.rb +24 -0
- data/lib/v20210331/models.rb +32 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca6d6f11e73dd32606efbb166d632e21e21d5317
|
4
|
+
data.tar.gz: e85a3e8e0694b96fb8b2662d767edf23a2a8f7eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6401ba4ca973d2bf7dfa17d0a24728180880db55a129b742bd5bf1eb31ded2d2446b637b97d8b99fa525770219f36c0502e84a894e849e5c13355d469b6e946b
|
7
|
+
data.tar.gz: c103c5804087e41a774408a7133f431b55a2dfd52324c0c237a6979cb0251f4141b92614911f05e90973583ebb5fd0217cb067de01828ce18658d2dec386febe
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.686
|
data/lib/v20210331/client.rb
CHANGED
@@ -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.
|
data/lib/v20210331/models.rb
CHANGED
@@ -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.
|
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-
|
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:
|