tencentcloud-sdk-organization 3.0.601 → 3.0.603
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 +57 -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: fa81c3d81d5676d8666adb48027f7c4ca40b016e
|
4
|
+
data.tar.gz: b7c484b801a78be4bffb7e60aa73c6cbacdfc8a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b3918ee39896ae553f8f27c0b4af6245ac8d232458fa089887ea81ef1417915f1f0c8eff75db3816dfa9043a04a16d9eabebaba71296d0d7858a11058f6a0e9
|
7
|
+
data.tar.gz: 47d1babf4bd0ee7adbdd4bad86c3a8172161eba9a31f7323e19bfa3fcdb06898aca3325862da4207a8379ecd1fa206a32fe8dd3b74fc6d74d416eb048d36c908
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.603
|
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.603
|
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-06-
|
11
|
+
date: 2023-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|