tencentcloud-sdk-organization 3.0.662 → 3.0.663
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210331/client.rb +24 -0
- data/lib/v20210331/models.rb +32 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40453b086f229c0d3d28a8474cdc4ef94d6f1bba
|
4
|
+
data.tar.gz: 4aeae4cc76a4246195e4bd38d5130d22bcb8b794
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df6541d40d66766d04d7f4f7c67b3286f5adf783b5b7392a6a94209b69868d43770563e6e63fa469f024e0d32cead3f70e4520c0cc1bce71f238ab4a07264025
|
7
|
+
data.tar.gz: 13031730f1d71b787aaebe6fa336458683cb878bd81726183e7a792fe328803ceeefec034921c7838f9ccf67af5e2f6f0892f65b59a0f091bbe979e178875f9b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.663
|
data/lib/v20210331/client.rb
CHANGED
@@ -653,6 +653,30 @@ module TencentCloud
|
|
653
653
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
654
|
end
|
655
655
|
|
656
|
+
# 退出企业组织
|
657
|
+
|
658
|
+
# @param request: Request instance for QuitOrganization.
|
659
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::QuitOrganizationRequest`
|
660
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::QuitOrganizationResponse`
|
661
|
+
def QuitOrganization(request)
|
662
|
+
body = send_request('QuitOrganization', request.serialize)
|
663
|
+
response = JSON.parse(body)
|
664
|
+
if response['Response'].key?('Error') == false
|
665
|
+
model = QuitOrganizationResponse.new
|
666
|
+
model.deserialize(response['Response'])
|
667
|
+
model
|
668
|
+
else
|
669
|
+
code = response['Response']['Error']['Code']
|
670
|
+
message = response['Response']['Error']['Message']
|
671
|
+
reqid = response['Response']['RequestId']
|
672
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
673
|
+
end
|
674
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
675
|
+
raise e
|
676
|
+
rescue StandardError => e
|
677
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
678
|
+
end
|
679
|
+
|
656
680
|
# 更新组织成员信息
|
657
681
|
|
658
682
|
# @param request: Request instance for UpdateOrganizationMember.
|
data/lib/v20210331/models.rb
CHANGED
@@ -1966,6 +1966,38 @@ module TencentCloud
|
|
1966
1966
|
end
|
1967
1967
|
end
|
1968
1968
|
|
1969
|
+
# QuitOrganization请求参数结构体
|
1970
|
+
class QuitOrganizationRequest < TencentCloud::Common::AbstractModel
|
1971
|
+
# @param OrgId: 企业组织ID
|
1972
|
+
# @type OrgId: Integer
|
1973
|
+
|
1974
|
+
attr_accessor :OrgId
|
1975
|
+
|
1976
|
+
def initialize(orgid=nil)
|
1977
|
+
@OrgId = orgid
|
1978
|
+
end
|
1979
|
+
|
1980
|
+
def deserialize(params)
|
1981
|
+
@OrgId = params['OrgId']
|
1982
|
+
end
|
1983
|
+
end
|
1984
|
+
|
1985
|
+
# QuitOrganization返回参数结构体
|
1986
|
+
class QuitOrganizationResponse < TencentCloud::Common::AbstractModel
|
1987
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1988
|
+
# @type RequestId: String
|
1989
|
+
|
1990
|
+
attr_accessor :RequestId
|
1991
|
+
|
1992
|
+
def initialize(requestid=nil)
|
1993
|
+
@RequestId = requestid
|
1994
|
+
end
|
1995
|
+
|
1996
|
+
def deserialize(params)
|
1997
|
+
@RequestId = params['RequestId']
|
1998
|
+
end
|
1999
|
+
end
|
2000
|
+
|
1969
2001
|
# UpdateOrganizationMemberEmailBind请求参数结构体
|
1970
2002
|
class UpdateOrganizationMemberEmailBindRequest < TencentCloud::Common::AbstractModel
|
1971
2003
|
# @param MemberUin: 成员Uin
|
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.663
|
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-09-
|
11
|
+
date: 2023-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|