tencentcloud-sdk-organization 3.0.451 → 3.0.453

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.
@@ -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: 组织子账号Uin
92
+ # @param OrgSubAccountUins: 组织管理员子账号Uin列表。最大5个
27
93
  # @type OrgSubAccountUins: Array
28
94
 
29
95
  attr_accessor :MemberUin, :PolicyId, :OrgSubAccountUins
@@ -57,13 +123,53 @@ module TencentCloud
57
123
  end
58
124
  end
59
125
 
126
+ # CancelOrganizationMemberAuthAccount请求参数结构体
127
+ class CancelOrganizationMemberAuthAccountRequest < TencentCloud::Common::AbstractModel
128
+ # @param MemberUin: 成员Uin。
129
+ # @type MemberUin: Integer
130
+ # @param PolicyId: 策略ID。
131
+ # @type PolicyId: Integer
132
+ # @param OrgSubAccountUin: 组织子账号Uin。
133
+ # @type OrgSubAccountUin: Integer
134
+
135
+ attr_accessor :MemberUin, :PolicyId, :OrgSubAccountUin
136
+
137
+ def initialize(memberuin=nil, policyid=nil, orgsubaccountuin=nil)
138
+ @MemberUin = memberuin
139
+ @PolicyId = policyid
140
+ @OrgSubAccountUin = orgsubaccountuin
141
+ end
142
+
143
+ def deserialize(params)
144
+ @MemberUin = params['MemberUin']
145
+ @PolicyId = params['PolicyId']
146
+ @OrgSubAccountUin = params['OrgSubAccountUin']
147
+ end
148
+ end
149
+
150
+ # CancelOrganizationMemberAuthAccount返回参数结构体
151
+ class CancelOrganizationMemberAuthAccountResponse < TencentCloud::Common::AbstractModel
152
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
153
+ # @type RequestId: String
154
+
155
+ attr_accessor :RequestId
156
+
157
+ def initialize(requestid=nil)
158
+ @RequestId = requestid
159
+ end
160
+
161
+ def deserialize(params)
162
+ @RequestId = params['RequestId']
163
+ end
164
+ end
165
+
60
166
  # CreateOrganizationMemberPolicy请求参数结构体
61
167
  class CreateOrganizationMemberPolicyRequest < TencentCloud::Common::AbstractModel
62
168
  # @param MemberUin: 成员Uin。
63
169
  # @type MemberUin: Integer
64
- # @param PolicyName: 策略名。
170
+ # @param PolicyName: 策略名。最大长度为128个字符,支持英文字母、数字、符号+=,.@_-
65
171
  # @type PolicyName: String
66
- # @param IdentityId: 身份ID
172
+ # @param IdentityId: 成员访问身份ID。可以调用DescribeOrganizationMemberAuthIdentities获取
67
173
  # @type IdentityId: Integer
68
174
  # @param Description: 描述。
69
175
  # @type Description: String
@@ -108,25 +214,25 @@ module TencentCloud
108
214
 
109
215
  # CreateOrganizationMember请求参数结构体
110
216
  class CreateOrganizationMemberRequest < TencentCloud::Common::AbstractModel
111
- # @param Name: 名称
217
+ # @param Name: 成员名称。最大长度为25个字符,支持英文字母、数字、汉字、符号+@、&._[]-:,
112
218
  # @type Name: String
113
- # @param PolicyType: 关系策略 取值:Financial
219
+ # @param PolicyType: 关系策略。取值:Financial
114
220
  # @type PolicyType: String
115
- # @param PermissionIds: 关系权限 取值:1-查看账单、2-查看余额、3-资金划拨、4-合并出账、5-开票 ,1、2 默认必须
221
+ # @param PermissionIds: 成员财务权限ID列表。取值:1-查看账单、2-查看余额、3-资金划拨、4-合并出账、5-开票、6-优惠继承、7-代付费,1、2 默认必须
116
222
  # @type PermissionIds: Array
117
- # @param NodeId: 成员所属部门的节点ID
223
+ # @param NodeId: 成员所属部门的节点ID。可以调用DescribeOrganizationNodes获取
118
224
  # @type NodeId: Integer
119
- # @param AccountName: 账号名
225
+ # @param AccountName: 账号名称。最大长度为25个字符,支持英文字母、数字、汉字、符号+@、&._[]-:,
120
226
  # @type AccountName: String
121
- # @param Remark: 备注
227
+ # @param Remark: 备注。
122
228
  # @type Remark: String
123
- # @param RecordId: 重试创建传记录ID
229
+ # @param RecordId: 成员创建记录ID。创建异常重试时需要
124
230
  # @type RecordId: Integer
125
- # @param PayUin: 代付者Uin
231
+ # @param PayUin: 代付者Uin。成员代付费时需要
126
232
  # @type PayUin: String
127
- # @param IdentityRoleID: 管理身份
233
+ # @param IdentityRoleID: 成员访问身份ID列表。可以调用ListOrganizationIdentity获取,1默认支持
128
234
  # @type IdentityRoleID: Array
129
- # @param AuthRelationId: 主体关系ID
235
+ # @param AuthRelationId: 认证主体关系ID。给不同主体创建成员时需要,可以调用DescribeOrganizationAuthNode获取
130
236
  # @type AuthRelationId: Integer
131
237
 
132
238
  attr_accessor :Name, :PolicyType, :PermissionIds, :NodeId, :AccountName, :Remark, :RecordId, :PayUin, :IdentityRoleID, :AuthRelationId
@@ -160,7 +266,7 @@ module TencentCloud
160
266
 
161
267
  # CreateOrganizationMember返回参数结构体
162
268
  class CreateOrganizationMemberResponse < TencentCloud::Common::AbstractModel
163
- # @param Uin: 成员Uin
269
+ # @param Uin: 成员Uin
164
270
  # 注意:此字段可能返回 null,表示取不到有效值。
165
271
  # @type Uin: Integer
166
272
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -179,47 +285,158 @@ module TencentCloud
179
285
  end
180
286
  end
181
287
 
