tencentcloud-sdk-organization 1.0.243 → 1.0.244

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20210331/models.rb +64 -7
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b103c76510ac15e607c52a3d06e4eb1ba7c1ec9
4
- data.tar.gz: 20fcd9f9a8f6d2a6c9ba52d8533770bd2045eb38
3
+ metadata.gz: 1e02ff790a7e0bcfde88c329881d80f5802f8724
4
+ data.tar.gz: 3cd922b389d51e0063a8ca32643e5a40c1f6cec0
5
5
  SHA512:
6
- metadata.gz: 67d2fae56726b9479ddf699f95d503bc57a263d8a95153cca2f8b336212f1d775655fa628d489d772ecaeb059cae9041f6cc34d6929acae931147057db40b7a7
7
- data.tar.gz: fcb1f95b116fcef59f6d28dff4ecad013633dd783672333dc22d30a7e5cad16591b5ac6597a58a77161ba4d6856a0eebb87ad06f1dfc41a63111b7d334dab270
6
+ metadata.gz: d1670513a3975a1a32f2e7de8a7f0202eea3567298348d4a52d8af3e740d98978a1cca0577606ad682fa7c8dc0b6ca135fcecbe491d6a71a4654437d5c2b83d6
7
+ data.tar.gz: 7ed7854b3861e3d598243df54adee193c028578c62202a6230510e5d2c291fb08b447d9a1439e095ef02a95f424fa276c6be8b015099d60eeef4a8a06aa7686b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.243
1
+ 1.0.244
@@ -61,7 +61,7 @@ module TencentCloud
61
61
  class CreateOrganizationMemberRequest < TencentCloud::Common::AbstractModel
62
62
  # @param Name: 名称
63
63
  # @type Name: String
64
- # @param PolicyType: 关系策略
64
+ # @param PolicyType: 关系策略 取值:Financial
65
65
  # @type PolicyType: String
66
66
  # @param PermissionIds: 关系权限
67
67
  # @type PermissionIds: Array
@@ -73,10 +73,14 @@ module TencentCloud
73
73
  # @type Remark: String
74
74
  # @param RecordId: 重试创建传记录ID
75
75
  # @type RecordId: Integer
76
+ # @param PayUin: 代付者Uin
77
+ # @type PayUin: String
78
+ # @param IdentityRoleID: 管理身份
79
+ # @type IdentityRoleID: Array
76
80
 
77
- attr_accessor :Name, :PolicyType, :PermissionIds, :NodeId, :AccountName, :Remark, :RecordId
81
+ attr_accessor :Name, :PolicyType, :PermissionIds, :NodeId, :AccountName, :Remark, :RecordId, :PayUin, :IdentityRoleID
78
82
 
79
- def initialize(name=nil, policytype=nil, permissionids=nil, nodeid=nil, accountname=nil, remark=nil, recordid=nil)
83
+ def initialize(name=nil, policytype=nil, permissionids=nil, nodeid=nil, accountname=nil, remark=nil, recordid=nil, payuin=nil, identityroleid=nil)
80
84
  @Name = name
81
85
  @PolicyType = policytype
82
86
  @PermissionIds = permissionids
@@ -84,6 +88,8 @@ module TencentCloud
84
88
  @AccountName = accountname
85
89
  @Remark = remark
86
90
  @RecordId = recordid
91
+ @PayUin = payuin
92
+ @IdentityRoleID = identityroleid
87
93
  end
88
94
 
89
95
  def deserialize(params)
@@ -94,21 +100,28 @@ module TencentCloud
94
100
  @AccountName = params['AccountName']
95
101
  @Remark = params['Remark']
96
102
  @RecordId = params['RecordId']
103
+ @PayUin = params['PayUin']
104
+ @IdentityRoleID = params['IdentityRoleID']
97
105
  end
98
106
  end
99
107
 
100
108
  # CreateOrganizationMember返回参数结构体
101
109
  class CreateOrganizationMemberResponse < TencentCloud::Common::AbstractModel
110
+ # @param Uin: 成员Uin
111
+ # 注意:此字段可能返回 null,表示取不到有效值。
112
+ # @type Uin: Integer
102
113
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
103
114
  # @type RequestId: String
104
115
 
105
- attr_accessor :RequestId
116
+ attr_accessor :Uin, :RequestId
106
117
 
107
- def initialize(requestid=nil)
118
+ def initialize(uin=nil, requestid=nil)
119
+ @Uin = uin
108
120
  @RequestId = requestid
109
121
  end
110
122
 
111
123
  def deserialize(params)
