tencentcloud-sdk-organization 3.0.451 → 3.0.452
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 +242 -2
- data/lib/v20210331/models.rb +735 -39
- 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: 235207cacf3bcb6c5cfb8121be59fd5622af6612
|
4
|
+
data.tar.gz: 4e4cac6b95620b9e2aea5437ad67c579f1839aa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7c8d14c4b203d39970b09b0d141072f24a469daba33662bbb35e89de2e10bdb8481f2dc8b46a458adf5275e72fb7d811eaee644460db964eea94de7ae39fa89
|
7
|
+
data.tar.gz: a922c9022c3d580a90987cbd513fcafb9096d330ae3f58d1529f193907781f0413cf1f8396a3a55d7e51e0f9b1232de4cf661f8c00595898a639d4eec3ac9dd5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.452
|
data/lib/v20210331/client.rb
CHANGED
@@ -29,7 +29,31 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
-
#
|
32
|
+
# 添加企业组织节点
|
33
|
+
|
34
|
+
# @param request: Request instance for AddOrganizationNode.
|
35
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::AddOrganizationNodeRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::AddOrganizationNodeResponse`
|
37
|
+
def AddOrganizationNode(request)
|
38
|
+
body = send_request('AddOrganizationNode', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = AddOrganizationNodeResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
56
|
+
# 绑定组织成员和组织管理员子账号的授权关系
|
33
57
|
|
34
58
|
# @param request: Request instance for BindOrganizationMemberAuthAccount.
|
35
59
|
# @type request: :class:`Tencentcloud::organization::V20210331::BindOrganizationMemberAuthAccountRequest`
|
@@ -77,7 +101,7 @@ module TencentCloud
|
|
77
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
102
|
end
|
79
103
|
|
80
|
-
#
|
104
|
+
# 创建组织成员访问授权策略
|
81
105
|
|
82
106
|
# @param request: Request instance for CreateOrganizationMemberPolicy.
|
83
107
|
# @type request: :class:`Tencentcloud::organization::V20210331::CreateOrganizationMemberPolicyRequest`
|
@@ -101,6 +125,54 @@ module TencentCloud
|
|
101
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
126
|
end
|
103
127
|
|
128
|
+
# 批量删除企业组织成员
|
129
|
+
|
130
|
+
# @param request: Request instance for DeleteOrganizationMembers.
|
131
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::DeleteOrganizationMembersRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::DeleteOrganizationMembersResponse`
|
133
|
+
def DeleteOrganizationMembers(request)
|
134
|
+
body = send_request('DeleteOrganizationMembers', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = DeleteOrganizationMembersResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
152
|
+
# 批量删除企业组织节点
|
153
|
+
|
154
|
+
# @param request: Request instance for DeleteOrganizationNodes.
|
155
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::DeleteOrganizationNodesRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::DeleteOrganizationNodesResponse`
|
157
|
+
def DeleteOrganizationNodes(request)
|
158
|
+
body = send_request('DeleteOrganizationNodes', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = DeleteOrganizationNodesResponse.new
|
162
|
+
model.deserialize(response['Response'])
|
163
|
+
model
|
164
|
+
else
|
165
|
+
code = response['Response']['Error']['Code']
|
166
|
+
message = response['Response']['Error']['Message']
|
167
|
+
reqid = response['Response']['RequestId']
|
168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
169
|
+
end
|
170
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
171
|
+
raise e
|
172
|
+
rescue StandardError => e
|
173
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
|
+
end
|
175
|
+
|
104
176
|
# 获取企业组织信息
|
105
177
|
|
106
178
|
# @param request: Request instance for DescribeOrganization.
|
@@ -125,6 +197,78 @@ module TencentCloud
|
|
125
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
198
|
end
|
127
199
|
|
200
|
+
# 获取可创建组织成员的认证主体关系列表
|
201
|
+
|
202
|
+
# @param request: Request instance for DescribeOrganizationAuthNode.
|
203
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationAuthNodeRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationAuthNodeResponse`
|
205
|
+
def DescribeOrganizationAuthNode(request)
|
206
|
+
body = send_request('DescribeOrganizationAuthNode', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = DescribeOrganizationAuthNodeResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
224
|
+
# 获取组织成员可被管理的身份列表
|
225
|
+
|
226
|
+
# @param request: Request instance for DescribeOrganizationMemberAuthIdentities.
|
227
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationMemberAuthIdentitiesRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationMemberAuthIdentitiesResponse`
|
229
|
+
def DescribeOrganizationMemberAuthIdentities(request)
|
230
|
+
body = send_request('DescribeOrganizationMemberAuthIdentities', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = DescribeOrganizationMemberAuthIdentitiesResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
248
|
+
# 获取组织成员的授权策略列表
|
249
|
+
|
250
|
+
# @param request: Request instance for DescribeOrganizationMemberPolicies.
|
251
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationMemberPoliciesRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationMemberPoliciesResponse`
|
253
|
+
def DescribeOrganizationMemberPolicies(request)
|
254
|
+
body = send_request('DescribeOrganizationMemberPolicies', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = DescribeOrganizationMemberPoliciesResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
128
272
|
# 获取企业组织成员列表
|
129
273
|
|
130
274
|
# @param request: Request instance for DescribeOrganizationMembers.
|
@@ -149,6 +293,102 @@ module TencentCloud
|
|
149
293
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
294
|
end
|
151
295
|
|
296
|
+
# 获取组织节点列表
|
297
|
+
|
298
|
+
# @param request: Request instance for DescribeOrganizationNodes.
|
299
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationNodesRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationNodesResponse`
|
301
|
+
def DescribeOrganizationNodes(request)
|
302
|
+
body = send_request('DescribeOrganizationNodes', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = DescribeOrganizationNodesResponse.new
|
306
|
+
model.deserialize(response['Response'])
|
307
|
+
model
|
308
|
+
else
|
309
|
+
code = response['Response']['Error']['Code']
|
310
|
+
message = response['Response']['Error']['Message']
|
311
|
+
reqid = response['Response']['RequestId']
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
+
end
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
+
raise e
|
316
|
+
rescue StandardError => e
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
+
end
|
319
|
+
|
320
|
+
# 获取组织成员访问身份列表
|
321
|
+
|
322
|
+
# @param request: Request instance for ListOrganizationIdentity.
|
323
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::ListOrganizationIdentityRequest`
|
324
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::ListOrganizationIdentityResponse`
|
325
|
+
def ListOrganizationIdentity(request)
|
326
|
+
body = send_request('ListOrganizationIdentity', request.serialize)
|
327
|
+
response = JSON.parse(body)
|
328
|
+
if response['Response'].key?('Error') == false
|
329
|
+
model = ListOrganizationIdentityResponse.new
|
330
|
+
model.deserialize(response['Response'])
|
331
|
+
model
|
332
|
+
else
|
333
|
+
code = response['Response']['Error']['Code']
|
334
|
+
message = response['Response']['Error']['Message']
|
335
|
+
reqid = response['Response']['RequestId']
|
336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
337
|
+
end
|
338
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
339
|
+
raise e
|
340
|
+
rescue StandardError => e
|
341
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
|
+
end
|
343
|
+
|
344
|
+
# 移动成员到指定企业组织节点
|
345
|
+
|
346
|
+
# @param request: Request instance for MoveOrganizationNodeMembers.
|
347
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::MoveOrganizationNodeMembersRequest`
|
348
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::MoveOrganizationNodeMembersResponse`
|
349
|
+
def MoveOrganizationNodeMembers(request)
|
350
|
+
body = send_request('MoveOrganizationNodeMembers', request.serialize)
|
351
|
+
response = JSON.parse(body)
|
352
|
+
if response['Response'].key?('Error') == false
|
353
|
+
model = MoveOrganizationNodeMembersResponse.new
|
354
|
+
model.deserialize(response['Response'])
|
355
|
+
model
|
356
|
+
else
|
357
|
+
code = response['Response']['Error']['Code']
|
358
|
+
message = response['Response']['Error']['Message']
|
359
|
+
reqid = response['Response']['RequestId']
|
360
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
361
|
+
end
|
362
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
363
|
+
raise e
|
364
|
+
rescue StandardError => e
|
365
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
|
+
end
|
367
|
+
|
368
|
+
# 更新企业组织节点
|
369
|
+
|
370
|
+
# @param request: Request instance for UpdateOrganizationNode.
|
371
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::UpdateOrganizationNodeRequest`
|
372
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::UpdateOrganizationNodeResponse`
|
373
|
+
def UpdateOrganizationNode(request)
|
374
|
+
body = send_request('UpdateOrganizationNode', request.serialize)
|
375
|
+
response = JSON.parse(body)
|
376
|
+
if response['Response'].key?('Error') == false
|
377
|
+
model = UpdateOrganizationNodeResponse.new
|
378
|
+
model.deserialize(response['Response'])
|
379
|
+
model
|
380
|
+
else
|
381
|
+
code = response['Response']['Error']['Code']
|
382
|
+
message = response['Response']['Error']['Message']
|
383
|
+
reqid = response['Response']['RequestId']
|
384
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
385
|
+
end
|
386
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
387
|
+
raise e
|
388
|
+
rescue StandardError => e
|
389
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
|
+
end
|
391
|
+
|
152
392
|
|
153
393
|
end
|
154
394
|
end
|
data/lib/v20210331/models.rb
CHANGED
@@ -17,13 +17,79 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Organization
|
19
19
|
module V20210331
|
20
|
+
# AddOrganizationNode请求参数结构体
|
21
|
+
class AddOrganizationNodeRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param ParentNodeId: 父节点ID。可以调用DescribeOrganizationNodes获取
|
23
|
+
# @type ParentNodeId: Integer
|
24
|
+
# @param Name: 节点名称。最大长度为40个字符,支持英文字母、数字、汉字、符号+@、&._[]-
|
25
|
+
# @type Name: String
|
26
|
+
# @param Remark: 备注。
|
27
|
+
# @type Remark: String
|
28
|
+
|
29
|
+
attr_accessor :ParentNodeId, :Name, :Remark
|
30
|
+
|
31
|
+
def initialize(parentnodeid=nil, name=nil, remark=nil)
|
32
|
+
@ParentNodeId = parentnodeid
|
33
|
+
@Name = name
|
34
|
+
@Remark = remark
|
35
|
+
end
|
36
|
+
|
37
|
+
def deserialize(params)
|
38
|
+
@ParentNodeId = params['ParentNodeId']
|
39
|
+
@Name = params['Name']
|
40
|
+
@Remark = params['Remark']
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# AddOrganizationNode返回参数结构体
|
45
|
+
class AddOrganizationNodeResponse < TencentCloud::Common::AbstractModel
|
46
|
+
# @param NodeId: 节点ID。
|
47
|
+
# @type NodeId: Integer
|
48
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
49
|
+
# @type RequestId: String
|
50
|
+
|
51
|
+
attr_accessor :NodeId, :RequestId
|
52
|
+
|
53
|
+
def initialize(nodeid=nil, requestid=nil)
|
54
|
+
@NodeId = nodeid
|
55
|
+
@RequestId = requestid
|
56
|
+
end
|
57
|
+
|
58
|
+
def deserialize(params)
|
59
|
+
@NodeId = params['NodeId']
|
60
|
+
@RequestId = params['RequestId']
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# 认证主体主要信息
|
65
|
+
class AuthNode < TencentCloud::Common::AbstractModel
|
66
|
+
# @param RelationId: 主体关系ID
|
67
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
68
|
+
# @type RelationId: Integer
|
69
|
+
# @param AuthName: 主体名称
|
70
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
71
|
+
# @type AuthName: String
|
72
|
+
|
73
|
+
attr_accessor :RelationId, :AuthName
|
74
|
+
|
75
|
+
def initialize(relationid=nil, authname=nil)
|
76
|
+
@RelationId = relationid
|
77
|
+
@AuthName = authname
|
78
|
+
end
|
79
|
+
|
80
|
+
def deserialize(params)
|
81
|
+
@RelationId = params['RelationId']
|
82
|
+
@AuthName = params['AuthName']
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
20
86
|
# BindOrganizationMemberAuthAccount请求参数结构体
|
21
87
|
class BindOrganizationMemberAuthAccountRequest < TencentCloud::Common::AbstractModel
|
22
88
|
# @param MemberUin: 成员Uin。
|
23
89
|
# @type MemberUin: Integer
|
24
|
-
# @param PolicyId: 策略ID
|
90
|
+
# @param PolicyId: 策略ID。可以调用DescribeOrganizationMemberPolicies获取
|
25
91
|
# @type PolicyId: Integer
|
26
|
-
# @param OrgSubAccountUins:
|
92
|
+
# @param OrgSubAccountUins: 组织管理员子账号Uin列表。最大5个
|
27
93
|
# @type OrgSubAccountUins: Array
|
28
94
|
|
29
95
|
attr_accessor :MemberUin, :PolicyId, :OrgSubAccountUins
|
@@ -61,9 +127,9 @@ module TencentCloud
|
|
61
127
|
class CreateOrganizationMemberPolicyRequest < TencentCloud::Common::AbstractModel
|
62
128
|
# @param MemberUin: 成员Uin。
|
63
129
|
# @type MemberUin: Integer
|
64
|
-
# @param PolicyName:
|
130
|
+
# @param PolicyName: 策略名。最大长度为128个字符,支持英文字母、数字、符号+=,.@_-
|
65
131
|
# @type PolicyName: String
|
66
|
-
# @param IdentityId:
|
132
|
+
# @param IdentityId: 成员访问身份ID。可以调用DescribeOrganizationMemberAuthIdentities获取
|
67
133
|
# @type IdentityId: Integer
|
68
134
|
# @param Description: 描述。
|
69
135
|
# @type Description: String
|
@@ -108,25 +174,25 @@ module TencentCloud
|
|
108
174
|
|
109
175
|
# CreateOrganizationMember请求参数结构体
|
110
176
|
class CreateOrganizationMemberRequest < TencentCloud::Common::AbstractModel
|
111
|
-
# @param Name:
|
177
|
+
# @param Name: 成员名称。最大长度为25个字符,支持英文字母、数字、汉字、符号+@、&._[]-:,
|
112
178
|
# @type Name: String
|
113
|
-
# @param PolicyType:
|
179
|
+
# @param PolicyType: 关系策略。取值:Financial
|
114
180
|
# @type PolicyType: String
|
115
|
-
# @param PermissionIds:
|
181
|
+
# @param PermissionIds: 成员财务权限ID列表。取值:1-查看账单、2-查看余额、3-资金划拨、4-合并出账、5-开票、6-优惠继承、7-代付费,1、2 默认必须
|
116
182
|
# @type PermissionIds: Array
|
117
|
-
# @param NodeId: 成员所属部门的节点ID
|
183
|
+
# @param NodeId: 成员所属部门的节点ID。可以调用DescribeOrganizationNodes获取
|
118
184
|
# @type NodeId: Integer
|
119
|
-
# @param AccountName:
|
185
|
+
# @param AccountName: 账号名称。最大长度为25个字符,支持英文字母、数字、汉字、符号+@、&._[]-:,
|
120
186
|
# @type AccountName: String
|
121
|
-
# @param Remark:
|
187
|
+
# @param Remark: 备注。
|
122
188
|
# @type Remark: String
|
123
|
-
# @param RecordId:
|
189
|
+
# @param RecordId: 成员创建记录ID。创建异常重试时需要
|
124
190
|
# @type RecordId: Integer
|
125
|
-
# @param PayUin: 代付者Uin
|
191
|
+
# @param PayUin: 代付者Uin。成员代付费时需要
|
126
192
|
# @type PayUin: String
|
127
|
-
# @param IdentityRoleID:
|
193
|
+
# @param IdentityRoleID: 成员访问身份ID列表。可以调用ListOrganizationIdentity获取,1默认支持
|
128
194
|
# @type IdentityRoleID: Array
|
129
|
-
# @param AuthRelationId:
|
195
|
+
# @param AuthRelationId: 认证主体关系ID。给不同主体创建成员时需要,可以调用DescribeOrganizationAuthNode获取
|
130
196
|
# @type AuthRelationId: Integer
|
131
197
|
|
132
198
|
attr_accessor :Name, :PolicyType, :PermissionIds, :NodeId, :AccountName, :Remark, :RecordId, :PayUin, :IdentityRoleID, :AuthRelationId
|
@@ -160,7 +226,7 @@ module TencentCloud
|
|
160
226
|
|
161
227
|
# CreateOrganizationMember返回参数结构体
|
162
228
|
class CreateOrganizationMemberResponse < TencentCloud::Common::AbstractModel
|
163
|
-
# @param Uin: 成员Uin
|
229
|
+
# @param Uin: 成员Uin。
|
164
230
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
165
231
|
# @type Uin: Integer
|
166
232
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
@@ -179,19 +245,254 @@ module TencentCloud
|
|
179
245
|
end
|
180
246
|
end
|
181
247
|
|
248
|
+
# DeleteOrganizationMembers请求参数结构体
|
249
|
+
class DeleteOrganizationMembersRequest < TencentCloud::Common::AbstractModel
|
250
|
+
# @param MemberUin: 被删除成员的UIN列表。
|
251
|
+
# @type MemberUin: Array
|
252
|
+
|
253
|
+
attr_accessor :MemberUin
|
254
|
+
|
255
|
+
def initialize(memberuin=nil)
|
256
|
+
@MemberUin = memberuin
|
257
|
+
end
|
258
|
+
|
259
|
+
def deserialize(params)
|
260
|
+
@MemberUin = params['MemberUin']
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
# DeleteOrganizationMembers返回参数结构体
|
265
|
+
class DeleteOrganizationMembersResponse < TencentCloud::Common::AbstractModel
|
266
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
267
|
+
# @type RequestId: String
|
268
|
+
|
269
|
+
attr_accessor :RequestId
|
270
|
+
|
271
|
+
def initialize(requestid=nil)
|
272
|
+
@RequestId = requestid
|
273
|
+
end
|
274
|
+
|
275
|
+
def deserialize(params)
|
276
|
+
@RequestId = params['RequestId']
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
# DeleteOrganizationNodes请求参数结构体
|
281
|
+
class DeleteOrganizationNodesRequest < TencentCloud::Common::AbstractModel
|
282
|
+
# @param NodeId: 节点ID列表。
|
283
|
+
# @type NodeId: Array
|
284
|
+
|
285
|
+
attr_accessor :NodeId
|
286
|
+
|
287
|
+
def initialize(nodeid=nil)
|
288
|
+
@NodeId = nodeid
|
289
|
+
end
|
290
|
+
|
291
|
+
def deserialize(params)
|
292
|
+
@NodeId = params['NodeId']
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
# DeleteOrganizationNodes返回参数结构体
|
297
|
+
class DeleteOrganizationNodesResponse < TencentCloud::Common::AbstractModel
|
298
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
299
|
+
# @type RequestId: String
|
300
|
+
|
301
|
+
attr_accessor :RequestId
|
302
|
+
|
303
|
+
def initialize(requestid=nil)
|
304
|
+
@RequestId = requestid
|
305
|
+
end
|
306
|
+
|
307
|
+
def deserialize(params)
|
308
|
+
@RequestId = params['RequestId']
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
# DescribeOrganizationAuthNode请求参数结构体
|
313
|
+
class DescribeOrganizationAuthNodeRequest < TencentCloud::Common::AbstractModel
|
314
|
+
# @param Offset: 偏移量。
|
315
|
+
# @type Offset: Integer
|
316
|
+
# @param Limit: 限制数目。最大50
|
317
|
+
# @type Limit: Integer
|
318
|
+
|
319
|
+
attr_accessor :Offset, :Limit
|
320
|
+
|
321
|
+
def initialize(offset=nil, limit=nil)
|
322
|
+
@Offset = offset
|
323
|
+
@Limit = limit
|
324
|
+
end
|
325
|
+
|
326
|
+
def deserialize(params)
|
327
|
+
@Offset = params['Offset']
|
328
|
+
@Limit = params['Limit']
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
# DescribeOrganizationAuthNode返回参数结构体
|
333
|
+
class DescribeOrganizationAuthNodeResponse < TencentCloud::Common::AbstractModel
|
334
|
+
# @param Total: 总数。
|
335
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
336
|
+
# @type Total: Integer
|
337
|
+
# @param Items: 条目详情。
|
338
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
339
|
+
# @type Items: Array
|
340
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
341
|
+
# @type RequestId: String
|
342
|
+
|
343
|
+
attr_accessor :Total, :Items, :RequestId
|
344
|
+
|
345
|
+
def initialize(total=nil, items=nil, requestid=nil)
|
346
|
+
@Total = total
|
347
|
+
@Items = items
|
348
|
+
@RequestId = requestid
|
349
|
+
end
|
350
|
+
|
351
|
+
def deserialize(params)
|
352
|
+
@Total = params['Total']
|
353
|
+
unless params['Items'].nil?
|
354
|
+
@Items = []
|
355
|
+
params['Items'].each do |i|
|
356
|
+
authnode_tmp = AuthNode.new
|
357
|
+
authnode_tmp.deserialize(i)
|
358
|
+
@Items << authnode_tmp
|
359
|
+
end
|
360
|
+
end
|
361
|
+
@RequestId = params['RequestId']
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
365
|
+
# DescribeOrganizationMemberAuthIdentities请求参数结构体
|
366
|
+
class DescribeOrganizationMemberAuthIdentitiesRequest < TencentCloud::Common::AbstractModel
|
367
|
+
# @param Offset: 偏移量。
|
368
|
+
# @type Offset: Integer
|
369
|
+
# @param Limit: 限制数目。最大50
|
370
|
+
# @type Limit: Integer
|
371
|
+
# @param MemberUin: 组织成员Uin。
|
372
|
+
# @type MemberUin: Integer
|
373
|
+
|
374
|
+
attr_accessor :Offset, :Limit, :MemberUin
|
375
|
+
|
376
|
+
def initialize(offset=nil, limit=nil, memberuin=nil)
|
377
|
+
@Offset = offset
|
378
|
+
@Limit = limit
|
379
|
+
@MemberUin = memberuin
|
380
|
+
end
|
381
|
+
|
382
|
+
def deserialize(params)
|
383
|
+
@Offset = params['Offset']
|
384
|
+
@Limit = params['Limit']
|
385
|
+
@MemberUin = params['MemberUin']
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
389
|
+
# DescribeOrganizationMemberAuthIdentities返回参数结构体
|
390
|
+
class DescribeOrganizationMemberAuthIdentitiesResponse < TencentCloud::Common::AbstractModel
|
391
|
+
# @param Items: 列表。
|
392
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
393
|
+
# @type Items: Array
|
394
|
+
# @param Total: 总数目。
|
395
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
396
|
+
# @type Total: Integer
|
397
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
398
|
+
# @type RequestId: String
|
399
|
+
|
400
|
+
attr_accessor :Items, :Total, :RequestId
|
401
|
+
|
402
|
+
def initialize(items=nil, total=nil, requestid=nil)
|
403
|
+
@Items = items
|
404
|
+
@Total = total
|
405
|
+
@RequestId = requestid
|
406
|
+
end
|
407
|
+
|
408
|
+
def deserialize(params)
|
409
|
+
unless params['Items'].nil?
|
410
|
+
@Items = []
|
411
|
+
params['Items'].each do |i|
|
412
|
+
orgmemberauthidentity_tmp = OrgMemberAuthIdentity.new
|
413
|
+
orgmemberauthidentity_tmp.deserialize(i)
|
414
|
+
@Items << orgmemberauthidentity_tmp
|
415
|
+
end
|
416
|
+
end
|
417
|
+
@Total = params['Total']
|
418
|
+
@RequestId = params['RequestId']
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
422
|
+
# DescribeOrganizationMemberPolicies请求参数结构体
|
423
|
+
class DescribeOrganizationMemberPoliciesRequest < TencentCloud::Common::AbstractModel
|
424
|
+
# @param Offset: 偏移量。
|
425
|
+
# @type Offset: Integer
|
426
|
+
# @param Limit: 限制数目。最大50
|
427
|
+
# @type Limit: Integer
|
428
|
+
# @param MemberUin: 成员Uin。
|
429
|
+
# @type MemberUin: Integer
|
430
|
+
# @param SearchKey: 搜索关键字。可用于策略名或描述搜索
|
431
|
+
# @type SearchKey: String
|
432
|
+
|
433
|
+
attr_accessor :Offset, :Limit, :MemberUin, :SearchKey
|
434
|
+
|
435
|
+
def initialize(offset=nil, limit=nil, memberuin=nil, searchkey=nil)
|
436
|
+
@Offset = offset
|
437
|
+
@Limit = limit
|
438
|
+
@MemberUin = memberuin
|
439
|
+
@SearchKey = searchkey
|
440
|
+
end
|
441
|
+
|
442
|
+
def deserialize(params)
|
443
|
+
@Offset = params['Offset']
|
444
|
+
@Limit = params['Limit']
|
445
|
+
@MemberUin = params['MemberUin']
|
446
|
+
@SearchKey = params['SearchKey']
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
450
|
+
# DescribeOrganizationMemberPolicies返回参数结构体
|
451
|
+
class DescribeOrganizationMemberPoliciesResponse < TencentCloud::Common::AbstractModel
|
452
|
+
# @param Items: 列表。
|
453
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
454
|
+
# @type Items: Array
|
455
|
+
# @param Total: 总数目。
|
456
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
457
|
+
# @type Total: Integer
|
458
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
459
|
+
# @type RequestId: String
|
460
|
+
|
461
|
+
attr_accessor :Items, :Total, :RequestId
|
462
|
+
|
463
|
+
def initialize(items=nil, total=nil, requestid=nil)
|
464
|
+
@Items = items
|
465
|
+
@Total = total
|
466
|
+
@RequestId = requestid
|
467
|
+
end
|
468
|
+
|
469
|
+
def deserialize(params)
|
470
|
+
unless params['Items'].nil?
|
471
|
+
@Items = []
|
472
|
+
params['Items'].each do |i|
|
473
|
+
orgmemberpolicy_tmp = OrgMemberPolicy.new
|
474
|
+
orgmemberpolicy_tmp.deserialize(i)
|
475
|
+
@Items << orgmemberpolicy_tmp
|
476
|
+
end
|
477
|
+
end
|
478
|
+
@Total = params['Total']
|
479
|
+
@RequestId = params['RequestId']
|
480
|
+
end
|
481
|
+
end
|
482
|
+
|
182
483
|
# DescribeOrganizationMembers请求参数结构体
|
183
484
|
class DescribeOrganizationMembersRequest < TencentCloud::Common::AbstractModel
|
184
|
-
# @param Offset:
|
485
|
+
# @param Offset: 偏移量。
|
185
486
|
# @type Offset: Integer
|
186
|
-
# @param Limit:
|
487
|
+
# @param Limit: 限制数目。最大50
|
187
488
|
# @type Limit: Integer
|
188
489
|
# @param Lang: 国际站:en,国内站:zh
|
189
490
|
# @type Lang: String
|
190
|
-
# @param SearchKey:
|
491
|
+
# @param SearchKey: 成员名称或者成员ID搜索。
|
191
492
|
# @type SearchKey: String
|
192
|
-
# @param AuthName:
|
493
|
+
# @param AuthName: 主体名称搜索。
|
193
494
|
# @type AuthName: String
|
194
|
-
# @param Product:
|
495
|
+
# @param Product: 可信服务产品简称。可信服务管理员查询时必须指定
|
195
496
|
# @type Product: String
|
196
497
|
|
197
498
|
attr_accessor :Offset, :Limit, :Lang, :SearchKey, :AuthName, :Product
|
@@ -217,9 +518,9 @@ module TencentCloud
|
|
217
518
|
|
218
519
|
# DescribeOrganizationMembers返回参数结构体
|
219
520
|
class DescribeOrganizationMembersResponse < TencentCloud::Common::AbstractModel
|
220
|
-
# @param Items:
|
521
|
+
# @param Items: 成员列表。
|
221
522
|
# @type Items: Array
|
222
|
-
# @param Total:
|
523
|
+
# @param Total: 总数目。
|
223
524
|
# @type Total: Integer
|
224
525
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
225
526
|
# @type RequestId: String
|
@@ -246,11 +547,64 @@ module TencentCloud
|
|
246
547
|
end
|
247
548
|
end
|
248
549
|
|
550
|
+
# DescribeOrganizationNodes请求参数结构体
|
551
|
+
class DescribeOrganizationNodesRequest < TencentCloud::Common::AbstractModel
|
552
|
+
# @param Limit: 限制数目。最大50
|
553
|
+
# @type Limit: Integer
|
554
|
+
# @param Offset: 偏移量。
|
555
|
+
# @type Offset: Integer
|
556
|
+
|
557
|
+
attr_accessor :Limit, :Offset
|
558
|
+
|
559
|
+
def initialize(limit=nil, offset=nil)
|
560
|
+
@Limit = limit
|
561
|
+
@Offset = offset
|
562
|
+
end
|
563
|
+
|
564
|
+
def deserialize(params)
|
565
|
+
@Limit = params['Limit']
|
566
|
+
@Offset = params['Offset']
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
570
|
+
# DescribeOrganizationNodes返回参数结构体
|
571
|
+
class DescribeOrganizationNodesResponse < TencentCloud::Common::AbstractModel
|
572
|
+
# @param Total: 总数。
|
573
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
574
|
+
# @type Total: Integer
|
575
|
+
# @param Items: 列表详情。
|
576
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
577
|
+
# @type Items: Array
|
578
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
579
|
+
# @type RequestId: String
|
580
|
+
|
581
|
+
attr_accessor :Total, :Items, :RequestId
|
582
|
+
|
583
|
+
def initialize(total=nil, items=nil, requestid=nil)
|
584
|
+
@Total = total
|
585
|
+
@Items = items
|
586
|
+
@RequestId = requestid
|
587
|
+
end
|
588
|
+
|
589
|
+
def deserialize(params)
|
590
|
+
@Total = params['Total']
|
591
|
+
unless params['Items'].nil?
|
592
|
+
@Items = []
|
593
|
+
params['Items'].each do |i|
|
594
|
+
orgnode_tmp = OrgNode.new
|
595
|
+
orgnode_tmp.deserialize(i)
|
596
|
+
@Items << orgnode_tmp
|
597
|
+
end
|
598
|
+
end
|
599
|
+
@RequestId = params['RequestId']
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
249
603
|
# DescribeOrganization请求参数结构体
|
250
604
|
class DescribeOrganizationRequest < TencentCloud::Common::AbstractModel
|
251
605
|
# @param Lang: 国际站:en,国内站:zh
|
252
606
|
# @type Lang: String
|
253
|
-
# @param Product:
|
607
|
+
# @param Product: 可信服务产品简称。查询是否该可信服务管理员时必须指定
|
254
608
|
# @type Product: String
|
255
609
|
|
256
610
|
attr_accessor :Lang, :Product
|
@@ -268,52 +622,52 @@ module TencentCloud
|
|
268
622
|
|
269
623
|
# DescribeOrganization返回参数结构体
|
270
624
|
class DescribeOrganizationResponse < TencentCloud::Common::AbstractModel
|
271
|
-
# @param OrgId: 企业组织ID
|
625
|
+
# @param OrgId: 企业组织ID。
|
272
626
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
273
627
|
# @type OrgId: Integer
|
274
|
-
# @param HostUin: 创建者UIN
|
628
|
+
# @param HostUin: 创建者UIN。
|
275
629
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
276
630
|
# @type HostUin: Integer
|
277
|
-
# @param NickName:
|
631
|
+
# @param NickName: 创建者昵称。
|
278
632
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
279
633
|
# @type NickName: String
|
280
|
-
# @param OrgType:
|
634
|
+
# @param OrgType: 企业组织类型。
|
281
635
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
282
636
|
# @type OrgType: Integer
|
283
|
-
# @param IsManager:
|
637
|
+
# @param IsManager: 是否组织管理员。是:true ,否:false
|
284
638
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
285
639
|
# @type IsManager: Boolean
|
286
|
-
# @param OrgPolicyType:
|
640
|
+
# @param OrgPolicyType: 策略类型。财务管理:Financial
|
287
641
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
288
642
|
# @type OrgPolicyType: String
|
289
|
-
# @param OrgPolicyName:
|
643
|
+
# @param OrgPolicyName: 策略名。
|
290
644
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
291
645
|
# @type OrgPolicyName: String
|
292
|
-
# @param OrgPermission:
|
646
|
+
# @param OrgPermission: 成员财务权限列表。
|
293
647
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
294
648
|
# @type OrgPermission: Array
|
295
|
-
# @param RootNodeId:
|
649
|
+
# @param RootNodeId: 组织根节点ID。
|
296
650
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
297
651
|
# @type RootNodeId: Integer
|
298
|
-
# @param CreateTime:
|
652
|
+
# @param CreateTime: 组织创建时间。
|
299
653
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
300
654
|
# @type CreateTime: String
|
301
|
-
# @param JoinTime:
|
655
|
+
# @param JoinTime: 成员加入时间。
|
302
656
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
303
657
|
# @type JoinTime: String
|
304
|
-
# @param IsAllowQuit:
|
658
|
+
# @param IsAllowQuit: 成员是否允许退出。允许:Allow,不允许:Denied
|
305
659
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
306
660
|
# @type IsAllowQuit: String
|
307
|
-
# @param PayUin: 代付者Uin
|
661
|
+
# @param PayUin: 代付者Uin。
|
308
662
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
309
663
|
# @type PayUin: String
|
310
|
-
# @param PayName:
|
664
|
+
# @param PayName: 代付者名称。
|
311
665
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
312
666
|
# @type PayName: String
|
313
|
-
# @param IsAssignManager:
|
667
|
+
# @param IsAssignManager: 是否可信服务管理员。是:true,否:false
|
314
668
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
315
669
|
# @type IsAssignManager: Boolean
|
316
|
-
# @param IsAuthManager:
|
670
|
+
# @param IsAuthManager: 是否实名主体管理员。是:true,否:false
|
317
671
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
318
672
|
# @type IsAuthManager: Boolean
|
319
673
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
@@ -369,6 +723,87 @@ module TencentCloud
|
|
369
723
|
end
|
370
724
|
end
|
371
725
|
|
726
|
+
# 组织身份策略
|
727
|
+
class IdentityPolicy < TencentCloud::Common::AbstractModel
|
728
|
+
# @param PolicyId: 策略ID
|
729
|
+
# @type PolicyId: Integer
|
730
|
+
# @param PolicyName: 策略名称
|
731
|
+
# @type PolicyName: String
|
732
|
+
|
733
|
+
attr_accessor :PolicyId, :PolicyName
|
734
|
+
|
735
|
+
def initialize(policyid=nil, policyname=nil)
|
736
|
+
@PolicyId = policyid
|
737
|
+
@PolicyName = policyname
|
738
|
+
end
|
739
|
+
|
740
|
+
def deserialize(params)
|
741
|
+
@PolicyId = params['PolicyId']
|
742
|
+
@PolicyName = params['PolicyName']
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
746
|
+
# ListOrganizationIdentity请求参数结构体
|
747
|
+
class ListOrganizationIdentityRequest < TencentCloud::Common::AbstractModel
|
748
|
+
# @param Offset: 偏移量。
|
749
|
+
# @type Offset: Integer
|
750
|
+
# @param Limit: 限制数目。最大50
|
751
|
+
# @type Limit: Integer
|
752
|
+
# @param SearchKey: 名称搜索关键字。
|
753
|
+
# @type SearchKey: String
|
754
|
+
# @param IdentityId: 身份ID搜索。
|
755
|
+
# @type IdentityId: Integer
|
756
|
+
|
757
|
+
attr_accessor :Offset, :Limit, :SearchKey, :IdentityId
|
758
|
+
|
759
|
+
def initialize(offset=nil, limit=nil, searchkey=nil, identityid=nil)
|
760
|
+
@Offset = offset
|
761
|
+
@Limit = limit
|
762
|
+
@SearchKey = searchkey
|
763
|
+
@IdentityId = identityid
|
764
|
+
end
|
765
|
+
|
766
|
+
def deserialize(params)
|
767
|
+
@Offset = params['Offset']
|
768
|
+
@Limit = params['Limit']
|
769
|
+
@SearchKey = params['SearchKey']
|
770
|
+
@IdentityId = params['IdentityId']
|
771
|
+
end
|
772
|
+
end
|
773
|
+
|
774
|
+
# ListOrganizationIdentity返回参数结构体
|
775
|
+
class ListOrganizationIdentityResponse < TencentCloud::Common::AbstractModel
|
776
|
+
# @param Total: 总数。
|
777
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
778
|
+
# @type Total: Integer
|
779
|
+
# @param Items: 条目详情。
|
780
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
781
|
+
# @type Items: Array
|
782
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
783
|
+
# @type RequestId: String
|
784
|
+
|
785
|
+
attr_accessor :Total, :Items, :RequestId
|
786
|
+
|
787
|
+
def initialize(total=nil, items=nil, requestid=nil)
|
788
|
+
@Total = total
|
789
|
+
@Items = items
|
790
|
+
@RequestId = requestid
|
791
|
+
end
|
792
|
+
|
793
|
+
def deserialize(params)
|
794
|
+
@Total = params['Total']
|
795
|
+
unless params['Items'].nil?
|
796
|
+
@Items = []
|
797
|
+
params['Items'].each do |i|
|
798
|
+
orgidentity_tmp = OrgIdentity.new
|
799
|
+
orgidentity_tmp.deserialize(i)
|
800
|
+
@Items << orgidentity_tmp
|
801
|
+
end
|
802
|
+
end
|
803
|
+
@RequestId = params['RequestId']
|
804
|
+
end
|
805
|
+
end
|
806
|
+
|
372
807
|
# 成员管理身份
|
373
808
|
class MemberIdentity < TencentCloud::Common::AbstractModel
|
374
809
|
# @param IdentityId: 身份ID。
|
@@ -391,6 +826,91 @@ module TencentCloud
|
|
391
826
|
end
|
392
827
|
end
|
393
828
|
|
829
|
+
# MoveOrganizationNodeMembers请求参数结构体
|
830
|
+
class MoveOrganizationNodeMembersRequest < TencentCloud::Common::AbstractModel
|
831
|
+
# @param NodeId: 组织节点ID。
|
832
|
+
# @type NodeId: Integer
|
833
|
+
# @param MemberUin: 成员UIN列表。
|
834
|
+
# @type MemberUin: Array
|
835
|
+
|
836
|
+
attr_accessor :NodeId, :MemberUin
|
837
|
+
|
838
|
+
def initialize(nodeid=nil, memberuin=nil)
|
839
|
+
@NodeId = nodeid
|
840
|
+
@MemberUin = memberuin
|
841
|
+
end
|
842
|
+
|
843
|
+
def deserialize(params)
|
844
|
+
@NodeId = params['NodeId']
|
845
|
+
@MemberUin = params['MemberUin']
|
846
|
+
end
|
847
|
+
end
|
848
|
+
|
849
|
+
# MoveOrganizationNodeMembers返回参数结构体
|
850
|
+
class MoveOrganizationNodeMembersResponse < TencentCloud::Common::AbstractModel
|
851
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
852
|
+
# @type RequestId: String
|
853
|
+
|
854
|
+
attr_accessor :RequestId
|
855
|
+
|
856
|
+
def initialize(requestid=nil)
|
857
|
+
@RequestId = requestid
|
858
|
+
end
|
859
|
+
|
860
|
+
def deserialize(params)
|
861
|
+
@RequestId = params['RequestId']
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
865
|
+
# 组织身份
|
866
|
+
class OrgIdentity < TencentCloud::Common::AbstractModel
|
867
|
+
# @param IdentityId: 身份ID。
|
868
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
869
|
+
# @type IdentityId: Integer
|
870
|
+
# @param IdentityAliasName: 身份名称。
|
871
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
872
|
+
# @type IdentityAliasName: String
|
873
|
+
# @param Description: 描述。
|
874
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
875
|
+
# @type Description: String
|
876
|
+
# @param IdentityPolicy: 身份策略。
|
877
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
878
|
+
# @type IdentityPolicy: Array
|
879
|
+
# @param IdentityType: 身份类型。 1-预设、 2-自定义
|
880
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
881
|
+
# @type IdentityType: Integer
|
882
|
+
# @param UpdateTime: 更新时间。
|
883
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
884
|
+
# @type UpdateTime: String
|
885
|
+
|
886
|
+
attr_accessor :IdentityId, :IdentityAliasName, :Description, :IdentityPolicy, :IdentityType, :UpdateTime
|
887
|
+
|
888
|
+
def initialize(identityid=nil, identityaliasname=nil, description=nil, identitypolicy=nil, identitytype=nil, updatetime=nil)
|
889
|
+
@IdentityId = identityid
|
890
|
+
@IdentityAliasName = identityaliasname
|
891
|
+
@Description = description
|
892
|
+
@IdentityPolicy = identitypolicy
|
893
|
+
@IdentityType = identitytype
|
894
|
+
@UpdateTime = updatetime
|
895
|
+
end
|
896
|
+
|
897
|
+
def deserialize(params)
|
898
|
+
@IdentityId = params['IdentityId']
|
899
|
+
@IdentityAliasName = params['IdentityAliasName']
|
900
|
+
@Description = params['Description']
|
901
|
+
unless params['IdentityPolicy'].nil?
|
902
|
+
@IdentityPolicy = []
|
903
|
+
params['IdentityPolicy'].each do |i|
|
904
|
+
identitypolicy_tmp = IdentityPolicy.new
|
905
|
+
identitypolicy_tmp.deserialize(i)
|
906
|
+
@IdentityPolicy << identitypolicy_tmp
|
907
|
+
end
|
908
|
+
end
|
909
|
+
@IdentityType = params['IdentityType']
|
910
|
+
@UpdateTime = params['UpdateTime']
|
911
|
+
end
|
912
|
+
end
|
913
|
+
|
394
914
|
# 企业组织成员
|
395
915
|
class OrgMember < TencentCloud::Common::AbstractModel
|
396
916
|
# @param MemberUin: 成员Uin
|
@@ -502,6 +1022,142 @@ module TencentCloud
|
|
502
1022
|
end
|
503
1023
|
end
|
504
1024
|
|
1025
|
+
# 组织成员可授权的身份
|
1026
|
+
class OrgMemberAuthIdentity < TencentCloud::Common::AbstractModel
|
1027
|
+
# @param IdentityId: 身份ID。
|
1028
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1029
|
+
# @type IdentityId: Integer
|
1030
|
+
# @param IdentityRoleName: 身份角色名。
|
1031
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1032
|
+
# @type IdentityRoleName: String
|
1033
|
+
# @param IdentityRoleAliasName: 身份角色别名。
|
1034
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1035
|
+
# @type IdentityRoleAliasName: String
|
1036
|
+
# @param Description: 描述
|
1037
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1038
|
+
# @type Description: String
|
1039
|
+
# @param CreateTime: 创建时间。
|
1040
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1041
|
+
# @type CreateTime: String
|
1042
|
+
# @param UpdateTime: 更新时间。
|
1043
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1044
|
+
# @type UpdateTime: String
|
1045
|
+
|
1046
|
+
attr_accessor :IdentityId, :IdentityRoleName, :IdentityRoleAliasName, :Description, :CreateTime, :UpdateTime
|
1047
|
+
|
1048
|
+
def initialize(identityid=nil, identityrolename=nil, identityrolealiasname=nil, description=nil, createtime=nil, updatetime=nil)
|
1049
|
+
@IdentityId = identityid
|
1050
|
+
@IdentityRoleName = identityrolename
|
1051
|
+
@IdentityRoleAliasName = identityrolealiasname
|
1052
|
+
@Description = description
|
1053
|
+
@CreateTime = createtime
|
1054
|
+
@UpdateTime = updatetime
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
def deserialize(params)
|
1058
|
+
@IdentityId = params['IdentityId']
|
1059
|
+
@IdentityRoleName = params['IdentityRoleName']
|
1060
|
+
@IdentityRoleAliasName = params['IdentityRoleAliasName']
|
1061
|
+
@Description = params['Description']
|
1062
|
+
@CreateTime = params['CreateTime']
|
1063
|
+
@UpdateTime = params['UpdateTime']
|
1064
|
+
end
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
# 组织成员被授权的策略
|
1068
|
+
class OrgMemberPolicy < TencentCloud::Common::AbstractModel
|
1069
|
+
# @param PolicyId: 策略ID。
|
1070
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1071
|
+
# @type PolicyId: Integer
|
1072
|
+
# @param PolicyName: 策略名。
|
1073
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1074
|
+
# @type PolicyName: String
|
1075
|
+
# @param IdentityId: 身份ID。
|
1076
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1077
|
+
# @type IdentityId: Integer
|
1078
|
+
# @param IdentityRoleName: 身份角色名。
|
1079
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1080
|
+
# @type IdentityRoleName: String
|
1081
|
+
# @param IdentityRoleAliasName: 身份角色别名。
|
1082
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1083
|
+
# @type IdentityRoleAliasName: String
|
1084
|
+
# @param Description: 描述。
|
1085
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1086
|
+
# @type Description: String
|
1087
|
+
# @param CreateTime: 创建时间。
|
1088
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1089
|
+
# @type CreateTime: String
|
1090
|
+
# @param UpdateTime: 更新时间。
|
1091
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1092
|
+
# @type UpdateTime: String
|
1093
|
+
|
1094
|
+
attr_accessor :PolicyId, :PolicyName, :IdentityId, :IdentityRoleName, :IdentityRoleAliasName, :Description, :CreateTime, :UpdateTime
|
1095
|
+
|
1096
|
+
def initialize(policyid=nil, policyname=nil, identityid=nil, identityrolename=nil, identityrolealiasname=nil, description=nil, createtime=nil, updatetime=nil)
|
1097
|
+
@PolicyId = policyid
|
1098
|
+
@PolicyName = policyname
|
1099
|
+
@IdentityId = identityid
|
1100
|
+
@IdentityRoleName = identityrolename
|
1101
|
+
@IdentityRoleAliasName = identityrolealiasname
|
1102
|
+
@Description = description
|
1103
|
+
@CreateTime = createtime
|
1104
|
+
@UpdateTime = updatetime
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
def deserialize(params)
|
1108
|
+
@PolicyId = params['PolicyId']
|
1109
|
+
@PolicyName = params['PolicyName']
|
1110
|
+
@IdentityId = params['IdentityId']
|
1111
|
+
@IdentityRoleName = params['IdentityRoleName']
|
1112
|
+
@IdentityRoleAliasName = params['IdentityRoleAliasName']
|
1113
|
+
@Description = params['Description']
|
1114
|
+
@CreateTime = params['CreateTime']
|
1115
|
+
@UpdateTime = params['UpdateTime']
|
1116
|
+
end
|
1117
|
+
end
|
1118
|
+
|
1119
|
+
# 企业组织单元
|
1120
|
+
class OrgNode < TencentCloud::Common::AbstractModel
|
1121
|
+
# @param NodeId: 组织节点ID
|
1122
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1123
|
+
# @type NodeId: Integer
|
1124
|
+
# @param Name: 名称
|
1125
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1126
|
+
# @type Name: String
|
1127
|
+
# @param ParentNodeId: 父节点ID
|
1128
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1129
|
+
# @type ParentNodeId: Integer
|
1130
|
+
# @param Remark: 备注
|
1131
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1132
|
+
# @type Remark: String
|
1133
|
+
# @param CreateTime: 创建时间
|
1134
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1135
|
+
# @type CreateTime: String
|
1136
|
+
# @param UpdateTime: 更新时间
|
1137
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1138
|
+
# @type UpdateTime: String
|
1139
|
+
|
1140
|
+
attr_accessor :NodeId, :Name, :ParentNodeId, :Remark, :CreateTime, :UpdateTime
|
1141
|
+
|
1142
|
+
def initialize(nodeid=nil, name=nil, parentnodeid=nil, remark=nil, createtime=nil, updatetime=nil)
|
1143
|
+
@NodeId = nodeid
|
1144
|
+
@Name = name
|
1145
|
+
@ParentNodeId = parentnodeid
|
1146
|
+
@Remark = remark
|
1147
|
+
@CreateTime = createtime
|
1148
|
+
@UpdateTime = updatetime
|
1149
|
+
end
|
1150
|
+
|
1151
|
+
def deserialize(params)
|
1152
|
+
@NodeId = params['NodeId']
|
1153
|
+
@Name = params['Name']
|
1154
|
+
@ParentNodeId = params['ParentNodeId']
|
1155
|
+
@Remark = params['Remark']
|
1156
|
+
@CreateTime = params['CreateTime']
|
1157
|
+
@UpdateTime = params['UpdateTime']
|
1158
|
+
end
|
1159
|
+
end
|
1160
|
+
|
505
1161
|
# 关系策略权限
|
506
1162
|
class OrgPermission < TencentCloud::Common::AbstractModel
|
507
1163
|
# @param Id: 权限Id
|
@@ -522,6 +1178,46 @@ module TencentCloud
|
|
522
1178
|
end
|
523
1179
|
end
|
524
1180
|
|
1181
|
+
# UpdateOrganizationNode请求参数结构体
|
1182
|
+
class UpdateOrganizationNodeRequest < TencentCloud::Common::AbstractModel
|
1183
|
+
# @param NodeId: 节点ID。
|
1184
|
+
# @type NodeId: Integer
|
1185
|
+
# @param Name: 节点名称。最大长度为40个字符,支持英文字母、数字、汉字、符号+@、&._[]-
|
1186
|
+
# @type Name: String
|
1187
|
+
# @param Remark: 备注。
|
1188
|
+
# @type Remark: String
|
1189
|
+
|
1190
|
+
attr_accessor :NodeId, :Name, :Remark
|
1191
|
+
|
1192
|
+
def initialize(nodeid=nil, name=nil, remark=nil)
|
1193
|
+
@NodeId = nodeid
|
1194
|
+
@Name = name
|
1195
|
+
@Remark = remark
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
def deserialize(params)
|
1199
|
+
@NodeId = params['NodeId']
|
1200
|
+
@Name = params['Name']
|
1201
|
+
@Remark = params['Remark']
|
1202
|
+
end
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
# UpdateOrganizationNode返回参数结构体
|
1206
|
+
class UpdateOrganizationNodeResponse < TencentCloud::Common::AbstractModel
|
1207
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1208
|
+
# @type RequestId: String
|
1209
|
+
|
1210
|
+
attr_accessor :RequestId
|
1211
|
+
|
1212
|
+
def initialize(requestid=nil)
|
1213
|
+
@RequestId = requestid
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
def deserialize(params)
|
1217
|
+
@RequestId = params['RequestId']
|
1218
|
+
end
|
1219
|
+
end
|
1220
|
+
|
525
1221
|
end
|
526
1222
|
end
|
527
1223
|
end
|
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.452
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|