182
- # DescribeOrganizationMembers请求参数结构体
183
- class DescribeOrganizationMembersRequest < TencentCloud::Common::AbstractModel
184
- # @param Offset: 偏移量
288
+ # DeleteOrganizationMembers请求参数结构体
289
+ class DeleteOrganizationMembersRequest < TencentCloud::Common::AbstractModel
290
+ # @param MemberUin: 被删除成员的UIN列表。
291
+ # @type MemberUin: Array
292
+
293
+ attr_accessor :MemberUin
294
+
295
+ def initialize(memberuin=nil)
296
+ @MemberUin = memberuin
297
+ end
298
+
299
+ def deserialize(params)
300
+ @MemberUin = params['MemberUin']
301
+ end
302
+ end
303
+
304
+ # DeleteOrganizationMembers返回参数结构体
305
+ class DeleteOrganizationMembersResponse < TencentCloud::Common::AbstractModel
306
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
307
+ # @type RequestId: String
308
+
309
+ attr_accessor :RequestId
310
+
311
+ def initialize(requestid=nil)
312
+ @RequestId = requestid
313
+ end
314
+
315
+ def deserialize(params)
316
+ @RequestId = params['RequestId']
317
+ end
318
+ end
319
+
320
+ # DeleteOrganizationNodes请求参数结构体
321
+ class DeleteOrganizationNodesRequest < TencentCloud::Common::AbstractModel
322
+ # @param NodeId: 节点ID列表。
323
+ # @type NodeId: Array
324
+
325
+ attr_accessor :NodeId
326
+
327
+ def initialize(nodeid=nil)
328
+ @NodeId = nodeid
329
+ end
330
+
331
+ def deserialize(params)
332
+ @NodeId = params['NodeId']
333
+ end
334
+ end
335
+
336
+ # DeleteOrganizationNodes返回参数结构体
337
+ class DeleteOrganizationNodesResponse < TencentCloud::Common::AbstractModel
338
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
339
+ # @type RequestId: String
340
+
341
+ attr_accessor :RequestId
342
+
343
+ def initialize(requestid=nil)
344
+ @RequestId = requestid
345
+ end
346
+
347
+ def deserialize(params)
348
+ @RequestId = params['RequestId']
349
+ end
350
+ end
351
+
352
+ # DescribeOrganizationAuthNode请求参数结构体
353
+ class DescribeOrganizationAuthNodeRequest < TencentCloud::Common::AbstractModel
354
+ # @param Offset: 偏移量。
185
355
  # @type Offset: Integer
186
- # @param Limit: 限制数目
356
+ # @param Limit: 限制数目。最大50
187
357
  # @type Limit: Integer
188
- # @param Lang: 国际站:en,国内站:zh
189
- # @type Lang: String
190
- # @param SearchKey: 成员名或者成员ID搜索
191
- # @type SearchKey: String
192
- # @param AuthName: 主体名称
193
- # @type AuthName: String
194
- # @param Product: 集团服务(服务管理员查询时,必须指定)
195
- # @type Product: String
196
358
 
197
- attr_accessor :Offset, :Limit, :Lang, :SearchKey, :AuthName, :Product
359
+ attr_accessor :Offset, :Limit
198
360
 
199
- def initialize(offset=nil, limit=nil, lang=nil, searchkey=nil, authname=nil, product=nil)
361
+ def initialize(offset=nil, limit=nil)
200
362
  @Offset = offset
201
363
  @Limit = limit
202
- @Lang = lang
203
- @SearchKey = searchkey
204
- @AuthName = authname
205
- @Product = product
206
364
  end
207
365
 
208
366
  def deserialize(params)
209
367
  @Offset = params['Offset']
210
368
  @Limit = params['Limit']
211
- @Lang = params['Lang']
212
- @SearchKey = params['SearchKey']
213
- @AuthName = params['AuthName']
214
- @Product = params['Product']
215
369
  end
216
370
  end
217
371
 
218
- # DescribeOrganizationMembers返回参数结构体
219
- class DescribeOrganizationMembersResponse < TencentCloud::Common::AbstractModel
220
- # @param Items: 成员列表
372
+ # DescribeOrganizationAuthNode返回参数结构体
373
+ class DescribeOrganizationAuthNodeResponse < TencentCloud::Common::AbstractModel
374
+ # @param Total: 总数。
375
+ # 注意:此字段可能返回 null,表示取不到有效值。
376
+ # @type Total: Integer
377
+ # @param Items: 条目详情。
378
+ # 注意:此字段可能返回 null,表示取不到有效值。
379
+ # @type Items: Array
380
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
381
+ # @type RequestId: String
382
+
383
+ attr_accessor :Total, :Items, :RequestId
384
+
385
+ def initialize(total=nil, items=nil, requestid=nil)
386
+ @Total = total
387
+ @Items = items
388
+ @RequestId = requestid
389
+ end
390
+
391
+ def deserialize(params)
392
+ @Total = params['Total']
393
+ unless params['Items'].nil?
394
+ @Items = []
395
+ params['Items'].each do |i|
396
+ authnode_tmp = AuthNode.new
397
+ authnode_tmp.deserialize(i)
398
+ @Items << authnode_tmp
399
+ end
400
+ end
401
+ @RequestId = params['RequestId']
402
+ end
403
+ end
404
+
405
+ # DescribeOrganizationMemberAuthAccounts请求参数结构体
406
+ class DescribeOrganizationMemberAuthAccountsRequest < TencentCloud::Common::AbstractModel
407
+ # @param Offset: 偏移量。
408
+ # @type Offset: Integer
409
+ # @param Limit: 限制数目。
410
+ # @type Limit: Integer
411
+ # @param MemberUin: 成员Uin。
412
+ # @type MemberUin: Integer
413
+ # @param PolicyId: 策略ID。
414
+ # @type PolicyId: Integer
415
+
416
+ attr_accessor :Offset, :Limit, :MemberUin, :PolicyId
417
+
418
+ def initialize(offset=nil, limit=nil, memberuin=nil, policyid=nil)
419
+ @Offset = offset
420
+ @Limit = limit
421
+ @MemberUin = memberuin
422
+ @PolicyId = policyid
423
+ end
424
+
425
+ def deserialize(params)
426
+ @Offset = params['Offset']
427
+ @Limit = params['Limit']
428
+ @MemberUin = params['MemberUin']
429
+ @PolicyId = params['PolicyId']
430
+ end
431
+ end
432
+
433
+ # DescribeOrganizationMemberAuthAccounts返回参数结构体
434
+ class DescribeOrganizationMemberAuthAccountsResponse < TencentCloud::Common::AbstractModel
435
+ # @param Items: 列表
436
+ # 注意:此字段可能返回 null,表示取不到有效值。
221
437
  # @type Items: Array