124
+ @Uin = params['Uin']
112
125
  @RequestId = params['RequestId']
113
126
  end
114
127
  end
@@ -271,6 +284,28 @@ module TencentCloud
271
284
  end
272
285
  end
273
286
 
287
+ # 成员管理身份
288
+ class MemberIdentity < TencentCloud::Common::AbstractModel
289
+ # @param IdentityId: 身份ID。
290
+ # 注意:此字段可能返回 null,表示取不到有效值。
291
+ # @type IdentityId: Integer
292
+ # @param IdentityAliasName: 身份名称。
293
+ # 注意:此字段可能返回 null,表示取不到有效值。
294
+ # @type IdentityAliasName: String
295
+
296
+ attr_accessor :IdentityId, :IdentityAliasName
297
+
298
+ def initialize(identityid=nil, identityaliasname=nil)
299
+ @IdentityId = identityid
300
+ @IdentityAliasName = identityaliasname
301
+ end
302
+
303
+ def deserialize(params)
304
+ @IdentityId = params['IdentityId']
305
+ @IdentityAliasName = params['IdentityAliasName']
306
+ end
307
+ end
308
+
274
309
  # 企业组织成员
275
310
  class OrgMember < TencentCloud::Common::AbstractModel
276
311
  # @param MemberUin: 成员Uin
@@ -309,10 +344,19 @@ module TencentCloud
309
344
  # @param IsAllowQuit: 是否允许成员退出。允许:Allow,不允许:Denied。
310
345
  # 注意:此字段可能返回 null,表示取不到有效值。
311
346
  # @type IsAllowQuit: String
347
+ # @param PayUin: 代付者Uin
348
+ # 注意:此字段可能返回 null,表示取不到有效值。
349
+ # @type PayUin: String
350
+ # @param PayName: 代付者名称
351
+ # 注意:此字段可能返回 null,表示取不到有效值。
352
+ # @type PayName: String
353
+ # @param OrgIdentity: 管理身份
354
+ # 注意:此字段可能返回 null,表示取不到有效值。
355
+ # @type OrgIdentity: Array
312
356
 
313
- attr_accessor :MemberUin, :Name, :MemberType, :OrgPolicyType, :OrgPolicyName, :OrgPermission, :NodeId, :NodeName, :Remark, :CreateTime, :UpdateTime, :IsAllowQuit
357
+ attr_accessor :MemberUin, :Name, :MemberType, :OrgPolicyType, :OrgPolicyName, :OrgPermission, :NodeId, :NodeName, :Remark, :CreateTime, :UpdateTime, :IsAllowQuit, :PayUin, :PayName, :OrgIdentity
314
358
 
315
- def initialize(memberuin=nil, name=nil, membertype=nil, orgpolicytype=nil, orgpolicyname=nil, orgpermission=nil, nodeid=nil, nodename=nil, remark=nil, createtime=nil, updatetime=nil, isallowquit=nil)
359
+ def initialize(memberuin=nil, name=nil, membertype=nil, orgpolicytype=nil, orgpolicyname=nil, orgpermission=nil, nodeid=nil, nodename=nil, remark=nil, createtime=nil, updatetime=nil, isallowquit=nil, payuin=nil, payname=nil, orgidentity=nil)
316
360
  @MemberUin = memberuin
317
361
  @Name = name
318
362
  @MemberType = membertype
@@ -325,6 +369,9 @@ module TencentCloud
325
369
  @CreateTime = createtime
326
370
  @UpdateTime = updatetime
327
371
  @IsAllowQuit = isallowquit
372
+ @PayUin = payuin
373
+ @PayName = payname
374
+ @OrgIdentity = orgidentity
328
375
  end
329
376
 
330
377
  def deserialize(params)
@@ -347,6 +394,16 @@ module TencentCloud
347
394
  @CreateTime = params['CreateTime']
348
395
  @UpdateTime = params['UpdateTime']
349
396
  @IsAllowQuit = params['IsAllowQuit']
397
+ @PayUin = params['PayUin']
398
+ @PayName = params['PayName']
399
+ unless params['OrgIdentity'].nil?
400
+ @OrgIdentity = []
401
+ params['OrgIdentity'].each do |i|
402
+ memberidentity_tmp = MemberIdentity.new
403
+ memberidentity_tmp.deserialize(i)
404
+ @OrgIdentity << memberidentity_tmp
405
+ end
406
+ end
350
407
  end
351
408
  end
352
409
 
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: 1.0.243
4
+ version: 1.0.244
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-01-17 00:00:00.000000000 Z
11
+ date: 2022-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common