tencentcloud-sdk-eiam 1.0.223 → 1.0.224
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210420/client.rb +312 -0
- data/lib/v20210420/models.rb +1007 -44
- metadata +2 -2
data/lib/v20210420/models.rb
CHANGED
@@ -17,6 +17,86 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Eiam
|
19
19
|
module V20210420
|
20
|
+
# 查询账号组信息列表。
|
21
|
+
class AccountGroupInfo < TencentCloud::Common::AbstractModel
|
22
|
+
# @param AccountGroupId: 账号组ID。
|
23
|
+
# @type AccountGroupId: String
|
24
|
+
# @param GroupName: 账号组名。
|
25
|
+
# @type GroupName: String
|
26
|
+
# @param Description: 备注。
|
27
|
+
# @type Description: String
|
28
|
+
# @param CreatedDate: 创建时间。
|
29
|
+
# @type CreatedDate: String
|
30
|
+
|
31
|
+
attr_accessor :AccountGroupId, :GroupName, :Description, :CreatedDate
|
32
|
+
|
33
|
+
def initialize(accountgroupid=nil, groupname=nil, description=nil, createddate=nil)
|
34
|
+
@AccountGroupId = accountgroupid
|
35
|
+
@GroupName = groupname
|
36
|
+
@Description = description
|
37
|
+
@CreatedDate = createddate
|
38
|
+
end
|
39
|
+
|
40
|
+
def deserialize(params)
|
41
|
+
@AccountGroupId = params['AccountGroupId']
|
42
|
+
@GroupName = params['GroupName']
|
43
|
+
@Description = params['Description']
|
44
|
+
@CreatedDate = params['CreatedDate']
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# 账号组查询参数
|
49
|
+
class AccountGroupSearchCriteria < TencentCloud::Common::AbstractModel
|
50
|
+
# @param Keyword: 关键字
|
51
|
+
# @type Keyword: String
|
52
|
+
|
53
|
+
attr_accessor :Keyword
|
54
|
+
|
55
|
+
def initialize(keyword=nil)
|
56
|
+
@Keyword = keyword
|
57
|
+
end
|
58
|
+
|
59
|
+
def deserialize(params)
|
60
|
+
@Keyword = params['Keyword']
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# AddAccountToAccountGroup请求参数结构体
|
65
|
+
class AddAccountToAccountGroupRequest < TencentCloud::Common::AbstractModel
|
66
|
+
# @param AccountGroupId: 账号组ID
|
67
|
+
# @type AccountGroupId: String
|
68
|
+
# @param AccountIds: 加入账号组的账号ID列表。
|
69
|
+
# @type AccountIds: Array
|
70
|
+
|
71
|
+
attr_accessor :AccountGroupId, :AccountIds
|
72
|
+
|
73
|
+
def initialize(accountgroupid=nil, accountids=nil)
|
74
|
+
@AccountGroupId = accountgroupid
|
75
|
+
@AccountIds = accountids
|
76
|
+
end
|
77
|
+
|
78
|
+
def deserialize(params)
|
79
|
+
@AccountGroupId = params['AccountGroupId']
|
80
|
+
@AccountIds = params['AccountIds']
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# AddAccountToAccountGroup返回参数结构体
|
85
|
+
class AddAccountToAccountGroupResponse < TencentCloud::Common::AbstractModel
|
86
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
87
|
+
# @type RequestId: String
|
88
|
+
|
89
|
+
attr_accessor :RequestId
|
90
|
+
|
91
|
+
def initialize(requestid=nil)
|
92
|
+
@RequestId = requestid
|
93
|
+
end
|
94
|
+
|
95
|
+
def deserialize(params)
|
96
|
+
@RequestId = params['RequestId']
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
20
100
|
# AddUserToUserGroup请求参数结构体
|
21
101
|
class AddUserToUserGroupRequest < TencentCloud::Common::AbstractModel
|
22
102
|
# @param UserIds: 加入用户组的用户ID列表。
|
@@ -53,6 +133,65 @@ module TencentCloud
|
|
53
133
|
end
|
54
134
|
end
|
55
135
|
|
136
|
+
# 查询账号信息列表。
|
137
|
+
class AppAccountInfo < TencentCloud::Common::AbstractModel
|
138
|
+
# @param AccountId: 账号ID。
|
139
|
+
# @type AccountId: String
|
140
|
+
# @param AccountName: 账号名。
|
141
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
142
|
+
# @type AccountName: String
|
143
|
+
# @param UserList: 用户信息列表。
|
144
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
145
|
+
# @type UserList: Array
|
146
|
+
# @param Description: 描述。
|
147
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
148
|
+
# @type Description: String
|
149
|
+
# @param CreatedDate: 创建时间。
|
150
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
151
|
+
# @type CreatedDate: String
|
152
|
+
|
153
|
+
attr_accessor :AccountId, :AccountName, :UserList, :Description, :CreatedDate
|
154
|
+
|
155
|
+
def initialize(accountid=nil, accountname=nil, userlist=nil, description=nil, createddate=nil)
|
156
|
+
@AccountId = accountid
|
157
|
+
@AccountName = accountname
|
158
|
+
@UserList = userlist
|
159
|
+
@Description = description
|
160
|
+
@CreatedDate = createddate
|
161
|
+
end
|
162
|
+
|
163
|
+
def deserialize(params)
|
164
|
+
@AccountId = params['AccountId']
|
165
|
+
@AccountName = params['AccountName']
|
166
|
+
unless params['UserList'].nil?
|
167
|
+
@UserList = []
|
168
|
+
params['UserList'].each do |i|
|
169
|
+
linkuserinfo_tmp = LinkUserInfo.new
|
170
|
+
linkuserinfo_tmp.deserialize(i)
|
171
|
+
@UserList << linkuserinfo_tmp
|
172
|
+
end
|
173
|
+
end
|
174
|
+
@Description = params['Description']
|
175
|
+
@CreatedDate = params['CreatedDate']
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
# 账号查询参数
|
180
|
+
class AppAccountSearchCriteria < TencentCloud::Common::AbstractModel
|
181
|
+
# @param Keyword: 关键字
|
182
|
+
# @type Keyword: String
|
183
|
+
|
184
|
+
attr_accessor :Keyword
|
185
|
+
|
186
|
+
def initialize(keyword=nil)
|
187
|
+
@Keyword = keyword
|
188
|
+
end
|
189
|
+
|
190
|
+
def deserialize(params)
|
191
|
+
@Keyword = params['Keyword']
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
56
195
|
# 应用信息列表。
|
57
196
|
class ApplicationAuthorizationInfo < TencentCloud::Common::AbstractModel
|
58
197
|
# @param ApplicationAccounts: 用户在被授权应用下对应的账号列表
|
@@ -64,13 +203,21 @@ module TencentCloud
|
|
64
203
|
# @param InheritedForm: 展示用户所在的用户组、机构节点拥有该应用的访问权限的ID信息列表。
|
65
204
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
66
205
|
# @type InheritedForm: :class:`Tencentcloud::Eiam.v20210420.models.InheritedForm`
|
206
|
+
# @param ApplicationName: 应用名称。
|
207
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
208
|
+
# @type ApplicationName: String
|
209
|
+
# @param CreatedDate: 应用创建时间。
|
210
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
211
|
+
# @type CreatedDate: String
|
67
212
|
|
68
|
-
attr_accessor :ApplicationAccounts, :ApplicationId, :InheritedForm
|
213
|
+
attr_accessor :ApplicationAccounts, :ApplicationId, :InheritedForm, :ApplicationName, :CreatedDate
|
69
214
|
|
70
|
-
def initialize(applicationaccounts=nil, applicationid=nil, inheritedform=nil)
|
215
|
+
def initialize(applicationaccounts=nil, applicationid=nil, inheritedform=nil, applicationname=nil, createddate=nil)
|
71
216
|
@ApplicationAccounts = applicationaccounts
|
72
217
|
@ApplicationId = applicationid
|
73
218
|
@InheritedForm = inheritedform
|
219
|
+
@ApplicationName = applicationname
|
220
|
+
@CreatedDate = createddate
|
74
221
|
end
|
75
222
|
|
76
223
|
def deserialize(params)
|
@@ -80,6 +227,8 @@ module TencentCloud
|
|
80
227
|
@InheritedForm = InheritedForm.new
|
81
228
|
@InheritedForm.deserialize(params['InheritedForm'])
|
82
229
|
end
|
230
|
+
@ApplicationName = params['ApplicationName']
|
231
|
+
@CreatedDate = params['CreatedDate']
|
83
232
|
end
|
84
233
|
end
|
85
234
|
|
@@ -283,6 +432,100 @@ module TencentCloud
|
|
283
432
|
end
|
284
433
|
end
|
285
434
|
|
435
|
+
# CreateAccountGroup请求参数结构体
|
436
|
+
class CreateAccountGroupRequest < TencentCloud::Common::AbstractModel
|
437
|
+
# @param ApplicationId: 应用ID。
|
438
|
+
# @type ApplicationId: String
|
439
|
+
# @param GroupName: 账号组名。
|
440
|
+
# @type GroupName: String
|
441
|
+
# @param Description: 描述。
|
442
|
+
# @type Description: String
|
443
|
+
|
444
|
+
attr_accessor :ApplicationId, :GroupName, :Description
|
445
|
+
|
446
|
+
def initialize(applicationid=nil, groupname=nil, description=nil)
|
447
|
+
@ApplicationId = applicationid
|
448
|
+
@GroupName = groupname
|
449
|
+
@Description = description
|
450
|
+
end
|
451
|
+
|
452
|
+
def deserialize(params)
|
453
|
+
@ApplicationId = params['ApplicationId']
|
454
|
+
@GroupName = params['GroupName']
|
455
|
+
@Description = params['Description']
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
459
|
+
# CreateAccountGroup返回参数结构体
|
460
|
+
class CreateAccountGroupResponse < TencentCloud::Common::AbstractModel
|
461
|
+
# @param AccountGroupId: 账号组ID。
|
462
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
463
|
+
# @type AccountGroupId: String
|
464
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
465
|
+
# @type RequestId: String
|
466
|
+
|
467
|
+
attr_accessor :AccountGroupId, :RequestId
|
468
|
+
|
469
|
+
def initialize(accountgroupid=nil, requestid=nil)
|
470
|
+
@AccountGroupId = accountgroupid
|
471
|
+
@RequestId = requestid
|
472
|
+
end
|
473
|
+
|
474
|
+
def deserialize(params)
|
475
|
+
@AccountGroupId = params['AccountGroupId']
|
476
|
+
@RequestId = params['RequestId']
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
480
|
+
# CreateAppAccount请求参数结构体
|
481
|
+
class CreateAppAccountRequest < TencentCloud::Common::AbstractModel
|
482
|
+
# @param ApplicationId: 应用ID
|
483
|
+
# @type ApplicationId: String
|
484
|
+
# @param AccountName: 账号名称
|
485
|
+
# @type AccountName: String
|
486
|
+
# @param Password: 账号密码
|
487
|
+
# @type Password: String
|
488
|
+
# @param Description: 描述
|
489
|
+
# @type Description: String
|
490
|
+
|
491
|
+
attr_accessor :ApplicationId, :AccountName, :Password, :Description
|
492
|
+
|
493
|
+
def initialize(applicationid=nil, accountname=nil, password=nil, description=nil)
|
494
|
+
@ApplicationId = applicationid
|
495
|
+
@AccountName = accountname
|
496
|
+
@Password = password
|
497
|
+
@Description = description
|
498
|
+
end
|
499
|
+
|
500
|
+
def deserialize(params)
|
501
|
+
@ApplicationId = params['ApplicationId']
|
502
|
+
@AccountName = params['AccountName']
|
503
|
+
@Password = params['Password']
|
504
|
+
@Description = params['Description']
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
508
|
+
# CreateAppAccount返回参数结构体
|
509
|
+
class CreateAppAccountResponse < TencentCloud::Common::AbstractModel
|
510
|
+
# @param AccountId: 账号ID
|
511
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
512
|
+
# @type AccountId: String
|
513
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
514
|
+
# @type RequestId: String
|
515
|
+
|
516
|
+
attr_accessor :AccountId, :RequestId
|
517
|
+
|
518
|
+
def initialize(accountid=nil, requestid=nil)
|
519
|
+
@AccountId = accountid
|
520
|
+
@RequestId = requestid
|
521
|
+
end
|
522
|
+
|
523
|
+
def deserialize(params)
|
524
|
+
@AccountId = params['AccountId']
|
525
|
+
@RequestId = params['RequestId']
|
526
|
+
end
|
527
|
+
end
|
528
|
+
|
286
529
|
# CreateOrgNode请求参数结构体
|
287
530
|
class CreateOrgNodeRequest < TencentCloud::Common::AbstractModel
|
288
531
|
# @param DisplayName: 机构节点名称,长度限制:64个字符。
|
@@ -446,6 +689,70 @@ module TencentCloud
|
|
446
689
|
end
|
447
690
|
end
|
448
691
|
|
692
|
+
# DeleteAccountGroup请求参数结构体
|
693
|
+
class DeleteAccountGroupRequest < TencentCloud::Common::AbstractModel
|
694
|
+
# @param AccountGroupIdList: 账号组ID数组。
|
695
|
+
# @type AccountGroupIdList: Array
|
696
|
+
|
697
|
+
attr_accessor :AccountGroupIdList
|
698
|
+
|
699
|
+
def initialize(accountgroupidlist=nil)
|
700
|
+
@AccountGroupIdList = accountgroupidlist
|
701
|
+
end
|
702
|
+
|
703
|
+
def deserialize(params)
|
704
|
+
@AccountGroupIdList = params['AccountGroupIdList']
|
705
|
+
end
|
706
|
+
end
|
707
|
+
|
708
|
+
# DeleteAccountGroup返回参数结构体
|
709
|
+
class DeleteAccountGroupResponse < TencentCloud::Common::AbstractModel
|
710
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
711
|
+
# @type RequestId: String
|
712
|
+
|
713
|
+
attr_accessor :RequestId
|
714
|
+
|
715
|
+
def initialize(requestid=nil)
|
716
|
+
@RequestId = requestid
|
717
|
+
end
|
718
|
+
|
719
|
+
def deserialize(params)
|
720
|
+
@RequestId = params['RequestId']
|
721
|
+
end
|
722
|
+
end
|
723
|
+
|
724
|
+
# DeleteAppAccount请求参数结构体
|
725
|
+
class DeleteAppAccountRequest < TencentCloud::Common::AbstractModel
|
726
|
+
# @param AccountIdList: 账号ID数组。
|
727
|
+
# @type AccountIdList: Array
|
728
|
+
|
729
|
+
attr_accessor :AccountIdList
|
730
|
+
|
731
|
+
def initialize(accountidlist=nil)
|
732
|
+
@AccountIdList = accountidlist
|
733
|
+
end
|
734
|
+
|
735
|
+
def deserialize(params)
|
736
|
+
@AccountIdList = params['AccountIdList']
|
737
|
+
end
|
738
|
+
end
|
739
|
+
|
740
|
+
# DeleteAppAccount返回参数结构体
|
741
|
+
class DeleteAppAccountResponse < TencentCloud::Common::AbstractModel
|
742
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
743
|
+
# @type RequestId: String
|
744
|
+
|
745
|
+
attr_accessor :RequestId
|
746
|
+
|
747
|
+
def initialize(requestid=nil)
|
748
|
+
@RequestId = requestid
|
749
|
+
end
|
750
|
+
|
751
|
+
def deserialize(params)
|
752
|
+
@RequestId = params['RequestId']
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
449
756
|
# DeleteOrgNode请求参数结构体
|
450
757
|
class DeleteOrgNodeRequest < TencentCloud::Common::AbstractModel
|
451
758
|
# @param OrgNodeId: 机构节点ID,是机构节点的全局唯一标识。
|
@@ -546,6 +853,185 @@ module TencentCloud
|
|
546
853
|
end
|
547
854
|
end
|
548
855
|
|
856
|
+
# DeleteUsers请求参数结构体
|
857
|
+
class DeleteUsersRequest < TencentCloud::Common::AbstractModel
|
858
|
+
# @param DeleteIdList: 被删除用户的ID列表。DeleteIdList 和 DeleteNameList 需至少一个不为空;都不为空时优先使用 DeleteNameList。
|
859
|
+
# @type DeleteIdList: Array
|
860
|
+
# @param DeleteNameList: 被删除用户的名称列表。DeleteIdList 和 DeleteNameList 需至少一个不为空;都不为空时优先使用 DeleteNameList。
|
861
|
+
# @type DeleteNameList: Array
|
862
|
+
|
863
|
+
attr_accessor :DeleteIdList, :DeleteNameList
|
864
|
+
|
865
|
+
def initialize(deleteidlist=nil, deletenamelist=nil)
|
866
|
+
@DeleteIdList = deleteidlist
|
867
|
+
@DeleteNameList = deletenamelist
|
868
|
+
end
|
869
|
+
|
870
|
+
def deserialize(params)
|
871
|
+
@DeleteIdList = params['DeleteIdList']
|
872
|
+
@DeleteNameList = params['DeleteNameList']
|
873
|
+
end
|
874
|
+
end
|
875
|
+
|
876
|
+
# DeleteUsers返回参数结构体
|
877
|
+
class DeleteUsersResponse < TencentCloud::Common::AbstractModel
|
878
|
+
# @param FailedItems: 未被成功删除的用户信息。当业务参数为DeleteIdList时,本字段将返回未成功删除的用户ID列表。当业务参数为DeleteNameList时,本字段将返回未成功删除的用户名称列表。
|
879
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
880
|
+
# @type FailedItems: Array
|
881
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
882
|
+
# @type RequestId: String
|
883
|
+
|
884
|
+
attr_accessor :FailedItems, :RequestId
|
885
|
+
|
886
|
+
def initialize(faileditems=nil, requestid=nil)
|
887
|
+
@FailedItems = faileditems
|
888
|
+
@RequestId = requestid
|
889
|
+
end
|
890
|
+
|
891
|
+
def deserialize(params)
|
892
|
+
@FailedItems = params['FailedItems']
|
893
|
+
@RequestId = params['RequestId']
|
894
|
+
end
|
895
|
+
end
|
896
|
+
|
897
|
+
# DescribeAccountGroup请求参数结构体
|
898
|
+
class DescribeAccountGroupRequest < TencentCloud::Common::AbstractModel
|
899
|
+
# @param ApplicationId: 应用ID。
|
900
|
+
# @type ApplicationId: String
|
901
|
+
# @param SearchCondition: 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号(“”)表示全匹配、以星号(*)结尾表示字段部分匹配。如果该字段为空,则默认查全量表。
|
902
|
+
# @type SearchCondition: :class:`Tencentcloud::Eiam.v20210420.models.AccountGroupSearchCriteria`
|
903
|
+
# @param Offset: 偏移量,默认为 0。
|
904
|
+
# @type Offset: Integer
|
905
|
+
# @param Limit: 返回数量,默认为 20,最大值为 100。
|
906
|
+
# @type Limit: Integer
|
907
|
+
|
908
|
+
attr_accessor :ApplicationId, :SearchCondition, :Offset, :Limit
|
909
|
+
|
910
|
+
def initialize(applicationid=nil, searchcondition=nil, offset=nil, limit=nil)
|
911
|
+
@ApplicationId = applicationid
|
912
|
+
@SearchCondition = searchcondition
|
913
|
+
@Offset = offset
|
914
|
+
@Limit = limit
|
915
|
+
end
|
916
|
+
|
917
|
+
def deserialize(params)
|
918
|
+
@ApplicationId = params['ApplicationId']
|
919
|
+
unless params['SearchCondition'].nil?
|
920
|
+
@SearchCondition = AccountGroupSearchCriteria.new
|
921
|
+
@SearchCondition.deserialize(params['SearchCondition'])
|
922
|
+
end
|
923
|
+
@Offset = params['Offset']
|
924
|
+
@Limit = params['Limit']
|
925
|
+
end
|
926
|
+
end
|
927
|
+
|
928
|
+
# DescribeAccountGroup返回参数结构体
|
929
|
+
class DescribeAccountGroupResponse < TencentCloud::Common::AbstractModel
|
930
|
+
# @param TotalCount: 返回查询的总记录数。
|
931
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
932
|
+
# @type TotalCount: Integer
|
933
|
+
# @param ApplicationId: 应用ID。
|
934
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
935
|
+
# @type ApplicationId: String
|
936
|
+
# @param AccountGroupList: 返回符合条件的数据列表。
|
937
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
938
|
+
# @type AccountGroupList: Array
|
939
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
940
|
+
# @type RequestId: String
|
941
|
+
|
942
|
+
attr_accessor :TotalCount, :ApplicationId, :AccountGroupList, :RequestId
|
943
|
+
|
944
|
+
def initialize(totalcount=nil, applicationid=nil, accountgrouplist=nil, requestid=nil)
|
945
|
+
@TotalCount = totalcount
|
946
|
+
@ApplicationId = applicationid
|
947
|
+
@AccountGroupList = accountgrouplist
|
948
|
+
@RequestId = requestid
|
949
|
+
end
|
950
|
+
|
951
|
+
def deserialize(params)
|
952
|
+
@TotalCount = params['TotalCount']
|
953
|
+
@ApplicationId = params['ApplicationId']
|
954
|
+
unless params['AccountGroupList'].nil?
|
955
|
+
@AccountGroupList = []
|
956
|
+
params['AccountGroupList'].each do |i|
|
957
|
+
accountgroupinfo_tmp = AccountGroupInfo.new
|
958
|
+
accountgroupinfo_tmp.deserialize(i)
|
959
|
+
@AccountGroupList << accountgroupinfo_tmp
|
960
|
+
end
|
961
|
+
end
|
962
|
+
@RequestId = params['RequestId']
|
963
|
+
end
|
964
|
+
end
|
965
|
+
|
966
|
+
# DescribeAppAccount请求参数结构体
|
967
|
+
class DescribeAppAccountRequest < TencentCloud::Common::AbstractModel
|
968
|
+
# @param ApplicationId: 应用ID。
|
969
|
+
# @type ApplicationId: String
|
970
|
+
# @param SearchCondition: 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号(“”)表示全匹配、以星号(*)结尾表示字段部分匹配。如果该字段为空,则默认查全量表。
|
971
|
+
# @type SearchCondition: :class:`Tencentcloud::Eiam.v20210420.models.AppAccountSearchCriteria`
|
972
|
+
# @param Offset: 偏移量,默认为 0。
|
973
|
+
# @type Offset: Integer
|
974
|
+
# @param Limit: 返回数量,默认为 20,最大值为 100。
|
975
|
+
# @type Limit: Integer
|
976
|
+
|
977
|
+
attr_accessor :ApplicationId, :SearchCondition, :Offset, :Limit
|
978
|
+
|
979
|
+
def initialize(applicationid=nil, searchcondition=nil, offset=nil, limit=nil)
|
980
|
+
@ApplicationId = applicationid
|
981
|
+
@SearchCondition = searchcondition
|
982
|
+
@Offset = offset
|
983
|
+
@Limit = limit
|
984
|
+
end
|
985
|
+
|
986
|
+
def deserialize(params)
|
987
|
+
@ApplicationId = params['ApplicationId']
|
988
|
+
unless params['SearchCondition'].nil?
|
989
|
+
@SearchCondition = AppAccountSearchCriteria.new
|
990
|
+
@SearchCondition.deserialize(params['SearchCondition'])
|
991
|
+
end
|
992
|
+
@Offset = params['Offset']
|
993
|
+
@Limit = params['Limit']
|
994
|
+
end
|
995
|
+
end
|
996
|
+
|
997
|
+
# DescribeAppAccount返回参数结构体
|
998
|
+
class DescribeAppAccountResponse < TencentCloud::Common::AbstractModel
|
999
|
+
# @param TotalCount: 返回查询的总记录数。
|
1000
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1001
|
+
# @type TotalCount: Integer
|
1002
|
+
# @param ApplicationId: 应用ID。
|
1003
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1004
|
+
# @type ApplicationId: String
|
1005
|
+
# @param AppAccountList: 返回符合条件的数据列表。
|
1006
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1007
|
+
# @type AppAccountList: Array
|
1008
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1009
|
+
# @type RequestId: String
|
1010
|
+
|
1011
|
+
attr_accessor :TotalCount, :ApplicationId, :AppAccountList, :RequestId
|
1012
|
+
|
1013
|
+
def initialize(totalcount=nil, applicationid=nil, appaccountlist=nil, requestid=nil)
|
1014
|
+
@TotalCount = totalcount
|
1015
|
+
@ApplicationId = applicationid
|
1016
|
+
@AppAccountList = appaccountlist
|
1017
|
+
@RequestId = requestid
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
def deserialize(params)
|
1021
|
+
@TotalCount = params['TotalCount']
|
1022
|
+
@ApplicationId = params['ApplicationId']
|
1023
|
+
unless params['AppAccountList'].nil?
|
1024
|
+
@AppAccountList = []
|
1025
|
+
params['AppAccountList'].each do |i|
|
1026
|
+
appaccountinfo_tmp = AppAccountInfo.new
|
1027
|
+
appaccountinfo_tmp.deserialize(i)
|
1028
|
+
@AppAccountList << appaccountinfo_tmp
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
@RequestId = params['RequestId']
|
1032
|
+
end
|
1033
|
+
end
|
1034
|
+
|
549
1035
|
# DescribeApplication请求参数结构体
|
550
1036
|
class DescribeApplicationRequest < TencentCloud::Common::AbstractModel
|
551
1037
|
# @param ApplicationId: 应用id,是应用的全局唯一标识,与ClientId参数不能同时为空。
|
@@ -703,12 +1189,15 @@ module TencentCloud
|
|
703
1189
|
# @param OrgNodeChildInfo: 当前机构节点下的子节点列表。
|
704
1190
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
705
1191
|
# @type OrgNodeChildInfo: Array
|
1192
|
+
# @param Description: 机构节点描述。
|
1193
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1194
|
+
# @type Description: String
|
706
1195
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
707
1196
|
# @type RequestId: String
|
708
1197
|
|
709
|
-
attr_accessor :DisplayName, :LastModifiedDate, :CustomizedOrgNodeId, :ParentOrgNodeId, :OrgNodeId, :DataSource, :CreatedDate, :OrgNodeChildInfo, :RequestId
|
1198
|
+
attr_accessor :DisplayName, :LastModifiedDate, :CustomizedOrgNodeId, :ParentOrgNodeId, :OrgNodeId, :DataSource, :CreatedDate, :OrgNodeChildInfo, :Description, :RequestId
|
710
1199
|
|
711
|
-
def initialize(displayname=nil, lastmodifieddate=nil, customizedorgnodeid=nil, parentorgnodeid=nil, orgnodeid=nil, datasource=nil, createddate=nil, orgnodechildinfo=nil, requestid=nil)
|
1200
|
+
def initialize(displayname=nil, lastmodifieddate=nil, customizedorgnodeid=nil, parentorgnodeid=nil, orgnodeid=nil, datasource=nil, createddate=nil, orgnodechildinfo=nil, description=nil, requestid=nil)
|
712
1201
|
@DisplayName = displayname
|
713
1202
|
@LastModifiedDate = lastmodifieddate
|
714
1203
|
@CustomizedOrgNodeId = customizedorgnodeid
|
@@ -717,6 +1206,7 @@ module TencentCloud
|
|
717
1206
|
@DataSource = datasource
|
718
1207
|
@CreatedDate = createddate
|
719
1208
|
@OrgNodeChildInfo = orgnodechildinfo
|
1209
|
+
@Description = description
|
720
1210
|
@RequestId = requestid
|
721
1211
|
end
|
722
1212
|
|
@@ -736,6 +1226,7 @@ module TencentCloud
|
|
736
1226
|
@OrgNodeChildInfo << orgnodechildinfo_tmp
|
737
1227
|
end
|
738
1228
|
end
|
1229
|
+
@Description = params['Description']
|
739
1230
|
@RequestId = params['RequestId']
|
740
1231
|
end
|
741
1232
|
end
|
@@ -1027,12 +1518,15 @@ module TencentCloud
|
|
1027
1518
|
# @param ActivationTime: 用户激活时间,遵循 ISO 8601 标准。
|
1028
1519
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1029
1520
|
# @type ActivationTime: String
|
1521
|
+
# @param PwdNeedReset: 当前用户的密码是否需要重置,该字段为false表示不需要重置密码。
|
1522
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1523
|
+
# @type PwdNeedReset: Boolean
|
1030
1524
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1031
1525
|
# @type RequestId: String
|
1032
1526
|
|
1033
|
-
attr_accessor :UserName, :Status, :DisplayName, :Description, :UserGroupIds, :UserId, :Email, :Phone, :OrgNodeId, :DataSource, :ExpirationTime, :ActivationTime, :RequestId
|
1527
|
+
attr_accessor :UserName, :Status, :DisplayName, :Description, :UserGroupIds, :UserId, :Email, :Phone, :OrgNodeId, :DataSource, :ExpirationTime, :ActivationTime, :PwdNeedReset, :RequestId
|
1034
1528
|
|
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)
|
1529
|
+
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, pwdneedreset=nil, requestid=nil)
|
1036
1530
|
@UserName = username
|
1037
1531
|
@Status = status
|
1038
1532
|
@DisplayName = displayname
|
@@ -1045,6 +1539,7 @@ module TencentCloud
|
|
1045
1539
|
@DataSource = datasource
|
1046
1540
|
@ExpirationTime = expirationtime
|
1047
1541
|
@ActivationTime = activationtime
|
1542
|
+
@PwdNeedReset = pwdneedreset
|
1048
1543
|
@RequestId = requestid
|
1049
1544
|
end
|
1050
1545
|
|
@@ -1061,6 +1556,7 @@ module TencentCloud
|
|
1061
1556
|
@DataSource = params['DataSource']
|
1062
1557
|
@ExpirationTime = params['ExpirationTime']
|
1063
1558
|
@ActivationTime = params['ActivationTime']
|
1559
|
+
@PwdNeedReset = params['PwdNeedReset']
|
1064
1560
|
@RequestId = params['RequestId']
|
1065
1561
|
end
|
1066
1562
|
end
|
@@ -1124,41 +1620,188 @@ module TencentCloud
|
|
1124
1620
|
end
|
1125
1621
|
|
1126
1622
|
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
|
1623
|
+
@ApplicationId = params['ApplicationId']
|
1624
|
+
@ApplicationAccounts = params['ApplicationAccounts']
|
1625
|
+
@UserId = params['UserId']
|
1626
|
+
@UserName = params['UserName']
|
1627
|
+
unless params['AuthorizationUserResourceList'].nil?
|
1628
|
+
@AuthorizationUserResourceList = []
|
1629
|
+
params['AuthorizationUserResourceList'].each do |i|
|
1630
|
+
authorizationuserresouceinfo_tmp = AuthorizationUserResouceInfo.new
|
1631
|
+
authorizationuserresouceinfo_tmp.deserialize(i)
|
1632
|
+
@AuthorizationUserResourceList << authorizationuserresouceinfo_tmp
|
1633
|
+
end
|
1634
|
+
end
|
1635
|
+
@RequestId = params['RequestId']
|
1636
|
+
end
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
# DescribeUserThirdPartyAccountInfo请求参数结构体
|
1640
|
+
class DescribeUserThirdPartyAccountInfoRequest < TencentCloud::Common::AbstractModel
|
1641
|
+
# @param UserName: 用户名。 Username 和 UserId 需至少一个不为空;都不为空时优先使用 Username。
|
1642
|
+
# @type UserName: String
|
1643
|
+
# @param UserId: 用户 ID。 Username 和 UserId 需至少一个不为空;都不为空时优先使用 Username。
|
1644
|
+
# @type UserId: String
|
1645
|
+
|
1646
|
+
attr_accessor :UserName, :UserId
|
1647
|
+
|
1648
|
+
def initialize(username=nil, userid=nil)
|
1649
|
+
@UserName = username
|
1650
|
+
@UserId = userid
|
1651
|
+
end
|
1652
|
+
|
1653
|
+
def deserialize(params)
|
1654
|
+
@UserName = params['UserName']
|
1655
|
+
@UserId = params['UserId']
|
1656
|
+
end
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
# DescribeUserThirdPartyAccountInfo返回参数结构体
|
1660
|
+
class DescribeUserThirdPartyAccountInfoResponse < TencentCloud::Common::AbstractModel
|
1661
|
+
# @param UserId: 用户 id。
|
1662
|
+
# @type UserId: String
|
1663
|
+
# @param UserName: 用户名。
|
1664
|
+
# @type UserName: String
|
1665
|
+
# @param ThirdPartyAccounts: 三方账号的绑定情况。
|
1666
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1667
|
+
# @type ThirdPartyAccounts: Array
|
1668
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1669
|
+
# @type RequestId: String
|
1670
|
+
|
1671
|
+
attr_accessor :UserId, :UserName, :ThirdPartyAccounts, :RequestId
|
1672
|
+
|
1673
|
+
def initialize(userid=nil, username=nil, thirdpartyaccounts=nil, requestid=nil)
|
1674
|
+
@UserId = userid
|
1675
|
+
@UserName = username
|
1676
|
+
@ThirdPartyAccounts = thirdpartyaccounts
|
1677
|
+
@RequestId = requestid
|
1678
|
+
end
|
1679
|
+
|
1680
|
+
def deserialize(params)
|
1681
|
+
@UserId = params['UserId']
|
1682
|
+
@UserName = params['UserName']
|
1683
|
+
unless params['ThirdPartyAccounts'].nil?
|
1684
|
+
@ThirdPartyAccounts = []
|
1685
|
+
params['ThirdPartyAccounts'].each do |i|
|
1686
|
+
thirdpartyaccountinfo_tmp = ThirdPartyAccountInfo.new
|
1687
|
+
thirdpartyaccountinfo_tmp.deserialize(i)
|
1688
|
+
@ThirdPartyAccounts << thirdpartyaccountinfo_tmp
|
1689
|
+
end
|
1690
|
+
end
|
1691
|
+
@RequestId = params['RequestId']
|
1692
|
+
end
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
# 应用信息列表。
|
1696
|
+
class InheritedForm < TencentCloud::Common::AbstractModel
|
1697
|
+
# @param UserGroupIds: 用户所在的用户组ID列表。
|
1698
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1699
|
+
# @type UserGroupIds: Array
|
1700
|
+
# @param OrgNodeIds: 用户所在的机构节点ID列表。
|
1701
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1702
|
+
# @type OrgNodeIds: Array
|
1703
|
+
|
1704
|
+
attr_accessor :UserGroupIds, :OrgNodeIds
|
1705
|
+
|
1706
|
+
def initialize(usergroupids=nil, orgnodeids=nil)
|
1707
|
+
@UserGroupIds = usergroupids
|
1708
|
+
@OrgNodeIds = orgnodeids
|
1709
|
+
end
|
1710
|
+
|
1711
|
+
def deserialize(params)
|
1712
|
+
@UserGroupIds = params['UserGroupIds']
|
1713
|
+
@OrgNodeIds = params['OrgNodeIds']
|
1714
|
+
end
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
# 账号关联的用户信息
|
1718
|
+
class LinkUserInfo < TencentCloud::Common::AbstractModel
|
1719
|
+
# @param UserId: 用户ID,是用户全局唯一标识,长度限制:64个字符。
|
1720
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1721
|
+
# @type UserId: String
|
1722
|
+
# @param UserName: 用户名称。
|
1723
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1724
|
+
# @type UserName: String
|
1725
|
+
|
1726
|
+
attr_accessor :UserId, :UserName
|
1727
|
+
|
1728
|
+
def initialize(userid=nil, username=nil)
|
1729
|
+
@UserId = userid
|
1730
|
+
@UserName = username
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
def deserialize(params)
|
1734
|
+
@UserId = params['UserId']
|
1735
|
+
@UserName = params['UserName']
|
1736
|
+
end
|
1737
|
+
end
|
1738
|
+
|
1739
|
+
# ListAccountInAccountGroup请求参数结构体
|
1740
|
+
class ListAccountInAccountGroupRequest < TencentCloud::Common::AbstractModel
|
1741
|
+
# @param AccountGroupId: 账号组ID。
|
1742
|
+
# @type AccountGroupId: String
|
1743
|
+
# @param SearchCondition: 查询条件,支持多搜索条件组合、多数据范围匹配的搜索。
|
1744
|
+
# @type SearchCondition: :class:`Tencentcloud::Eiam.v20210420.models.AccountGroupSearchCriteria`
|
1745
|
+
# @param Offset: 偏移量,默认为 0。
|
1746
|
+
# @type Offset: Integer
|
1747
|
+
# @param Limit: 返回数量,默认为 20,最大值为 100。
|
1748
|
+
# @type Limit: Integer
|
1749
|
+
|
1750
|
+
attr_accessor :AccountGroupId, :SearchCondition, :Offset, :Limit
|
1751
|
+
|
1752
|
+
def initialize(accountgroupid=nil, searchcondition=nil, offset=nil, limit=nil)
|
1753
|
+
@AccountGroupId = accountgroupid
|
1754
|
+
@SearchCondition = searchcondition
|
1755
|
+
@Offset = offset
|
1756
|
+
@Limit = limit
|
1757
|
+
end
|
1758
|
+
|
1759
|
+
def deserialize(params)
|
1760
|
+
@AccountGroupId = params['AccountGroupId']
|
1761
|
+
unless params['SearchCondition'].nil?
|
1762
|
+
@SearchCondition = AccountGroupSearchCriteria.new
|
1763
|
+
@SearchCondition.deserialize(params['SearchCondition'])
|
1138
1764
|
end
|
1139
|
-
@
|
1765
|
+
@Offset = params['Offset']
|
1766
|
+
@Limit = params['Limit']
|
1140
1767
|
end
|
1141
1768
|
end
|
1142
1769
|
|
1143
|
-
#
|
1144
|
-
class
|
1145
|
-
# @param
|
1770
|
+
# ListAccountInAccountGroup返回参数结构体
|
1771
|
+
class ListAccountInAccountGroupResponse < TencentCloud::Common::AbstractModel
|
1772
|
+
# @param AccountList: 查询返回的相关账号列表。
|
1146
1773
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1147
|
-
# @type
|
1148
|
-
# @param
|
1774
|
+
# @type AccountList: Array
|
1775
|
+
# @param TotalCount: 返回查询账号的总数量。
|
1149
1776
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1150
|
-
# @type
|
1777
|
+
# @type TotalCount: Integer
|
1778
|
+
# @param AccountGroupId: 账号组ID。
|
1779
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1780
|
+
# @type AccountGroupId: String
|
1781
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1782
|
+
# @type RequestId: String
|
1151
1783
|
|
1152
|
-
attr_accessor :
|
1784
|
+
attr_accessor :AccountList, :TotalCount, :AccountGroupId, :RequestId
|
1153
1785
|
|
1154
|
-
def initialize(
|
1155
|
-
@
|
1156
|
-
@
|
1786
|
+
def initialize(accountlist=nil, totalcount=nil, accountgroupid=nil, requestid=nil)
|
1787
|
+
@AccountList = accountlist
|
1788
|
+
@TotalCount = totalcount
|
1789
|
+
@AccountGroupId = accountgroupid
|
1790
|
+
@RequestId = requestid
|
1157
1791
|
end
|
1158
1792
|
|
1159
1793
|
def deserialize(params)
|
1160
|
-
|
1161
|
-
|
1794
|
+
unless params['AccountList'].nil?
|
1795
|
+
@AccountList = []
|
1796
|
+
params['AccountList'].each do |i|
|
1797
|
+
appaccountinfo_tmp = AppAccountInfo.new
|
1798
|
+
appaccountinfo_tmp.deserialize(i)
|
1799
|
+
@AccountList << appaccountinfo_tmp
|
1800
|
+
end
|
1801
|
+
end
|
1802
|
+
@TotalCount = params['TotalCount']
|
1803
|
+
@AccountGroupId = params['AccountGroupId']
|
1804
|
+
@RequestId = params['RequestId']
|
1162
1805
|
end
|
1163
1806
|
end
|
1164
1807
|
|
@@ -1426,15 +2069,37 @@ module TencentCloud
|
|
1426
2069
|
class ListUserGroupsOfUserRequest < TencentCloud::Common::AbstractModel
|
1427
2070
|
# @param UserId: 用户ID,是用户的全局唯一标识。
|
1428
2071
|
# @type UserId: String
|
2072
|
+
# @param SearchCondition: 模糊查询条件,支持匹配用户组名称(DisplayName)。如果该字段为空,则默认展示该用户所有的用户组。
|
2073
|
+
# @type SearchCondition: :class:`Tencentcloud::Eiam.v20210420.models.UserGroupInformationSearchCriteria`
|
2074
|
+
# @param Sort: 排序条件集合。可排序的属性支持:用户组名称(DisplayName)、用户组ID(UserGroupId)、创建时间(CreatedDate)。如果该字段为空,则默认按照用户组名称正向排序。
|
2075
|
+
# @type Sort: :class:`Tencentcloud::Eiam.v20210420.models.SortCondition`
|
2076
|
+
# @param Offset: 分页偏移量,默认为0。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户组。
|
2077
|
+
# @type Offset: Integer
|
2078
|
+
# @param Limit: 分页读取数量,默认为50,最大值为100。 Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户组。
|
2079
|
+
# @type Limit: Integer
|
1429
2080
|
|
1430
|
-
attr_accessor :UserId
|
2081
|
+
attr_accessor :UserId, :SearchCondition, :Sort, :Offset, :Limit
|
1431
2082
|
|
1432
|
-
def initialize(userid=nil)
|
2083
|
+
def initialize(userid=nil, searchcondition=nil, sort=nil, offset=nil, limit=nil)
|
1433
2084
|
@UserId = userid
|
2085
|
+
@SearchCondition = searchcondition
|
2086
|
+
@Sort = sort
|
2087
|
+
@Offset = offset
|
2088
|
+
@Limit = limit
|
1434
2089
|
end
|
1435
2090
|
|
1436
2091
|
def deserialize(params)
|
1437
2092
|
@UserId = params['UserId']
|
2093
|
+
unless params['SearchCondition'].nil?
|
2094
|
+
@SearchCondition = UserGroupInformationSearchCriteria.new
|
2095
|
+
@SearchCondition.deserialize(params['SearchCondition'])
|
2096
|
+
end
|
2097
|
+
unless params['Sort'].nil?
|
2098
|
+
@Sort = SortCondition.new
|
2099
|
+
@Sort.deserialize(params['Sort'])
|
2100
|
+
end
|
2101
|
+
@Offset = params['Offset']
|
2102
|
+
@Limit = params['Limit']
|
1438
2103
|
end
|
1439
2104
|
end
|
1440
2105
|
|
@@ -1446,20 +2111,37 @@ module TencentCloud
|
|
1446
2111
|
# @param UserId: 用户ID,是用户的全局唯一标识。
|
1447
2112
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1448
2113
|
# @type UserId: String
|
2114
|
+
# @param UserGroupInfoList: 用户所属的用户组信息列表。
|
2115
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2116
|
+
# @type UserGroupInfoList: Array
|
2117
|
+
# @param TotalCount: 返回的用户组信息总数。
|
2118
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2119
|
+
# @type TotalCount: Integer
|
1449
2120
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1450
2121
|
# @type RequestId: String
|
1451
2122
|
|
1452
|
-
attr_accessor :UserGroupIds, :UserId, :RequestId
|
2123
|
+
attr_accessor :UserGroupIds, :UserId, :UserGroupInfoList, :TotalCount, :RequestId
|
1453
2124
|
|
1454
|
-
def initialize(usergroupids=nil, userid=nil, requestid=nil)
|
2125
|
+
def initialize(usergroupids=nil, userid=nil, usergroupinfolist=nil, totalcount=nil, requestid=nil)
|
1455
2126
|
@UserGroupIds = usergroupids
|
1456
2127
|
@UserId = userid
|
2128
|
+
@UserGroupInfoList = usergroupinfolist
|
2129
|
+
@TotalCount = totalcount
|
1457
2130
|
@RequestId = requestid
|
1458
2131
|
end
|
1459
2132
|
|
1460
2133
|
def deserialize(params)
|
1461
2134
|
@UserGroupIds = params['UserGroupIds']
|
1462
2135
|
@UserId = params['UserId']
|
2136
|
+
unless params['UserGroupInfoList'].nil?
|
2137
|
+
@UserGroupInfoList = []
|
2138
|
+
params['UserGroupInfoList'].each do |i|
|
2139
|
+
usergroupinfo_tmp = UserGroupInfo.new
|
2140
|
+
usergroupinfo_tmp.deserialize(i)
|
2141
|
+
@UserGroupInfoList << usergroupinfo_tmp
|
2142
|
+
end
|
2143
|
+
end
|
2144
|
+
@TotalCount = params['TotalCount']
|
1463
2145
|
@RequestId = params['RequestId']
|
1464
2146
|
end
|
1465
2147
|
end
|
@@ -1537,17 +2219,39 @@ module TencentCloud
|
|
1537
2219
|
# @type OrgNodeId: String
|
1538
2220
|
# @param IncludeOrgNodeChildInfo: 是否读取其子节点信息。当其为空或false时,默认仅读取当前机构节点信息。当其为true时,读取本机构节点以及其第一层子节点信息。
|
1539
2221
|
# @type IncludeOrgNodeChildInfo: Boolean
|
2222
|
+
# @param SearchCondition: 用户属性搜索条件,可查询条件包括:用户名、手机号码,邮箱、用户锁定状态、用户冻结状态、创建时间、上次修改时间,支持多种属性组合作为查询条件。同时支持查询信息内容全匹配、部分匹配、范围匹配等多种查询方式,具体查询方式为:双引号(“”)表示全匹配、以星号(*)结尾表示字段部分匹配、中括号以逗号分隔([Min,Max])表示闭区间查询、大括号以逗号分隔({Min,Max})表示开区间查询,中括号与大括号可以配合使用(例如:{Min,Max]表示最小值开区间,最大值闭区间查询)。范围匹配支持使用星号(例如{20,*]表示查询范围为大于20的所有数据)。范围查询同时支持时间段查询,支持的属性包括创建时间 (CreationTime)、上次修改时间(LastUpdateTime),查询的时间格式遵循 ISO 8601 标准,例如:2021-01-13T09:44:07.182+0000。
|
2223
|
+
# @type SearchCondition: :class:`Tencentcloud::Eiam.v20210420.models.ListUsersInOrgNodeSearchCriteria`
|
2224
|
+
# @param Sort: 排序条件集合。可排序的属性支持:用户名字(UserName)、手机号(Phone)、邮箱(Email)、用户状态(Status)、创建时间 (CreatedDate)、上次更新时间(LastModifiedDate)。如果不指定,则默认按照用户昵称(DisplayName)正向排序。
|
2225
|
+
# @type Sort: :class:`Tencentcloud::Eiam.v20210420.models.SortCondition`
|
2226
|
+
# @param Offset: 分页偏移量,默认为0。Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户。
|
2227
|
+
# @type Offset: Integer
|
2228
|
+
# @param Limit: 分页读取数量,默认为50,最大值为100。 Offset 和 Limit 两个字段需配合使用,即其中一个指定了,另一个必须指定。 如果不指定以上参数,则表示不进行分页查询,即只返回最多50个用户。
|
2229
|
+
# @type Limit: Integer
|
1540
2230
|
|
1541
|
-
attr_accessor :OrgNodeId, :IncludeOrgNodeChildInfo
|
2231
|
+
attr_accessor :OrgNodeId, :IncludeOrgNodeChildInfo, :SearchCondition, :Sort, :Offset, :Limit
|
1542
2232
|
|
1543
|
-
def initialize(orgnodeid=nil, includeorgnodechildinfo=nil)
|
2233
|
+
def initialize(orgnodeid=nil, includeorgnodechildinfo=nil, searchcondition=nil, sort=nil, offset=nil, limit=nil)
|
1544
2234
|
@OrgNodeId = orgnodeid
|
1545
2235
|
@IncludeOrgNodeChildInfo = includeorgnodechildinfo
|
2236
|
+
@SearchCondition = searchcondition
|
2237
|
+
@Sort = sort
|
2238
|
+
@Offset = offset
|
2239
|
+
@Limit = limit
|
1546
2240
|
end
|
1547
2241
|
|
1548
2242
|
def deserialize(params)
|
1549
2243
|
@OrgNodeId = params['OrgNodeId']
|
1550
2244
|
@IncludeOrgNodeChildInfo = params['IncludeOrgNodeChildInfo']
|
2245
|
+
unless params['SearchCondition'].nil?
|
2246
|
+
@SearchCondition = ListUsersInOrgNodeSearchCriteria.new
|
2247
|
+
@SearchCondition.deserialize(params['SearchCondition'])
|
2248
|
+
end
|
2249
|
+
unless params['Sort'].nil?
|
2250
|
+
@Sort = SortCondition.new
|
2251
|
+
@Sort.deserialize(params['Sort'])
|
2252
|
+
end
|
2253
|
+
@Offset = params['Offset']
|
2254
|
+
@Limit = params['Limit']
|
1551
2255
|
end
|
1552
2256
|
end
|
1553
2257
|
|
@@ -1565,16 +2269,24 @@ module TencentCloud
|
|
1565
2269
|
# @param TotalUserNum: 当前机构节点下的用户总数。
|
1566
2270
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1567
2271
|
# @type TotalUserNum: Integer
|
2272
|
+
# @param OrgNodeIdPath: 组织机构ID路径。
|
2273
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2274
|
+
# @type OrgNodeIdPath: String
|
2275
|
+
# @param OrgNodeNamePath: 组织机构名称路径。
|
2276
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2277
|
+
# @type OrgNodeNamePath: String
|
1568
2278
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1569
2279
|
# @type RequestId: String
|
1570
2280
|
|
1571
|
-
attr_accessor :OrgNodeChildUserInfo, :OrgNodeId, :UserInfo, :TotalUserNum, :RequestId
|
2281
|
+
attr_accessor :OrgNodeChildUserInfo, :OrgNodeId, :UserInfo, :TotalUserNum, :OrgNodeIdPath, :OrgNodeNamePath, :RequestId
|
1572
2282
|
|
1573
|
-
def initialize(orgnodechilduserinfo=nil, orgnodeid=nil, userinfo=nil, totalusernum=nil, requestid=nil)
|
2283
|
+
def initialize(orgnodechilduserinfo=nil, orgnodeid=nil, userinfo=nil, totalusernum=nil, orgnodeidpath=nil, orgnodenamepath=nil, requestid=nil)
|
1574
2284
|
@OrgNodeChildUserInfo = orgnodechilduserinfo
|
1575
2285
|
@OrgNodeId = orgnodeid
|
1576
2286
|
@UserInfo = userinfo
|
1577
2287
|
@TotalUserNum = totalusernum
|
2288
|
+
@OrgNodeIdPath = orgnodeidpath
|
2289
|
+
@OrgNodeNamePath = orgnodenamepath
|
1578
2290
|
@RequestId = requestid
|
1579
2291
|
end
|
1580
2292
|
|
@@ -1597,10 +2309,52 @@ module TencentCloud
|
|
1597
2309
|
end
|
1598
2310
|
end
|
1599
2311
|
@TotalUserNum = params['TotalUserNum']
|
2312
|
+
@OrgNodeIdPath = params['OrgNodeIdPath']
|
2313
|
+
@OrgNodeNamePath = params['OrgNodeNamePath']
|
1600
2314
|
@RequestId = params['RequestId']
|
1601
2315
|
end
|
1602
2316
|
end
|
1603
2317
|
|
2318
|
+
# 展示机构下用户的属性搜索条件。
|
2319
|
+
class ListUsersInOrgNodeSearchCriteria < TencentCloud::Common::AbstractModel
|
2320
|
+
# @param UserName: 用户名,长度限制:64个字符。
|
2321
|
+
# @type UserName: String
|
2322
|
+
# @param Phone: 用户手机号。
|
2323
|
+
# @type Phone: String
|
2324
|
+
# @param Email: 用户邮箱。
|
2325
|
+
# @type Email: String
|
2326
|
+
# @param Status: 用户状态,取值 NORMAL (正常)、FREEZE (已冻结)、LOCKED (已锁定)或 NOT_ENABLED (未启用)。
|
2327
|
+
# @type Status: String
|
2328
|
+
# @param CreationTime: 用户创建时间,遵循 ISO 8601 标准。
|
2329
|
+
# @type CreationTime: String
|
2330
|
+
# @param LastUpdateTime: 用户上次更新时间。
|
2331
|
+
# @type LastUpdateTime: String
|
2332
|
+
# @param Keyword: 名称匹配搜索,匹配范围包括:用户名称、用户手机号。
|
2333
|
+
# @type Keyword: String
|
2334
|
+
|
2335
|
+
attr_accessor :UserName, :Phone, :Email, :Status, :CreationTime, :LastUpdateTime, :Keyword
|
2336
|
+
|
2337
|
+
def initialize(username=nil, phone=nil, email=nil, status=nil, creationtime=nil, lastupdatetime=nil, keyword=nil)
|
2338
|
+
@UserName = username
|
2339
|
+
@Phone = phone
|
2340
|
+
@Email = email
|
2341
|
+
@Status = status
|
2342
|
+
@CreationTime = creationtime
|
2343
|
+
@LastUpdateTime = lastupdatetime
|
2344
|
+
@Keyword = keyword
|
2345
|
+
end
|
2346
|
+
|
2347
|
+
def deserialize(params)
|
2348
|
+
@UserName = params['UserName']
|
2349
|
+
@Phone = params['Phone']
|
2350
|
+
@Email = params['Email']
|
2351
|
+
@Status = params['Status']
|
2352
|
+
@CreationTime = params['CreationTime']
|
2353
|
+
@LastUpdateTime = params['LastUpdateTime']
|
2354
|
+
@Keyword = params['Keyword']
|
2355
|
+
end
|
2356
|
+
end
|
2357
|
+
|
1604
2358
|
# ListUsersInUserGroup请求参数结构体
|
1605
2359
|
class ListUsersInUserGroupRequest < TencentCloud::Common::AbstractModel
|
1606
2360
|
# @param UserGroupId: 用户组ID,是用户组的全局唯一标识。
|
@@ -1730,6 +2484,90 @@ module TencentCloud
|
|
1730
2484
|
end
|
1731
2485
|
end
|
1732
2486
|
|
2487
|
+
# ModifyAccountGroup请求参数结构体
|
2488
|
+
class ModifyAccountGroupRequest < TencentCloud::Common::AbstractModel
|
2489
|
+
# @param AccountGroupId: 账号组ID。
|
2490
|
+
# @type AccountGroupId: String
|
2491
|
+
# @param GroupName: 账号组名。未传入该参数时,表示不进行修改。
|
2492
|
+
# @type GroupName: String
|
2493
|
+
# @param Description: 描述,未传入该参数时,表示不进行修改。
|
2494
|
+
# @type Description: String
|
2495
|
+
|
2496
|
+
attr_accessor :AccountGroupId, :GroupName, :Description
|
2497
|
+
|
2498
|
+
def initialize(accountgroupid=nil, groupname=nil, description=nil)
|
2499
|
+
@AccountGroupId = accountgroupid
|
2500
|
+
@GroupName = groupname
|
2501
|
+
@Description = description
|
2502
|
+
end
|
2503
|
+
|
2504
|
+
def deserialize(params)
|
2505
|
+
@AccountGroupId = params['AccountGroupId']
|
2506
|
+
@GroupName = params['GroupName']
|
2507
|
+
@Description = params['Description']
|
2508
|
+
end
|
2509
|
+
end
|
2510
|
+
|
2511
|
+
# ModifyAccountGroup返回参数结构体
|
2512
|
+
class ModifyAccountGroupResponse < TencentCloud::Common::AbstractModel
|
2513
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2514
|
+
# @type RequestId: String
|
2515
|
+
|
2516
|
+
attr_accessor :RequestId
|
2517
|
+
|
2518
|
+
def initialize(requestid=nil)
|
2519
|
+
@RequestId = requestid
|
2520
|
+
end
|
2521
|
+
|
2522
|
+
def deserialize(params)
|
2523
|
+
@RequestId = params['RequestId']
|
2524
|
+
end
|
2525
|
+
end
|
2526
|
+
|
2527
|
+
# ModifyAppAccount请求参数结构体
|
2528
|
+
class ModifyAppAccountRequest < TencentCloud::Common::AbstractModel
|
2529
|
+
# @param AccountId: 账号ID。
|
2530
|
+
# @type AccountId: String
|
2531
|
+
# @param AccountName: 账号名称。未传入该参数时,表示不进行修改。
|
2532
|
+
# @type AccountName: String
|
2533
|
+
# @param Password: 账号密码。未传入该参数时,表示不进行修改。
|
2534
|
+
# @type Password: String
|
2535
|
+
# @param Description: 描述,未传入该参数时,表示不进行修改。
|
2536
|
+
# @type Description: String
|
2537
|
+
|
2538
|
+
attr_accessor :AccountId, :AccountName, :Password, :Description
|
2539
|
+
|
2540
|
+
def initialize(accountid=nil, accountname=nil, password=nil, description=nil)
|
2541
|
+
@AccountId = accountid
|
2542
|
+
@AccountName = accountname
|
2543
|
+
@Password = password
|
2544
|
+
@Description = description
|
2545
|
+
end
|
2546
|
+
|
2547
|
+
def deserialize(params)
|
2548
|
+
@AccountId = params['AccountId']
|
2549
|
+
@AccountName = params['AccountName']
|
2550
|
+
@Password = params['Password']
|
2551
|
+
@Description = params['Description']
|
2552
|
+
end
|
2553
|
+
end
|
2554
|
+
|
2555
|
+
# ModifyAppAccount返回参数结构体
|
2556
|
+
class ModifyAppAccountResponse < TencentCloud::Common::AbstractModel
|
2557
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2558
|
+
# @type RequestId: String
|
2559
|
+
|
2560
|
+
attr_accessor :RequestId
|
2561
|
+
|
2562
|
+
def initialize(requestid=nil)
|
2563
|
+
@RequestId = requestid
|
2564
|
+
end
|
2565
|
+
|
2566
|
+
def deserialize(params)
|
2567
|
+
@RequestId = params['RequestId']
|
2568
|
+
end
|
2569
|
+
end
|
2570
|
+
|
1733
2571
|
# ModifyApplication请求参数结构体
|
1734
2572
|
class ModifyApplicationRequest < TencentCloud::Common::AbstractModel
|
1735
2573
|
# @param ApplicationId: 应用ID,是应用的全局唯一标识。
|
@@ -1804,10 +2642,12 @@ module TencentCloud
|
|
1804
2642
|
# @type Email: String
|
1805
2643
|
# @param PwdNeedReset: 密码是否需要重置,为空默认为false不需要重置密码。
|
1806
2644
|
# @type PwdNeedReset: Boolean
|
2645
|
+
# @param OrgNodeId: 用户所属的主组织机构唯一ID。如果为空,默认为在根节点下创建用户。
|
2646
|
+
# @type OrgNodeId: String
|
1807
2647
|
|
1808
|
-
attr_accessor :UserName, :DisplayName, :Description, :UserGroupIds, :UserId, :Phone, :ExpirationTime, :Password, :Email, :PwdNeedReset
|
2648
|
+
attr_accessor :UserName, :DisplayName, :Description, :UserGroupIds, :UserId, :Phone, :ExpirationTime, :Password, :Email, :PwdNeedReset, :OrgNodeId
|
1809
2649
|
|
1810
|
-
def initialize(username=nil, displayname=nil, description=nil, usergroupids=nil, userid=nil, phone=nil, expirationtime=nil, password=nil, email=nil, pwdneedreset=nil)
|
2650
|
+
def initialize(username=nil, displayname=nil, description=nil, usergroupids=nil, userid=nil, phone=nil, expirationtime=nil, password=nil, email=nil, pwdneedreset=nil, orgnodeid=nil)
|
1811
2651
|
@UserName = username
|
1812
2652
|
@DisplayName = displayname
|
1813
2653
|
@Description = description
|
@@ -1818,6 +2658,7 @@ module TencentCloud
|
|
1818
2658
|
@Password = password
|
1819
2659
|
@Email = email
|
1820
2660
|
@PwdNeedReset = pwdneedreset
|
2661
|
+
@OrgNodeId = orgnodeid
|
1821
2662
|
end
|
1822
2663
|
|
1823
2664
|
def deserialize(params)
|
@@ -1831,6 +2672,7 @@ module TencentCloud
|
|
1831
2672
|
@Password = params['Password']
|
1832
2673
|
@Email = params['Email']
|
1833
2674
|
@PwdNeedReset = params['PwdNeedReset']
|
2675
|
+
@OrgNodeId = params['OrgNodeId']
|
1834
2676
|
end
|
1835
2677
|
end
|
1836
2678
|
|
@@ -1873,10 +2715,13 @@ module TencentCloud
|
|
1873
2715
|
# @param CreatedDate: 机构节点创建时间,符合 ISO8601 标准。
|
1874
2716
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1875
2717
|
# @type CreatedDate: String
|
2718
|
+
# @param Description: 机构节点描述。
|
2719
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2720
|
+
# @type Description: String
|
1876
2721
|
|
1877
|
-
attr_accessor :DisplayName, :LastModifiedDate, :CustomizedOrgNodeId, :ParentOrgNodeId, :OrgNodeId, :DataSource, :CreatedDate
|
2722
|
+
attr_accessor :DisplayName, :LastModifiedDate, :CustomizedOrgNodeId, :ParentOrgNodeId, :OrgNodeId, :DataSource, :CreatedDate, :Description
|
1878
2723
|
|
1879
|
-
def initialize(displayname=nil, lastmodifieddate=nil, customizedorgnodeid=nil, parentorgnodeid=nil, orgnodeid=nil, datasource=nil, createddate=nil)
|
2724
|
+
def initialize(displayname=nil, lastmodifieddate=nil, customizedorgnodeid=nil, parentorgnodeid=nil, orgnodeid=nil, datasource=nil, createddate=nil, description=nil)
|
1880
2725
|
@DisplayName = displayname
|
1881
2726
|
@LastModifiedDate = lastmodifieddate
|
1882
2727
|
@CustomizedOrgNodeId = customizedorgnodeid
|
@@ -1884,6 +2729,7 @@ module TencentCloud
|
|
1884
2729
|
@OrgNodeId = orgnodeid
|
1885
2730
|
@DataSource = datasource
|
1886
2731
|
@CreatedDate = createddate
|
2732
|
+
@Description = description
|
1887
2733
|
end
|
1888
2734
|
|
1889
2735
|
def deserialize(params)
|
@@ -1894,6 +2740,7 @@ module TencentCloud
|
|
1894
2740
|
@OrgNodeId = params['OrgNodeId']
|
1895
2741
|
@DataSource = params['DataSource']
|
1896
2742
|
@CreatedDate = params['CreatedDate']
|
2743
|
+
@Description = params['Description']
|
1897
2744
|
end
|
1898
2745
|
end
|
1899
2746
|
|
@@ -1908,13 +2755,21 @@ module TencentCloud
|
|
1908
2755
|
# @param TotalUserNum: 当前机构节点下的用户总数。
|
1909
2756
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1910
2757
|
# @type TotalUserNum: Integer
|
2758
|
+
# @param OrgNodeIdPath: 组织机构ID路径。
|
2759
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2760
|
+
# @type OrgNodeIdPath: String
|
2761
|
+
# @param OrgNodeNamePath: 组织机构名称路径。
|
2762
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2763
|
+
# @type OrgNodeNamePath: String
|
1911
2764
|
|
1912
|
-
attr_accessor :OrgNodeId, :UserInfo, :TotalUserNum
|
2765
|
+
attr_accessor :OrgNodeId, :UserInfo, :TotalUserNum, :OrgNodeIdPath, :OrgNodeNamePath
|
1913
2766
|
|
1914
|
-
def initialize(orgnodeid=nil, userinfo=nil, totalusernum=nil)
|
2767
|
+
def initialize(orgnodeid=nil, userinfo=nil, totalusernum=nil, orgnodeidpath=nil, orgnodenamepath=nil)
|
1915
2768
|
@OrgNodeId = orgnodeid
|
1916
2769
|
@UserInfo = userinfo
|
1917
2770
|
@TotalUserNum = totalusernum
|
2771
|
+
@OrgNodeIdPath = orgnodeidpath
|
2772
|
+
@OrgNodeNamePath = orgnodenamepath
|
1918
2773
|
end
|
1919
2774
|
|
1920
2775
|
def deserialize(params)
|
@@ -1928,6 +2783,44 @@ module TencentCloud
|
|
1928
2783
|
end
|
1929
2784
|
end
|
1930
2785
|
@TotalUserNum = params['TotalUserNum']
|
2786
|
+
@OrgNodeIdPath = params['OrgNodeIdPath']
|
2787
|
+
@OrgNodeNamePath = params['OrgNodeNamePath']
|
2788
|
+
end
|
2789
|
+
end
|
2790
|
+
|
2791
|
+
# RemoveAccountFromAccountGroup请求参数结构体
|
2792
|
+
class RemoveAccountFromAccountGroupRequest < TencentCloud::Common::AbstractModel
|
2793
|
+
# @param AccountGroupId: 账号组ID
|
2794
|
+
# @type AccountGroupId: String
|
2795
|
+
# @param AccountIds: 需要移除账号ID列表。
|
2796
|
+
# @type AccountIds: Array
|
2797
|
+
|
2798
|
+
attr_accessor :AccountGroupId, :AccountIds
|
2799
|
+
|
2800
|
+
def initialize(accountgroupid=nil, accountids=nil)
|
2801
|
+
@AccountGroupId = accountgroupid
|
2802
|
+
@AccountIds = accountids
|
2803
|
+
end
|
2804
|
+
|
2805
|
+
def deserialize(params)
|
2806
|
+
@AccountGroupId = params['AccountGroupId']
|
2807
|
+
@AccountIds = params['AccountIds']
|
2808
|
+
end
|
2809
|
+
end
|
2810
|
+
|
2811
|
+
# RemoveAccountFromAccountGroup返回参数结构体
|
2812
|
+
class RemoveAccountFromAccountGroupResponse < TencentCloud::Common::AbstractModel
|
2813
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2814
|
+
# @type RequestId: String
|
2815
|
+
|
2816
|
+
attr_accessor :RequestId
|
2817
|
+
|
2818
|
+
def initialize(requestid=nil)
|
2819
|
+
@RequestId = requestid
|
2820
|
+
end
|
2821
|
+
|
2822
|
+
def deserialize(params)
|
2823
|
+
@RequestId = params['RequestId']
|
1931
2824
|
end
|
1932
2825
|
end
|
1933
2826
|
|
@@ -1987,6 +2880,28 @@ module TencentCloud
|
|
1987
2880
|
end
|
1988
2881
|
end
|
1989
2882
|
|
2883
|
+
# 三方账号信息。
|
2884
|
+
class ThirdPartyAccountInfo < TencentCloud::Common::AbstractModel
|
2885
|
+
# @param AccountCode: 第三方账号代码。"2"代表企业微信。
|
2886
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2887
|
+
# @type AccountCode: String
|
2888
|
+
# @param AccountName: 账号对应的用户名。
|
2889
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2890
|
+
# @type AccountName: String
|
2891
|
+
|
2892
|
+
attr_accessor :AccountCode, :AccountName
|
2893
|
+
|
2894
|
+
def initialize(accountcode=nil, accountname=nil)
|
2895
|
+
@AccountCode = accountcode
|
2896
|
+
@AccountName = accountname
|
2897
|
+
end
|
2898
|
+
|
2899
|
+
def deserialize(params)
|
2900
|
+
@AccountCode = params['AccountCode']
|
2901
|
+
@AccountName = params['AccountName']
|
2902
|
+
end
|
2903
|
+
end
|
2904
|
+
|
1990
2905
|
# UpdateOrgNode请求参数结构体
|
1991
2906
|
class UpdateOrgNodeRequest < TencentCloud::Common::AbstractModel
|
1992
2907
|
# @param OrgNodeId: 机构节点ID,是机构节点的全局唯一标识。
|
@@ -2031,6 +2946,38 @@ module TencentCloud
|
|
2031
2946
|
end
|
2032
2947
|
end
|
2033
2948
|
|
2949
|
+
# 返回的用户组列表。
|
2950
|
+
class UserGroupInfo < TencentCloud::Common::AbstractModel
|
2951
|
+
# @param DisplayName: 昵称,长度限制:64个字符。 默认与用户名相同。
|
2952
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2953
|
+
# @type DisplayName: String
|
2954
|
+
# @param UserGroupId: 用户组ID,是用户组全局唯一标识,长度限制:64个字符。
|
2955
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2956
|
+
# @type UserGroupId: String
|
2957
|
+
# @param Description: 用户组备注。
|
2958
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2959
|
+
# @type Description: String
|
2960
|
+
# @param CreatedDate: 创建时间。
|
2961
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2962
|
+
# @type CreatedDate: String
|
2963
|
+
|
2964
|
+
attr_accessor :DisplayName, :UserGroupId, :Description, :CreatedDate
|
2965
|
+
|
2966
|
+
def initialize(displayname=nil, usergroupid=nil, description=nil, createddate=nil)
|
2967
|
+
@DisplayName = displayname
|
2968
|
+
@UserGroupId = usergroupid
|
2969
|
+
@Description = description
|
2970
|
+
@CreatedDate = createddate
|
2971
|
+
end
|
2972
|
+
|
2973
|
+
def deserialize(params)
|
2974
|
+
@DisplayName = params['DisplayName']
|
2975
|
+
@UserGroupId = params['UserGroupId']
|
2976
|
+
@Description = params['Description']
|
2977
|
+
@CreatedDate = params['CreatedDate']
|
2978
|
+
end
|
2979
|
+
end
|
2980
|
+
|
2034
2981
|
# 用户组属性搜索条件。
|
2035
2982
|
class UserGroupInfoSearchCriteria < TencentCloud::Common::AbstractModel
|
2036
2983
|
# @param Keyword: 名称匹配搜索,匹配范围包括:用户组名称、用户组ID。
|
@@ -2072,6 +3019,22 @@ module TencentCloud
|
|
2072
3019
|
end
|
2073
3020
|
end
|
2074
3021
|
|
3022
|
+
# 获取用户所在的用户组列表功能中用户组属性搜索条件。
|
3023
|
+
class UserGroupInformationSearchCriteria < TencentCloud::Common::AbstractModel
|
3024
|
+
# @param Keyword: 名称匹配搜索,匹配范围包括:用户组名称。
|
3025
|
+
# @type Keyword: String
|
3026
|
+
|
3027
|
+
attr_accessor :Keyword
|
3028
|
+
|
3029
|
+
def initialize(keyword=nil)
|
3030
|
+
@Keyword = keyword
|
3031
|
+
end
|
3032
|
+
|
3033
|
+
def deserialize(params)
|
3034
|
+
@Keyword = params['Keyword']
|
3035
|
+
end
|
3036
|
+
end
|
3037
|
+
|
2075
3038
|
# 用户信息列表。
|
2076
3039
|
class UserInfo < TencentCloud::Common::AbstractModel
|
2077
3040
|
# @param UserId: 用户ID,是用户全局唯一标识,长度限制:64个字符。
|