222
438
  # @param Total: 总数目
439
+ # 注意:此字段可能返回 null,表示取不到有效值。
223
440
  # @type Total: Integer
224
441
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
225
442
  # @type RequestId: String
@@ -236,9 +453,9 @@ module TencentCloud
236
453
  unless params['Items'].nil?
237
454
  @Items = []
238
455
  params['Items'].each do |i|
239
- orgmember_tmp = OrgMember.new
240
- orgmember_tmp.deserialize(i)
241
- @Items << orgmember_tmp
456
+ orgmemberauthaccount_tmp = OrgMemberAuthAccount.new
457
+ orgmemberauthaccount_tmp.deserialize(i)
458
+ @Items << orgmemberauthaccount_tmp
242
459
  end
243
460
  end
244
461
  @Total = params['Total']
@@ -246,80 +463,318 @@ module TencentCloud
246
463
  end
247
464
  end
248
465
 
249
- # DescribeOrganization请求参数结构体
250
- class DescribeOrganizationRequest < TencentCloud::Common::AbstractModel
251
- # @param Lang: 国际站:en,国内站:zh
252
- # @type Lang: String
253
- # @param Product: 产品简称(查询是否集团服务委派管理员必填)
254
- # @type Product: String
466
+ # DescribeOrganizationMemberAuthIdentities请求参数结构体
467
+ class DescribeOrganizationMemberAuthIdentitiesRequest < TencentCloud::Common::AbstractModel
468
+ # @param Offset: 偏移量。
469
+ # @type Offset: Integer
470
+ # @param Limit: 限制数目。最大50
471
+ # @type Limit: Integer
472
+ # @param MemberUin: 组织成员Uin。
473
+ # @type MemberUin: Integer
255
474
 
256
- attr_accessor :Lang, :Product
475
+ attr_accessor :Offset, :Limit, :MemberUin
257
476
 
258
- def initialize(lang=nil, product=nil)
259
- @Lang = lang
260
- @Product = product
477
+ def initialize(offset=nil, limit=nil, memberuin=nil)
478
+ @Offset = offset
479
+ @Limit = limit
480
+ @MemberUin = memberuin
261
481
  end
262
482
 
263
483
  def deserialize(params)
264
- @Lang = params['Lang']
265
- @Product = params['Product']
484
+ @Offset = params['Offset']
485
+ @Limit = params['Limit']
486
+ @MemberUin = params['MemberUin']
266
487
  end
267
488
  end
268
489
 
269
- # DescribeOrganization返回参数结构体
270
- class DescribeOrganizationResponse < TencentCloud::Common::AbstractModel
271
- # @param OrgId: 企业组织ID
272
- # 注意:此字段可能返回 null,表示取不到有效值。
273
- # @type OrgId: Integer
274
- # @param HostUin: 创建者UIN
275
- # 注意:此字段可能返回 null,表示取不到有效值。
276
- # @type HostUin: Integer
277
- # @param NickName: 创建者昵称
490
+ # DescribeOrganizationMemberAuthIdentities返回参数结构体
491
+ class DescribeOrganizationMemberAuthIdentitiesResponse < TencentCloud::Common::AbstractModel
492
+ # @param Items: 列表。
278
493
  # 注意:此字段可能返回 null,表示取不到有效值。
279
- # @type NickName: String
280
- # @param OrgType: 企业组织类型
281
- # 注意:此字段可能返回 null,表示取不到有效值。
282
- # @type OrgType: Integer
283
- # @param IsManager: 组织管理员:true,组织成员:false
284
- # 注意:此字段可能返回 null,表示取不到有效值。
285
- # @type IsManager: Boolean
286
- # @param OrgPolicyType: 策略类型
287
- # 注意:此字段可能返回 null,表示取不到有效值。
288
- # @type OrgPolicyType: String
289
- # @param OrgPolicyName: 策略名
290
- # 注意:此字段可能返回 null,表示取不到有效值。
291
- # @type OrgPolicyName: String
292
- # @param OrgPermission: 策略权限
293
- # 注意:此字段可能返回 null,表示取不到有效值。
294
- # @type OrgPermission: Array
295
- # @param RootNodeId: 根节点ID
296
- # 注意:此字段可能返回 null,表示取不到有效值。
297
- # @type RootNodeId: Integer
298
- # @param CreateTime: 创建时间
299
- # 注意:此字段可能返回 null,表示取不到有效值。
300
- # @type CreateTime: String
301
- # @param JoinTime: 成员加入时间
302
- # 注意:此字段可能返回 null,表示取不到有效值。
303
- # @type JoinTime: String
304
- # @param IsAllowQuit: 是否允许退出。允许:Allow,不允许:Denied。
305
- # 注意:此字段可能返回 null,表示取不到有效值。
306
- # @type IsAllowQuit: String
307
- # @param PayUin: 代付者Uin
308
- # 注意:此字段可能返回 null,表示取不到有效值。
309
- # @type PayUin: String
310
- # @param PayName: 代付者名称
311
- # 注意:此字段可能返回 null,表示取不到有效值。
312
- # @type PayName: String
313
- # @param IsAssignManager: 是否集团服务委派管理员 true-是、false-否
314
- # 注意:此字段可能返回 null,表示取不到有效值。
315
- # @type IsAssignManager: Boolean
316
- # @param IsAuthManager: 是否主体管理员 true-是、false-否
494
+ # @type Items: Array
495
+ # @param Total: 总数目。
317
496
  # 注意:此字段可能返回 null,表示取不到有效值。
318
- # @type IsAuthManager: Boolean
497
+ # @type Total: Integer
319
498
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
320
499
  # @type RequestId: String
321
500
 
