tencentcloud-sdk-organization 3.0.662 → 3.0.664
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ac83b39d0edac11b226d9d1a80ae1f0b8eff53a
|
4
|
+
data.tar.gz: 9195f1eefee34aff3b1d9ce81716138a8482b251
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8b248a56192981c5b3588d8dd1f4a42f036be33111dc757aae1f855a426c1969f9050911e0b15a51d607a5770b0882d6db88fb31cdea2df7a7cab93536e6562
|
7
|
+
data.tar.gz: 44f2dae20090ef94be493ddb4a031958637c2f2a4b36901af2379d375bd5dd6a1ef59f1fdc30e3004c8433cf7ca17151e85de3441fe9f2390f1b87cca4e7f573
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.664
|
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.664
|
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-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|