tencentcloud-sdk-ciam 1.0.333 → 1.0.336
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/v20220331/client.rb +288 -0
- data/lib/v20220331/models.rb +1275 -0
- metadata +2 -2
data/lib/v20220331/models.rb
CHANGED
@@ -17,6 +17,857 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Ciam
|
19
19
|
module V20220331
|
20
|
+
# CreateApiImportUserJob请求参数结构体
|
21
|
+
class CreateApiImportUserJobRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param UserStoreId: 用户目录ID
|
23
|
+
# @type UserStoreId: String
|
24
|
+
# @param DataFlowUserCreateList: 导入的用户数据
|
25
|
+
# @type DataFlowUserCreateList: Array
|
26
|
+
|
27
|
+
attr_accessor :UserStoreId, :DataFlowUserCreateList
|
28
|
+
|
29
|
+
def initialize(userstoreid=nil, dataflowusercreatelist=nil)
|
30
|
+
@UserStoreId = userstoreid
|
31
|
+
@DataFlowUserCreateList = dataflowusercreatelist
|
32
|
+
end
|
33
|
+
|
34
|
+
def deserialize(params)
|
35
|
+
@UserStoreId = params['UserStoreId']
|
36
|
+
unless params['DataFlowUserCreateList'].nil?
|
37
|
+
@DataFlowUserCreateList = []
|
38
|
+
params['DataFlowUserCreateList'].each do |i|
|
39
|
+
importuser_tmp = ImportUser.new
|
40
|
+
importuser_tmp.deserialize(i)
|
41
|
+
@DataFlowUserCreateList << importuser_tmp
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# CreateApiImportUserJob返回参数结构体
|
48
|
+
class CreateApiImportUserJobResponse < TencentCloud::Common::AbstractModel
|
49
|
+
# @param Job: 数据流任务
|
50
|
+
# @type Job: :class:`Tencentcloud::Ciam.v20220331.models.Job`
|
51
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
52
|
+
# @type RequestId: String
|
53
|
+
|
54
|
+
attr_accessor :Job, :RequestId
|
55
|
+
|
56
|
+
def initialize(job=nil, requestid=nil)
|
57
|
+
@Job = job
|
58
|
+
@RequestId = requestid
|
59
|
+
end
|
60
|
+
|
61
|
+
def deserialize(params)
|
62
|
+
unless params['Job'].nil?
|
63
|
+
@Job = Job.new
|
64
|
+
@Job.deserialize(params['Job'])
|
65
|
+
end
|
66
|
+
@RequestId = params['RequestId']
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# CreateFileExportUserJob请求参数结构体
|
71
|
+
class CreateFileExportUserJobRequest < TencentCloud::Common::AbstractModel
|
72
|
+
# @param UserStoreId: 用户目录ID
|
73
|
+
# @type UserStoreId: String
|
74
|
+
# @param Format: 导出的数据类型
|
75
|
+
|
76
|
+
# <li> **JSON** </li> JSON
|
77
|
+
# <li> **NDJSON** </li> New-line Delimited JSON
|
78
|
+
# <li> **CSV** </li> Comma-Separated Values
|
79
|
+
# @type Format: String
|
80
|
+
# @param Filters: Key可选值为condition、userGroupId
|
81
|
+
|
82
|
+
# <li> **condition** </li> Values = 查询条件,用户ID,用户名称,手机或邮箱
|
83
|
+
# <li> **userGroupId** </li> Values = 用户组ID
|
84
|
+
# @type Filters: Array
|
85
|
+
# @param ExportPropertyMaps: 导出用户包含的属性和映射名称,为空时包含所有的属性
|
86
|
+
# @type ExportPropertyMaps: Array
|
87
|
+
|
88
|
+
attr_accessor :UserStoreId, :Format, :Filters, :ExportPropertyMaps
|
89
|
+
|
90
|
+
def initialize(userstoreid=nil, format=nil, filters=nil, exportpropertymaps=nil)
|
91
|
+
@UserStoreId = userstoreid
|
92
|
+
@Format = format
|
93
|
+
@Filters = filters
|
94
|
+
@ExportPropertyMaps = exportpropertymaps
|
95
|
+
end
|
96
|
+
|
97
|
+
def deserialize(params)
|
98
|
+
@UserStoreId = params['UserStoreId']
|
99
|
+
@Format = params['Format']
|
100
|
+
unless params['Filters'].nil?
|
101
|
+
@Filters = []
|
102
|
+
params['Filters'].each do |i|
|
103
|
+
filter_tmp = Filter.new
|
104
|
+
filter_tmp.deserialize(i)
|
105
|
+
@Filters << filter_tmp
|
106
|
+
end
|
107
|
+
end
|
108
|
+
unless params['ExportPropertyMaps'].nil?
|
109
|
+
@ExportPropertyMaps = []
|
110
|
+
params['ExportPropertyMaps'].each do |i|
|
111
|
+
exportpropertymap_tmp = ExportPropertyMap.new
|
112
|
+
exportpropertymap_tmp.deserialize(i)
|
113
|
+
@ExportPropertyMaps << exportpropertymap_tmp
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# CreateFileExportUserJob返回参数结构体
|
120
|
+
class CreateFileExportUserJobResponse < TencentCloud::Common::AbstractModel
|
121
|
+
# @param Job: 数据流任务
|
122
|
+
# @type Job: :class:`Tencentcloud::Ciam.v20220331.models.Job`
|
123
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
124
|
+
# @type RequestId: String
|
125
|
+
|
126
|
+
attr_accessor :Job, :RequestId
|
127
|
+
|
128
|
+
def initialize(job=nil, requestid=nil)
|
129
|
+
@Job = job
|
130
|
+
@RequestId = requestid
|
131
|
+
end
|
132
|
+
|
133
|
+
def deserialize(params)
|
134
|
+
unless params['Job'].nil?
|
135
|
+
@Job = Job.new
|
136
|
+
@Job.deserialize(params['Job'])
|
137
|
+
end
|
138
|
+
@RequestId = params['RequestId']
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
# CreateUser请求参数结构体
|
143
|
+
class CreateUserRequest < TencentCloud::Common::AbstractModel
|
144
|
+
# @param UserStoreId: 用户目录ID
|
145
|
+
# @type UserStoreId: String
|
146
|
+
# @param PhoneNumber: 手机号码
|
147
|
+
# @type PhoneNumber: String
|
148
|
+
# @param Email: 邮箱
|
149
|
+
# @type Email: String
|
150
|
+
# @param Password: 密码
|
151
|
+
# @type Password: String
|
152
|
+
# @param UserName: 用户名
|
153
|
+
# @type UserName: String
|
154
|
+
# @param Nickname: 昵称
|
155
|
+
# @type Nickname: String
|
156
|
+
# @param Address: 地址
|
157
|
+
# @type Address: String
|
158
|
+
# @param UserGroup: 用户组ID
|
159
|
+
# @type UserGroup: Array
|
160
|
+
# @param Birthdate: 生日
|
161
|
+
# @type Birthdate: Integer
|
162
|
+
# @param CustomizationAttributes: 自定义属性
|
163
|
+
# @type CustomizationAttributes: Array
|
164
|
+
|
165
|
+
attr_accessor :UserStoreId, :PhoneNumber, :Email, :Password, :UserName, :Nickname, :Address, :UserGroup, :Birthdate, :CustomizationAttributes
|
166
|
+
|
167
|
+
def initialize(userstoreid=nil, phonenumber=nil, email=nil, password=nil, username=nil, nickname=nil, address=nil, usergroup=nil, birthdate=nil, customizationattributes=nil)
|
168
|
+
@UserStoreId = userstoreid
|
169
|
+
@PhoneNumber = phonenumber
|
170
|
+
@Email = email
|
171
|
+
@Password = password
|
172
|
+
@UserName = username
|
173
|
+
@Nickname = nickname
|
174
|
+
@Address = address
|
175
|
+
@UserGroup = usergroup
|
176
|
+
@Birthdate = birthdate
|
177
|
+
@CustomizationAttributes = customizationattributes
|
178
|
+
end
|
179
|
+
|
180
|
+
def deserialize(params)
|
181
|
+
@UserStoreId = params['UserStoreId']
|
182
|
+
@PhoneNumber = params['PhoneNumber']
|
183
|
+
@Email = params['Email']
|
184
|
+
@Password = params['Password']
|
185
|
+
@UserName = params['UserName']
|
186
|
+
@Nickname = params['Nickname']
|
187
|
+
@Address = params['Address']
|
188
|
+
@UserGroup = params['UserGroup']
|
189
|
+
@Birthdate = params['Birthdate']
|
190
|
+
unless params['CustomizationAttributes'].nil?
|
191
|
+
@CustomizationAttributes = []
|
192
|
+
params['CustomizationAttributes'].each do |i|
|
193
|
+
membermap_tmp = MemberMap.new
|
194
|
+
membermap_tmp.deserialize(i)
|
195
|
+
@CustomizationAttributes << membermap_tmp
|
196
|
+
end
|
197
|
+
end
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
# CreateUser返回参数结构体
|
202
|
+
class CreateUserResponse < TencentCloud::Common::AbstractModel
|
203
|
+
# @param User: 创建的用户信息
|
204
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
205
|
+
# @type User: :class:`Tencentcloud::Ciam.v20220331.models.User`
|
206
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
207
|
+
# @type RequestId: String
|
208
|
+
|
209
|
+
attr_accessor :User, :RequestId
|
210
|
+
|
211
|
+
def initialize(user=nil, requestid=nil)
|
212
|
+
@User = user
|
213
|
+
@RequestId = requestid
|
214
|
+
end
|
215
|
+
|
216
|
+
def deserialize(params)
|
217
|
+
unless params['User'].nil?
|
218
|
+
@User = User.new
|
219
|
+
@User.deserialize(params['User'])
|
220
|
+
end
|
221
|
+
@RequestId = params['RequestId']
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
# DeleteUsers请求参数结构体
|
226
|
+
class DeleteUsersRequest < TencentCloud::Common::AbstractModel
|
227
|
+
# @param UserStoreId: 用户目录ID
|
228
|
+
# @type UserStoreId: String
|
229
|
+
# @param UserIds: 用户ID数组
|
230
|
+
# @type UserIds: Array
|
231
|
+
|
232
|
+
attr_accessor :UserStoreId, :UserIds
|
233
|
+
|
234
|
+
def initialize(userstoreid=nil, userids=nil)
|
235
|
+
@UserStoreId = userstoreid
|
236
|
+
@UserIds = userids
|
237
|
+
end
|
238
|
+
|
239
|
+
def deserialize(params)
|
240
|
+
@UserStoreId = params['UserStoreId']
|
241
|
+
@UserIds = params['UserIds']
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
# DeleteUsers返回参数结构体
|
246
|
+
class DeleteUsersResponse < TencentCloud::Common::AbstractModel
|
247
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
248
|
+
# @type RequestId: String
|
249
|
+
|
250
|
+
attr_accessor :RequestId
|
251
|
+
|
252
|
+
def initialize(requestid=nil)
|
253
|
+
@RequestId = requestid
|
254
|
+
end
|
255
|
+
|
256
|
+
def deserialize(params)
|
257
|
+
@RequestId = params['RequestId']
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
# DescribeUserById请求参数结构体
|
262
|
+
class DescribeUserByIdRequest < TencentCloud::Common::AbstractModel
|
263
|
+
# @param UserStoreId: 用户目录ID
|
264
|
+
# @type UserStoreId: String
|
265
|
+
# @param UserId: 用户ID
|
266
|
+
# @type UserId: String
|
267
|
+
|
268
|
+
attr_accessor :UserStoreId, :UserId
|
269
|
+
|
270
|
+
def initialize(userstoreid=nil, userid=nil)
|
271
|
+
@UserStoreId = userstoreid
|
272
|
+
@UserId = userid
|
273
|
+
end
|
274
|
+
|
275
|
+
def deserialize(params)
|
276
|
+
@UserStoreId = params['UserStoreId']
|
277
|
+
@UserId = params['UserId']
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
# DescribeUserById返回参数结构体
|
282
|
+
class DescribeUserByIdResponse < TencentCloud::Common::AbstractModel
|
283
|
+
# @param User: 用户信息
|
284
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
285
|
+
# @type User: :class:`Tencentcloud::Ciam.v20220331.models.User`
|
286
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
287
|
+
# @type RequestId: String
|
288
|
+
|
289
|
+
attr_accessor :User, :RequestId
|
290
|
+
|
291
|
+
def initialize(user=nil, requestid=nil)
|
292
|
+
@User = user
|
293
|
+
@RequestId = requestid
|
294
|
+
end
|
295
|
+
|
296
|
+
def deserialize(params)
|
297
|
+
unless params['User'].nil?
|
298
|
+
@User = User.new
|
299
|
+
@User.deserialize(params['User'])
|
300
|
+
end
|
301
|
+
@RequestId = params['RequestId']
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
# 失败详情
|
306
|
+
class ErrorDetails < TencentCloud::Common::AbstractModel
|
307
|
+
# @param UserId: 用户信息
|
308
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
309
|
+
# @type UserId: String
|
310
|
+
# @param Error: 失败原因
|
311
|
+
# @type Error: String
|
312
|
+
|
313
|
+
attr_accessor :UserId, :Error
|
314
|
+
|
315
|
+
def initialize(userid=nil, error=nil)
|
316
|
+
@UserId = userid
|
317
|
+
@Error = error
|
318
|
+
end
|
319
|
+
|
320
|
+
def deserialize(params)
|
321
|
+
@UserId = params['UserId']
|
322
|
+
@Error = params['Error']
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
326
|
+
# 导出属性映射
|
327
|
+
class ExportPropertyMap < TencentCloud::Common::AbstractModel
|
328
|
+
# @param UserPropertyCode: 用户属性code
|
329
|
+
# @type UserPropertyCode: String
|
330
|
+
# @param ColumnName: 用户属性映射名称
|
331
|
+
# @type ColumnName: String
|
332
|
+
|
333
|
+
attr_accessor :UserPropertyCode, :ColumnName
|
334
|
+
|
335
|
+
def initialize(userpropertycode=nil, columnname=nil)
|
336
|
+
@UserPropertyCode = userpropertycode
|
337
|
+
@ColumnName = columnname
|
338
|
+
end
|
339
|
+
|
340
|
+
def deserialize(params)
|
341
|
+
@UserPropertyCode = params['UserPropertyCode']
|
342
|
+
@ColumnName = params['ColumnName']
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
# 失败的用户
|
347
|
+
class FailedUsers < TencentCloud::Common::AbstractModel
|
348
|
+
# @param FailedUserIdentification: 失败用户标识
|
349
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
350
|
+
# @type FailedUserIdentification: String
|
351
|
+
# @param FailedReason: 导入的用户失败原因
|
352
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
353
|
+
# @type FailedReason: String
|
354
|
+
|
355
|
+
attr_accessor :FailedUserIdentification, :FailedReason
|
356
|
+
|
357
|
+
def initialize(faileduseridentification=nil, failedreason=nil)
|
358
|
+
@FailedUserIdentification = faileduseridentification
|
359
|
+
@FailedReason = failedreason
|
360
|
+
end
|
361
|
+
|
362
|
+
def deserialize(params)
|
363
|
+
@FailedUserIdentification = params['FailedUserIdentification']
|
364
|
+
@FailedReason = params['FailedReason']
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
# 查询条件
|
369
|
+
class Filter < TencentCloud::Common::AbstractModel
|
370
|
+
# @param Key: key值
|
371
|
+
# @type Key: String
|
372
|
+
# @param Values: value值
|
373
|
+
# @type Values: Array
|
374
|
+
# @param Logic: 逻辑值
|
375
|
+
# @type Logic: Boolean
|
376
|
+
|
377
|
+
attr_accessor :Key, :Values, :Logic
|
378
|
+
|
379
|
+
def initialize(key=nil, values=nil, logic=nil)
|
380
|
+
@Key = key
|
381
|
+
@Values = values
|
382
|
+
@Logic = logic
|
383
|
+
end
|
384
|
+
|
385
|
+
def deserialize(params)
|
386
|
+
@Key = params['Key']
|
387
|
+
@Values = params['Values']
|
388
|
+
@Logic = params['Logic']
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
392
|
+
# 导入用户信息
|
393
|
+
# 1、UserName,PhoneNumber ,Email ,WechatOpenId ,WechatUnionId ,AlipayUserId ,QqOpenId ,QqUnionId 八个属性中,导入时必须包含其中一个属性并遵守初始化自定义属性的正则表达式规则。UserName,PhoneNumber,Email的正则表达式在控制台的自定义属性中可以查询到。
|
394
|
+
# 2、对于密码的导入,导入的密码支持明文导入,MD5密文导入,SHA1密文导入,BCRYPT密文导入 ,这个需要在PasswordEncryptTypeEnum 字段中指定。
|
395
|
+
# 3、IdentityVerified,IdentityVerificationMethod 支持导入,
|
396
|
+
# IdentityVerified 为true,IdentityVerificationMethod必传;
|
397
|
+
# IdentityVerificationMethod 为nameAndIdCard,Name,ResidentIdentityCard必传
|
398
|
+
# IdentityVerificationMethod 为nameIdCardAndPhone,Name,PhoneNumber,ResidentIdentityCard必传;
|
399
|
+
class ImportUser < TencentCloud::Common::AbstractModel
|
400
|
+
# @param UserName: 用户名
|
401
|
+
# @type UserName: String
|
402
|
+
# @param PhoneNumber: 手机号
|
403
|
+
# @type PhoneNumber: String
|
404
|
+
# @param Email: 邮箱
|
405
|
+
# @type Email: String
|
406
|
+
# @param ResidentIdentityCard: 身份证号
|
407
|
+
# @type ResidentIdentityCard: String
|
408
|
+
# @param Nickname: 昵称
|
409
|
+
# @type Nickname: String
|
410
|
+
# @param Address: 地址
|
411
|
+
# @type Address: String
|
412
|
+
# @param UserGroup: 用户组ID
|
413
|
+
# @type UserGroup: Array
|
414
|
+
# @param QqOpenId: QQ qqOpenId
|
415
|
+
# @type QqOpenId: String
|
416
|
+
# @param QqUnionId: QQ qqUnionId
|
417
|
+
# @type QqUnionId: String
|
418
|
+
# @param WechatOpenId: 微信wechatOpenId
|
419
|
+
# @type WechatOpenId: String
|
420
|
+
# @param WechatUnionId: 微信wechatUnionId
|
421
|
+
# @type WechatUnionId: String
|
422
|
+
# @param AlipayUserId: 支付宝alipayUserId
|
423
|
+
# @type AlipayUserId: String
|
424
|
+
# @param Description: 描述
|
425
|
+
# @type Description: String
|
426
|
+
# @param Birthdate: 生日
|
427
|
+
# @type Birthdate: String
|
428
|
+
# @param Name: 姓名
|
429
|
+
# @type Name: String
|
430
|
+
# @param Locale: 坐标
|
431
|
+
# @type Locale: String
|
432
|
+
# @param Gender: 性别(MALE;FEMALE;UNKNOWN)
|
433
|
+
# @type Gender: String
|
434
|
+
# @param IdentityVerificationMethod: 实名核验方式
|
435
|
+
# @type IdentityVerificationMethod: String
|
436
|
+
# @param IdentityVerified: 是否已实名核验
|
437
|
+
# @type IdentityVerified: Boolean
|
438
|
+
# @param Job: 工作
|
439
|
+
# @type Job: String
|
440
|
+
# @param Nationality: 国家
|
441
|
+
# @type Nationality: String
|
442
|
+
# @param Zone: 时区
|
443
|
+
# @type Zone: String
|
444
|
+
# @param Password: 密码密文
|
445
|
+
# @type Password: String
|
446
|
+
# @param CustomizationAttributes: 自定义属性
|
447
|
+
# @type CustomizationAttributes: Array
|
448
|
+
# @param Salt: 密码盐
|
449
|
+
# @type Salt: :class:`Tencentcloud::Ciam.v20220331.models.Salt`
|
450
|
+
# @param PasswordEncryptTypeEnum: 密码加密方式(SHA1;BCRYPT)
|
451
|
+
# @type PasswordEncryptTypeEnum: String
|
452
|
+
|
453
|
+
attr_accessor :UserName, :PhoneNumber, :Email, :ResidentIdentityCard, :Nickname, :Address, :UserGroup, :QqOpenId, :QqUnionId, :WechatOpenId, :WechatUnionId, :AlipayUserId, :Description, :Birthdate, :Name, :Locale, :Gender, :IdentityVerificationMethod, :IdentityVerified, :Job, :Nationality, :Zone, :Password, :CustomizationAttributes, :Salt, :PasswordEncryptTypeEnum
|
454
|
+
|
455
|
+
def initialize(username=nil, phonenumber=nil, email=nil, residentidentitycard=nil, nickname=nil, address=nil, usergroup=nil, qqopenid=nil, qqunionid=nil, wechatopenid=nil, wechatunionid=nil, alipayuserid=nil, description=nil, birthdate=nil, name=nil, locale=nil, gender=nil, identityverificationmethod=nil, identityverified=nil, job=nil, nationality=nil, zone=nil, password=nil, customizationattributes=nil, salt=nil, passwordencrypttypeenum=nil)
|
456
|
+
@UserName = username
|
457
|
+
@PhoneNumber = phonenumber
|
458
|
+
@Email = email
|
459
|
+
@ResidentIdentityCard = residentidentitycard
|
460
|
+
@Nickname = nickname
|
461
|
+
@Address = address
|
462
|
+
@UserGroup = usergroup
|
463
|
+
@QqOpenId = qqopenid
|
464
|
+
@QqUnionId = qqunionid
|
465
|
+
@WechatOpenId = wechatopenid
|
466
|
+
@WechatUnionId = wechatunionid
|
467
|
+
@AlipayUserId = alipayuserid
|
468
|
+
@Description = description
|
469
|
+
@Birthdate = birthdate
|
470
|
+
@Name = name
|
471
|
+
@Locale = locale
|
472
|
+
@Gender = gender
|
473
|
+
@IdentityVerificationMethod = identityverificationmethod
|
474
|
+
@IdentityVerified = identityverified
|
475
|
+
@Job = job
|
476
|
+
@Nationality = nationality
|
477
|
+
@Zone = zone
|
478
|
+
@Password = password
|
479
|
+
@CustomizationAttributes = customizationattributes
|
480
|
+
@Salt = salt
|
481
|
+
@PasswordEncryptTypeEnum = passwordencrypttypeenum
|
482
|
+
end
|
483
|
+
|
484
|
+
def deserialize(params)
|
485
|
+
@UserName = params['UserName']
|
486
|
+
@PhoneNumber = params['PhoneNumber']
|
487
|
+
@Email = params['Email']
|
488
|
+
@ResidentIdentityCard = params['ResidentIdentityCard']
|
489
|
+
@Nickname = params['Nickname']
|
490
|
+
@Address = params['Address']
|
491
|
+
@UserGroup = params['UserGroup']
|
492
|
+
@QqOpenId = params['QqOpenId']
|
493
|
+
@QqUnionId = params['QqUnionId']
|
494
|
+
@WechatOpenId = params['WechatOpenId']
|
495
|
+
@WechatUnionId = params['WechatUnionId']
|
496
|
+
@AlipayUserId = params['AlipayUserId']
|
497
|
+
@Description = params['Description']
|
498
|
+
@Birthdate = params['Birthdate']
|
499
|
+
@Name = params['Name']
|
500
|
+
@Locale = params['Locale']
|
501
|
+
@Gender = params['Gender']
|
502
|
+
@IdentityVerificationMethod = params['IdentityVerificationMethod']
|
503
|
+
@IdentityVerified = params['IdentityVerified']
|
504
|
+
@Job = params['Job']
|
505
|
+
@Nationality = params['Nationality']
|
506
|
+
@Zone = params['Zone']
|
507
|
+
@Password = params['Password']
|
508
|
+
unless params['CustomizationAttributes'].nil?
|
509
|
+
@CustomizationAttributes = []
|
510
|
+
params['CustomizationAttributes'].each do |i|
|
511
|
+
membermap_tmp = MemberMap.new
|
512
|
+
membermap_tmp.deserialize(i)
|
513
|
+
@CustomizationAttributes << membermap_tmp
|
514
|
+
end
|
515
|
+
end
|
516
|
+
unless params['Salt'].nil?
|
517
|
+
@Salt = Salt.new
|
518
|
+
@Salt.deserialize(params['Salt'])
|
519
|
+
end
|
520
|
+
@PasswordEncryptTypeEnum = params['PasswordEncryptTypeEnum']
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
524
|
+
# 任务详情
|
525
|
+
class Job < TencentCloud::Common::AbstractModel
|
526
|
+
# @param Id: 任务ID
|
527
|
+
# @type Id: String
|
528
|
+
# @param Status: 任务状态
|
529
|
+
|
530
|
+
# <li> **PENDING** </li> 待执行
|
531
|
+
# <li> **PROCESSING** </li> 执行中
|
532
|
+
# <li> **COMPLETED** </li> 完成
|
533
|
+
# <li> **FAILED** </li> 失败
|
534
|
+
# @type Status: String
|
535
|
+
# @param Type: 任务类型
|
536
|
+
|
537
|
+
# <li> **IMPORT_USER** </li> 用户导入
|
538
|
+
# <li> **EXPORT_USER** </li> 用户导出
|
539
|
+
# @type Type: String
|
540
|
+
# @param CreatedDate: 任务创建时间
|
541
|
+
# @type CreatedDate: Integer
|
542
|
+
# @param Format: 任务的数据类型
|
543
|
+
|
544
|
+
# <li> **JSON** </li> JSON
|
545
|
+
# <li> **NDJSON** </li> New-line Delimited JSON
|
546
|
+
# <li> **CSV** </li> Comma-Separated Values
|
547
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
548
|
+
# @type Format: String
|
549
|
+
# @param Location: 任务结果下载地址
|
550
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
551
|
+
# @type Location: String
|
552
|
+
# @param ErrorDetails: 失败详情
|
553
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
554
|
+
# @type ErrorDetails: Array
|
555
|
+
# @param FailedUsers: 失败的用户
|
556
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
557
|
+
# @type FailedUsers: Array
|
558
|
+
|
559
|
+
attr_accessor :Id, :Status, :Type, :CreatedDate, :Format, :Location, :ErrorDetails, :FailedUsers
|
560
|
+
|
561
|
+
def initialize(id=nil, status=nil, type=nil, createddate=nil, format=nil, location=nil, errordetails=nil, failedusers=nil)
|
562
|
+
@Id = id
|
563
|
+
@Status = status
|
564
|
+
@Type = type
|
565
|
+
@CreatedDate = createddate
|
566
|
+
@Format = format
|
567
|
+
@Location = location
|
568
|
+
@ErrorDetails = errordetails
|
569
|
+
@FailedUsers = failedusers
|
570
|
+
end
|
571
|
+
|
572
|
+
def deserialize(params)
|
573
|
+
@Id = params['Id']
|
574
|
+
@Status = params['Status']
|
575
|
+
@Type = params['Type']
|
576
|
+
@CreatedDate = params['CreatedDate']
|
577
|
+
@Format = params['Format']
|
578
|
+
@Location = params['Location']
|
579
|
+
unless params['ErrorDetails'].nil?
|
580
|
+
@ErrorDetails = []
|
581
|
+
params['ErrorDetails'].each do |i|
|
582
|
+
errordetails_tmp = ErrorDetails.new
|
583
|
+
errordetails_tmp.deserialize(i)
|
584
|
+
@ErrorDetails << errordetails_tmp
|
585
|
+
end
|
586
|
+
end
|
587
|
+
unless params['FailedUsers'].nil?
|
588
|
+
@FailedUsers = []
|
589
|
+
params['FailedUsers'].each do |i|
|
590
|
+
failedusers_tmp = FailedUsers.new
|
591
|
+
failedusers_tmp.deserialize(i)
|
592
|
+
@FailedUsers << failedusers_tmp
|
593
|
+
end
|
594
|
+
end
|
595
|
+
end
|
596
|
+
end
|
597
|
+
|
598
|
+
# LinkAccount请求参数结构体
|
599
|
+
class LinkAccountRequest < TencentCloud::Common::AbstractModel
|
600
|
+
# @param UserStoreId: 用户目录ID
|
601
|
+
# @type UserStoreId: String
|
602
|
+
# @param PrimaryUserId: 主用户ID
|
603
|
+
# @type PrimaryUserId: String
|
604
|
+
# @param SecondaryUserId: 从用户ID
|
605
|
+
# @type SecondaryUserId: String
|
606
|
+
# @param UserLinkedOnAttribute: 融合属性
|
607
|
+
|
608
|
+
# <li> **PHONENUMBER** </li> 手机号码
|
609
|
+
# <li> **EMAIL** </li> 邮箱
|
610
|
+
# @type UserLinkedOnAttribute: String
|
611
|
+
|
612
|
+
attr_accessor :UserStoreId, :PrimaryUserId, :SecondaryUserId, :UserLinkedOnAttribute
|
613
|
+
|
614
|
+
def initialize(userstoreid=nil, primaryuserid=nil, secondaryuserid=nil, userlinkedonattribute=nil)
|
615
|
+
@UserStoreId = userstoreid
|
616
|
+
@PrimaryUserId = primaryuserid
|
617
|
+
@SecondaryUserId = secondaryuserid
|
618
|
+
@UserLinkedOnAttribute = userlinkedonattribute
|
619
|
+
end
|
620
|
+
|
621
|
+
def deserialize(params)
|
622
|
+
@UserStoreId = params['UserStoreId']
|
623
|
+
@PrimaryUserId = params['PrimaryUserId']
|
624
|
+
@SecondaryUserId = params['SecondaryUserId']
|
625
|
+
@UserLinkedOnAttribute = params['UserLinkedOnAttribute']
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
629
|
+
# LinkAccount返回参数结构体
|
630
|
+
class LinkAccountResponse < TencentCloud::Common::AbstractModel
|
631
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
632
|
+
# @type RequestId: String
|
633
|
+
|
634
|
+
attr_accessor :RequestId
|
635
|
+
|
636
|
+
def initialize(requestid=nil)
|
637
|
+
@RequestId = requestid
|
638
|
+
end
|
639
|
+
|
640
|
+
def deserialize(params)
|
641
|
+
@RequestId = params['RequestId']
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
645
|
+
# ListJobs请求参数结构体
|
646
|
+
class ListJobsRequest < TencentCloud::Common::AbstractModel
|
647
|
+
# @param UserStoreId: 用户目录ID
|
648
|
+
# @type UserStoreId: String
|
649
|
+
# @param JobIds: 任务ID列表,为空时返回全部任务
|
650
|
+
# @type JobIds: Array
|
651
|
+
|
652
|
+
attr_accessor :UserStoreId, :JobIds
|
653
|
+
|
654
|
+
def initialize(userstoreid=nil, jobids=nil)
|
655
|
+
@UserStoreId = userstoreid
|
656
|
+
@JobIds = jobids
|
657
|
+
end
|
658
|
+
|
659
|
+
def deserialize(params)
|
660
|
+
@UserStoreId = params['UserStoreId']
|
661
|
+
@JobIds = params['JobIds']
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
665
|
+
# ListJobs返回参数结构体
|
666
|
+
class ListJobsResponse < TencentCloud::Common::AbstractModel
|
667
|
+
# @param JobSet: 任务列表
|
668
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
669
|
+
# @type JobSet: Array
|
670
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
671
|
+
# @type RequestId: String
|
672
|
+
|
673
|
+
attr_accessor :JobSet, :RequestId
|
674
|
+
|
675
|
+
def initialize(jobset=nil, requestid=nil)
|
676
|
+
@JobSet = jobset
|
677
|
+
@RequestId = requestid
|
678
|
+
end
|
679
|
+
|
680
|
+
def deserialize(params)
|
681
|
+
unless params['JobSet'].nil?
|
682
|
+
@JobSet = []
|
683
|
+
params['JobSet'].each do |i|
|
684
|
+
job_tmp = Job.new
|
685
|
+
job_tmp.deserialize(i)
|
686
|
+
@JobSet << job_tmp
|
687
|
+
end
|
688
|
+
end
|
689
|
+
@RequestId = params['RequestId']
|
690
|
+
end
|
691
|
+
end
|
692
|
+
|
693
|
+
# ListUserByProperty请求参数结构体
|
694
|
+
class ListUserByPropertyRequest < TencentCloud::Common::AbstractModel
|
695
|
+
# @param UserStoreId: 用户目录ID
|
696
|
+
# @type UserStoreId: String
|
697
|
+
# @param PropertyCode: 查询的属性
|
698
|
+
|
699
|
+
# <li> **phoneNumber** </li> 手机号码
|
700
|
+
# <li> **email** </li> 邮箱
|
701
|
+
# @type PropertyCode: String
|
702
|
+
# @param PropertyValue: 属性值
|
703
|
+
# @type PropertyValue: String
|
704
|
+
|
705
|
+
attr_accessor :UserStoreId, :PropertyCode, :PropertyValue
|
706
|
+
|
707
|
+
def initialize(userstoreid=nil, propertycode=nil, propertyvalue=nil)
|
708
|
+
@UserStoreId = userstoreid
|
709
|
+
@PropertyCode = propertycode
|
710
|
+
@PropertyValue = propertyvalue
|
711
|
+
end
|
712
|
+
|
713
|
+
def deserialize(params)
|
714
|
+
@UserStoreId = params['UserStoreId']
|
715
|
+
@PropertyCode = params['PropertyCode']
|
716
|
+
@PropertyValue = params['PropertyValue']
|
717
|
+
end
|
718
|
+
end
|
719
|
+
|
720
|
+
# ListUserByProperty返回参数结构体
|
721
|
+
class ListUserByPropertyResponse < TencentCloud::Common::AbstractModel
|
722
|
+
# @param Users: 用户列表
|
723
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
724
|
+
# @type Users: Array
|
725
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
726
|
+
# @type RequestId: String
|
727
|
+
|
728
|
+
attr_accessor :Users, :RequestId
|
729
|
+
|
730
|
+
def initialize(users=nil, requestid=nil)
|
731
|
+
@Users = users
|
732
|
+
@RequestId = requestid
|
733
|
+
end
|
734
|
+
|
735
|
+
def deserialize(params)
|
736
|
+
unless params['Users'].nil?
|
737
|
+
@Users = []
|
738
|
+
params['Users'].each do |i|
|
739
|
+
user_tmp = User.new
|
740
|
+
user_tmp.deserialize(i)
|
741
|
+
@Users << user_tmp
|
742
|
+
end
|
743
|
+
end
|
744
|
+
@RequestId = params['RequestId']
|
745
|
+
end
|
746
|
+
end
|
747
|
+
|
748
|
+
# ListUser请求参数结构体
|
749
|
+
class ListUserRequest < TencentCloud::Common::AbstractModel
|
750
|
+
# @param UserStoreId: 用户目录ID
|
751
|
+
# @type UserStoreId: String
|
752
|
+
# @param Pageable: 分页数据
|
753
|
+
# @type Pageable: :class:`Tencentcloud::Ciam.v20220331.models.Pageable`
|
754
|
+
# @param Filters: Key可选值为condition、userGroupId
|
755
|
+
|
756
|
+
# <li> **condition** </li> Values = 查询条件,用户ID,用户名称,手机或邮箱
|
757
|
+
# <li> **userGroupId** </li> Values = 用户组ID
|
758
|
+
# @type Filters: Array
|
759
|
+
|
760
|
+
attr_accessor :UserStoreId, :Pageable, :Filters
|
761
|
+
|
762
|
+
def initialize(userstoreid=nil, pageable=nil, filters=nil)
|
763
|
+
@UserStoreId = userstoreid
|
764
|
+
@Pageable = pageable
|
765
|
+
@Filters = filters
|
766
|
+
end
|
767
|
+
|
768
|
+
def deserialize(params)
|
769
|
+
@UserStoreId = params['UserStoreId']
|
770
|
+
unless params['Pageable'].nil?
|
771
|
+
@Pageable = Pageable.new
|
772
|
+
@Pageable.deserialize(params['Pageable'])
|
773
|
+
end
|
774
|
+
unless params['Filters'].nil?
|
775
|
+
@Filters = []
|
776
|
+
params['Filters'].each do |i|
|
777
|
+
filter_tmp = Filter.new
|
778
|
+
filter_tmp.deserialize(i)
|
779
|
+
@Filters << filter_tmp
|
780
|
+
end
|
781
|
+
end
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
785
|
+
# ListUser返回参数结构体
|
786
|
+
class ListUserResponse < TencentCloud::Common::AbstractModel
|
787
|
+
# @param Total: 总条数
|
788
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
789
|
+
# @type Total: Integer
|
790
|
+
# @param Pageable: 分页对象
|
791
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
792
|
+
# @type Pageable: :class:`Tencentcloud::Ciam.v20220331.models.Pageable`
|
793
|
+
# @param Content: 用户列表
|
794
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
795
|
+
# @type Content: Array
|
796
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
797
|
+
# @type RequestId: String
|
798
|
+
|
799
|
+
attr_accessor :Total, :Pageable, :Content, :RequestId
|
800
|
+
|
801
|
+
def initialize(total=nil, pageable=nil, content=nil, requestid=nil)
|
802
|
+
@Total = total
|
803
|
+
@Pageable = pageable
|
804
|
+
@Content = content
|
805
|
+
@RequestId = requestid
|
806
|
+
end
|
807
|
+
|
808
|
+
def deserialize(params)
|
809
|
+
@Total = params['Total']
|
810
|
+
unless params['Pageable'].nil?
|
811
|
+
@Pageable = Pageable.new
|
812
|
+
@Pageable.deserialize(params['Pageable'])
|
813
|
+
end
|
814
|
+
unless params['Content'].nil?
|
815
|
+
@Content = []
|
816
|
+
params['Content'].each do |i|
|
817
|
+
user_tmp = User.new
|
818
|
+
user_tmp.deserialize(i)
|
819
|
+
@Content << user_tmp
|
820
|
+
end
|
821
|
+
end
|
822
|
+
@RequestId = params['RequestId']
|
823
|
+
end
|
824
|
+
end
|
825
|
+
|
826
|
+
# Map数据类型
|
827
|
+
class MemberMap < TencentCloud::Common::AbstractModel
|
828
|
+
# @param Name: 健
|
829
|
+
# @type Name: String
|
830
|
+
# @param Value: 值
|
831
|
+
# @type Value: String
|
832
|
+
# @param Type: 类型
|
833
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
834
|
+
# @type Type: String
|
835
|
+
|
836
|
+
attr_accessor :Name, :Value, :Type
|
837
|
+
|
838
|
+
def initialize(name=nil, value=nil, type=nil)
|
839
|
+
@Name = name
|
840
|
+
@Value = value
|
841
|
+
@Type = type
|
842
|
+
end
|
843
|
+
|
844
|
+
def deserialize(params)
|
845
|
+
@Name = params['Name']
|
846
|
+
@Value = params['Value']
|
847
|
+
@Type = params['Type']
|
848
|
+
end
|
849
|
+
end
|
850
|
+
|
851
|
+
# 分页对象
|
852
|
+
class Pageable < TencentCloud::Common::AbstractModel
|
853
|
+
# @param PageSize: 每页数量
|
854
|
+
# @type PageSize: Integer
|
855
|
+
# @param PageNumber: 当前页码
|
856
|
+
# @type PageNumber: Integer
|
857
|
+
|
858
|
+
attr_accessor :PageSize, :PageNumber
|
859
|
+
|
860
|
+
def initialize(pagesize=nil, pagenumber=nil)
|
861
|
+
@PageSize = pagesize
|
862
|
+
@PageNumber = pagenumber
|
863
|
+
end
|
864
|
+
|
865
|
+
def deserialize(params)
|
866
|
+
@PageSize = params['PageSize']
|
867
|
+
@PageNumber = params['PageNumber']
|
868
|
+
end
|
869
|
+
end
|
870
|
+
|
20
871
|
# ResetPassword请求参数结构体
|
21
872
|
class ResetPasswordRequest < TencentCloud::Common::AbstractModel
|
22
873
|
# @param UserId: 用户ID
|
@@ -57,6 +908,430 @@ module TencentCloud
|
|
57
908
|
end
|
58
909
|
end
|
59
910
|
|
911
|
+
# 密码盐
|
912
|
+
class Salt < TencentCloud::Common::AbstractModel
|
913
|
+
# @param SaltValue: 盐值
|
914
|
+
# @type SaltValue: String
|
915
|
+
# @param SaltLocation: 盐值位置
|
916
|
+
# @type SaltLocation: :class:`Tencentcloud::Ciam.v20220331.models.SaltLocation`
|
917
|
+
|
918
|
+
attr_accessor :SaltValue, :SaltLocation
|
919
|
+
|
920
|
+
def initialize(saltvalue=nil, saltlocation=nil)
|
921
|
+
@SaltValue = saltvalue
|
922
|
+
@SaltLocation = saltlocation
|
923
|
+
end
|
924
|
+
|
925
|
+
def deserialize(params)
|
926
|
+
@SaltValue = params['SaltValue']
|
927
|
+
unless params['SaltLocation'].nil?
|
928
|
+
@SaltLocation = SaltLocation.new
|
929
|
+
@SaltLocation.deserialize(params['SaltLocation'])
|
930
|
+
end
|
931
|
+
end
|
932
|
+
end
|
933
|
+
|
934
|
+
# 盐位
|
935
|
+
class SaltLocation < TencentCloud::Common::AbstractModel
|
936
|
+
# @param SaltLocationTypeEnum: 密码加盐的类型(HEAD,TAIL,OTHER)
|
937
|
+
# @type SaltLocationTypeEnum: String
|
938
|
+
# @param SaltLocationRule: 加盐规则
|
939
|
+
# @type SaltLocationRule: :class:`Tencentcloud::Ciam.v20220331.models.SaltLocationRule`
|
940
|
+
|
941
|
+
attr_accessor :SaltLocationTypeEnum, :SaltLocationRule
|
942
|
+
|
943
|
+
def initialize(saltlocationtypeenum=nil, saltlocationrule=nil)
|
944
|
+
@SaltLocationTypeEnum = saltlocationtypeenum
|
945
|
+
@SaltLocationRule = saltlocationrule
|
946
|
+
end
|
947
|
+
|
948
|
+
def deserialize(params)
|
949
|
+
@SaltLocationTypeEnum = params['SaltLocationTypeEnum']
|
950
|
+
unless params['SaltLocationRule'].nil?
|
951
|
+
@SaltLocationRule = SaltLocationRule.new
|
952
|
+
@SaltLocationRule.deserialize(params['SaltLocationRule'])
|
953
|
+
end
|
954
|
+
end
|
955
|
+
end
|
956
|
+
|
957
|
+
# 盐位规则
|
958
|
+
class SaltLocationRule < TencentCloud::Common::AbstractModel
|
959
|
+
# @param Regex: 表达式
|
960
|
+
# @type Regex: String
|
961
|
+
|
962
|
+
attr_accessor :Regex
|
963
|
+
|
964
|
+
def initialize(regex=nil)
|
965
|
+
@Regex = regex
|
966
|
+
end
|
967
|
+
|
968
|
+
def deserialize(params)
|
969
|
+
@Regex = params['Regex']
|
970
|
+
end
|
971
|
+
end
|
972
|
+
|
973
|
+
# SetPassword请求参数结构体
|
974
|
+
class SetPasswordRequest < TencentCloud::Common::AbstractModel
|
975
|
+
# @param UserStoreId: 用户目录ID
|
976
|
+
# @type UserStoreId: String
|
977
|
+
# @param UserId: 用户ID
|
978
|
+
# @type UserId: String
|
979
|
+
# @param Password: 密码
|
980
|
+
# @type Password: String
|
981
|
+
|
982
|
+
attr_accessor :UserStoreId, :UserId, :Password
|
983
|
+
|
984
|
+
def initialize(userstoreid=nil, userid=nil, password=nil)
|
985
|
+
@UserStoreId = userstoreid
|
986
|
+
@UserId = userid
|
987
|
+
@Password = password
|
988
|
+
end
|
989
|
+
|
990
|
+
def deserialize(params)
|
991
|
+
@UserStoreId = params['UserStoreId']
|
992
|
+
@UserId = params['UserId']
|
993
|
+
@Password = params['Password']
|
994
|
+
end
|
995
|
+
end
|
996
|
+
|
997
|
+
# SetPassword返回参数结构体
|
998
|
+
class SetPasswordResponse < TencentCloud::Common::AbstractModel
|
999
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1000
|
+
# @type RequestId: String
|
1001
|
+
|
1002
|
+
attr_accessor :RequestId
|
1003
|
+
|
1004
|
+
def initialize(requestid=nil)
|
1005
|
+
@RequestId = requestid
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
def deserialize(params)
|
1009
|
+
@RequestId = params['RequestId']
|
1010
|
+
end
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
# UpdateUser请求参数结构体
|
1014
|
+
class UpdateUserRequest < TencentCloud::Common::AbstractModel
|
1015
|
+
# @param UserId: 用户ID
|
1016
|
+
# @type UserId: String
|
1017
|
+
# @param UserStoreId: 用户目录ID
|
1018
|
+
# @type UserStoreId: String
|
1019
|
+
# @param UserName: 用户名称
|
1020
|
+
# @type UserName: String
|
1021
|
+
# @param PhoneNumber: 手机号码
|
1022
|
+
# @type PhoneNumber: String
|
1023
|
+
# @param Email: 邮箱
|
1024
|
+
# @type Email: String
|
1025
|
+
# @param Nickname: 昵称
|
1026
|
+
# @type Nickname: String
|
1027
|
+
# @param Address: 地址
|
1028
|
+
# @type Address: String
|
1029
|
+
# @param UserGroup: 用户组
|
1030
|
+
# @type UserGroup: Array
|
1031
|
+
# @param Birthdate: 生日
|
1032
|
+
# @type Birthdate: Integer
|
1033
|
+
# @param CustomizationAttributes: 自定义属性
|
1034
|
+
# @type CustomizationAttributes: Array
|
1035
|
+
|
1036
|
+
attr_accessor :UserId, :UserStoreId, :UserName, :PhoneNumber, :Email, :Nickname, :Address, :UserGroup, :Birthdate, :CustomizationAttributes
|
1037
|
+
|
1038
|
+
def initialize(userid=nil, userstoreid=nil, username=nil, phonenumber=nil, email=nil, nickname=nil, address=nil, usergroup=nil, birthdate=nil, customizationattributes=nil)
|
1039
|
+
@UserId = userid
|
1040
|
+
@UserStoreId = userstoreid
|
1041
|
+
@UserName = username
|
1042
|
+
@PhoneNumber = phonenumber
|
1043
|
+
@Email = email
|
1044
|
+
@Nickname = nickname
|
1045
|
+
@Address = address
|
1046
|
+
@UserGroup = usergroup
|
1047
|
+
@Birthdate = birthdate
|
1048
|
+
@CustomizationAttributes = customizationattributes
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
def deserialize(params)
|
1052
|
+
@UserId = params['UserId']
|
1053
|
+
@UserStoreId = params['UserStoreId']
|
1054
|
+
@UserName = params['UserName']
|
1055
|
+
@PhoneNumber = params['PhoneNumber']
|
1056
|
+
@Email = params['Email']
|
1057
|
+
@Nickname = params['Nickname']
|
1058
|
+
@Address = params['Address']
|
1059
|
+
@UserGroup = params['UserGroup']
|
1060
|
+
@Birthdate = params['Birthdate']
|
1061
|
+
unless params['CustomizationAttributes'].nil?
|
1062
|
+
@CustomizationAttributes = []
|
1063
|
+
params['CustomizationAttributes'].each do |i|
|
1064
|
+
membermap_tmp = MemberMap.new
|
1065
|
+
membermap_tmp.deserialize(i)
|
1066
|
+
@CustomizationAttributes << membermap_tmp
|
1067
|
+
end
|
1068
|
+
end
|
1069
|
+
end
|
1070
|
+
end
|
1071
|
+
|
1072
|
+
# UpdateUser返回参数结构体
|
1073
|
+
class UpdateUserResponse < TencentCloud::Common::AbstractModel
|
1074
|
+
# @param User: 更新之后的用户信息
|
1075
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1076
|
+
# @type User: :class:`Tencentcloud::Ciam.v20220331.models.User`
|
1077
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1078
|
+
# @type RequestId: String
|
1079
|
+
|
1080
|
+
attr_accessor :User, :RequestId
|
1081
|
+
|
1082
|
+
def initialize(user=nil, requestid=nil)
|
1083
|
+
@User = user
|
1084
|
+
@RequestId = requestid
|
1085
|
+
end
|
1086
|
+
|
1087
|
+
def deserialize(params)
|
1088
|
+
unless params['User'].nil?
|
1089
|
+
@User = User.new
|
1090
|
+
@User.deserialize(params['User'])
|
1091
|
+
end
|
1092
|
+
@RequestId = params['RequestId']
|
1093
|
+
end
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# UpdateUserStatus请求参数结构体
|
1097
|
+
class UpdateUserStatusRequest < TencentCloud::Common::AbstractModel
|
1098
|
+
# @param UserStoreId: 用户目录ID
|
1099
|
+
# @type UserStoreId: String
|
1100
|
+
# @param UserId: 用户ID
|
1101
|
+
# @type UserId: String
|
1102
|
+
# @param Status: 用户状态
|
1103
|
+
|
1104
|
+
# <li> **NORMAL** </li> 正常
|
1105
|
+
# <li> **LOCK** </li> 锁定
|
1106
|
+
# <li> **FREEZE** </li> 冻结
|
1107
|
+
# @type Status: String
|
1108
|
+
|
1109
|
+
attr_accessor :UserStoreId, :UserId, :Status
|
1110
|
+
|
1111
|
+
def initialize(userstoreid=nil, userid=nil, status=nil)
|
1112
|
+
@UserStoreId = userstoreid
|
1113
|
+
@UserId = userid
|
1114
|
+
@Status = status
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
def deserialize(params)
|
1118
|
+
@UserStoreId = params['UserStoreId']
|
1119
|
+
@UserId = params['UserId']
|
1120
|
+
@Status = params['Status']
|
1121
|
+
end
|
1122
|
+
end
|
1123
|
+
|
1124
|
+
# UpdateUserStatus返回参数结构体
|
1125
|
+
class UpdateUserStatusResponse < TencentCloud::Common::AbstractModel
|
1126
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1127
|
+
# @type RequestId: String
|
1128
|
+
|
1129
|
+
attr_accessor :RequestId
|
1130
|
+
|
1131
|
+
def initialize(requestid=nil)
|
1132
|
+
@RequestId = requestid
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
def deserialize(params)
|
1136
|
+
@RequestId = params['RequestId']
|
1137
|
+
end
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
# 用户信息
|
1141
|
+
class User < TencentCloud::Common::AbstractModel
|
1142
|
+
# @param UserId: 用户ID
|
1143
|
+
# @type UserId: String
|
1144
|
+
# @param UserName: 用户名
|
1145
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1146
|
+
# @type UserName: String
|
1147
|
+
# @param PhoneNumber: 手机号
|
1148
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1149
|
+
# @type PhoneNumber: String
|
1150
|
+
# @param Email: 邮箱
|
1151
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1152
|
+
# @type Email: String
|
1153
|
+
# @param LastSignOn: 上次登录时间
|
1154
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1155
|
+
# @type LastSignOn: Integer
|
1156
|
+
# @param CreatedDate: 创建时间
|
1157
|
+
# @type CreatedDate: Integer
|
1158
|
+
# @param Status: 状态
|
1159
|
+
# @type Status: String
|
1160
|
+
# @param UserDataSourceEnum: 用户来源
|
1161
|
+
# @type UserDataSourceEnum: String
|
1162
|
+
# @param Nickname: 昵称
|
1163
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1164
|
+
# @type Nickname: String
|
1165
|
+
# @param Address: 地址
|
1166
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1167
|
+
# @type Address: String
|
1168
|
+
# @param Birthdate: 生日
|
1169
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1170
|
+
# @type Birthdate: Integer
|
1171
|
+
# @param UserGroups: 用户组ID
|
1172
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1173
|
+
# @type UserGroups: Array
|
1174
|
+
# @param LastModifiedDate: 上次修改时间
|
1175
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1176
|
+
# @type LastModifiedDate: Integer
|
1177
|
+
# @param CustomAttributes: 自定义属性
|
1178
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1179
|
+
# @type CustomAttributes: Array
|
1180
|
+
# @param ResidentIdentityCard: 身份证号
|
1181
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1182
|
+
# @type ResidentIdentityCard: String
|
1183
|
+
# @param QqOpenId: QQ的OpenId
|
1184
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1185
|
+
# @type QqOpenId: String
|
1186
|
+
# @param QqUnionId: QQ的UnionId
|
1187
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1188
|
+
# @type QqUnionId: String
|
1189
|
+
# @param WechatOpenId: 微信的WechatOpenId
|
1190
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1191
|
+
# @type WechatOpenId: String
|
1192
|
+
# @param WechatUnionId: 微信的WechatUnionId
|
1193
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1194
|
+
# @type WechatUnionId: String
|
1195
|
+
# @param AlipayUserId: 支付宝的AlipayUserId
|
1196
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1197
|
+
# @type AlipayUserId: String
|
1198
|
+
# @param Description: 描述
|
1199
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1200
|
+
# @type Description: String
|
1201
|
+
# @param Name: 姓名
|
1202
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1203
|
+
# @type Name: String
|
1204
|
+
# @param Locale: 坐标
|
1205
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1206
|
+
# @type Locale: String
|
1207
|
+
# @param Gender: 性别
|
1208
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1209
|
+
# @type Gender: String
|
1210
|
+
# @param IdentityVerificationMethod: 实名核验方式
|
1211
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1212
|
+
# @type IdentityVerificationMethod: String
|
1213
|
+
# @param IdentityVerified: 是否已经实名核验
|
1214
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1215
|
+
# @type IdentityVerified: Boolean
|
1216
|
+
# @param Job: 工作
|
1217
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1218
|
+
# @type Job: String
|
1219
|
+
# @param Nationality: 国家
|
1220
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1221
|
+
# @type Nationality: String
|
1222
|
+
# @param Primary: 是否主账号(进行过账号融合后,主账号为true,从账号为false)
|
1223
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1224
|
+
# @type Primary: Boolean
|
1225
|
+
# @param Zone: 时区
|
1226
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1227
|
+
# @type Zone: String
|
1228
|
+
# @param AlreadyFirstLogin: 是否已经首次登录
|
1229
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1230
|
+
# @type AlreadyFirstLogin: Boolean
|
1231
|
+
# @param TenantId: 租户id
|
1232
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1233
|
+
# @type TenantId: String
|
1234
|
+
# @param UserStoreId: 用户目录id
|
1235
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1236
|
+
# @type UserStoreId: String
|
1237
|
+
# @param Version: 版本
|
1238
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1239
|
+
# @type Version: Integer
|
1240
|
+
# @param LockType: 锁定类型(分为管理员锁定,和登录策略锁定)
|
1241
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1242
|
+
# @type LockType: String
|
1243
|
+
# @param LockTime: 锁定时间点
|
1244
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1245
|
+
# @type LockTime: Integer
|
1246
|
+
|
1247
|
+
attr_accessor :UserId, :UserName, :PhoneNumber, :Email, :LastSignOn, :CreatedDate, :Status, :UserDataSourceEnum, :Nickname, :Address, :Birthdate, :UserGroups, :LastModifiedDate, :CustomAttributes, :ResidentIdentityCard, :QqOpenId, :QqUnionId, :WechatOpenId, :WechatUnionId, :AlipayUserId, :Description, :Name, :Locale, :Gender, :IdentityVerificationMethod, :IdentityVerified, :Job, :Nationality, :Primary, :Zone, :AlreadyFirstLogin, :TenantId, :UserStoreId, :Version, :LockType, :LockTime
|
1248
|
+
|
1249
|
+
def initialize(userid=nil, username=nil, phonenumber=nil, email=nil, lastsignon=nil, createddate=nil, status=nil, userdatasourceenum=nil, nickname=nil, address=nil, birthdate=nil, usergroups=nil, lastmodifieddate=nil, customattributes=nil, residentidentitycard=nil, qqopenid=nil, qqunionid=nil, wechatopenid=nil, wechatunionid=nil, alipayuserid=nil, description=nil, name=nil, locale=nil, gender=nil, identityverificationmethod=nil, identityverified=nil, job=nil, nationality=nil, primary=nil, zone=nil, alreadyfirstlogin=nil, tenantid=nil, userstoreid=nil, version=nil, locktype=nil, locktime=nil)
|
1250
|
+
@UserId = userid
|
1251
|
+
@UserName = username
|
1252
|
+
@PhoneNumber = phonenumber
|
1253
|
+
@Email = email
|
1254
|
+
@LastSignOn = lastsignon
|
1255
|
+
@CreatedDate = createddate
|
1256
|
+
@Status = status
|
1257
|
+
@UserDataSourceEnum = userdatasourceenum
|
1258
|
+
@Nickname = nickname
|
1259
|
+
@Address = address
|
1260
|
+
@Birthdate = birthdate
|
1261
|
+
@UserGroups = usergroups
|
1262
|
+
@LastModifiedDate = lastmodifieddate
|
1263
|
+
@CustomAttributes = customattributes
|
1264
|
+
@ResidentIdentityCard = residentidentitycard
|
1265
|
+
@QqOpenId = qqopenid
|
1266
|
+
@QqUnionId = qqunionid
|
1267
|
+
@WechatOpenId = wechatopenid
|
1268
|
+
@WechatUnionId = wechatunionid
|
1269
|
+
@AlipayUserId = alipayuserid
|
1270
|
+
@Description = description
|
1271
|
+
@Name = name
|
1272
|
+
@Locale = locale
|
1273
|
+
@Gender = gender
|
1274
|
+
@IdentityVerificationMethod = identityverificationmethod
|
1275
|
+
@IdentityVerified = identityverified
|
1276
|
+
@Job = job
|
1277
|
+
@Nationality = nationality
|
1278
|
+
@Primary = primary
|
1279
|
+
@Zone = zone
|
1280
|
+
@AlreadyFirstLogin = alreadyfirstlogin
|
1281
|
+
@TenantId = tenantid
|
1282
|
+
@UserStoreId = userstoreid
|
1283
|
+
@Version = version
|
1284
|
+
@LockType = locktype
|
1285
|
+
@LockTime = locktime
|
1286
|
+
end
|
1287
|
+
|
1288
|
+
def deserialize(params)
|
1289
|
+
@UserId = params['UserId']
|
1290
|
+
@UserName = params['UserName']
|
1291
|
+
@PhoneNumber = params['PhoneNumber']
|
1292
|
+
@Email = params['Email']
|
1293
|
+
@LastSignOn = params['LastSignOn']
|
1294
|
+
@CreatedDate = params['CreatedDate']
|
1295
|
+
@Status = params['Status']
|
1296
|
+
@UserDataSourceEnum = params['UserDataSourceEnum']
|
1297
|
+
@Nickname = params['Nickname']
|
1298
|
+
@Address = params['Address']
|
1299
|
+
@Birthdate = params['Birthdate']
|
1300
|
+
@UserGroups = params['UserGroups']
|
1301
|
+
@LastModifiedDate = params['LastModifiedDate']
|
1302
|
+
unless params['CustomAttributes'].nil?
|
1303
|
+
@CustomAttributes = []
|
1304
|
+
params['CustomAttributes'].each do |i|
|
1305
|
+
membermap_tmp = MemberMap.new
|
1306
|
+
membermap_tmp.deserialize(i)
|
1307
|
+
@CustomAttributes << membermap_tmp
|
1308
|
+
end
|
1309
|
+
end
|
1310
|
+
@ResidentIdentityCard = params['ResidentIdentityCard']
|
1311
|
+
@QqOpenId = params['QqOpenId']
|
1312
|
+
@QqUnionId = params['QqUnionId']
|
1313
|
+
@WechatOpenId = params['WechatOpenId']
|
1314
|
+
@WechatUnionId = params['WechatUnionId']
|
1315
|
+
@AlipayUserId = params['AlipayUserId']
|
1316
|
+
@Description = params['Description']
|
1317
|
+
@Name = params['Name']
|
1318
|
+
@Locale = params['Locale']
|
1319
|
+
@Gender = params['Gender']
|
1320
|
+
@IdentityVerificationMethod = params['IdentityVerificationMethod']
|
1321
|
+
@IdentityVerified = params['IdentityVerified']
|
1322
|
+
@Job = params['Job']
|
1323
|
+
@Nationality = params['Nationality']
|
1324
|
+
@Primary = params['Primary']
|
1325
|
+
@Zone = params['Zone']
|
1326
|
+
@AlreadyFirstLogin = params['AlreadyFirstLogin']
|
1327
|
+
@TenantId = params['TenantId']
|
1328
|
+
@UserStoreId = params['UserStoreId']
|
1329
|
+
@Version = params['Version']
|
1330
|
+
@LockType = params['LockType']
|
1331
|
+
@LockTime = params['LockTime']
|
1332
|
+
end
|
1333
|
+
end
|
1334
|
+
|
60
1335
|
end
|
61
1336
|
end
|
62
1337
|
end
|