322
- attr_accessor :OrgId, :HostUin, :NickName, :OrgType, :IsManager, :OrgPolicyType, :OrgPolicyName, :OrgPermission, :RootNodeId, :CreateTime, :JoinTime, :IsAllowQuit, :PayUin, :PayName, :IsAssignManager, :IsAuthManager, :RequestId
501
+ attr_accessor :Items, :Total, :RequestId
502
+
503
+ def initialize(items=nil, total=nil, requestid=nil)
504
+ @Items = items
505
+ @Total = total
506
+ @RequestId = requestid
507
+ end
508
+
509
+ def deserialize(params)
510
+ unless params['Items'].nil?
511
+ @Items = []
512
+ params['Items'].each do |i|
513
+ orgmemberauthidentity_tmp = OrgMemberAuthIdentity.new
514
+ orgmemberauthidentity_tmp.deserialize(i)
515
+ @Items << orgmemberauthidentity_tmp
516
+ end
517
+ end
518
+ @Total = params['Total']
519
+ @RequestId = params['RequestId']
520
+ end
521
+ end
522
+
523
+ # DescribeOrganizationMemberPolicies请求参数结构体
524
+ class DescribeOrganizationMemberPoliciesRequest < TencentCloud::Common::AbstractModel
525
+ # @param Offset: 偏移量。
526
+ # @type Offset: Integer
527
+ # @param Limit: 限制数目。最大50
528
+ # @type Limit: Integer
529
+ # @param MemberUin: 成员Uin。
530
+ # @type MemberUin: Integer
531
+ # @param SearchKey: 搜索关键字。可用于策略名或描述搜索
532
+ # @type SearchKey: String
533
+
534
+ attr_accessor :Offset, :Limit, :MemberUin, :SearchKey
535
+
536
+ def initialize(offset=nil, limit=nil, memberuin=nil, searchkey=nil)
537
+ @Offset = offset
538
+ @Limit = limit
539
+ @MemberUin = memberuin
540
+ @SearchKey = searchkey
541
+ end
542
+
543
+ def deserialize(params)
544
+ @Offset = params['Offset']
545
+ @Limit = params['Limit']
546
+ @MemberUin = params['MemberUin']
547
+ @SearchKey = params['SearchKey']
548
+ end
549
+ end
550
+
551
+ # DescribeOrganizationMemberPolicies返回参数结构体
552
+ class DescribeOrganizationMemberPoliciesResponse < TencentCloud::Common::AbstractModel
553
+ # @param Items: 列表。
554
+ # 注意:此字段可能返回 null,表示取不到有效值。
555
+ # @type Items: Array
556
+ # @param Total: 总数目。
557
+ # 注意:此字段可能返回 null,表示取不到有效值。
558
+ # @type Total: Integer
559
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
560
+ # @type RequestId: String
561
+
562
+ attr_accessor :Items, :Total, :RequestId
563
+
564
+ def initialize(items=nil, total=nil, requestid=nil)
565
+ @Items = items
566
+ @Total = total
567
+ @RequestId = requestid
568
+ end
569
+
570
+ def deserialize(params)
571
+ unless params['Items'].nil?
572
+ @Items = []
573
+ params['Items'].each do |i|
574
+ orgmemberpolicy_tmp = OrgMemberPolicy.new
575
+ orgmemberpolicy_tmp.deserialize(i)
576
+ @Items << orgmemberpolicy_tmp
577
+ end
578
+ end
579
+ @Total = params['Total']
580
+ @RequestId = params['RequestId']
581
+ end
582
+ end
583
+
584
+ # DescribeOrganizationMembers请求参数结构体
585
+ class DescribeOrganizationMembersRequest < TencentCloud::Common::AbstractModel
586
+ # @param Offset: 偏移量。
587
+ # @type Offset: Integer
588
+ # @param Limit: 限制数目。最大50
589
+ # @type Limit: Integer
590
+ # @param Lang: 国际站:en,国内站:zh
591
+ # @type Lang: String
592
+ # @param SearchKey: 成员名称或者成员ID搜索。
593
+ # @type SearchKey: String
594
+ # @param AuthName: 主体名称搜索。
595
+ # @type AuthName: String
596
+ # @param Product: 可信服务产品简称。可信服务管理员查询时必须指定
597
+ # @type Product: String
598
+
599
+ attr_accessor :Offset, :Limit, :Lang, :SearchKey, :AuthName, :Product
600
+
601
+ def initialize(offset=nil, limit=nil, lang=nil, searchkey=nil, authname=nil, product=nil)
602
+ @Offset = offset
603
+ @Limit = limit
604
+ @Lang = lang
605
+ @SearchKey = searchkey
606
+ @AuthName = authname
607
+ @Product = product
608
+ end
609
+
610
+ def deserialize(params)
611
+ @Offset = params['Offset']
612
+ @Limit = params['Limit']
613
+ @Lang = params['Lang']
614
+ @SearchKey = params['SearchKey']
615
+ @AuthName = params['AuthName']
616
+ @Product = params['Product']
617
+ end
618
+ end
619
+
620
+ # DescribeOrganizationMembers返回参数结构体
621
+ class DescribeOrganizationMembersResponse < TencentCloud::Common::AbstractModel
622
+ # @param Items: 成员列表。
623
+ # @type Items: Array
624
+ # @param Total: 总数目。
625
+ # @type Total: Integer
626
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
627
+ # @type RequestId: String
628
+
629
+ attr_accessor :Items, :Total, :RequestId
630
+
631
+ def initialize(items=nil, total=nil, requestid=nil)
632
+ @Items = items
633
+ @Total = total
634
+ @RequestId = requestid
635
+ end
636
+
637
+ def deserialize(params)
638
+ unless params['Items'].nil?
639
+ @Items = []
640
+ params['Items'].each do |i|
641
+ orgmember_tmp = OrgMember.new
642
+ orgmember_tmp.deserialize(i)
643
+ @Items << orgmember_tmp
644
+ end
645
+ end
646
+ @Total = params['Total']
647
+ @RequestId = params['RequestId']
648
+ end
649
+ end
650
+
651
+ # DescribeOrganizationNodes请求参数结构体
652
+ class DescribeOrganizationNodesRequest < TencentCloud::Common::AbstractModel
653
+ # @param Limit: 限制数目。最大50
654
+ # @type Limit: Integer
655
+ # @param Offset: 偏移量。
656
+ # @type Offset: Integer
657
+
658
+ attr_accessor :Limit, :Offset
659
+
660
+ def initialize(limit=nil, offset=nil)
661
+ @Limit = limit
662
+ @Offset = offset
663
+ end
664
+
665
+ def deserialize(params)
666
+ @Limit = params['Limit']
667
+ @Offset = params['Offset']
668
+ end
669
+ end
670
+
671
+ # DescribeOrganizationNodes返回参数结构体
672
+ class DescribeOrganizationNodesResponse < TencentCloud::Common::AbstractModel
673
+ # @param Total: 总数。
674
+ # 注意:此字段可能返回 null,表示取不到有效值。
675
+ # @type Total: Integer
676
+ # @param Items: 列表详情。
677
+ # 注意:此字段可能返回 null,表示取不到有效值。
678
+ # @type Items: Array
679
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
680
+ # @type RequestId: String
681
+
682
+ attr_accessor :Total, :Items, :RequestId
683
+
684
+ def initialize(total=nil, items=nil, requestid=nil)
685
+ @Total = total
686
+ @Items = items
687
+ @RequestId = requestid
688
+ end
689
+
690
+ def deserialize(params)
691
+ @Total = params['Total']
692
+ unless params['Items'].nil?
693
+ @Items = []
694
+ params['Items'].each do |i|
695
+ orgnode_tmp = OrgNode.new
696
+ orgnode_tmp.deserialize(i)
697
+ @Items << orgnode_tmp
698
+ end
699
+ end
700
+ @RequestId = params['RequestId']
701
+ end
702
+ end
703
+
704
+ # DescribeOrganization请求参数结构体
705
+ class DescribeOrganizationRequest < TencentCloud::Common::AbstractModel
706
+ # @param Lang: 国际站:en,国内站:zh
707
+ # @type Lang: String
708
+ # @param Product: 可信服务产品简称。查询是否该可信服务管理员时必须指定
709
+ # @type Product: String
710
+
711
+ attr_accessor :Lang, :Product
712
+
713
+ def initialize(lang=nil, product=nil)
714
+ @Lang = lang
715
+ @Product = product
716
+ end
717
+
718
+ def deserialize(params)
719
+ @Lang = params['Lang']
720
+ @Product = params['Product']
721
+ end
722
+ end
723
+
724
+ # DescribeOrganization返回参数结构体
725
+ class DescribeOrganizationResponse < TencentCloud::Common::AbstractModel
726
+ # @param OrgId: 企业组织ID。
727
+ # 注意:此字段可能返回 null,表示取不到有效值。
728
+ # @type OrgId: Integer
729
+ # @param HostUin: 创建者UIN。
730
+ # 注意:此字段可能返回 null,表示取不到有效值。
731
+ # @type HostUin: Integer
732
+ # @param NickName: 创建者昵称。
733
+ # 注意:此字段可能返回 null,表示取不到有效值。
734
+ # @type NickName: String
735
+ # @param OrgType: 企业组织类型。
736
+ # 注意:此字段可能返回 null,表示取不到有效值。
737
+ # @type OrgType: Integer
738
+ # @param IsManager: 是否组织管理员。是:true ,否:false
739
+ # 注意:此字段可能返回 null,表示取不到有效值。
740
+ # @type IsManager: Boolean
741
+ # @param OrgPolicyType: 策略类型。财务管理:Financial
742
+ # 注意:此字段可能返回 null,表示取不到有效值。
743
+ # @type OrgPolicyType: String
744
+ # @param OrgPolicyName: 策略名。
745
+ # 注意:此字段可能返回 null,表示取不到有效值。
746
+ # @type OrgPolicyName: String
747
+ # @param OrgPermission: 成员财务权限列表。
748
+ # 注意:此字段可能返回 null,表示取不到有效值。
749
+ # @type OrgPermission: Array
750
+ # @param RootNodeId: 组织根节点ID。
751
+ # 注意:此字段可能返回 null,表示取不到有效值。
752
+ # @type RootNodeId: Integer
753
+ # @param CreateTime: 组织创建时间。
754
+ # 注意:此字段可能返回 null,表示取不到有效值。
755
+ # @type CreateTime: String
756
+ # @param JoinTime: 成员加入时间。
757
+ # 注意:此字段可能返回 null,表示取不到有效值。
758
+ # @type JoinTime: String
759
+ # @param IsAllowQuit: 成员是否允许退出。允许:Allow,不允许:Denied
760
+ # 注意:此字段可能返回 null,表示取不到有效值。
761
+ # @type IsAllowQuit: String
762
+ # @param PayUin: 代付者Uin。
763
+ # 注意:此字段可能返回 null,表示取不到有效值。
764
+ # @type PayUin: String
765
+ # @param PayName: 代付者名称。
766
+ # 注意:此字段可能返回 null,表示取不到有效值。
767
+ # @type PayName: String
768
+ # @param IsAssignManager: 是否可信服务管理员。是:true,否:false
769
+ # 注意:此字段可能返回 null,表示取不到有效值。
770
+ # @type IsAssignManager: Boolean
771
+ # @param IsAuthManager: 是否实名主体管理员。是:true,否:false
772
+ # 注意:此字段可能返回 null,表示取不到有效值。
773
+ # @type IsAuthManager: Boolean
774
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
775
+ # @type RequestId: String
776
+
777
+ attr_accessor :OrgId, :HostUin, :NickName, :OrgType, :IsManager, :OrgPolicyType, :OrgPolicyName, :OrgPermission, :RootNodeId, :CreateTime, :JoinTime, :IsAllowQuit, :PayUin, :PayName, :IsAssignManager, :IsAuthManager, :RequestId
323
778
 
