tencentcloud-sdk-organization 3.0.602 → 3.0.604
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 +57 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c90277a13ba215dd4eba29ab42a5c62bfc93fbdb
|
4
|
+
data.tar.gz: ea9453b967941d4b474895bdc9b49d7509b2b291
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e562383a43762624f5de5d7eae6d482a437a0c9a49327f36d5b95b490aee4789ae2ec2a2571d342495019a1dd39e27132d9b7a2c323fc71a79256de8fb49a12
|
7
|
+
data.tar.gz: 4e6a32589ee13ad548c639b9929f5d9f37bf5f63b0e0d8c916e7000b25f5279aa97dc4d90578f64f27a12fecd753b82c08dc83f8c739ccf96f546297cbb9f2fb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.604
|
data/lib/v20210331/client.rb
CHANGED
@@ -533,6 +533,30 @@ module TencentCloud
|
|
533
533
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
534
|
end
|
535
535
|
|
536
|
+
# 更新组织成员信息
|
537
|
+
|
538
|
+
# @param request: Request instance for UpdateOrganizationMember.
|
539
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::UpdateOrganizationMemberRequest`
|
540
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::UpdateOrganizationMemberResponse`
|
541
|
+
def UpdateOrganizationMember(request)
|
542
|
+
body = send_request('UpdateOrganizationMember', request.serialize)
|
543
|
+
response = JSON.parse(body)
|
544
|
+
if response['Response'].key?('Error') == false
|
545
|
+
model = UpdateOrganizationMemberResponse.new
|
546
|
+
model.deserialize(response['Response'])
|
547
|
+
model
|
548
|
+
else
|
549
|
+
code = response['Response']['Error']['Code']
|
550
|
+
message = response['Response']['Error']['Message']
|
551
|
+
reqid = response['Response']['RequestId']
|
552
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
553
|
+
end
|
554
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
555
|
+
raise e
|
556
|
+
rescue StandardError => e
|
557
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
558
|
+
end
|
559
|
+
|
536
560
|
# 修改绑定成员邮箱
|
537
561
|
|
538
562
|
# @param request: Request instance for UpdateOrganizationMemberEmailBind.
|
data/lib/v20210331/models.rb
CHANGED
@@ -1848,6 +1848,63 @@ module TencentCloud
|
|
1848
1848
|
end
|
1849
1849
|
end
|
1850
1850
|
|
1851
|
+
# UpdateOrganizationMember请求参数结构体
|
1852
|
+
class UpdateOrganizationMemberRequest < TencentCloud::Common::AbstractModel
|
1853
|
+
# @param MemberUin: 成员Uin。
|
1854
|
+
# @type MemberUin: Integer
|
1855
|
+
# @param Name: 成员名称。最大长度为25个字符,支持英文字母、数字、汉字、符号+@、&._[]-:,
|
1856
|
+
# @type Name: String
|
1857
|
+
# @param Remark: 备注。最大长度为40个字符
|
1858
|
+
# @type Remark: String
|
1859
|
+
# @param PolicyType: 关系策略类型。PolicyType不为空,PermissionIds不能为空。取值:Financial
|
1860
|
+
# @type PolicyType: String
|
1861
|
+
# @param PermissionIds: 成员财务权限ID列表。PermissionIds不为空,PolicyType不能为空。
|
1862
|
+
# 取值:1-查看账单、2-查看余额、3-资金划拨、4-合并出账、5-开票、6-优惠继承、7-代付费、8-成本分析,如果有值,1、2 默认必须
|
1863
|
+
# @type PermissionIds: Array
|
1864
|
+
# @param IsAllowQuit: 是否允许成员退出组织。取值:Allow-允许、Denied-不允许
|
1865
|
+
# @type IsAllowQuit: String
|
1866
|
+
# @param PayUin: 代付者Uin。成员财务权限有代付费时需要,取值为成员对应主体的主体管理员Uin
|
1867
|
+
# @type PayUin: String
|
1868
|
+
|
1869
|
+
attr_accessor :MemberUin, :Name, :Remark, :PolicyType, :PermissionIds, :IsAllowQuit, :PayUin
|
1870
|
+
|
1871
|
+
def initialize(memberuin=nil, name=nil, remark=nil, policytype=nil, permissionids=nil, isallowquit=nil, payuin=nil)
|
1872
|
+
@MemberUin = memberuin
|
1873
|
+
@Name = name
|
1874
|
+
@Remark = remark
|
1875
|
+
@PolicyType = policytype
|
1876
|
+
@PermissionIds = permissionids
|
1877
|
+
@IsAllowQuit = isallowquit
|
1878
|
+
@PayUin = payuin
|
1879
|
+
end
|
1880
|
+
|
1881
|
+
def deserialize(params)
|
1882
|
+
@MemberUin = params['MemberUin']
|
1883
|
+
@Name = params['Name']
|
1884
|
+
@Remark = params['Remark']
|
1885
|
+
@PolicyType = params['PolicyType']
|
1886
|
+
@PermissionIds = params['PermissionIds']
|
1887
|
+
@IsAllowQuit = params['IsAllowQuit']
|
1888
|
+
@PayUin = params['PayUin']
|
1889
|
+
end
|
1890
|
+
end
|
1891
|
+
|
1892
|
+
# UpdateOrganizationMember返回参数结构体
|
1893
|
+
class UpdateOrganizationMemberResponse < TencentCloud::Common::AbstractModel
|
1894
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1895
|
+
# @type RequestId: String
|
1896
|
+
|
1897
|
+
attr_accessor :RequestId
|
1898
|
+
|
1899
|
+
def initialize(requestid=nil)
|
1900
|
+
@RequestId = requestid
|
1901
|
+
end
|
1902
|
+
|
1903
|
+
def deserialize(params)
|
1904
|
+
@RequestId = params['RequestId']
|
1905
|
+
end
|
1906
|
+
end
|
1907
|
+
|
1851
1908
|
# UpdateOrganizationNode请求参数结构体
|
1852
1909
|
class UpdateOrganizationNodeRequest < TencentCloud::Common::AbstractModel
|
1853
1910
|
# @param NodeId: 节点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.604
|
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-
|
11
|
+
date: 2023-07-03 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/v20210331/client.rb
|
37
|
-
- lib/v20210331/models.rb
|
38
|
-
- lib/tencentcloud-sdk-organization.rb
|
39
|
-
- lib/v20181225/client.rb
|
40
36
|
- lib/v20181225/models.rb
|
37
|
+
- lib/v20181225/client.rb
|
38
|
+
- lib/tencentcloud-sdk-organization.rb
|
39
|
+
- lib/v20210331/models.rb
|
40
|
+
- lib/v20210331/client.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|