tencentcloud-sdk-eiam 1.0.200

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.
@@ -0,0 +1,2212 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module TencentCloud
18
+ module Eiam
19
+ module V20210420
20
+ # AddUserToUserGroup请求参数结构体
21
+ class AddUserToUserGroupRequest < TencentCloud::Common::AbstractModel
22
+ # @param UserIds: 加入用户组的用户ID列表。
23
+ # @type UserIds: Array
24
+ # @param UserGroupId: 用户组ID,是用户组的全局唯一标识。
25
+ # @type UserGroupId: String
26
+
27
+ attr_accessor :UserIds, :UserGroupId
28
+
29
+ def initialize(userids=nil, usergroupid=nil)
30
+ @UserIds = userids
31
+ @UserGroupId = usergroupid
32
+ end
33
+
34
+ def deserialize(params)
35
+ @UserIds = params['UserIds']
36
+ @UserGroupId = params['UserGroupId']
37
+ end
38
+ end
39
+
40
+ # AddUserToUserGroup返回参数结构体
41
+ class AddUserToUserGroupResponse < TencentCloud::Common::AbstractModel
42
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
43
+ # @type RequestId: String
44
+
45
+ attr_accessor :RequestId
46
+
47
+ def initialize(requestid=nil)
48
+ @RequestId = requestid
49
+ end
50
+
51
+ def deserialize(params)
52
+ @RequestId = params['RequestId']
53
+ end
54
+ end
55
+
56
+ # 应用信息列表。
57
+ class ApplicationAuthorizationInfo < TencentCloud::Common::AbstractModel
58
+ # @param ApplicationAccounts: 用户在被授权应用下对应的账号列表
59
+ # 注意:此字段可能返回 null,表示取不到有效值。
60
+ # @type ApplicationAccounts: Array
61
+ # @param ApplicationId: 应用ID,是应用的全局唯一标识。
62
+ # 注意:此字段可能返回 null,表示取不到有效值。
63
+ # @type ApplicationId: String
64
+ # @param InheritedForm: 展示用户所在的用户组、机构节点拥有该应用的访问权限的ID信息列表。
65
+ # 注意:此字段可能返回 null,表示取不到有效值。
66
+ # @type InheritedForm: :class:`Tencentcloud::Eiam.v20210420.models.InheritedForm`
67
+
68
+ attr_accessor :ApplicationAccounts, :ApplicationId, :InheritedForm
69
+
70
+ def initialize(applicationaccounts=nil, applicationid=nil, inheritedform=nil)
71
+ @ApplicationAccounts = applicationaccounts
72
+ @ApplicationId = applicationid
73
+ @InheritedForm = inheritedform
74
+ end
75
+
76
+ def deserialize(params)
77
+ @ApplicationAccounts = params['ApplicationAccounts']
78
+ @ApplicationId = params['ApplicationId']
79
+ unless params['InheritedForm'].nil?
80
+ @InheritedForm = InheritedForm.new
81
+ @InheritedForm.deserialize(params['InheritedForm'])
82
+ end
83
+ end
84
+ end
85
+
86
+ # 应用属性搜索条件。
87
+ class ApplicationInfoSearchCriteria < TencentCloud::Common::AbstractModel
88
+ # @param Keyword: 应用匹配搜索关键字,匹配范围包括:应用名称、应用ID。
89
+ # @type Keyword: String
90
+ # @param ApplicationType: 应用类型。ApplicationType的取值范围有:OAUTH2、JWT、CAS、SAML2、FORM、OIDC、APIGW。
91
+ # @type ApplicationType: String
92
+
93
+ attr_accessor :Keyword, :ApplicationType
94
+
95
+ def initialize(keyword=nil, applicationtype=nil)
96
+ @Keyword = keyword
97
+ @ApplicationType = applicationtype
98
+ end
99
+
100
+ def deserialize(params)
101
+ @Keyword = params['Keyword']
102
+ @ApplicationType = params['ApplicationType']
103
+ end
104
+ end
105
+
106
+ # 应用信息列表。
107
+ class ApplicationInformation < TencentCloud::Common::AbstractModel
108
+ # @param ApplicationId: 应用ID,是应用的全局唯一标识。
109
+ # @type ApplicationId: String
110
+ # @param DisplayName: 应用展示名称,长度限制:64个字符。 默认与应用名字相同。
111
+ # 注意:此字段可能返回 null,表示取不到有效值。
112
+ # @type DisplayName: String
113
+ # @param CreatedDate: 应用创建时间,符合 ISO8601 标准。
114
+ # 注意:此字段可能返回 null,表示取不到有效值。
115
+ # @type CreatedDate: String
116
+ # @param LastModifiedDate: 上次更新时间,符合 ISO8601 标准。
117
+ # 注意:此字段可能返回 null,表示取不到有效值。
118
+ # @type LastModifiedDate: String
119
+ # @param AppStatus: 应用状态。
120
+ # 注意:此字段可能返回 null,表示取不到有效值。
121
+ # @type AppStatus: Boolean
122
+ # @param Icon: 应用图标。
123
+ # 注意:此字段可能返回 null,表示取不到有效值。
124
+ # @type Icon: String
125
+ # @param ApplicationType: 应用类型。
126
+ # 注意:此字段可能返回 null,表示取不到有效值。
127
+ # @type ApplicationType: String
128
+ # @param ClientId: 客户端id。
129
+ # 注意:此字段可能返回 null,表示取不到有效值。
130
+ # @type ClientId: String
131
+
132
+ attr_accessor :ApplicationId, :DisplayName, :CreatedDate, :LastModifiedDate, :AppStatus, :Icon, :ApplicationType, :ClientId
133
+
134
+ def initialize(applicationid=nil, displayname=nil, createddate=nil, lastmodifieddate=nil, appstatus=nil, icon=nil, applicationtype=nil, clientid=nil)
135
+ @ApplicationId = applicationid
136
+ @DisplayName = displayname
137
+ @CreatedDate = createddate
138
+ @LastModifiedDate = lastmodifieddate
139
+ @AppStatus = appstatus
140
+ @Icon = icon
141
+ @ApplicationType = applicationtype
142
+ @ClientId = clientid
143
+ end
144
+
145
+ def deserialize(params)
146
+ @ApplicationId = params['ApplicationId']
147
+ @DisplayName = params['DisplayName']
148
+ @CreatedDate = params['CreatedDate']
149
+ @LastModifiedDate = params['LastModifiedDate']
150
+ @AppStatus = params['AppStatus']
151
+ @Icon = params['Icon']
152
+ @ApplicationType = params['ApplicationType']
153
+ @ClientId = params['ClientId']
154
+ end
155
+ end
156
+
157
+ # 返回的授权关系信息。
158
+ class AuthorizationInfo < TencentCloud::Common::AbstractModel
159
+ # @param AppId: 应用唯一ID。
160
+ # @type AppId: String
161
+ # @param AppName: 应用名称。
162
+ # @type AppName: String
163
+ # @param EntityName: 类型名称。
164
+ # @type EntityName: String
165
+ # @param EntityId: 类型唯一ID。
166
+ # @type EntityId: String
167
+ # @param LastModifiedDate: 上次更新时间,符合 ISO8601 标准。
168
+ # @type LastModifiedDate: String
169
+ # @param AuthorizationId: 授权类型唯一ID。
170
+ # @type AuthorizationId: String
171
+
172
+ attr_accessor :AppId, :AppName, :EntityName, :EntityId, :LastModifiedDate, :AuthorizationId
173
+
174
+ def initialize(appid=nil, appname=nil, entityname=nil, entityid=nil, lastmodifieddate=nil, authorizationid=nil)
175
+ @AppId = appid
176
+ @AppName = appname
177
+ @EntityName = entityname
178
+ @EntityId = entityid
179
+ @LastModifiedDate = lastmodifieddate
180
+ @AuthorizationId = authorizationid
181
+ end
182
+
183
+ def deserialize(params)
184
+ @AppId = params['AppId']
185
+ @AppName = params['AppName']
186
+ @EntityName = params['EntityName']
187
+ @EntityId = params['EntityId']
188
+ @LastModifiedDate = params['LastModifiedDate']
189
+ @AuthorizationId = params['AuthorizationId']
190
+ end
191
+ end
192
+
193
+ # 用户属性搜索条件。
194
+ class AuthorizationInfoSearchCriteria < TencentCloud::Common::AbstractModel
195
+ # @param Keyword: 名称匹配搜索,当查询类型为用户时,匹配范围包括:用户名称、应用名称;当查询类型为用户组时,匹配范围包括:用户组名称、应用名称;当查询类型为组织机构时,匹配范围包括:组织机构名称、应用名称。
196
+ # @type Keyword: String
197
+
198
+ attr_accessor :Keyword
199
+
200
+ def initialize(keyword=nil)
201
+ @Keyword = keyword
202
+ end
203
+
204
+ def deserialize(params)
205
+ @Keyword = params['Keyword']
206
+ end
207
+ end
208
+
209
+ # 授权资源详情
210
+ class AuthorizationResouceEntityInfo < TencentCloud::Common::AbstractModel
211
+ # @param ResourceId: 授权关系的唯一ID
212
+ # 注意:此字段可能返回 null,表示取不到有效值。
213
+ # @type ResourceId: String
214
+ # @param ResourceType: 资源授权类型
215
+ # 注意:此字段可能返回 null,表示取不到有效值。
216
+ # @type ResourceType: String
217
+ # @param Resource: 授权的资源
218
+ # 注意:此字段可能返回 null,表示取不到有效值。
219
+ # @type Resource: String
220
+ # @param ResourceName: 资源名称
221
+ # 注意:此字段可能返回 null,表示取不到有效值。
222
+ # @type ResourceName: String
223
+
224
+ attr_accessor :ResourceId, :ResourceType, :Resource, :ResourceName
225
+
226
+ def initialize(resourceid=nil, resourcetype=nil, resource=nil, resourcename=nil)
227
+ @ResourceId = resourceid
228
+ @ResourceType = resourcetype
229
+ @Resource = resource
230
+ @ResourceName = resourcename
231
+ end
232
+
233
+ def deserialize(params)
234
+ @ResourceId = params['ResourceId']
235
+ @ResourceType = params['ResourceType']
236
+ @Resource = params['Resource']
237
+ @ResourceName = params['ResourceName']
238
+ end
239
+ end
240
+
241
+ # 返回符合条件的用户数据列表
242
+ class AuthorizationUserResouceInfo < TencentCloud::Common::AbstractModel
243
+ # @param ResourceId: 资源ID
244
+ # 注意:此字段可能返回 null,表示取不到有效值。
245
+ # @type ResourceId: String
246
+ # @param ResourceType: 资源类型
247
+ # 注意:此字段可能返回 null,表示取不到有效值。
248
+ # @type ResourceType: String
249
+ # @param Resource: 授权资源
250
+ # 注意:此字段可能返回 null,表示取不到有效值。
251
+ # @type Resource: String
252
+ # @param InheritedForm: 继承关系
253
+ # 注意:此字段可能返回 null,表示取不到有效值。
254
+ # @type InheritedForm: :class:`Tencentcloud::Eiam.v20210420.models.InheritedForm`
255
+ # @param ApplicationAccounts: 应用账户
256
+ # 注意:此字段可能返回 null,表示取不到有效值。
257
+ # @type ApplicationAccounts: Array
258
+ # @param ResourceName: 资源名称
259
+ # 注意:此字段可能返回 null,表示取不到有效值。
260
+ # @type ResourceName: String
261
+
262
+ attr_accessor :ResourceId, :ResourceType, :Resource, :InheritedForm, :ApplicationAccounts, :ResourceName
263
+
264
+ def initialize(resourceid=nil, resourcetype=nil, resource=nil, inheritedform=nil, applicationaccounts=nil, resourcename=nil)
265
+ @ResourceId = resourceid
266
+ @ResourceType = resourcetype
267
+ @Resource = resource
268
+ @InheritedForm = inheritedform
269
+ @ApplicationAccounts = applicationaccounts
270
+ @ResourceName = resourcename
271
+ end
272
+
273
+ def deserialize(params)
274
+ @ResourceId = params['ResourceId']
275
+ @ResourceType = params['ResourceType']
276
+ @Resource = params['Resource']
277
+ unless params['InheritedForm'].nil?
278
+ @InheritedForm = InheritedForm.new
279
+ @InheritedForm.deserialize(params['InheritedForm'])
280
+ end
281
+ @ApplicationAccounts = params['ApplicationAccounts']
282
+ @ResourceName = params['ResourceName']
283
+ end
284
+ end
285
+
286
+ # CreateOrgNode请求参数结构体
287
+ class CreateOrgNodeRequest < TencentCloud::Common::AbstractModel
288
+ # @param DisplayName: 机构节点名称,长度限制:64个字符。
289
+ # @type DisplayName: String
290
+ # @param ParentOrgNodeId: 父机构节点ID,如果为空则默认创建在机构根节点下。
291
+ # @type ParentOrgNodeId: String
292
+ # @param Description: 机构节点描述。
293
+ # @type Description: String
294
+ # @param CustomizedOrgNodeId: 用户自定义可选填的机构节点对外ID,如果非空则校验此ID的唯一性。
295
+ # @type CustomizedOrgNodeId: String
296
+
297
+ attr_accessor :DisplayName, :ParentOrgNodeId, :Description, :CustomizedOrgNodeId
298
+
299
+ def initialize(displayname=nil, parentorgnodeid=nil, description=nil, customizedorgnodeid=nil)
300
+ @DisplayName = displayname
301
+ @ParentOrgNodeId = parentorgnodeid
302
+ @Description = description
303
+ @CustomizedOrgNodeId = customizedorgnodeid
304
+ end
305
+
306
+ def deserialize(params)
307
+ @DisplayName = params['DisplayName']
308
+ @ParentOrgNodeId = params['ParentOrgNodeId']
309
+ @Description = params['Description']
310
+ @CustomizedOrgNodeId = params['CustomizedOrgNodeId']
311
+ end
312
+ end
313
+
314
+ # CreateOrgNode返回参数结构体
315
+ class CreateOrgNodeResponse < TencentCloud::Common::AbstractModel
316
+ # @param OrgNodeId: 机构节点ID,是机构节点的全局唯一标识。
317
+ # 注意:此字段可能返回 null,表示取不到有效值。
318
+ # @type OrgNodeId: String
319
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
320
+ # @type RequestId: String
321
+
322
+ attr_accessor :OrgNodeId, :RequestId
323
+
324
+ def initialize(orgnodeid=nil, requestid=nil)
325
+ @OrgNodeId = orgnodeid
326
+ @RequestId = requestid
327
+ end
328
+
329
+ def deserialize(params)
330
+ @OrgNodeId = params['OrgNodeId']
331
+ @RequestId = params['RequestId']
332
+ end
333
+ end
334
+
335
+ # CreateUserGroup请求参数结构体
336
+ class CreateUserGroupRequest < TencentCloud::Common::AbstractModel
337
+ # @param DisplayName: 用户组昵称,长度限制:64个字符。 DisplayName是唯一的。
338
+ # @type DisplayName: String
339
+ # @param Description: 用户组备注,长度限制:512个字符。
340
+ # @type Description: String
341
+
342
+ attr_accessor :DisplayName, :Description
343
+
344
+ def initialize(displayname=nil, description=nil)
345
+ @DisplayName = displayname
346
+ @Description = description
347
+ end
348
+
349
+ def deserialize(params)
350
+ @DisplayName = params['DisplayName']
351
+ @Description = params['Description']
352
+ end
353
+ end
354
+
355
+ # CreateUserGroup返回参数结构体
356
+ class CreateUserGroupResponse < TencentCloud::Common::AbstractModel
357
+ # @param UserGroupId: 用户组ID,是用户组的全局唯一标识。
358
+ # 注意:此字段可能返回 null,表示取不到有效值。
359
+ # @type UserGroupId: String
360
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
361
+ # @type RequestId: String
362
+
363
+ attr_accessor :UserGroupId, :RequestId
364
+
365
+ def initialize(usergroupid=nil, requestid=nil)
366
+ @UserGroupId = usergroupid
367
+ @RequestId = requestid
368
+ end
369
+
370
+ def deserialize(params)
371
+ @UserGroupId = params['UserGroupId']
372
+ @RequestId = params['RequestId']
373
+ end
374
+ end
375
+
376
+ # CreateUser请求参数结构体
377
+ class CreateUserRequest < TencentCloud::Common::AbstractModel
378
+ # @param UserName: 用户名,长度限制:64个字符。
379
+ # @type UserName: String
380
+ # @param Password: 用户密码, 需要符合密码策略的配置。
381
+ # @type Password: String
382
+ # @param DisplayName: 昵称,长度限制:64个字符。 默认与用户名相同。
383
+ # @type DisplayName: String
384
+ # @param Description: 用户备注,长度限制:512个字符。
385
+ # @type Description: String
386
+ # @param UserGroupIds: 用户所属用户组ID列表。
387
+ # @type UserGroupIds: Array
388
+ # @param Phone: 用户手机号。例如:+86-1xxxxxxxxxx。
389
+ # @type Phone: String
390
+ # @param OrgNodeId: 用户所属组织机构唯一ID。如果为空,默认为在根节点下创建用户。
391
+ # @type OrgNodeId: String
392
+ # @param ExpirationTime: 用户过期时间,遵循 ISO 8601 标准。
393
+ # @type ExpirationTime: String
394
+ # @param Email: 用户邮箱。
395
+ # @type Email: String
396
+ # @param PwdNeedReset: 密码是否需要重置,为空默认为false不需要重置密码。
397
+ # @type PwdNeedReset: Boolean
398
+
399
+ attr_accessor :UserName, :Password, :DisplayName, :Description, :UserGroupIds, :Phone, :OrgNodeId, :ExpirationTime, :Email, :PwdNeedReset
400
+
401
+ def initialize(username=nil, password=nil, displayname=nil, description=nil, usergroupids=nil, phone=nil, orgnodeid=nil, expirationtime=nil, email=nil, pwdneedreset=nil)
402
+ @UserName = username
403
+ @Password = password
404
+ @DisplayName = displayname
405
+ @Description = description
406
+ @UserGroupIds = usergroupids
407
+ @Phone = phone
408
+ @OrgNodeId = orgnodeid
409
+ @ExpirationTime = expirationtime
410
+ @Email = email
411
+ @PwdNeedReset = pwdneedreset
412
+ end
413
+
414
+ def deserialize(params)
415
+ @UserName = params['UserName']
416
+ @Password = params['Password']
417
+ @DisplayName = params['DisplayName']
418
+ @Description = params['Description']
419
+ @UserGroupIds = params['UserGroupIds']
420
+ @Phone = params['Phone']
421
+ @OrgNodeId = params['OrgNodeId']
422
+ @ExpirationTime = params['ExpirationTime']
423
+ @Email = params['Email']
424
+ @PwdNeedReset = params['PwdNeedReset']
425
+ end
426
+ end
427
+
428
+ # CreateUser返回参数结构体
429
+ class CreateUserResponse < TencentCloud::Common::AbstractModel
430
+ # @param UserId: 返回的新创建的用户ID,是该用户的全局唯一标识。
431
+ # 注意:此字段可能返回 null,表示取不到有效值。
432
+ # @type UserId: String
433
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
434
+ # @type RequestId: String
435
+
436
+ attr_accessor :UserId, :RequestId
437
+
438
+ def initialize(userid=nil, requestid=nil)
439
+ @UserId = userid
440
+ @RequestId = requestid
441
+ end
442
+
443
+ def deserialize(params)
444
+ @UserId = params['UserId']
445
+ @RequestId = params['RequestId']
446
+ end
447
+ end
448
+
449
+ # DeleteOrgNode请求参数结构体
450
+ class DeleteOrgNodeRequest < TencentCloud::Common::AbstractModel
451
+ # @param OrgNodeId: 机构节点ID,是机构节点的全局唯一标识。
452
+ # @type OrgNodeId: String
453
+
454
+ attr_accessor :OrgNodeId
455
+
456
+ def initialize(orgnodeid=nil)
457
+ @OrgNodeId = orgnodeid
458
+ end
459
+
460
+ def deserialize(params)
461
+ @OrgNodeId = params['OrgNodeId']
462
+ end
463
+ end
464
+
465
+ # DeleteOrgNode返回参数结构体
466
+ class DeleteOrgNodeResponse < TencentCloud::Common::AbstractModel
467
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
468
+ # @type RequestId: String
469
+
470
+ attr_accessor :RequestId
471
+
472
+ def initialize(requestid=nil)
473
+ @RequestId = requestid
474
+ end
475
+
476
+ def deserialize(params)
477
+ @RequestId = params['RequestId']
478
+ end
479
+ end
480
+
481
+ # DeleteUserGroup请求参数结构体
482
+ class DeleteUserGroupRequest < TencentCloud::Common::AbstractModel
483
+ # @param UserGroupId: 用户组ID,是用户组的全局唯一标识。
484
+ # @type UserGroupId: String
485
+
486
+ attr_accessor :UserGroupId
487
+
488
+ def initialize(usergroupid=nil)
489
+ @UserGroupId = usergroupid
490
+ end
491
+
492
+ def deserialize(params)
493
+ @UserGroupId = params['UserGroupId']
494
+ end
495
+ end
496
+
497
+ # DeleteUserGroup返回参数结构体
498
+ class DeleteUserGroupResponse < TencentCloud::Common::AbstractModel
499
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
500
+ # @type RequestId: String
501
+
502
+ attr_accessor :RequestId
503
+
504
+ def initialize(requestid=nil)
505
+ @RequestId = requestid
506
+ end
507
+
508
+ def deserialize(params)
509
+ @RequestId = params['RequestId']
510
+ end
511
+ end
512
+
513
+ # DeleteUser请求参数结构体
514
+ class DeleteUserRequest < TencentCloud::Common::AbstractModel
515
+ # @param UserName: 用户名,长度限制:32个字符。 Username 和 UserId 需选择一个作为搜索条件;如两个条件同时使用则默认使用Username作为搜索条件。
516
+ # @type UserName: String
517
+ # @param UserId: 用户 id。 Username 和 UserId 需选择一个作为搜索条件;如两个条件同时使用则默认使用Username作为搜索条件。
518
+ # @type UserId: String
519
+
520
+ attr_accessor :UserName, :UserId
521
+
522
+ def initialize(username=nil, userid=nil)
523
+ @UserName = username
524
+ @UserId = userid
525
+ end
526
+
527
+ def deserialize(params)
528
+ @UserName = params['UserName']
529
+ @UserId = params['UserId']
530
+ end
531
+ end
532
+
533
+ # DeleteUser返回参数结构体
534
+ class DeleteUserResponse < TencentCloud::Common::AbstractModel
535
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
536
+ # @type RequestId: String
537
+
538
+ attr_accessor :RequestId
539
+
540
+ def initialize(requestid=nil)
541
+ @RequestId = requestid
542
+ end
543
+
544
+ def deserialize(params)
545
+ @RequestId = params['RequestId']
546
+ end
547
+ end
548
+
549
+ # DescribeApplication请求参数结构体
550
+ class DescribeApplicationRequest < TencentCloud::Common::AbstractModel
551
+ # @param ApplicationId: 应用id,是应用的全局唯一标识,与ClientId参数不能同时为空。
552
+ # @type ApplicationId: String
553
+ # @param ClientId: 客户端id,与ApplicationId参数不能同时为空。
554
+ # @type ClientId: String
555
+
556
+ attr_accessor :ApplicationId, :ClientId
557
+
558
+ def initialize(applicationid=nil, clientid=nil)
559
+ @ApplicationId = applicationid
560
+ @ClientId = clientid
561
+ end
562
+
563
+ def deserialize(params)
564
+ @ApplicationId = params['ApplicationId']
565
+ @ClientId = params['ClientId']
566
+ end
567
+ end
568
+
569
+ # DescribeApplication返回参数结构体
570
+ class DescribeApplicationResponse < TencentCloud::Common::AbstractModel
571
+ # @param KeyId: 密钥id。
572
+ # 注意:此字段可能返回 null,表示取不到有效值。
573
+ # @type KeyId: String
574
+ # @param DisplayName: 应用展示名称,长度限制:64个字符。 默认与应用名字相同。
575
+ # 注意:此字段可能返回 null,表示取不到有效值。
576
+ # @type DisplayName: String
577
+ # @param LastModifiedDate: 应用最后修改时间,符合 ISO8601 标准。
578
+ # 注意:此字段可能返回 null,表示取不到有效值。
579
+ # @type LastModifiedDate: String
580
+ # @param ClientId: 客户端id。
581
+ # 注意:此字段可能返回 null,表示取不到有效值。
582
+ # @type ClientId: String
583
+ # @param ApplicationType: 应用类型,即创建应用时所选择的应用模版类型。
584
+ # 注意:此字段可能返回 null,表示取不到有效值。
585
+ # @type ApplicationType: String
586
+ # @param CreatedDate: 应用创建时间,符合 ISO8601 标准。
587
+ # 注意:此字段可能返回 null,表示取不到有效值。
588
+ # @type CreatedDate: String
589
+ # @param ApplicationId: 应用id,是应用的全局唯一标识。
590
+ # 注意:此字段可能返回 null,表示取不到有效值。
591
+ # @type ApplicationId: String
592
+ # @param TokenExpired: 令牌有效时间,单位为秒。
593
+ # 注意:此字段可能返回 null,表示取不到有效值。
594
+ # @type TokenExpired: Integer
595
+ # @param ClientSecret: 客户端secret。
596
+ # 注意:此字段可能返回 null,表示取不到有效值。
597
+ # @type ClientSecret: String
598
+ # @param PublicKey: 公钥信息。
599
+ # 注意:此字段可能返回 null,表示取不到有效值。
600
+ # @type PublicKey: String
601
+ # @param AuthorizeUrl: 授权地址。
602
+ # 注意:此字段可能返回 null,表示取不到有效值。
603
+ # @type AuthorizeUrl: String
604
+ # @param IconUrl: 应用图标图片访问地址。
605
+ # 注意:此字段可能返回 null,表示取不到有效值。
606
+ # @type IconUrl: String
607
+ # @param SecureLevel: 安全等级。
608
+ # 注意:此字段可能返回 null,表示取不到有效值。
609
+ # @type SecureLevel: String
610
+ # @param AppStatus: 应用状态。
611
+ # 注意:此字段可能返回 null,表示取不到有效值。
612
+ # @type AppStatus: Boolean
613
+ # @param Description: 描述。
614
+ # 注意:此字段可能返回 null,表示取不到有效值。
615
+ # @type Description: String
616
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
617
+ # @type RequestId: String
618
+
619
+ attr_accessor :KeyId, :DisplayName, :LastModifiedDate, :ClientId, :ApplicationType, :CreatedDate, :ApplicationId, :TokenExpired, :ClientSecret, :PublicKey, :AuthorizeUrl, :IconUrl, :SecureLevel, :AppStatus, :Description, :RequestId
620
+
621
+ def initialize(keyid=nil, displayname=nil, lastmodifieddate=nil, clientid=nil, applicationtype=nil, createddate=nil, applicationid=nil, tokenexpired=nil, clientsecret=nil, publickey=nil, authorizeurl=nil, iconurl=nil, securelevel=nil, appstatus=nil, description=nil, requestid=nil)
622
+ @KeyId = keyid
623
+ @DisplayName = displayname
624
+ @LastModifiedDate = lastmodifieddate
625
+ @ClientId = clientid
626
+ @ApplicationType = applicationtype
627
+ @CreatedDate = createddate
628
+ @ApplicationId = applicationid
629
+ @TokenExpired = tokenexpired
630
+ @ClientSecret = clientsecret
631
+ @PublicKey = publickey
632
+ @AuthorizeUrl = authorizeurl
633
+ @IconUrl = iconurl
634
+ @SecureLevel = securelevel
635
+ @AppStatus = appstatus
636
+ @Description = description
637
+ @RequestId = requestid
638
+ end
639
+
640
+ def deserialize(params)
641
+ @KeyId = params['KeyId']
642
+ @DisplayName = params['DisplayName']
643
+ @LastModifiedDate = params['LastModifiedDate']
644
+ @ClientId = params['ClientId']
645
+ @ApplicationType = params['ApplicationType']
646
+ @CreatedDate = params['CreatedDate']
647
+ @ApplicationId = params['ApplicationId']
648
+ @TokenExpired = params['TokenExpired']
649
+ @ClientSecret = params['ClientSecret']
650
+ @PublicKey = params['PublicKey']
651
+ @AuthorizeUrl = params['AuthorizeUrl']
652
+ @IconUrl = params['IconUrl']
653
+ @SecureLevel = params['SecureLevel']
654
+ @AppStatus = params['AppStatus']
655
+ @Description = params['Description']
656
+ @RequestId = params['RequestId']
657
+ end
658
+ end
659
+
660
+ # DescribeOrgNode请求参数结构体
661
+ class DescribeOrgNodeRequest < TencentCloud::Common::AbstractModel
662
+ # @param OrgNodeId: 机构节点ID,是机构节点全局唯一标识,长度限制:64个字符。如果为空默认读取机构根节点信息。
663
+ # @type OrgNodeId: String
664
+ # @param IncludeOrgNodeChildInfo: 是否读取其子节点信息。当其为空或false时,默认仅读取当前机构节点信息。当其为true时,读取本机构节点以及其第一层子节点信息。
665
+ # @type IncludeOrgNodeChildInfo: Boolean
666
+
667
+ attr_accessor :OrgNodeId, :IncludeOrgNodeChildInfo
668
+
669
+ def initialize(orgnodeid=nil, includeorgnodechildinfo=nil)
670
+ @OrgNodeId = orgnodeid
671
+ @IncludeOrgNodeChildInfo = includeorgnodechildinfo
672
+ end
673
+
674
+ def deserialize(params)
675
+ @OrgNodeId = params['OrgNodeId']
676
+ @IncludeOrgNodeChildInfo = params['IncludeOrgNodeChildInfo']
677
+ end
678
+ end
679
+
680
+ # DescribeOrgNode返回参数结构体
681
+ class DescribeOrgNodeResponse < TencentCloud::Common::AbstractModel
682
+ # @param DisplayName: 机构节点展示名称,长度限制:64个字符。 默认与机构名相同。
683
+ # 注意:此字段可能返回 null,表示取不到有效值。
684
+ # @type DisplayName: String
685
+ # @param LastModifiedDate: 机构节点最后修改时间,符合 ISO8601 标准。
686
+ # 注意:此字段可能返回 null,表示取不到有效值。
687
+ # @type LastModifiedDate: String
688
+ # @param CustomizedOrgNodeId: 机构节点外部ID。
689
+ # 注意:此字段可能返回 null,表示取不到有效值。
690
+ # @type CustomizedOrgNodeId: String
691
+ # @param ParentOrgNodeId: 当前机构节点的父节点ID。
692
+ # 注意:此字段可能返回 null,表示取不到有效值。
693
+ # @type ParentOrgNodeId: String
694
+ # @param OrgNodeId: 机构节点ID,是机构节点的全局唯一标识。
695
+ # 注意:此字段可能返回 null,表示取不到有效值。
696
+ # @type OrgNodeId: String
697
+ # @param DataSource: 数据来源。
698
+ # 注意:此字段可能返回 null,表示取不到有效值。
699
+ # @type DataSource: String
700
+ # @param CreatedDate: 机构节点创建时间,符合 ISO8601 标准。
701
+ # 注意:此字段可能返回 null,表示取不到有效值。
702
+ # @type CreatedDate: String
703
+ # @param OrgNodeChildInfo: 当前机构节点下的子节点列表。
704
+ # 注意:此字段可能返回 null,表示取不到有效值。
705
+ # @type OrgNodeChildInfo: Array
706
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
707
+ # @type RequestId: String
708
+
709
+ attr_accessor :DisplayName, :LastModifiedDate, :CustomizedOrgNodeId, :ParentOrgNodeId, :OrgNodeId, :DataSource, :CreatedDate, :OrgNodeChildInfo, :RequestId
710
+
711
+ def initialize(displayname=nil, lastmodifieddate=nil, customizedorgnodeid=nil, parentorgnodeid=nil, orgnodeid=nil, datasource=nil, createddate=nil, orgnodechildinfo=nil, requestid=nil)
712
+ @DisplayName = displayname
713
+ @LastModifiedDate = lastmodifieddate
714
+ @CustomizedOrgNodeId = customizedorgnodeid
715
+ @ParentOrgNodeId = parentorgnodeid
716
+ @OrgNodeId = orgnodeid
717
+ @DataSource = datasource
718
+ @CreatedDate = createddate
719
+ @OrgNodeChildInfo = orgnodechildinfo
720
+ @RequestId = requestid
721
+ end
722
+
723
+ def deserialize(params)
724
+ @DisplayName = params['DisplayName']
725
+ @LastModifiedDate = params['LastModifiedDate']
726
+ @CustomizedOrgNodeId = params['CustomizedOrgNodeId']
727
+ @ParentOrgNodeId = params['ParentOrgNodeId']
728
+ @OrgNodeId = params['OrgNodeId']
729
+ @DataSource = params['DataSource']
730
+ @CreatedDate = params['CreatedDate']
731
+ unless params['OrgNodeChildInfo'].nil?
732
+ @OrgNodeChildInfo = []
733
+ params['OrgNodeChildInfo'].each do |i|
734
+ orgnodechildinfo_tmp = OrgNodeChildInfo.new
735
+ orgnodechildinfo_tmp.deserialize(i)
736
+ @OrgNodeChildInfo << orgnodechildinfo_tmp
737
+ end
738
+ end
739
+ @RequestId = params['RequestId']
740
+ end
741
+ end
742
+
743
+ # DescribeOrgResourcesAuthorization请求参数结构体
744
+ class DescribeOrgResourcesAuthorizationRequest < TencentCloud::Common::AbstractModel
745
+ # @param ApplicationId: 应用ID
746
+ # @type ApplicationId: String
747
+ # @param OrgNodeId: 机构ID
748
+ # @type OrgNodeId: String
749
+
750
+ attr_accessor :ApplicationId, :OrgNodeId
751
+
752
+ def initialize(applicationid=nil, orgnodeid=nil)
753
+ @ApplicationId = applicationid
754
+ @OrgNodeId = orgnodeid
755
+ end
756
+
757
+ def deserialize(params)
758
+ @ApplicationId = params['ApplicationId']
759
+ @OrgNodeId = params['OrgNodeId']
760
+ end
761
+ end
762
+
763
+ # DescribeOrgResourcesAuthorization返回参数结构体
764
+ class DescribeOrgResourcesAuthorizationResponse < TencentCloud::Common::AbstractModel
765
+ # @param ApplicationId: 应用ID
766
+ # @type ApplicationId: String
767
+ # @param OrgNodeId: 授权机构ID
768
+ # 注意:此字段可能返回 null,表示取不到有效值。
769
+ # @type OrgNodeId: String
770
+ # @param OrgNodeName: 机构名称
771
+ # 注意:此字段可能返回 null,表示取不到有效值。
772
+ # @type OrgNodeName: String
773
+ # @param OrgNodePath: 机构目录
774
+ # 注意:此字段可能返回 null,表示取不到有效值。
775
+ # @type OrgNodePath: String
776
+ # @param AuthorizationOrgResourceList: 资源列表
777
+ # 注意:此字段可能返回 null,表示取不到有效值。
778
+ # @type AuthorizationOrgResourceList: Array
779
+ # @param TotalCount: 资源数量
780
+ # 注意:此字段可能返回 null,表示取不到有效值。
781
+ # @type TotalCount: Integer
782
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
783
+ # @type RequestId: String
784
+
785
+ attr_accessor :ApplicationId, :OrgNodeId, :OrgNodeName, :OrgNodePath, :AuthorizationOrgResourceList, :TotalCount, :RequestId
786
+
787
+ def initialize(applicationid=nil, orgnodeid=nil, orgnodename=nil, orgnodepath=nil, authorizationorgresourcelist=nil, totalcount=nil, requestid=nil)
788
+ @ApplicationId = applicationid
789
+ @OrgNodeId = orgnodeid
790
+ @OrgNodeName = orgnodename
791
+ @OrgNodePath = orgnodepath
792
+ @AuthorizationOrgResourceList = authorizationorgresourcelist
793
+ @TotalCount = totalcount
794
+ @RequestId = requestid
795
+ end
796
+
797
+ def deserialize(params)
798
+ @ApplicationId = params['ApplicationId']
799
+ @OrgNodeId = params['OrgNodeId']
800
+ @OrgNodeName = params['OrgNodeName']
801
+ @OrgNodePath = params['OrgNodePath']
802
+ unless params['AuthorizationOrgResourceList'].nil?
803
+ @AuthorizationOrgResourceList = []
804
+ params['AuthorizationOrgResourceList'].each do |i|
805
+ authorizationresouceentityinfo_tmp = AuthorizationResouceEntityInfo.new
806
+ authorizationresouceentityinfo_tmp.deserialize(i)
807
+ @AuthorizationOrgResourceList << authorizationresouceentityinfo_tmp
808
+ end
809
+ end
810
+ @TotalCount = params['TotalCount']
811
+ @RequestId = params['RequestId']
812
+ end
813
+ end
814
+
815
+ # DescribePublicKey请求参数结构体
816
+ class DescribePublicKeyRequest < TencentCloud::Common::AbstractModel
817
+ # @param ApplicationId: 应用ID,是应用的全局唯一标识。
818
+ # @type ApplicationId: String
819
+
820
+ attr_accessor :ApplicationId
821
+
822
+ def initialize(applicationid=nil)
823
+ @ApplicationId = applicationid
824
+ end
825
+
826
+ def deserialize(params)
827
+ @ApplicationId = params['ApplicationId']
828
+ end
829
+ end
830
+
831
+ # DescribePublicKey返回参数结构体
832
+ class DescribePublicKeyResponse < TencentCloud::Common::AbstractModel
833
+ # @param PublicKey: jwt验证签名所用的公钥信息。
834
+ # 注意:此字段可能返回 null,表示取不到有效值。
835
+ # @type PublicKey: String
836
+ # @param KeyId: jwt的密钥id。
837
+ # 注意:此字段可能返回 null,表示取不到有效值。
838
+ # @type KeyId: String
839
+ # @param ApplicationId: 应用ID,是应用的全局唯一标识。
840
+ # 注意:此字段可能返回 null,表示取不到有效值。
841
+ # @type ApplicationId: String
842
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
843
+ # @type RequestId: String
844
+
845
+ attr_accessor :PublicKey, :KeyId, :ApplicationId, :RequestId
846
+
847
+ def initialize(publickey=nil, keyid=nil, applicationid=nil, requestid=nil)
848
+ @PublicKey = publickey
849
+ @KeyId = keyid
850
+ @ApplicationId = applicationid
851
+ @RequestId = requestid
852
+ end
853
+
854
+ def deserialize(params)
855
+ @PublicKey = params['PublicKey']
856
+ @KeyId = params['KeyId']
857
+ @ApplicationId = params['ApplicationId']
858
+ @RequestId = params['RequestId']
859
+ end
860
+ end
861
+
862
+ # DescribeUserGroup请求参数结构体
863
+ class DescribeUserGroupRequest < TencentCloud::Common::AbstractModel
864
+ # @param UserGroupId: 用户组ID,是用户组的全局唯一标识。
865
+ # @type UserGroupId: String
866
+
867
+ attr_accessor :UserGroupId
868
+
869
+ def initialize(usergroupid=nil)
870
+ @UserGroupId = usergroupid
871
+ end
872
+
873
+ def deserialize(params)
874
+ @UserGroupId = params['UserGroupId']
875
+ end
876
+ end
877
+
878
+ # DescribeUserGroupResourcesAuthorization请求参数结构体
879
+ class DescribeUserGroupResourcesAuthorizationRequest < TencentCloud::Common::AbstractModel
880
+ # @param ApplicationId: 应用ID
881
+ # @type ApplicationId: String
882
+ # @param UserGroupId: 用户组ID
883
+ # @type UserGroupId: String
884
+
885
+ attr_accessor :ApplicationId, :UserGroupId
886
+
887
+ def initialize(applicationid=nil, usergroupid=nil)
888
+ @ApplicationId = applicationid
889
+ @UserGroupId = usergroupid
890
+ end
891
+
892
+ def deserialize(params)
893
+ @ApplicationId = params['ApplicationId']
894
+ @UserGroupId = params['UserGroupId']
895
+ end
896
+ end
897
+
898
+ # DescribeUserGroupResourcesAuthorization返回参数结构体
899
+ class DescribeUserGroupResourcesAuthorizationResponse < TencentCloud::Common::AbstractModel
900
+ # @param ApplicationId: 应用ID
901
+ # 注意:此字段可能返回 null,表示取不到有效值。
902
+ # @type ApplicationId: String
903
+ # @param UserGroupId: 用户组ID
904
+ # 注意:此字段可能返回 null,表示取不到有效值。
905
+ # @type UserGroupId: String
906
+ # @param UserGroupName: 用户组名称
907
+ # 注意:此字段可能返回 null,表示取不到有效值。
908
+ # @type UserGroupName: String
909
+ # @param AuthorizationUserGroupResourceList: 资源列表
910
+ # 注意:此字段可能返回 null,表示取不到有效值。
911
+ # @type AuthorizationUserGroupResourceList: Array
912
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
913
+ # @type RequestId: String
914
+
915
+ attr_accessor :ApplicationId, :UserGroupId, :UserGroupName, :AuthorizationUserGroupResourceList, :RequestId
916
+
917
+ def initialize(applicationid=nil, usergroupid=nil, usergroupname=nil, authorizationusergroupresourcelist=nil, requestid=nil)
918
+ @ApplicationId = applicationid
919
+ @UserGroupId = usergroupid
920
+ @UserGroupName = usergroupname
921
+ @AuthorizationUserGroupResourceList = authorizationusergroupresourcelist
922
+ @RequestId = requestid
923
+ end
924
+
925
+ def deserialize(params)
926
+ @ApplicationId = params['ApplicationId']
927
+ @UserGroupId = params['UserGroupId']
928
+ @UserGroupName = params['UserGroupName']
929
+ unless params['AuthorizationUserGroupResourceList'].nil?
930
+ @AuthorizationUserGroupResourceList = []
931
+ params['AuthorizationUserGroupResourceList'].each do |i|
932
+ authorizationresouceentityinfo_tmp = AuthorizationResouceEntityInfo.new
933
+ authorizationresouceentityinfo_tmp.deserialize(i)
934
+ @AuthorizationUserGroupResourceList << authorizationresouceentityinfo_tmp
935
+ end
936
+ end
937
+ @RequestId = params['RequestId']
938
+ end
939
+ end
940
+
941
+ # DescribeUserGroup返回参数结构体
942
+ class DescribeUserGroupResponse < TencentCloud::Common::AbstractModel
943
+ # @param DisplayName: 用户组昵称,长度限制:64个字符。 DisplayName不唯一。
944
+ # 注意:此字段可能返回 null,表示取不到有效值。
945
+ # @type DisplayName: String
946
+ # @param Description: 用户组备注,长度限制:512个字符。
947
+ # 注意:此字段可能返回 null,表示取不到有效值。
948
+ # @type Description: String
949
+ # @param UserGroupId: 用户组ID,是用户组的全局唯一标识。
950
+ # 注意:此字段可能返回 null,表示取不到有效值。
951
+ # @type UserGroupId: String
952
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
953
+ # @type RequestId: String
954
+
955
+ attr_accessor :DisplayName, :Description, :UserGroupId, :RequestId
956
+
957
+ def initialize(displayname=nil, description=nil, usergroupid=nil, requestid=nil)
958
+ @DisplayName = displayname
959
+ @Description = description
960
+ @UserGroupId = usergroupid
961
+ @RequestId = requestid
962
+ end
963
+
964
+ def deserialize(params)
965
+ @DisplayName = params['DisplayName']
966
+ @Description = params['Description']
967
+ @UserGroupId = params['UserGroupId']
968
+ @RequestId = params['RequestId']
969
+ end
970
+ end
971
+
972
+ # DescribeUserInfo请求参数结构体
973
+ class DescribeUserInfoRequest < TencentCloud::Common::AbstractModel
974
+ # @param UserName: 用户名,长度限制:64个字符。 Username 和 UserId 需至少一个不为空;都不为空时优先使用 Username。
975
+ # @type UserName: String
976
+ # @param UserId: 用户 id,长度限制:64个字符。 Username 和 UserId 需至少一个不为空;都不为空时优先使用 Username。
977
+ # @type UserId: String
978
+
979
+ attr_accessor :UserName, :UserId
980
+
981
+ def initialize(username=nil, userid=nil)
982
+ @UserName = username
983
+ @UserId = userid
984
+ end
985
+
986
+ def deserialize(params)
987
+ @UserName = params['UserName']
988
+ @UserId = params['UserId']
989
+ end
990
+ end
991
+
992
+ # DescribeUserInfo返回参数结构体
993
+ class DescribeUserInfoResponse < TencentCloud::Common::AbstractModel
994
+ # @param UserName: 用户名。
995
+ # 注意:此字段可能返回 null,表示取不到有效值。
996
+ # @type UserName: String
997
+ # @param Status: 用户状态,取值 NORMAL (正常)、FREEZE (已冻结)、LOCKED (已锁定)或 NOT_ENABLED (未启用)。
998
+ # 注意:此字段可能返回 null,表示取不到有效值。
999
+ # @type Status: String
1000
+ # @param DisplayName: 昵称
1001
+ # 注意:此字段可能返回 null,表示取不到有效值。
1002
+ # @type DisplayName: String
1003
+ # @param Description: 用户备注。
1004
+ # 注意:此字段可能返回 null,表示取不到有效值。
1005
+ # @type Description: String
1006
+ # @param UserGroupIds: 用户所属用户组 id 列表。
1007
+ # 注意:此字段可能返回 null,表示取不到有效值。
1008
+ # @type UserGroupIds: Array
1009
+ # @param UserId: 用户 id,长度限制:64个字符。
1010
+ # 注意:此字段可能返回 null,表示取不到有效值。
1011
+ # @type UserId: String
1012
+ # @param Email: 用户邮箱。
1013
+ # 注意:此字段可能返回 null,表示取不到有效值。
1014
+ # @type Email: String
1015
+ # @param Phone: 用户手机号。
1016
+ # 注意:此字段可能返回 null,表示取不到有效值。
1017
+ # @type Phone: String
1018
+ # @param OrgNodeId: 用户所属组织机构 Id。
1019
+ # 注意:此字段可能返回 null,表示取不到有效值。
1020
+ # @type OrgNodeId: String
1021
+ # @param DataSource: 数据来源
1022
+ # 注意:此字段可能返回 null,表示取不到有效值。
1023
+ # @type DataSource: String
1024
+ # @param ExpirationTime: 用户过期时间,遵循 ISO 8601 标准。
1025
+ # 注意:此字段可能返回 null,表示取不到有效值。
1026
+ # @type ExpirationTime: String
1027
+ # @param ActivationTime: 用户激活时间,遵循 ISO 8601 标准。
1028
+ # 注意:此字段可能返回 null,表示取不到有效值。
1029
+ # @type ActivationTime: String
1030
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1031
+ # @type RequestId: String
1032
+
1033
+ attr_accessor :UserName, :Status, :DisplayName, :Description, :UserGroupIds, :UserId, :Email, :Phone, :OrgNodeId, :DataSource, :ExpirationTime, :ActivationTime, :RequestId
1034
+
1035
+ def initialize(username=nil, status=nil, displayname=nil, description=nil, usergroupids=nil, userid=nil, email=nil, phone=nil, orgnodeid=nil, datasource=nil, expirationtime=nil, activationtime=nil, requestid=nil)
1036
+ @UserName = username
1037
+ @Status = status
1038
+ @DisplayName = displayname
1039
+ @Description = description
1040
+ @UserGroupIds = usergroupids
1041
+ @UserId = userid
1042
+ @Email = email
1043
+ @Phone = phone
1044
+ @OrgNodeId = orgnodeid
1045
+ @DataSource = datasource
1046
+ @ExpirationTime = expirationtime
1047
+ @ActivationTime = activationtime
1048
+ @RequestId = requestid
1049
+ end
1050
+
1051
+ def deserialize(params)
1052
+ @UserName = params['UserName']
1053
+ @Status = params['Status']
1054
+ @DisplayName = params['DisplayName']
1055
+ @Description = params['Description']
1056
+ @UserGroupIds = params['UserGroupIds']
1057
+ @UserId = params['UserId']
1058
+ @Email = params['Email']
1059
+ @Phone = params['Phone']
1060
+ @OrgNodeId = params['OrgNodeId']
1061
+ @DataSource = params['DataSource']
1062
+ @ExpirationTime = params['ExpirationTime']
1063
+ @ActivationTime = params['ActivationTime']
1064
+ @RequestId = params['RequestId']
1065
+ end
1066
+ end
1067
+
1068
+ # DescribeUserResourcesAuthorization请求参数结构体
1069
+ class DescribeUserResourcesAuthorizationRequest < TencentCloud::Common::AbstractModel
1070
+ # @param ApplicationId: 应用ID。
1071
+ # @type ApplicationId: String
1072
+ # @param UserId: 用户ID。UserName 和 UserId 需至少一个不为空;都不为空时优先使用 UserName。
1073
+ # @type UserId: String
1074
+ # @param UserName: 用户名。UserName 和 UserId 需至少一个不为空;都不为空时优先使用 UserName。
1075
+ # @type UserName: String
1076
+ # @param IncludeInheritedAuthorizations: 查询范围是否包括用户关联的用户组、组织机构的应用访问权限。默认为不查询 ,传false表示不查询该范围,传true查询该范围。
1077
+ # @type IncludeInheritedAuthorizations: Boolean
1078
+
1079
+ attr_accessor :ApplicationId, :UserId, :UserName, :IncludeInheritedAuthorizations
1080
+
1081
+ def initialize(applicationid=nil, userid=nil, username=nil, includeinheritedauthorizations=nil)
1082
+ @ApplicationId = applicationid
1083
+ @UserId = userid
1084
+ @UserName = username
1085
+ @IncludeInheritedAuthorizations = includeinheritedauthorizations
1086
+ end
1087
+
1088
+ def deserialize(params)
1089
+ @ApplicationId = params['ApplicationId']
1090
+ @UserId = params['UserId']
1091
+ @UserName = params['UserName']
1092
+ @IncludeInheritedAuthorizations = params['IncludeInheritedAuthorizations']
1093
+ end
1094
+ end
1095
+
1096
+ # DescribeUserResourcesAuthorization返回参数结构体
1097
+ class DescribeUserResourcesAuthorizationResponse < TencentCloud::Common::AbstractModel
1098
+ # @param ApplicationId: 应用的唯一ID。
1099
+ # @type ApplicationId: String
1100
+ # @param ApplicationAccounts: 应用账户。
1101
+ # 注意:此字段可能返回 null,表示取不到有效值。
1102
+ # @type ApplicationAccounts: Array
1103
+ # @param UserId: 授权用户的唯一ID。
1104
+ # 注意:此字段可能返回 null,表示取不到有效值。
1105
+ # @type UserId: String
1106
+ # @param UserName: 授权的用户名。
1107
+ # 注意:此字段可能返回 null,表示取不到有效值。
1108
+ # @type UserName: String
1109
+ # @param AuthorizationUserResourceList: 返回的资源列表。
1110
+ # 注意:此字段可能返回 null,表示取不到有效值。
1111
+ # @type AuthorizationUserResourceList: Array
1112
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1113
+ # @type RequestId: String
1114
+
1115
+ attr_accessor :ApplicationId, :ApplicationAccounts, :UserId, :UserName, :AuthorizationUserResourceList, :RequestId
1116
+
1117
+ def initialize(applicationid=nil, applicationaccounts=nil, userid=nil, username=nil, authorizationuserresourcelist=nil, requestid=nil)
1118
+ @ApplicationId = applicationid
1119
+ @ApplicationAccounts = applicationaccounts
1120
+ @UserId = userid
1121
+ @UserName = username
1122
+ @AuthorizationUserResourceList = authorizationuserresourcelist
1123
+ @RequestId = requestid
1124
+ end
1125
+
1126
+ def deserialize(params)
1127
+ @ApplicationId = params['ApplicationId']
1128
+ @ApplicationAccounts = params['ApplicationAccounts']
1129
+ @UserId = params['UserId']
1130
+ @UserName = params['UserName']
1131
+ unless params['AuthorizationUserResourceList'].nil?
1132
+ @AuthorizationUserResourceList = []
1133
+ params['AuthorizationUserResourceList'].each do |i|
1134
+ authorizationuserresouceinfo_tmp = AuthorizationUserResouceInfo.new
1135
+ authorizationuserresouceinfo_tmp.deserialize(i)
1136
+ @AuthorizationUserResourceList << authorizationuserresouceinfo_tmp
1137
+ end
1138
+ end
1139
+ @RequestId = params['RequestId']
1140
+ end
1141
+ end
1142
+
1143
+ # 应用信息列表。
1144
+ class InheritedForm < TencentCloud::Common::AbstractModel
1145
+ # @param UserGroupIds: 用户所在的用户组ID列表。
1146
+ # 注意:此字段可能返回 null,表示取不到有效值。
1147
+ # @type UserGroupIds: Array
1148
+ # @param OrgNodeIds: 用户所在的机构节点ID列表。
1149
+ # 注意:此字段可能返回 null,表示取不到有效值。
1150
+ # @type OrgNodeIds: Array
1151
+
1152
+ attr_accessor :UserGroupIds, :OrgNodeIds
1153
+
1154
+ def initialize(usergroupids=nil, orgnodeids=nil)
1155
+ @UserGroupIds = usergroupids
1156
+ @OrgNodeIds = orgnodeids
1157
+ end
1158
+
1159
+ def deserialize(params)
1160
+ @UserGroupIds = params['UserGroupIds']
1161
+ @OrgNodeIds = params['OrgNodeIds']
1162
+ end
1163
+ end
1164
+
1165
+ # ListApplicationAuthorizations请求参数结构体
1166
+ class ListApplicationAuthorizationsRequest < TencentCloud::Common::AbstractModel
1167
+ # @param EntityType: 查询类型,包含用户(User)、用户组(UserGroup)、组织机构(OrgNode)。
1168
+ # @type EntityType: String
1169
+ # @param SearchCondition: 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号("")表示全匹配、以星号(* ) 结尾表示字段部分匹配。如果该字段为空,则默认查全量表。
1170
+ # @type SearchCondition: :class:`Tencentcloud::Eiam.v20210420.models.AuthorizationInfoSearchCriteria`
1171
+ # @param Sort: 排序条件集合。可排序的属性支持:上次修改时间(lastModifiedDate)。如果该字段为空,则默认按照应用名称正向排序。
1172
+ # @type Sort: :class:`Tencentcloud::Eiam.v20210420.models.SortCondition`
1173
+ # @param Offset: 分页偏移量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
1174
+ # @type Offset: Integer
1175
+ # @param Limit: 分页读取数量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
1176
+ # @type Limit: Integer
1177
+
1178
+ attr_accessor :EntityType, :SearchCondition, :Sort, :Offset, :Limit
1179
+
1180
+ def initialize(entitytype=nil, searchcondition=nil, sort=nil, offset=nil, limit=nil)
1181
+ @EntityType = entitytype
1182
+ @SearchCondition = searchcondition
1183
+ @Sort = sort
1184
+ @Offset = offset
1185
+ @Limit = limit
1186
+ end
1187
+
1188
+ def deserialize(params)
1189
+ @EntityType = params['EntityType']
1190
+ unless params['SearchCondition'].nil?
1191
+ @SearchCondition = AuthorizationInfoSearchCriteria.new
1192
+ @SearchCondition.deserialize(params['SearchCondition'])
1193
+ end
1194
+ unless params['Sort'].nil?
1195
+ @Sort = SortCondition.new
1196
+ @Sort.deserialize(params['Sort'])
1197
+ end
1198
+ @Offset = params['Offset']
1199
+ @Limit = params['Limit']
1200
+ end
1201
+ end
1202
+
1203
+ # ListApplicationAuthorizations返回参数结构体
1204
+ class ListApplicationAuthorizationsResponse < TencentCloud::Common::AbstractModel
1205
+ # @param AuthorizationInfoList: 返回的应用授权信息列表。
1206
+ # 注意:此字段可能返回 null,表示取不到有效值。
1207
+ # @type AuthorizationInfoList: Array
1208
+ # @param TotalCount: 返回的应用信息总数。
1209
+ # 注意:此字段可能返回 null,表示取不到有效值。
1210
+ # @type TotalCount: Integer
1211
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1212
+ # @type RequestId: String
1213
+
1214
+ attr_accessor :AuthorizationInfoList, :TotalCount, :RequestId
1215
+
1216
+ def initialize(authorizationinfolist=nil, totalcount=nil, requestid=nil)
1217
+ @AuthorizationInfoList = authorizationinfolist
1218
+ @TotalCount = totalcount
1219
+ @RequestId = requestid
1220
+ end
1221
+
1222
+ def deserialize(params)
1223
+ unless params['AuthorizationInfoList'].nil?
1224
+ @AuthorizationInfoList = []
1225
+ params['AuthorizationInfoList'].each do |i|
1226
+ authorizationinfo_tmp = AuthorizationInfo.new
1227
+ authorizationinfo_tmp.deserialize(i)
1228
+ @AuthorizationInfoList << authorizationinfo_tmp
1229
+ end
1230
+ end
1231
+ @TotalCount = params['TotalCount']
1232
+ @RequestId = params['RequestId']
1233
+ end
1234
+ end
1235
+
1236
+ # ListApplications请求参数结构体
1237
+ class ListApplicationsRequest < TencentCloud::Common::AbstractModel
1238
+ # @param SearchCondition: 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号("")表示全匹配、以星号(* ) 结尾表示字段部分匹配。如果该字段为空,则默认查全量表。
1239
+ # @type SearchCondition: :class:`Tencentcloud::Eiam.v20210420.models.ApplicationInfoSearchCriteria`
1240
+ # @param Sort: 排序条件集合。可排序的属性支持:应用名字(displayName)、创建时间(createdDate)、上次修改时间(lastModifiedDate)。如果该字段为空,则默认按照应用名字正向排序。
1241
+ # @type Sort: :class:`Tencentcloud::Eiam.v20210420.models.SortCondition`
1242
+ # @param Offset: 分页偏移量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
1243
+ # @type Offset: Integer
1244
+ # @param Limit: 分页读取数量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
1245
+ # @type Limit: Integer
1246
+
1247
+ attr_accessor :SearchCondition, :Sort, :Offset, :Limit
1248
+
1249
+ def initialize(searchcondition=nil, sort=nil, offset=nil, limit=nil)
1250
+ @SearchCondition = searchcondition
1251
+ @Sort = sort
1252
+ @Offset = offset
1253
+ @Limit = limit
1254
+ end
1255
+
1256
+ def deserialize(params)
1257
+ unless params['SearchCondition'].nil?
1258
+ @SearchCondition = ApplicationInfoSearchCriteria.new
1259
+ @SearchCondition.deserialize(params['SearchCondition'])
1260
+ end
1261
+ unless params['Sort'].nil?
1262
+ @Sort = SortCondition.new
1263
+ @Sort.deserialize(params['Sort'])
1264
+ end
1265
+ @Offset = params['Offset']
1266
+ @Limit = params['Limit']
1267
+ end
1268
+ end
1269
+
1270
+ # ListApplications返回参数结构体
1271
+ class ListApplicationsResponse < TencentCloud::Common::AbstractModel
1272
+ # @param TotalCount: 返回的应用信息总数。
1273
+ # 注意:此字段可能返回 null,表示取不到有效值。
1274
+ # @type TotalCount: Integer
1275
+ # @param ApplicationInfoList: 返回的应用信息列表。
1276
+ # 注意:此字段可能返回 null,表示取不到有效值。
1277
+ # @type ApplicationInfoList: Array
1278
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1279
+ # @type RequestId: String
1280
+
1281
+ attr_accessor :TotalCount, :ApplicationInfoList, :RequestId
1282
+
1283
+ def initialize(totalcount=nil, applicationinfolist=nil, requestid=nil)
1284
+ @TotalCount = totalcount
1285
+ @ApplicationInfoList = applicationinfolist
1286
+ @RequestId = requestid
1287
+ end
1288
+
1289
+ def deserialize(params)
1290
+ @TotalCount = params['TotalCount']
1291
+ unless params['ApplicationInfoList'].nil?
1292
+ @ApplicationInfoList = []
1293
+ params['ApplicationInfoList'].each do |i|
1294
+ applicationinformation_tmp = ApplicationInformation.new
1295
+ applicationinformation_tmp.deserialize(i)
1296
+ @ApplicationInfoList << applicationinformation_tmp
1297
+ end
1298
+ end
1299
+ @RequestId = params['RequestId']
1300
+ end
1301
+ end
1302
+
1303
+ # ListAuthorizedApplicationsToOrgNode请求参数结构体
1304
+ class ListAuthorizedApplicationsToOrgNodeRequest < TencentCloud::Common::AbstractModel
1305
+ # @param OrgNodeId: 机构节点 Id 。
1306
+ # @type OrgNodeId: String
1307
+
1308
+ attr_accessor :OrgNodeId
1309
+
1310
+ def initialize(orgnodeid=nil)
1311
+ @OrgNodeId = orgnodeid
1312
+ end
1313
+
1314
+ def deserialize(params)
1315
+ @OrgNodeId = params['OrgNodeId']
1316
+ end
1317
+ end
1318
+
1319
+ # ListAuthorizedApplicationsToOrgNode返回参数结构体
1320
+ class ListAuthorizedApplicationsToOrgNodeResponse < TencentCloud::Common::AbstractModel
1321
+ # @param ApplicationIds: 机构节点拥有访问权限的应用 id 列表。
1322
+ # 注意:此字段可能返回 null,表示取不到有效值。
1323
+ # @type ApplicationIds: Array
1324
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1325
+ # @type RequestId: String
1326
+
1327
+ attr_accessor :ApplicationIds, :RequestId
1328
+
1329
+ def initialize(applicationids=nil, requestid=nil)
1330
+ @ApplicationIds = applicationids
1331
+ @RequestId = requestid
1332
+ end
1333
+
1334
+ def deserialize(params)
1335
+ @ApplicationIds = params['ApplicationIds']
1336
+ @RequestId = params['RequestId']
1337
+ end
1338
+ end
1339
+
1340
+ # ListAuthorizedApplicationsToUserGroup请求参数结构体
1341
+ class ListAuthorizedApplicationsToUserGroupRequest < TencentCloud::Common::AbstractModel
1342
+ # @param UserGroupId: 用户组 Id 。
1343
+ # @type UserGroupId: String
1344
+
1345
+ attr_accessor :UserGroupId
1346
+
1347
+ def initialize(usergroupid=nil)
1348
+ @UserGroupId = usergroupid
1349
+ end
1350
+
1351
+ def deserialize(params)
1352
+ @UserGroupId = params['UserGroupId']
1353
+ end
1354
+ end
1355
+
1356
+ # ListAuthorizedApplicationsToUserGroup返回参数结构体
1357
+ class ListAuthorizedApplicationsToUserGroupResponse < TencentCloud::Common::AbstractModel
1358
+ # @param ApplicationIds: 用户组拥有访问权限的应用 id 列表。
1359
+ # 注意:此字段可能返回 null,表示取不到有效值。
1360
+ # @type ApplicationIds: Array
1361
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1362
+ # @type RequestId: String
1363
+
1364
+ attr_accessor :ApplicationIds, :RequestId
1365
+
1366
+ def initialize(applicationids=nil, requestid=nil)
1367
+ @ApplicationIds = applicationids
1368
+ @RequestId = requestid
1369
+ end
1370
+
1371
+ def deserialize(params)
1372
+ @ApplicationIds = params['ApplicationIds']
1373
+ @RequestId = params['RequestId']
1374
+ end
1375
+ end
1376
+
1377
+ # ListAuthorizedApplicationsToUser请求参数结构体
1378
+ class ListAuthorizedApplicationsToUserRequest < TencentCloud::Common::AbstractModel
1379
+ # @param UserId: 用户 ID。
1380
+ # @type UserId: String
1381
+ # @param IncludeInheritedAuthorizations: 查询范围是否包括用户关联的用户组、组织机构的应用访问权限。默认为不查询 。传false表示不查询该范围,传true表示应用查询该范围。
1382
+ # @type IncludeInheritedAuthorizations: Boolean
1383
+
1384
+ attr_accessor :UserId, :IncludeInheritedAuthorizations
1385
+
1386
+ def initialize(userid=nil, includeinheritedauthorizations=nil)
1387
+ @UserId = userid
1388
+ @IncludeInheritedAuthorizations = includeinheritedauthorizations
1389
+ end
1390
+
1391
+ def deserialize(params)
1392
+ @UserId = params['UserId']
1393
+ @IncludeInheritedAuthorizations = params['IncludeInheritedAuthorizations']
1394
+ end
1395
+ end
1396
+
1397
+ # ListAuthorizedApplicationsToUser返回参数结构体
1398
+ class ListAuthorizedApplicationsToUserResponse < TencentCloud::Common::AbstractModel
1399
+ # @param ApplicationAuthorizationInfo: 用户拥有访问权限的应用信息列表。
1400
+ # 注意:此字段可能返回 null,表示取不到有效值。
1401
+ # @type ApplicationAuthorizationInfo: Array
1402
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1403
+ # @type RequestId: String
1404
+
1405
+ attr_accessor :ApplicationAuthorizationInfo, :RequestId
1406
+
1407
+ def initialize(applicationauthorizationinfo=nil, requestid=nil)
1408
+ @ApplicationAuthorizationInfo = applicationauthorizationinfo
1409
+ @RequestId = requestid
1410
+ end
1411
+
1412
+ def deserialize(params)
1413
+ unless params['ApplicationAuthorizationInfo'].nil?
1414
+ @ApplicationAuthorizationInfo = []
1415
+ params['ApplicationAuthorizationInfo'].each do |i|
1416
+ applicationauthorizationinfo_tmp = ApplicationAuthorizationInfo.new
1417
+ applicationauthorizationinfo_tmp.deserialize(i)
1418
+ @ApplicationAuthorizationInfo << applicationauthorizationinfo_tmp
1419
+ end
1420
+ end
1421
+ @RequestId = params['RequestId']
1422
+ end
1423
+ end
1424
+
1425
+ # ListUserGroupsOfUser请求参数结构体
1426
+ class ListUserGroupsOfUserRequest < TencentCloud::Common::AbstractModel
1427
+ # @param UserId: 用户ID,是用户的全局唯一标识。
1428
+ # @type UserId: String
1429
+
1430
+ attr_accessor :UserId
1431
+
1432
+ def initialize(userid=nil)
1433
+ @UserId = userid
1434
+ end
1435
+
1436
+ def deserialize(params)
1437
+ @UserId = params['UserId']
1438
+ end
1439
+ end
1440
+
1441
+ # ListUserGroupsOfUser返回参数结构体
1442
+ class ListUserGroupsOfUserResponse < TencentCloud::Common::AbstractModel
1443
+ # @param UserGroupIds: 用户所属的用户组ID列表。
1444
+ # 注意:此字段可能返回 null,表示取不到有效值。
1445
+ # @type UserGroupIds: Array
1446
+ # @param UserId: 用户ID,是用户的全局唯一标识。
1447
+ # 注意:此字段可能返回 null,表示取不到有效值。
1448
+ # @type UserId: String
1449
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1450
+ # @type RequestId: String
1451
+
1452
+ attr_accessor :UserGroupIds, :UserId, :RequestId
1453
+
1454
+ def initialize(usergroupids=nil, userid=nil, requestid=nil)
1455
+ @UserGroupIds = usergroupids
1456
+ @UserId = userid
1457
+ @RequestId = requestid
1458
+ end
1459
+
1460
+ def deserialize(params)
1461
+ @UserGroupIds = params['UserGroupIds']
1462
+ @UserId = params['UserId']
1463
+ @RequestId = params['RequestId']
1464
+ end
1465
+ end
1466
+
1467
+ # ListUserGroups请求参数结构体
1468
+ class ListUserGroupsRequest < TencentCloud::Common::AbstractModel
1469
+ # @param SearchCondition: 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号("")表示全匹配、以星号(* ) 结尾表示字段部分匹配。如果该字段为空,则默认查全量表。
1470
+ # @type SearchCondition: :class:`Tencentcloud::Eiam.v20210420.models.UserGroupInfoSearchCriteria`
1471
+ # @param Sort: 排序条件集合。可排序的属性支持:用户组名称(DisplayName)、用户组ID(UserGroupId)、上次更新时间(LastModifiedDate)。如果该字段为空,则默认按照用户组名称正向排序。
1472
+ # @type Sort: :class:`Tencentcloud::Eiam.v20210420.models.SortCondition`
1473
+ # @param Offset: 分页偏移量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
1474
+ # @type Offset: Integer
1475
+ # @param Limit: 分页读取数量。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询。
1476
+ # @type Limit: Integer
1477
+
1478
+ attr_accessor :SearchCondition, :Sort, :Offset, :Limit
1479
+
1480
+ def initialize(searchcondition=nil, sort=nil, offset=nil, limit=nil)
1481
+ @SearchCondition = searchcondition
1482
+ @Sort = sort
1483
+ @Offset = offset
1484
+ @Limit = limit
1485
+ end
1486
+
1487
+ def deserialize(params)
1488
+ unless params['SearchCondition'].nil?
1489
+ @SearchCondition = UserGroupInfoSearchCriteria.new
1490
+ @SearchCondition.deserialize(params['SearchCondition'])
1491
+ end
1492
+ unless params['Sort'].nil?
1493
+ @Sort = SortCondition.new
1494
+ @Sort.deserialize(params['Sort'])
1495
+ end
1496
+ @Offset = params['Offset']
1497
+ @Limit = params['Limit']
1498
+ end
1499
+ end
1500
+
1501
+ # ListUserGroups返回参数结构体
1502
+ class ListUserGroupsResponse < TencentCloud::Common::AbstractModel
1503
+ # @param UserGroupList: 返回的用户组列表。
1504
+ # 注意:此字段可能返回 null,表示取不到有效值。
1505
+ # @type UserGroupList: Array
1506
+ # @param TotalCount: 返回的用户组信息总数。
1507
+ # 注意:此字段可能返回 null,表示取不到有效值。
1508
+ # @type TotalCount: Integer
1509
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1510
+ # @type RequestId: String
1511
+
1512
+ attr_accessor :UserGroupList, :TotalCount, :RequestId
1513
+
1514
+ def initialize(usergrouplist=nil, totalcount=nil, requestid=nil)
1515
+ @UserGroupList = usergrouplist
1516
+ @TotalCount = totalcount
1517
+ @RequestId = requestid
1518
+ end
1519
+
1520
+ def deserialize(params)
1521
+ unless params['UserGroupList'].nil?
1522
+ @UserGroupList = []
1523
+ params['UserGroupList'].each do |i|
1524
+ usergroupinformation_tmp = UserGroupInformation.new
1525
+ usergroupinformation_tmp.deserialize(i)
1526
+ @UserGroupList << usergroupinformation_tmp
1527
+ end
1528
+ end
1529
+ @TotalCount = params['TotalCount']
1530
+ @RequestId = params['RequestId']
1531
+ end
1532
+ end
1533
+
1534
+ # ListUsersInOrgNode请求参数结构体
1535
+ class ListUsersInOrgNodeRequest < TencentCloud::Common::AbstractModel
1536
+ # @param OrgNodeId: 机构节点ID,是机构节点全局唯一标识,长度限制:64个字符。如果为空默认读取机构根节点下用户信息。
1537
+ # @type OrgNodeId: String
1538
+ # @param IncludeOrgNodeChildInfo: 是否读取其子节点信息。当其为空或false时,默认仅读取当前机构节点信息。当其为true时,读取本机构节点以及其第一层子节点信息。
1539
+ # @type IncludeOrgNodeChildInfo: Boolean
1540
+
1541
+ attr_accessor :OrgNodeId, :IncludeOrgNodeChildInfo
1542
+
1543
+ def initialize(orgnodeid=nil, includeorgnodechildinfo=nil)
1544
+ @OrgNodeId = orgnodeid
1545
+ @IncludeOrgNodeChildInfo = includeorgnodechildinfo
1546
+ end
1547
+
1548
+ def deserialize(params)
1549
+ @OrgNodeId = params['OrgNodeId']
1550
+ @IncludeOrgNodeChildInfo = params['IncludeOrgNodeChildInfo']
1551
+ end
1552
+ end
1553
+
1554
+ # ListUsersInOrgNode返回参数结构体
1555
+ class ListUsersInOrgNodeResponse < TencentCloud::Common::AbstractModel
1556
+ # @param OrgNodeChildUserInfo: 机构子节点下的用户信息列表。
1557
+ # 注意:此字段可能返回 null,表示取不到有效值。
1558
+ # @type OrgNodeChildUserInfo: Array
1559
+ # @param OrgNodeId: 机构ID,是机构节点全局唯一标识,长度限制:64个字符。
1560
+ # 注意:此字段可能返回 null,表示取不到有效值。
1561
+ # @type OrgNodeId: String
1562
+ # @param UserInfo: 用户信息列表。
1563
+ # 注意:此字段可能返回 null,表示取不到有效值。
1564
+ # @type UserInfo: Array
1565
+ # @param TotalUserNum: 当前机构节点下的用户总数。
1566
+ # 注意:此字段可能返回 null,表示取不到有效值。
1567
+ # @type TotalUserNum: Integer
1568
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1569
+ # @type RequestId: String
1570
+
1571
+ attr_accessor :OrgNodeChildUserInfo, :OrgNodeId, :UserInfo, :TotalUserNum, :RequestId
1572
+
1573
+ def initialize(orgnodechilduserinfo=nil, orgnodeid=nil, userinfo=nil, totalusernum=nil, requestid=nil)
1574
+ @OrgNodeChildUserInfo = orgnodechilduserinfo
1575
+ @OrgNodeId = orgnodeid
1576
+ @UserInfo = userinfo
1577
+ @TotalUserNum = totalusernum
1578
+ @RequestId = requestid
1579
+ end
1580
+
1581
+ def deserialize(params)
1582
+ unless params['OrgNodeChildUserInfo'].nil?
1583
+ @OrgNodeChildUserInfo = []
1584
+ params['OrgNodeChildUserInfo'].each do |i|
1585
+ orgnodechilduserinfo_tmp = OrgNodeChildUserInfo.new
1586
+ orgnodechilduserinfo_tmp.deserialize(i)
1587
+ @OrgNodeChildUserInfo << orgnodechilduserinfo_tmp
1588
+ end
1589
+ end
1590
+ @OrgNodeId = params['OrgNodeId']
1591
+ unless params['UserInfo'].nil?
1592
+ @UserInfo = []
1593
+ params['UserInfo'].each do |i|
1594
+ userinfo_tmp = UserInfo.new
1595
+ userinfo_tmp.deserialize(i)
1596
+ @UserInfo << userinfo_tmp
1597
+ end
1598
+ end
1599
+ @TotalUserNum = params['TotalUserNum']
1600
+ @RequestId = params['RequestId']
1601
+ end
1602
+ end
1603
+
1604
+ # ListUsersInUserGroup请求参数结构体
1605
+ class ListUsersInUserGroupRequest < TencentCloud::Common::AbstractModel
1606
+ # @param UserGroupId: 用户组ID,是用户组的全局唯一标识。
1607
+ # @type UserGroupId: String
1608
+
1609
+ attr_accessor :UserGroupId
1610
+
1611
+ def initialize(usergroupid=nil)
1612
+ @UserGroupId = usergroupid
1613
+ end
1614
+
1615
+ def deserialize(params)
1616
+ @UserGroupId = params['UserGroupId']
1617
+ end
1618
+ end
1619
+
1620
+ # ListUsersInUserGroup返回参数结构体
1621
+ class ListUsersInUserGroupResponse < TencentCloud::Common::AbstractModel
1622
+ # @param UserGroupId: 用户组ID,是用户组的全局唯一标识。
1623
+ # 注意:此字段可能返回 null,表示取不到有效值。
1624
+ # @type UserGroupId: String
1625
+ # @param UserInfo: 返回的用户信息列表。
1626
+ # 注意:此字段可能返回 null,表示取不到有效值。
1627
+ # @type UserInfo: Array
1628
+ # @param TotalNum: 返回的用户信息总数。
1629
+ # 注意:此字段可能返回 null,表示取不到有效值。
1630
+ # @type TotalNum: Integer
1631
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1632
+ # @type RequestId: String
1633
+
1634
+ attr_accessor :UserGroupId, :UserInfo, :TotalNum, :RequestId
1635
+
1636
+ def initialize(usergroupid=nil, userinfo=nil, totalnum=nil, requestid=nil)
1637
+ @UserGroupId = usergroupid
1638
+ @UserInfo = userinfo
1639
+ @TotalNum = totalnum
1640
+ @RequestId = requestid
1641
+ end
1642
+
1643
+ def deserialize(params)
1644
+ @UserGroupId = params['UserGroupId']
1645
+ unless params['UserInfo'].nil?
1646
+ @UserInfo = []
1647
+ params['UserInfo'].each do |i|
1648
+ userinfo_tmp = UserInfo.new
1649
+ userinfo_tmp.deserialize(i)
1650
+ @UserInfo << userinfo_tmp
1651
+ end
1652
+ end
1653
+ @TotalNum = params['TotalNum']
1654
+ @RequestId = params['RequestId']
1655
+ end
1656
+ end
1657
+
1658
+ # ListUsers请求参数结构体
1659
+ class ListUsersRequest < TencentCloud::Common::AbstractModel
1660
+ # @param SearchCondition: 用户属性搜索条件,可查询条件包括:用户名、手机号码,邮箱、用户锁定状态、用户冻结状态、创建时间、上次修改时间,支持多种属性组合作为查询条件。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号(“”)表示全匹配、以星号(*)结尾表示字段部分匹配、中括号以逗号分隔([Min,Max])表示闭区间查询、大括号以逗号分隔({Min,Max})表示开区间查询,中括号与大括号可以配合使用(例如:{Min,Max]表示最小值开区间,最大值闭区间查询)。范围匹配支持使用星号(例如{20,*]表示查询范围为大于20的所有数据)。范围查询同时支持时间段查询,支持的属性包括创建时间 (CreationTime)、上次修改时间(LastUpdateTime),查询的时间格式遵循 ISO 8601 标准,例如:2021-01-13T09:44:07.182+0000。
1661
+ # @type SearchCondition: :class:`Tencentcloud::Eiam.v20210420.models.UserSearchCriteria`
1662
+ # @param ExpectedFields: 指定期望返回的用户属性,默认返回所有用户内置属性。内置用户属性包括:用户UUID(UserId)、用户昵称(DisplayName)、用户名字(UserName)、手机号(Phone)、邮箱(Email)、用户状态(Status)、用户组(SubjectGroups)机构路径(OrgPath)、备注(Description)、创建时间 (CreationTime)、上次修改时间(LastUpdateTime)、上次登录时间(LastLoginTime)。
1663
+ # @type ExpectedFields: Array
1664
+ # @param Sort: 排序条件集合。可排序的属性支持:用户名字(UserName)、用户昵称(DisplayName)、手机号(Phone)、邮箱(Email)、用户状态(Status)、创建时间 (CreationTime)、上次修改时间(LastUpdateTime)、上次登录时间(LastLoginTime)。如果不指定,则默认按照用户昵称(DisplayName)正向排序。
1665
+ # @type Sort: :class:`Tencentcloud::Eiam.v20210420.models.SortCondition`
1666
+ # @param Offset: 分页偏移量,默认为0。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多1000个用户。
1667
+ # @type Offset: Integer
1668
+ # @param Limit: 分页读取数量,默认为50,最大值为100。 Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多1000个用户。
1669
+ # @type Limit: Integer
1670
+ # @param IncludeTotal: 是否查看搜索结果的总数,默认该选项为false不查看。
1671
+ # @type IncludeTotal: Boolean
1672
+
1673
+ attr_accessor :SearchCondition, :ExpectedFields, :Sort, :Offset, :Limit, :IncludeTotal
1674
+
1675
+ def initialize(searchcondition=nil, expectedfields=nil, sort=nil, offset=nil, limit=nil, includetotal=nil)
1676
+ @SearchCondition = searchcondition
1677
+ @ExpectedFields = expectedfields
1678
+ @Sort = sort
1679
+ @Offset = offset
1680
+ @Limit = limit
1681
+ @IncludeTotal = includetotal
1682
+ end
1683
+
1684
+ def deserialize(params)
1685
+ unless params['SearchCondition'].nil?
1686
+ @SearchCondition = UserSearchCriteria.new
1687
+ @SearchCondition.deserialize(params['SearchCondition'])
1688
+ end
1689
+ @ExpectedFields = params['ExpectedFields']
1690
+ unless params['Sort'].nil?
1691
+ @Sort = SortCondition.new
1692
+ @Sort.deserialize(params['Sort'])
1693
+ end
1694
+ @Offset = params['Offset']
1695
+ @Limit = params['Limit']
1696
+ @IncludeTotal = params['IncludeTotal']
1697
+ end
1698
+ end
1699
+
1700
+ # ListUsers返回参数结构体
1701
+ class ListUsersResponse < TencentCloud::Common::AbstractModel
1702
+ # @param UserList: 查询返回的相关用户列表。
1703
+ # 注意:此字段可能返回 null,表示取不到有效值。
1704
+ # @type UserList: Array
1705
+ # @param TotalCount: 返回查询用户的总数量,仅当入参IncludeTotal等于true时返回。
1706
+ # 注意:此字段可能返回 null,表示取不到有效值。
1707
+ # @type TotalCount: Integer
1708
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1709
+ # @type RequestId: String
1710
+
1711
+ attr_accessor :UserList, :TotalCount, :RequestId
1712
+
1713
+ def initialize(userlist=nil, totalcount=nil, requestid=nil)
1714
+ @UserList = userlist
1715
+ @TotalCount = totalcount
1716
+ @RequestId = requestid
1717
+ end
1718
+
1719
+ def deserialize(params)
1720
+ unless params['UserList'].nil?
1721
+ @UserList = []
1722
+ params['UserList'].each do |i|
1723
+ userinformation_tmp = UserInformation.new
1724
+ userinformation_tmp.deserialize(i)
1725
+ @UserList << userinformation_tmp
1726
+ end
1727
+ end
1728
+ @TotalCount = params['TotalCount']
1729
+ @RequestId = params['RequestId']
1730
+ end
1731
+ end
1732
+
1733
+ # ModifyApplication请求参数结构体
1734
+ class ModifyApplicationRequest < TencentCloud::Common::AbstractModel
1735
+ # @param ApplicationId: 应用ID,是应用的全局唯一标识。
1736
+ # @type ApplicationId: String
1737
+ # @param SecureLevel: 安全级别。
1738
+ # @type SecureLevel: String
1739
+ # @param DisplayName: 应用展示名称,长度限制:32个字符。 默认与应用名字相同。
1740
+ # @type DisplayName: String
1741
+ # @param AppStatus: 应用状态,true表示启用,false表示禁用。
1742
+ # @type AppStatus: Boolean
1743
+ # @param IconUrl: 应用图标图片访问地址。
1744
+ # @type IconUrl: String
1745
+ # @param Description: 描述。长度不超过128。
1746
+ # @type Description: String
1747
+
1748
+ attr_accessor :ApplicationId, :SecureLevel, :DisplayName, :AppStatus, :IconUrl, :Description
1749
+
1750
+ def initialize(applicationid=nil, securelevel=nil, displayname=nil, appstatus=nil, iconurl=nil, description=nil)
1751
+ @ApplicationId = applicationid
1752
+ @SecureLevel = securelevel
1753
+ @DisplayName = displayname
1754
+ @AppStatus = appstatus
1755
+ @IconUrl = iconurl
1756
+ @Description = description
1757
+ end
1758
+
1759
+ def deserialize(params)
1760
+ @ApplicationId = params['ApplicationId']
1761
+ @SecureLevel = params['SecureLevel']
1762
+ @DisplayName = params['DisplayName']
1763
+ @AppStatus = params['AppStatus']
1764
+ @IconUrl = params['IconUrl']
1765
+ @Description = params['Description']
1766
+ end
1767
+ end
1768
+
1769
+ # ModifyApplication返回参数结构体
1770
+ class ModifyApplicationResponse < TencentCloud::Common::AbstractModel
1771
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1772
+ # @type RequestId: String
1773
+
1774
+ attr_accessor :RequestId
1775
+
1776
+ def initialize(requestid=nil)
1777
+ @RequestId = requestid
1778
+ end
1779
+
1780
+ def deserialize(params)
1781
+ @RequestId = params['RequestId']
1782
+ end
1783
+ end
1784
+
1785
+ # ModifyUserInfo请求参数结构体
1786
+ class ModifyUserInfoRequest < TencentCloud::Common::AbstractModel
1787
+ # @param UserName: 用户名,长度限制:32个字符。 Username 和 UserId 需选择一个作为搜索条件;如两个条件同时使用则默认使用Username作为搜索条件。
1788
+ # @type UserName: String
1789
+ # @param DisplayName: 昵称,长度限制:64个字符。 默认与用户名相同。
1790
+ # @type DisplayName: String
1791
+ # @param Description: 用户备注,长度限制:512个字符。
1792
+ # @type Description: String
1793
+ # @param UserGroupIds: 用户所属用户组ID列表。
1794
+ # @type UserGroupIds: Array
1795
+ # @param UserId: 用户 id。 Username 和 UserId 需选择一个作为搜索条件;如两个条件同时使用则默认使用Username作为搜索条件。
1796
+ # @type UserId: String
1797
+ # @param Phone: 用户手机号。
1798
+ # @type Phone: String
1799
+ # @param ExpirationTime: 用户过期时间,遵循 ISO 8601 标准。
1800
+ # @type ExpirationTime: String
1801
+ # @param Password: 用户密码, 需要符合密码策略的配置。
1802
+ # @type Password: String
1803
+ # @param Email: 用户邮箱。
1804
+ # @type Email: String
1805
+ # @param PwdNeedReset: 密码是否需要重置,为空默认为false不需要重置密码。
1806
+ # @type PwdNeedReset: Boolean
1807
+
1808
+ attr_accessor :UserName, :DisplayName, :Description, :UserGroupIds, :UserId, :Phone, :ExpirationTime, :Password, :Email, :PwdNeedReset
1809
+
1810
+ def initialize(username=nil, displayname=nil, description=nil, usergroupids=nil, userid=nil, phone=nil, expirationtime=nil, password=nil, email=nil, pwdneedreset=nil)
1811
+ @UserName = username
1812
+ @DisplayName = displayname
1813
+ @Description = description
1814
+ @UserGroupIds = usergroupids
1815
+ @UserId = userid
1816
+ @Phone = phone
1817
+ @ExpirationTime = expirationtime
1818
+ @Password = password
1819
+ @Email = email
1820
+ @PwdNeedReset = pwdneedreset
1821
+ end
1822
+
1823
+ def deserialize(params)
1824
+ @UserName = params['UserName']
1825
+ @DisplayName = params['DisplayName']
1826
+ @Description = params['Description']
1827
+ @UserGroupIds = params['UserGroupIds']
1828
+ @UserId = params['UserId']
1829
+ @Phone = params['Phone']
1830
+ @ExpirationTime = params['ExpirationTime']
1831
+ @Password = params['Password']
1832
+ @Email = params['Email']
1833
+ @PwdNeedReset = params['PwdNeedReset']
1834
+ end
1835
+ end
1836
+
1837
+ # ModifyUserInfo返回参数结构体
1838
+ class ModifyUserInfoResponse < TencentCloud::Common::AbstractModel
1839
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1840
+ # @type RequestId: String
1841
+
1842
+ attr_accessor :RequestId
1843
+
1844
+ def initialize(requestid=nil)
1845
+ @RequestId = requestid
1846
+ end
1847
+
1848
+ def deserialize(params)
1849
+ @RequestId = params['RequestId']
1850
+ end
1851
+ end
1852
+
1853
+ # 当前机构节点下的子节点列表
1854
+ class OrgNodeChildInfo < TencentCloud::Common::AbstractModel
1855
+ # @param DisplayName: 机构节点展示名称,长度限制:64个字符。 默认与机构名相同。
1856
+ # 注意:此字段可能返回 null,表示取不到有效值。
1857
+ # @type DisplayName: String
1858
+ # @param LastModifiedDate: 机构节点最后修改时间,符合 ISO8601 标准。
1859
+ # 注意:此字段可能返回 null,表示取不到有效值。
1860
+ # @type LastModifiedDate: String
1861
+ # @param CustomizedOrgNodeId: 用户自定义可选填的机构节点对外ID。
1862
+ # 注意:此字段可能返回 null,表示取不到有效值。
1863
+ # @type CustomizedOrgNodeId: String
1864
+ # @param ParentOrgNodeId: 当前机构节点的父节点ID。
1865
+ # 注意:此字段可能返回 null,表示取不到有效值。
1866
+ # @type ParentOrgNodeId: String
1867
+ # @param OrgNodeId: 机构节点ID,是机构节点的全局唯一标识。
1868
+ # 注意:此字段可能返回 null,表示取不到有效值。
1869
+ # @type OrgNodeId: String
1870
+ # @param DataSource: 数据来源。
1871
+ # 注意:此字段可能返回 null,表示取不到有效值。
1872
+ # @type DataSource: String
1873
+ # @param CreatedDate: 机构节点创建时间,符合 ISO8601 标准。
1874
+ # 注意:此字段可能返回 null,表示取不到有效值。
1875
+ # @type CreatedDate: String
1876
+
1877
+ attr_accessor :DisplayName, :LastModifiedDate, :CustomizedOrgNodeId, :ParentOrgNodeId, :OrgNodeId, :DataSource, :CreatedDate
1878
+
1879
+ def initialize(displayname=nil, lastmodifieddate=nil, customizedorgnodeid=nil, parentorgnodeid=nil, orgnodeid=nil, datasource=nil, createddate=nil)
1880
+ @DisplayName = displayname
1881
+ @LastModifiedDate = lastmodifieddate
1882
+ @CustomizedOrgNodeId = customizedorgnodeid
1883
+ @ParentOrgNodeId = parentorgnodeid
1884
+ @OrgNodeId = orgnodeid
1885
+ @DataSource = datasource
1886
+ @CreatedDate = createddate
1887
+ end
1888
+
1889
+ def deserialize(params)
1890
+ @DisplayName = params['DisplayName']
1891
+ @LastModifiedDate = params['LastModifiedDate']
1892
+ @CustomizedOrgNodeId = params['CustomizedOrgNodeId']
1893
+ @ParentOrgNodeId = params['ParentOrgNodeId']
1894
+ @OrgNodeId = params['OrgNodeId']
1895
+ @DataSource = params['DataSource']
1896
+ @CreatedDate = params['CreatedDate']
1897
+ end
1898
+ end
1899
+
1900
+ # 机构子节点下的用户信息列表
1901
+ class OrgNodeChildUserInfo < TencentCloud::Common::AbstractModel
1902
+ # @param OrgNodeId: 机构ID,是机构节点全局唯一标识,长度限制:64个字符。
1903
+ # 注意:此字段可能返回 null,表示取不到有效值。
1904
+ # @type OrgNodeId: String
1905
+ # @param UserInfo: 用户信息列表。
1906
+ # 注意:此字段可能返回 null,表示取不到有效值。
1907
+ # @type UserInfo: Array
1908
+ # @param TotalUserNum: 当前机构节点下的用户总数。
1909
+ # 注意:此字段可能返回 null,表示取不到有效值。
1910
+ # @type TotalUserNum: Integer
1911
+
1912
+ attr_accessor :OrgNodeId, :UserInfo, :TotalUserNum
1913
+
1914
+ def initialize(orgnodeid=nil, userinfo=nil, totalusernum=nil)
1915
+ @OrgNodeId = orgnodeid
1916
+ @UserInfo = userinfo
1917
+ @TotalUserNum = totalusernum
1918
+ end
1919
+
1920
+ def deserialize(params)
1921
+ @OrgNodeId = params['OrgNodeId']
1922
+ unless params['UserInfo'].nil?
1923
+ @UserInfo = []
1924
+ params['UserInfo'].each do |i|
1925
+ userinfo_tmp = UserInfo.new
1926
+ userinfo_tmp.deserialize(i)
1927
+ @UserInfo << userinfo_tmp
1928
+ end
1929
+ end
1930
+ @TotalUserNum = params['TotalUserNum']
1931
+ end
1932
+ end
1933
+
1934
+ # RemoveUserFromUserGroup请求参数结构体
1935
+ class RemoveUserFromUserGroupRequest < TencentCloud::Common::AbstractModel
1936
+ # @param UserIds: 要加入用户组的用户ID列表。
1937
+ # @type UserIds: Array
1938
+ # @param UserGroupId: 用户组ID,是用户组的全局唯一标识。
1939
+ # @type UserGroupId: String
1940
+
1941
+ attr_accessor :UserIds, :UserGroupId
1942
+
1943
+ def initialize(userids=nil, usergroupid=nil)
1944
+ @UserIds = userids
1945
+ @UserGroupId = usergroupid
1946
+ end
1947
+
1948
+ def deserialize(params)
1949
+ @UserIds = params['UserIds']
1950
+ @UserGroupId = params['UserGroupId']
1951
+ end
1952
+ end
1953
+
1954
+ # RemoveUserFromUserGroup返回参数结构体
1955
+ class RemoveUserFromUserGroupResponse < TencentCloud::Common::AbstractModel
1956
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1957
+ # @type RequestId: String
1958
+
1959
+ attr_accessor :RequestId
1960
+
1961
+ def initialize(requestid=nil)
1962
+ @RequestId = requestid
1963
+ end
1964
+
1965
+ def deserialize(params)
1966
+ @RequestId = params['RequestId']
1967
+ end
1968
+ end
1969
+
1970
+ # 排序条件。
1971
+ class SortCondition < TencentCloud::Common::AbstractModel
1972
+ # @param SortKey: 排序属性。
1973
+ # @type SortKey: String
1974
+ # @param SortOrder: 排序顺序,ASC为正向排序,DESC为反向排序。
1975
+ # @type SortOrder: String
1976
+
1977
+ attr_accessor :SortKey, :SortOrder
1978
+
1979
+ def initialize(sortkey=nil, sortorder=nil)
1980
+ @SortKey = sortkey
1981
+ @SortOrder = sortorder
1982
+ end
1983
+
1984
+ def deserialize(params)
1985
+ @SortKey = params['SortKey']
1986
+ @SortOrder = params['SortOrder']
1987
+ end
1988
+ end
1989
+
1990
+ # UpdateOrgNode请求参数结构体
1991
+ class UpdateOrgNodeRequest < TencentCloud::Common::AbstractModel
1992
+ # @param OrgNodeId: 机构节点ID,是机构节点的全局唯一标识。
1993
+ # @type OrgNodeId: String
1994
+ # @param DisplayName: 机构节点名称,长度限制:64个字符。
1995
+ # @type DisplayName: String
1996
+ # @param Description: 机构节点描述。
1997
+ # @type Description: String
1998
+ # @param CustomizedOrgNodeId: 用户自定义可选填的机构节点对外ID,如果非空则校验此ID的唯一性。
1999
+ # @type CustomizedOrgNodeId: String
2000
+
2001
+ attr_accessor :OrgNodeId, :DisplayName, :Description, :CustomizedOrgNodeId
2002
+
2003
+ def initialize(orgnodeid=nil, displayname=nil, description=nil, customizedorgnodeid=nil)
2004
+ @OrgNodeId = orgnodeid
2005
+ @DisplayName = displayname
2006
+ @Description = description
2007
+ @CustomizedOrgNodeId = customizedorgnodeid
2008
+ end
2009
+
2010
+ def deserialize(params)
2011
+ @OrgNodeId = params['OrgNodeId']
2012
+ @DisplayName = params['DisplayName']
2013
+ @Description = params['Description']
2014
+ @CustomizedOrgNodeId = params['CustomizedOrgNodeId']
2015
+ end
2016
+ end
2017
+
2018
+ # UpdateOrgNode返回参数结构体
2019
+ class UpdateOrgNodeResponse < TencentCloud::Common::AbstractModel
2020
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2021
+ # @type RequestId: String
2022
+
2023
+ attr_accessor :RequestId
2024
+
2025
+ def initialize(requestid=nil)
2026
+ @RequestId = requestid
2027
+ end
2028
+
2029
+ def deserialize(params)
2030
+ @RequestId = params['RequestId']
2031
+ end
2032
+ end
2033
+
2034
+ # 用户组属性搜索条件。
2035
+ class UserGroupInfoSearchCriteria < TencentCloud::Common::AbstractModel
2036
+ # @param Keyword: 名称匹配搜索,匹配范围包括:用户组名称、用户组ID。
2037
+ # @type Keyword: String
2038
+
2039
+ attr_accessor :Keyword
2040
+
2041
+ def initialize(keyword=nil)
2042
+ @Keyword = keyword
2043
+ end
2044
+
2045
+ def deserialize(params)
2046
+ @Keyword = params['Keyword']
2047
+ end
2048
+ end
2049
+
2050
+ # 返回的用户组列表。
2051
+ class UserGroupInformation < TencentCloud::Common::AbstractModel
2052
+ # @param UserGroupId: 用户组ID。
2053
+ # @type UserGroupId: String
2054
+ # @param UserGroupName: 用户组名称。
2055
+ # @type UserGroupName: String
2056
+ # @param LastModifiedDate: 上次更新时间,符合 ISO8601 标准。
2057
+ # 注意:此字段可能返回 null,表示取不到有效值。
2058
+ # @type LastModifiedDate: String
2059
+
2060
+ attr_accessor :UserGroupId, :UserGroupName, :LastModifiedDate
2061
+
2062
+ def initialize(usergroupid=nil, usergroupname=nil, lastmodifieddate=nil)
2063
+ @UserGroupId = usergroupid
2064
+ @UserGroupName = usergroupname
2065
+ @LastModifiedDate = lastmodifieddate
2066
+ end
2067
+
2068
+ def deserialize(params)
2069
+ @UserGroupId = params['UserGroupId']
2070
+ @UserGroupName = params['UserGroupName']
2071
+ @LastModifiedDate = params['LastModifiedDate']
2072
+ end
2073
+ end
2074
+
2075
+ # 用户信息列表。
2076
+ class UserInfo < TencentCloud::Common::AbstractModel
2077
+ # @param UserId: 用户ID,是用户全局唯一标识,长度限制:64个字符。
2078
+ # 注意:此字段可能返回 null,表示取不到有效值。
2079
+ # @type UserId: String
2080
+ # @param DisplayName: 昵称,长度限制:64个字符。 默认与用户名相同。
2081
+ # 注意:此字段可能返回 null,表示取不到有效值。
2082
+ # @type DisplayName: String
2083
+
2084
+ attr_accessor :UserId, :DisplayName
2085
+
2086
+ def initialize(userid=nil, displayname=nil)
2087
+ @UserId = userid
2088
+ @DisplayName = displayname
2089
+ end
2090
+
2091
+ def deserialize(params)
2092
+ @UserId = params['UserId']
2093
+ @DisplayName = params['DisplayName']
2094
+ end
2095
+ end
2096
+
2097
+ # 用户信息列表。
2098
+ class UserInformation < TencentCloud::Common::AbstractModel
2099
+ # @param UserName: 用户名,长度限制:32个字符。
2100
+ # 注意:此字段可能返回 null,表示取不到有效值。
2101
+ # @type UserName: String
2102
+ # @param Status: 用户状态。
2103
+ # 注意:此字段可能返回 null,表示取不到有效值。
2104
+ # @type Status: String
2105
+ # @param DisplayName: 昵称,长度限制:64个字符。 默认与用户名相同。
2106
+ # 注意:此字段可能返回 null,表示取不到有效值。
2107
+ # @type DisplayName: String
2108
+ # @param Description: 用户备注,长度限制:512个字符。
2109
+ # 注意:此字段可能返回 null,表示取不到有效值。
2110
+ # @type Description: String
2111
+ # @param LastUpdateTime: 用户上次更新时间,遵循 ISO 8601 标准。
2112
+ # 注意:此字段可能返回 null,表示取不到有效值。
2113
+ # @type LastUpdateTime: String
2114
+ # @param CreationTime: 用户创建时间,遵循 ISO 8601 标准。
2115
+ # 注意:此字段可能返回 null,表示取不到有效值。
2116
+ # @type CreationTime: String
2117
+ # @param OrgPath: 用户所属组织机构路径。
2118
+ # 注意:此字段可能返回 null,表示取不到有效值。
2119
+ # @type OrgPath: String
2120
+ # @param Phone: 带国家号的用户手机号,例如+86-00000000000。
2121
+ # 注意:此字段可能返回 null,表示取不到有效值。
2122
+ # @type Phone: String
2123
+ # @param SubjectGroups: 用户所属用户组ID列表。
2124
+ # 注意:此字段可能返回 null,表示取不到有效值。
2125
+ # @type SubjectGroups: Array
2126
+ # @param Email: 用户邮箱。
2127
+ # 注意:此字段可能返回 null,表示取不到有效值。
2128
+ # @type Email: String
2129
+ # @param LastLoginTime: 用户上次登录时间,遵循 ISO 8601 标准。
2130
+ # 注意:此字段可能返回 null,表示取不到有效值。
2131
+ # @type LastLoginTime: String
2132
+ # @param UserId: 用户ID,是用户全局唯一标识,长度限制:64个字符。
2133
+ # 注意:此字段可能返回 null,表示取不到有效值。
2134
+ # @type UserId: String
2135
+
2136
+ attr_accessor :UserName, :Status, :DisplayName, :Description, :LastUpdateTime, :CreationTime, :OrgPath, :Phone, :SubjectGroups, :Email, :LastLoginTime, :UserId
2137
+
2138
+ def initialize(username=nil, status=nil, displayname=nil, description=nil, lastupdatetime=nil, creationtime=nil, orgpath=nil, phone=nil, subjectgroups=nil, email=nil, lastlogintime=nil, userid=nil)
2139
+ @UserName = username
2140
+ @Status = status
2141
+ @DisplayName = displayname
2142
+ @Description = description
2143
+ @LastUpdateTime = lastupdatetime
2144
+ @CreationTime = creationtime
2145
+ @OrgPath = orgpath
2146
+ @Phone = phone
2147
+ @SubjectGroups = subjectgroups
2148
+ @Email = email
2149
+ @LastLoginTime = lastlogintime
2150
+ @UserId = userid
2151
+ end
2152
+
2153
+ def deserialize(params)
2154
+ @UserName = params['UserName']
2155
+ @Status = params['Status']
2156
+ @DisplayName = params['DisplayName']
2157
+ @Description = params['Description']
2158
+ @LastUpdateTime = params['LastUpdateTime']
2159
+ @CreationTime = params['CreationTime']
2160
+ @OrgPath = params['OrgPath']
2161
+ @Phone = params['Phone']
2162
+ @SubjectGroups = params['SubjectGroups']
2163
+ @Email = params['Email']
2164
+ @LastLoginTime = params['LastLoginTime']
2165
+ @UserId = params['UserId']
2166
+ end
2167
+ end
2168
+
2169
+ # 用户属性搜索条件。
2170
+ class UserSearchCriteria < TencentCloud::Common::AbstractModel
2171
+ # @param UserName: 用户名,长度限制:64个字符。
2172
+ # @type UserName: String
2173
+ # @param Phone: 用户手机号。
2174
+ # @type Phone: String
2175
+ # @param Email: 用户邮箱。
2176
+ # @type Email: String
2177
+ # @param Status: 用户状态,取值 NORMAL (正常)、FREEZE (已冻结)、LOCKED (已锁定)或 NOT_ENABLED (未启用)。
2178
+ # @type Status: String
2179
+ # @param CreationTime: 用户创建时间,遵循 ISO 8601 标准。
2180
+ # @type CreationTime: String
2181
+ # @param LastUpdateTime: 用户上次更新时间区间。
2182
+ # @type LastUpdateTime: String
2183
+ # @param Keyword: 名称匹配搜索,匹配范围包括:用户名称、用户ID。
2184
+ # @type Keyword: String
2185
+
2186
+ attr_accessor :UserName, :Phone, :Email, :Status, :CreationTime, :LastUpdateTime, :Keyword
2187
+
2188
+ def initialize(username=nil, phone=nil, email=nil, status=nil, creationtime=nil, lastupdatetime=nil, keyword=nil)
2189
+ @UserName = username
2190
+ @Phone = phone
2191
+ @Email = email
2192
+ @Status = status
2193
+ @CreationTime = creationtime
2194
+ @LastUpdateTime = lastupdatetime
2195
+ @Keyword = keyword
2196
+ end
2197
+
2198
+ def deserialize(params)
2199
+ @UserName = params['UserName']
2200
+ @Phone = params['Phone']
2201
+ @Email = params['Email']
2202
+ @Status = params['Status']
2203
+ @CreationTime = params['CreationTime']
2204
+ @LastUpdateTime = params['LastUpdateTime']
2205
+ @Keyword = params['Keyword']
2206
+ end
2207
+ end
2208
+
2209
+ end
2210
+ end
2211
+ end
2212
+