324
779
  def initialize(orgid=nil, hostuin=nil, nickname=nil, orgtype=nil, ismanager=nil, orgpolicytype=nil, orgpolicyname=nil, orgpermission=nil, rootnodeid=nil, createtime=nil, jointime=nil, isallowquit=nil, payuin=nil, payname=nil, isassignmanager=nil, isauthmanager=nil, requestid=nil)
325
780
  @OrgId = orgid
@@ -369,6 +824,87 @@ module TencentCloud
369
824
  end
370
825
  end
371
826
 
827
+ # 组织身份策略
828
+ class IdentityPolicy < TencentCloud::Common::AbstractModel
829
+ # @param PolicyId: 策略ID
830
+ # @type PolicyId: Integer
831
+ # @param PolicyName: 策略名称
832
+ # @type PolicyName: String
833
+
834
+ attr_accessor :PolicyId, :PolicyName
835
+
836
+ def initialize(policyid=nil, policyname=nil)
837
+ @PolicyId = policyid
838
+ @PolicyName = policyname
839
+ end
840
+
841
+ def deserialize(params)
842
+ @PolicyId = params['PolicyId']
843
+ @PolicyName = params['PolicyName']
844
+ end
845
+ end
846
+
847
+ # ListOrganizationIdentity请求参数结构体
848
+ class ListOrganizationIdentityRequest < TencentCloud::Common::AbstractModel
849
+ # @param Offset: 偏移量。
850
+ # @type Offset: Integer
851
+ # @param Limit: 限制数目。最大50
852
+ # @type Limit: Integer
853
+ # @param SearchKey: 名称搜索关键字。
854
+ # @type SearchKey: String
855
+ # @param IdentityId: 身份ID搜索。
856
+ # @type IdentityId: Integer
857
+
858
+ attr_accessor :Offset, :Limit, :SearchKey, :IdentityId
859
+
860
+ def initialize(offset=nil, limit=nil, searchkey=nil, identityid=nil)
861
+ @Offset = offset
862
+ @Limit = limit
863
+ @SearchKey = searchkey
864
+ @IdentityId = identityid
865
+ end
866
+
867
+ def deserialize(params)
868
+ @Offset = params['Offset']
869
+ @Limit = params['Limit']
870
+ @SearchKey = params['SearchKey']
871
+ @IdentityId = params['IdentityId']
872
+ end
873
+ end
874
+
875
+ # ListOrganizationIdentity返回参数结构体
876
+ class ListOrganizationIdentityResponse < TencentCloud::Common::AbstractModel
877
+ # @param Total: 总数。
878
+ # 注意:此字段可能返回 null,表示取不到有效值。
879
+ # @type Total: Integer
880
+ # @param Items: 条目详情。
881
+ # 注意:此字段可能返回 null,表示取不到有效值。
882
+ # @type Items: Array
883
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
884
+ # @type RequestId: String
885
+
886
+ attr_accessor :Total, :Items, :RequestId
887
+
888
+ def initialize(total=nil, items=nil, requestid=nil)
889
+ @Total = total
890
+ @Items = items
891
+ @RequestId = requestid
892
+ end
893
+
894
+ def deserialize(params)
895
+ @Total = params['Total']
896
+ unless params['Items'].nil?
897
+ @Items = []
898
+ params['Items'].each do |i|
899
+ orgidentity_tmp = OrgIdentity.new
900
+ orgidentity_tmp.deserialize(i)
901
+ @Items << orgidentity_tmp
902
+ end
903
+ end
904
+ @RequestId = params['RequestId']
905
+ end
906
+ end
907
+
372
908
  # 成员管理身份
373
909
  class MemberIdentity < TencentCloud::Common::AbstractModel
374
910
  # @param IdentityId: 身份ID。
@@ -391,6 +927,91 @@ module TencentCloud
391
927
  end
392
928
  end
393
929
 
930
+ # MoveOrganizationNodeMembers请求参数结构体
931
+ class MoveOrganizationNodeMembersRequest < TencentCloud::Common::AbstractModel
932
+ # @param NodeId: 组织节点ID。
933
+ # @type NodeId: Integer
934
+ # @param MemberUin: 成员UIN列表。
935
+ # @type MemberUin: Array
936
+
937
+ attr_accessor :NodeId, :MemberUin
938
+
939
+ def initialize(nodeid=nil, memberuin=nil)
940
+ @NodeId = nodeid
941
+ @MemberUin = memberuin
942
+ end
943
+
944
+ def deserialize(params)
945
+ @NodeId = params['NodeId']
946
+ @MemberUin = params['MemberUin']
947
+ end
948
+ end
949
+
950
+ # MoveOrganizationNodeMembers返回参数结构体
951
+ class MoveOrganizationNodeMembersResponse < TencentCloud::Common::AbstractModel
952
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
953
+ # @type RequestId: String
954
+
955
+ attr_accessor :RequestId
956
+
957
+ def initialize(requestid=nil)
958
+ @RequestId = requestid
959
+ end
960
+
961
+ def deserialize(params)
962
+ @RequestId = params['RequestId']
963
+ end
964
+ end
965
+
966
+ # 组织身份
967
+ class OrgIdentity < TencentCloud::Common::AbstractModel
968
+ # @param IdentityId: 身份ID。
969
+ # 注意:此字段可能返回 null,表示取不到有效值。
970
+ # @type IdentityId: Integer
971
+ # @param IdentityAliasName: 身份名称。
972
+ # 注意:此字段可能返回 null,表示取不到有效值。
973
+ # @type IdentityAliasName: String
974
+ # @param Description: 描述。
975
+ # 注意:此字段可能返回 null,表示取不到有效值。
976
+ # @type Description: String
977
+ # @param IdentityPolicy: 身份策略。
978
+ # 注意:此字段可能返回 null,表示取不到有效值。
979
+ # @type IdentityPolicy: Array
980
+ # @param IdentityType: 身份类型。 1-预设、 2-自定义
981
+ # 注意:此字段可能返回 null,表示取不到有效值。
982
+ # @type IdentityType: Integer
983
+ # @param UpdateTime: 更新时间。
984
+ # 注意:此字段可能返回 null,表示取不到有效值。
985
+ # @type UpdateTime: String
986
+
987
+ attr_accessor :IdentityId, :IdentityAliasName, :Description, :IdentityPolicy, :IdentityType, :UpdateTime
988
+
989
+ def initialize(identityid=nil, identityaliasname=nil, description=nil, identitypolicy=nil, identitytype=nil, updatetime=nil)
990
+ @IdentityId = identityid
991
+ @IdentityAliasName = identityaliasname
992
+ @Description = description
993
+ @IdentityPolicy = identitypolicy
994
+ @IdentityType = identitytype
995
+ @UpdateTime = updatetime
996
+ end
997
+
998
+ def deserialize(params)
999
+ @IdentityId = params['IdentityId']
1000
+ @IdentityAliasName = params['IdentityAliasName']
1001
+ @Description = params['Description']
1002
+ unless params['IdentityPolicy'].nil?
1003
+ @IdentityPolicy = []
1004
+ params['IdentityPolicy'].each do |i|
1005
+ identitypolicy_tmp = IdentityPolicy.new
1006
+ identitypolicy_tmp.deserialize(i)
1007
+ @IdentityPolicy << identitypolicy_tmp
1008
+ end
1009
+ end
1010
+ @IdentityType = params['IdentityType']
1011
+ @UpdateTime = params['UpdateTime']
1012
+ end
1013
+ end
1014
+
394
1015
  # 企业组织成员
395
1016
  class OrgMember < TencentCloud::Common::AbstractModel
396
1017
  # @param MemberUin: 成员Uin
@@ -502,6 +1123,199 @@ module TencentCloud
502
1123
  end
503
1124
  end
504
1125
 
1126
+ # 成员和子账号的授权关系
1127
+ class OrgMemberAuthAccount < TencentCloud::Common::AbstractModel
1128
+ # @param OrgSubAccountUin: 组织子账号Uin。
1129
+ # 注意:此字段可能返回 null,表示取不到有效值。
1130
+ # @type OrgSubAccountUin: Integer
1131
+ # @param PolicyId: 策略ID。
1132
+ # 注意:此字段可能返回 null,表示取不到有效值。
1133
+ # @type PolicyId: Integer
1134
+ # @param PolicyName: 策略名。
1135
+ # 注意:此字段可能返回 null,表示取不到有效值。
1136
+ # @type PolicyName: String
1137
+ # @param IdentityId: 身份ID。
1138
+ # 注意:此字段可能返回 null,表示取不到有效值。
1139
+ # @type IdentityId: Integer
1140
+ # @param IdentityRoleName: 身份角色名。
1141
+ # 注意:此字段可能返回 null,表示取不到有效值。
1142
+ # @type IdentityRoleName: String
1143
+ # @param IdentityRoleAliasName: 身份角色别名。
1144
+ # 注意:此字段可能返回 null,表示取不到有效值。
1145
+ # @type IdentityRoleAliasName: String
1146
+ # @param CreateTime: 创建时间。
1147
+ # 注意:此字段可能返回 null,表示取不到有效值。
1148
+ # @type CreateTime: String
1149
+ # @param UpdateTime: 更新时间。
1150
+ # 注意:此字段可能返回 null,表示取不到有效值。
1151
+ # @type UpdateTime: String
1152
+ # @param OrgSubAccountName: 子账号名称
1153
+ # 注意:此字段可能返回 null,表示取不到有效值。
1154
+ # @type OrgSubAccountName: String
1155
+
1156
+ attr_accessor :OrgSubAccountUin, :PolicyId, :PolicyName, :IdentityId, :IdentityRoleName, :IdentityRoleAliasName, :CreateTime, :UpdateTime, :OrgSubAccountName
1157
+
1158
+ def initialize(orgsubaccountuin=nil, policyid=nil, policyname=nil, identityid=nil, identityrolename=nil, identityrolealiasname=nil, createtime=nil, updatetime=nil, orgsubaccountname=nil)
1159
+ @OrgSubAccountUin = orgsubaccountuin
1160
+ @PolicyId = policyid
1161
+ @PolicyName = policyname
1162
+ @IdentityId = identityid
1163
+ @IdentityRoleName = identityrolename
1164
+ @IdentityRoleAliasName = identityrolealiasname
1165
+ @CreateTime = createtime
1166
+ @UpdateTime = updatetime
1167
+ @OrgSubAccountName = orgsubaccountname
1168
+ end
1169
+
1170
+ def deserialize(params)
1171
+ @OrgSubAccountUin = params['OrgSubAccountUin']
1172
+ @PolicyId = params['PolicyId']
1173
+ @PolicyName = params['PolicyName']
1174
+ @IdentityId = params['IdentityId']
1175
+ @IdentityRoleName = params['IdentityRoleName']
1176
+ @IdentityRoleAliasName = params['IdentityRoleAliasName']
1177
+ @CreateTime = params['CreateTime']
1178
+ @UpdateTime = params['UpdateTime']
1179
+ @OrgSubAccountName = params['OrgSubAccountName']
1180
+ end
1181
+ end
1182
+
1183
+ # 组织成员可授权的身份
1184
+ class OrgMemberAuthIdentity < TencentCloud::Common::AbstractModel
1185
+ # @param IdentityId: 身份ID。
1186
+ # 注意:此字段可能返回 null,表示取不到有效值。
1187
+ # @type IdentityId: Integer
1188
+ # @param IdentityRoleName: 身份角色名。
1189
+ # 注意:此字段可能返回 null,表示取不到有效值。
1190
+ # @type IdentityRoleName: String
1191
+ # @param IdentityRoleAliasName: 身份角色别名。
1192
+ # 注意:此字段可能返回 null,表示取不到有效值。
1193
+ # @type IdentityRoleAliasName: String
1194
+ # @param Description: 描述
1195
+ # 注意:此字段可能返回 null,表示取不到有效值。
1196
+ # @type Description: String
1197
+ # @param CreateTime: 创建时间。
1198
+ # 注意:此字段可能返回 null,表示取不到有效值。
1199
+ # @type CreateTime: String
1200
+ # @param UpdateTime: 更新时间。
1201
+ # 注意:此字段可能返回 null,表示取不到有效值。
1202
+ # @type UpdateTime: String
1203
+
1204
+ attr_accessor :IdentityId, :IdentityRoleName, :IdentityRoleAliasName, :Description, :CreateTime, :UpdateTime
1205
+
1206
+ def initialize(identityid=nil, identityrolename=nil, identityrolealiasname=nil, description=nil, createtime=nil, updatetime=nil)
1207
+ @IdentityId = identityid
1208
+ @IdentityRoleName = identityrolename
1209
+ @IdentityRoleAliasName = identityrolealiasname
1210
+ @Description = description
1211
+ @CreateTime = createtime
1212
+ @UpdateTime = updatetime
1213
+ end
1214
+
1215
+ def deserialize(params)
1216
+ @IdentityId = params['IdentityId']
1217
+ @IdentityRoleName = params['IdentityRoleName']
1218
+ @IdentityRoleAliasName = params['IdentityRoleAliasName']
1219
+ @Description = params['Description']
1220
+ @CreateTime = params['CreateTime']
1221
+ @UpdateTime = params['UpdateTime']
1222
+ end
1223
+ end
1224
+
1225
+ # 组织成员被授权的策略
1226
+ class OrgMemberPolicy < TencentCloud::Common::AbstractModel
1227
+ # @param PolicyId: 策略ID。
1228
+ # 注意:此字段可能返回 null,表示取不到有效值。
1229
+ # @type PolicyId: Integer
1230
+ # @param PolicyName: 策略名。
1231
+ # 注意:此字段可能返回 null,表示取不到有效值。
1232
+ # @type PolicyName: String
1233
+ # @param IdentityId: 身份ID。
1234
+ # 注意:此字段可能返回 null,表示取不到有效值。
1235
+ # @type IdentityId: Integer
1236
+ # @param IdentityRoleName: 身份角色名。
1237
+ # 注意:此字段可能返回 null,表示取不到有效值。
1238
+ # @type IdentityRoleName: String
1239
+ # @param IdentityRoleAliasName: 身份角色别名。
1240
+ # 注意:此字段可能返回 null,表示取不到有效值。
1241
+ # @type IdentityRoleAliasName: String
1242
+ # @param Description: 描述。
1243
+ # 注意:此字段可能返回 null,表示取不到有效值。
1244
+ # @type Description: String
1245
+ # @param CreateTime: 创建时间。
1246
+ # 注意:此字段可能返回 null,表示取不到有效值。
1247
+ # @type CreateTime: String
1248
+ # @param UpdateTime: 更新时间。
1249
+ # 注意:此字段可能返回 null,表示取不到有效值。
1250
+ # @type UpdateTime: String
1251
+
1252
+ attr_accessor :PolicyId, :PolicyName, :IdentityId, :IdentityRoleName, :IdentityRoleAliasName, :Description, :CreateTime, :UpdateTime
1253
+
1254
+ def initialize(policyid=nil, policyname=nil, identityid=nil, identityrolename=nil, identityrolealiasname=nil, description=nil, createtime=nil, updatetime=nil)
1255
+ @PolicyId = policyid
1256
+ @PolicyName = policyname
1257
+ @IdentityId = identityid
1258
+ @IdentityRoleName = identityrolename
1259
+ @IdentityRoleAliasName = identityrolealiasname
1260
+ @Description = description
1261
+ @CreateTime = createtime
1262
+ @UpdateTime = updatetime
1263
+ end
1264
+
1265
+ def deserialize(params)
1266
+ @PolicyId = params['PolicyId']
1267
+ @PolicyName = params['PolicyName']
1268
+ @IdentityId = params['IdentityId']
1269
+ @IdentityRoleName = params['IdentityRoleName']
1270
+ @IdentityRoleAliasName = params['IdentityRoleAliasName']
1271
+ @Description = params['Description']
1272
+ @CreateTime = params['CreateTime']
1273
+ @UpdateTime = params['UpdateTime']
1274
+ end
1275
+ end
1276
+
1277
+ # 企业组织单元
1278
+ class OrgNode < TencentCloud::Common::AbstractModel
1279
+ # @param NodeId: 组织节点ID
1280
+ # 注意:此字段可能返回 null,表示取不到有效值。
1281
+ # @type NodeId: Integer
1282
+ # @param Name: 名称
1283
+ # 注意:此字段可能返回 null,表示取不到有效值。
1284
+ # @type Name: String
1285
+ # @param ParentNodeId: 父节点ID
1286
+ # 注意:此字段可能返回 null,表示取不到有效值。
1287
+ # @type ParentNodeId: Integer
1288
+ # @param Remark: 备注
1289
+ # 注意:此字段可能返回 null,表示取不到有效值。
1290
+ # @type Remark: String
1291
+ # @param CreateTime: 创建时间
1292
+ # 注意:此字段可能返回 null,表示取不到有效值。
1293
+ # @type CreateTime: String
1294
+ # @param UpdateTime: 更新时间
1295
+ # 注意:此字段可能返回 null,表示取不到有效值。
1296
+ # @type UpdateTime: String
1297
+
1298
+ attr_accessor :NodeId, :Name, :ParentNodeId, :Remark, :CreateTime, :UpdateTime
1299
+
1300
+ def initialize(nodeid=nil, name=nil, parentnodeid=nil, remark=nil, createtime=nil, updatetime=nil)
1301
+ @NodeId = nodeid
1302
+ @Name = name
1303
+ @ParentNodeId = parentnodeid
1304
+ @Remark = remark
1305
+ @CreateTime = createtime
1306
+ @UpdateTime = updatetime
1307
+ end
1308
+
1309
+ def deserialize(params)
1310
+ @NodeId = params['NodeId']
1311
+ @Name = params['Name']
1312
+ @ParentNodeId = params['ParentNodeId']
1313
+ @Remark = params['Remark']
1314
+ @CreateTime = params['CreateTime']
1315
+ @UpdateTime = params['UpdateTime']
1316
+ end
1317
+ end
1318
+
505
1319
  # 关系策略权限
506
1320
  class OrgPermission < TencentCloud::Common::AbstractModel
507
1321
  # @param Id: 权限Id
@@ -522,6 +1336,46 @@ module TencentCloud
522
1336
  end
523
1337
  end
524
1338
 
1339
+ # UpdateOrganizationNode请求参数结构体
1340
+ class UpdateOrganizationNodeRequest < TencentCloud::Common::AbstractModel
1341
+ # @param NodeId: 节点ID。
1342
+ # @type NodeId: Integer
1343
+ # @param Name: 节点名称。最大长度为40个字符,支持英文字母、数字、汉字、符号+@、&._[]-
1344
+ # @type Name: String
1345
+ # @param Remark: 备注。
1346
+ # @type Remark: String
1347
+
1348
+ attr_accessor :NodeId, :Name, :Remark
1349
+
1350
+ def initialize(nodeid=nil, name=nil, remark=nil)
1351
+ @NodeId = nodeid
1352
+ @Name = name
1353
+ @Remark = remark
1354
+ end
1355
+
1356
+ def deserialize(params)
1357
+ @NodeId = params['NodeId']
1358
+ @Name = params['Name']
1359
+ @Remark = params['Remark']
1360
+ end
1361
+ end
1362
+
1363
+ # UpdateOrganizationNode返回参数结构体
1364
+ class UpdateOrganizationNodeResponse < TencentCloud::Common::AbstractModel
1365
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1366
+ # @type RequestId: String
1367
+
1368
+ attr_accessor :RequestId
1369
+
1370
+ def initialize(requestid=nil)
1371
+ @RequestId = requestid
1372
+ end
1373
+
1374
+ def deserialize(params)
1375
+ @RequestId = params['RequestId']
1376
+ end
1377
+ end
1378
+
525
1379
  end
526
1380
  end
527
1381
  end