tencentcloud-sdk-python 3.0.1208__py2.py3-none-any.whl → 3.0.1209__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aiart/v20221229/models.py +13 -0
- tencentcloud/cls/v20201016/models.py +31 -11
- tencentcloud/cwp/v20180228/cwp_client.py +26 -1
- tencentcloud/cwp/v20180228/models.py +190 -0
- tencentcloud/emr/v20190103/emr_client.py +69 -0
- tencentcloud/emr/v20190103/models.py +1362 -63
- tencentcloud/ioa/v20220601/models.py +6 -5
- tencentcloud/smh/v20210712/errorcodes.py +69 -0
- tencentcloud/smh/v20210712/models.py +1173 -36
- tencentcloud/smh/v20210712/smh_client.py +115 -0
- tencentcloud/trtc/v20190722/models.py +6 -28
- tencentcloud/trtc/v20190722/trtc_client.py +0 -3
- tencentcloud/vod/v20180717/models.py +13 -0
- {tencentcloud_sdk_python-3.0.1208.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1208.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/RECORD +19 -19
- {tencentcloud_sdk_python-3.0.1208.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1208.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1208.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/top_level.txt +0 -0
@@ -138,6 +138,519 @@ class CreateLibraryResponse(AbstractModel):
|
|
138
138
|
self._RequestId = params.get("RequestId")
|
139
139
|
|
140
140
|
|
141
|
+
class CreateUserLifecycleRequest(AbstractModel):
|
142
|
+
"""CreateUserLifecycle请求参数结构体
|
143
|
+
|
144
|
+
"""
|
145
|
+
|
146
|
+
def __init__(self):
|
147
|
+
r"""
|
148
|
+
:param _LibraryId: 媒体库 ID。
|
149
|
+
:type LibraryId: str
|
150
|
+
:param _Filter: 用于唯一查找用户的过滤器。
|
151
|
+
:type Filter: :class:`tencentcloud.smh.v20210712.models.UserFilter`
|
152
|
+
:param _IsolateTime: 隔离时间,当时间超过该时间点后,指定用户将无法登录,但他的账号信息、文件资源会被保留,可以通过再次调用本接口更新隔离时间,恢复登录。如不指定,则代表不设置隔离时间,且当前用户已经设置的隔离时间会被删除。
|
153
|
+
:type IsolateTime: str
|
154
|
+
:param _DestroyTime: 销毁时间,当时间超过该时间点后,指定用户的资源将被销毁且无法通过再次调用此接口更新时间。如果同时指定了 IsolateTime 则不能早于 IsolateTime 指定的时间。如不指定,则代表不设置销毁时间,且当前用户已经设置的销毁时间会被删除。
|
155
|
+
:type DestroyTime: str
|
156
|
+
"""
|
157
|
+
self._LibraryId = None
|
158
|
+
self._Filter = None
|
159
|
+
self._IsolateTime = None
|
160
|
+
self._DestroyTime = None
|
161
|
+
|
162
|
+
@property
|
163
|
+
def LibraryId(self):
|
164
|
+
return self._LibraryId
|
165
|
+
|
166
|
+
@LibraryId.setter
|
167
|
+
def LibraryId(self, LibraryId):
|
168
|
+
self._LibraryId = LibraryId
|
169
|
+
|
170
|
+
@property
|
171
|
+
def Filter(self):
|
172
|
+
return self._Filter
|
173
|
+
|
174
|
+
@Filter.setter
|
175
|
+
def Filter(self, Filter):
|
176
|
+
self._Filter = Filter
|
177
|
+
|
178
|
+
@property
|
179
|
+
def IsolateTime(self):
|
180
|
+
return self._IsolateTime
|
181
|
+
|
182
|
+
@IsolateTime.setter
|
183
|
+
def IsolateTime(self, IsolateTime):
|
184
|
+
self._IsolateTime = IsolateTime
|
185
|
+
|
186
|
+
@property
|
187
|
+
def DestroyTime(self):
|
188
|
+
return self._DestroyTime
|
189
|
+
|
190
|
+
@DestroyTime.setter
|
191
|
+
def DestroyTime(self, DestroyTime):
|
192
|
+
self._DestroyTime = DestroyTime
|
193
|
+
|
194
|
+
|
195
|
+
def _deserialize(self, params):
|
196
|
+
self._LibraryId = params.get("LibraryId")
|
197
|
+
if params.get("Filter") is not None:
|
198
|
+
self._Filter = UserFilter()
|
199
|
+
self._Filter._deserialize(params.get("Filter"))
|
200
|
+
self._IsolateTime = params.get("IsolateTime")
|
201
|
+
self._DestroyTime = params.get("DestroyTime")
|
202
|
+
memeber_set = set(params.keys())
|
203
|
+
for name, value in vars(self).items():
|
204
|
+
property_name = name[1:]
|
205
|
+
if property_name in memeber_set:
|
206
|
+
memeber_set.remove(property_name)
|
207
|
+
if len(memeber_set) > 0:
|
208
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
class CreateUserLifecycleResponse(AbstractModel):
|
213
|
+
"""CreateUserLifecycle返回参数结构体
|
214
|
+
|
215
|
+
"""
|
216
|
+
|
217
|
+
def __init__(self):
|
218
|
+
r"""
|
219
|
+
:param _UserId: 用户 ID。
|
220
|
+
:type UserId: str
|
221
|
+
:param _IsolateTime: 设置的隔离时间。
|
222
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
223
|
+
:type IsolateTime: str
|
224
|
+
:param _DestroyTime: 设置的销毁时间。
|
225
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
226
|
+
:type DestroyTime: str
|
227
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
228
|
+
:type RequestId: str
|
229
|
+
"""
|
230
|
+
self._UserId = None
|
231
|
+
self._IsolateTime = None
|
232
|
+
self._DestroyTime = None
|
233
|
+
self._RequestId = None
|
234
|
+
|
235
|
+
@property
|
236
|
+
def UserId(self):
|
237
|
+
return self._UserId
|
238
|
+
|
239
|
+
@UserId.setter
|
240
|
+
def UserId(self, UserId):
|
241
|
+
self._UserId = UserId
|
242
|
+
|
243
|
+
@property
|
244
|
+
def IsolateTime(self):
|
245
|
+
return self._IsolateTime
|
246
|
+
|
247
|
+
@IsolateTime.setter
|
248
|
+
def IsolateTime(self, IsolateTime):
|
249
|
+
self._IsolateTime = IsolateTime
|
250
|
+
|
251
|
+
@property
|
252
|
+
def DestroyTime(self):
|
253
|
+
return self._DestroyTime
|
254
|
+
|
255
|
+
@DestroyTime.setter
|
256
|
+
def DestroyTime(self, DestroyTime):
|
257
|
+
self._DestroyTime = DestroyTime
|
258
|
+
|
259
|
+
@property
|
260
|
+
def RequestId(self):
|
261
|
+
return self._RequestId
|
262
|
+
|
263
|
+
@RequestId.setter
|
264
|
+
def RequestId(self, RequestId):
|
265
|
+
self._RequestId = RequestId
|
266
|
+
|
267
|
+
|
268
|
+
def _deserialize(self, params):
|
269
|
+
self._UserId = params.get("UserId")
|
270
|
+
self._IsolateTime = params.get("IsolateTime")
|
271
|
+
self._DestroyTime = params.get("DestroyTime")
|
272
|
+
self._RequestId = params.get("RequestId")
|
273
|
+
|
274
|
+
|
275
|
+
class CreateUserRequest(AbstractModel):
|
276
|
+
"""CreateUser请求参数结构体
|
277
|
+
|
278
|
+
"""
|
279
|
+
|
280
|
+
def __init__(self):
|
281
|
+
r"""
|
282
|
+
:param _LibraryId: 媒体库 ID。
|
283
|
+
:type LibraryId: str
|
284
|
+
:param _Role: 用户角色,当只支持 user。
|
285
|
+
:type Role: str
|
286
|
+
:param _Enabled: 是否启用。
|
287
|
+
:type Enabled: bool
|
288
|
+
:param _CountryCode: 手机号国家码,不传默认为 null,此时无法使用该登录方式进行登录。
|
289
|
+
:type CountryCode: str
|
290
|
+
:param _PhoneNumber: 手机号码,不传默认为 null,此时无法使用该登录方式进行登录。如果与同一媒体库内已有手机号重复则报错。CountryCode 和 PhoneNumber 必须同时传入或同时不传入。
|
291
|
+
:type PhoneNumber: str
|
292
|
+
:param _Email: 邮箱,不传默认为 null,此时无法使用该登录方式进行登录。如果与同一媒体库内已有邮箱重复则报错。
|
293
|
+
:type Email: str
|
294
|
+
:param _AccountName: 账号,不传默认为 null,此时无法使用该登录方式进行登录。如果与同一媒体库内已有账号重复则报错。只能使用大小写字母、数字、中划线、下划线、小数点,长度不超过 50 个字符。
|
295
|
+
:type AccountName: str
|
296
|
+
:param _AccountPassword: 密码的 base64 形式,不传默认为 null,此时无法使用该登录方式进行登录。AccountName 和 AccountPassword 必须同时传入或同时不传入。
|
297
|
+
:type AccountPassword: str
|
298
|
+
:param _AccountUserId: 第三方账号 ID,用于关联第三方账号体系,不传默认为 null,此时无法使用该登录方式进行登录。如果与同一媒体库内已有第三方账号重复则报错。只能使用大小写字母、数字、中划线、下划线、小数点,长度不超过 200 个字符。
|
299
|
+
:type AccountUserId: str
|
300
|
+
:param _Comment: 备注。不超过 255 个字符。
|
301
|
+
:type Comment: str
|
302
|
+
:param _Nickname: 昵称。不超过 100 个字符。
|
303
|
+
:type Nickname: str
|
304
|
+
:param _Avatar: 用户头像地址。不超过 255 个字符。
|
305
|
+
:type Avatar: str
|
306
|
+
:param _Customize: 自定义信息。不超过 255 个字符。
|
307
|
+
:type Customize: str
|
308
|
+
"""
|
309
|
+
self._LibraryId = None
|
310
|
+
self._Role = None
|
311
|
+
self._Enabled = None
|
312
|
+
self._CountryCode = None
|
313
|
+
self._PhoneNumber = None
|
314
|
+
self._Email = None
|
315
|
+
self._AccountName = None
|
316
|
+
self._AccountPassword = None
|
317
|
+
self._AccountUserId = None
|
318
|
+
self._Comment = None
|
319
|
+
self._Nickname = None
|
320
|
+
self._Avatar = None
|
321
|
+
self._Customize = None
|
322
|
+
|
323
|
+
@property
|
324
|
+
def LibraryId(self):
|
325
|
+
return self._LibraryId
|
326
|
+
|
327
|
+
@LibraryId.setter
|
328
|
+
def LibraryId(self, LibraryId):
|
329
|
+
self._LibraryId = LibraryId
|
330
|
+
|
331
|
+
@property
|
332
|
+
def Role(self):
|
333
|
+
return self._Role
|
334
|
+
|
335
|
+
@Role.setter
|
336
|
+
def Role(self, Role):
|
337
|
+
self._Role = Role
|
338
|
+
|
339
|
+
@property
|
340
|
+
def Enabled(self):
|
341
|
+
return self._Enabled
|
342
|
+
|
343
|
+
@Enabled.setter
|
344
|
+
def Enabled(self, Enabled):
|
345
|
+
self._Enabled = Enabled
|
346
|
+
|
347
|
+
@property
|
348
|
+
def CountryCode(self):
|
349
|
+
return self._CountryCode
|
350
|
+
|
351
|
+
@CountryCode.setter
|
352
|
+
def CountryCode(self, CountryCode):
|
353
|
+
self._CountryCode = CountryCode
|
354
|
+
|
355
|
+
@property
|
356
|
+
def PhoneNumber(self):
|
357
|
+
return self._PhoneNumber
|
358
|
+
|
359
|
+
@PhoneNumber.setter
|
360
|
+
def PhoneNumber(self, PhoneNumber):
|
361
|
+
self._PhoneNumber = PhoneNumber
|
362
|
+
|
363
|
+
@property
|
364
|
+
def Email(self):
|
365
|
+
return self._Email
|
366
|
+
|
367
|
+
@Email.setter
|
368
|
+
def Email(self, Email):
|
369
|
+
self._Email = Email
|
370
|
+
|
371
|
+
@property
|
372
|
+
def AccountName(self):
|
373
|
+
return self._AccountName
|
374
|
+
|
375
|
+
@AccountName.setter
|
376
|
+
def AccountName(self, AccountName):
|
377
|
+
self._AccountName = AccountName
|
378
|
+
|
379
|
+
@property
|
380
|
+
def AccountPassword(self):
|
381
|
+
return self._AccountPassword
|
382
|
+
|
383
|
+
@AccountPassword.setter
|
384
|
+
def AccountPassword(self, AccountPassword):
|
385
|
+
self._AccountPassword = AccountPassword
|
386
|
+
|
387
|
+
@property
|
388
|
+
def AccountUserId(self):
|
389
|
+
return self._AccountUserId
|
390
|
+
|
391
|
+
@AccountUserId.setter
|
392
|
+
def AccountUserId(self, AccountUserId):
|
393
|
+
self._AccountUserId = AccountUserId
|
394
|
+
|
395
|
+
@property
|
396
|
+
def Comment(self):
|
397
|
+
return self._Comment
|
398
|
+
|
399
|
+
@Comment.setter
|
400
|
+
def Comment(self, Comment):
|
401
|
+
self._Comment = Comment
|
402
|
+
|
403
|
+
@property
|
404
|
+
def Nickname(self):
|
405
|
+
return self._Nickname
|
406
|
+
|
407
|
+
@Nickname.setter
|
408
|
+
def Nickname(self, Nickname):
|
409
|
+
self._Nickname = Nickname
|
410
|
+
|
411
|
+
@property
|
412
|
+
def Avatar(self):
|
413
|
+
return self._Avatar
|
414
|
+
|
415
|
+
@Avatar.setter
|
416
|
+
def Avatar(self, Avatar):
|
417
|
+
self._Avatar = Avatar
|
418
|
+
|
419
|
+
@property
|
420
|
+
def Customize(self):
|
421
|
+
return self._Customize
|
422
|
+
|
423
|
+
@Customize.setter
|
424
|
+
def Customize(self, Customize):
|
425
|
+
self._Customize = Customize
|
426
|
+
|
427
|
+
|
428
|
+
def _deserialize(self, params):
|
429
|
+
self._LibraryId = params.get("LibraryId")
|
430
|
+
self._Role = params.get("Role")
|
431
|
+
self._Enabled = params.get("Enabled")
|
432
|
+
self._CountryCode = params.get("CountryCode")
|
433
|
+
self._PhoneNumber = params.get("PhoneNumber")
|
434
|
+
self._Email = params.get("Email")
|
435
|
+
self._AccountName = params.get("AccountName")
|
436
|
+
self._AccountPassword = params.get("AccountPassword")
|
437
|
+
self._AccountUserId = params.get("AccountUserId")
|
438
|
+
self._Comment = params.get("Comment")
|
439
|
+
self._Nickname = params.get("Nickname")
|
440
|
+
self._Avatar = params.get("Avatar")
|
441
|
+
self._Customize = params.get("Customize")
|
442
|
+
memeber_set = set(params.keys())
|
443
|
+
for name, value in vars(self).items():
|
444
|
+
property_name = name[1:]
|
445
|
+
if property_name in memeber_set:
|
446
|
+
memeber_set.remove(property_name)
|
447
|
+
if len(memeber_set) > 0:
|
448
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
class CreateUserResponse(AbstractModel):
|
453
|
+
"""CreateUser返回参数结构体
|
454
|
+
|
455
|
+
"""
|
456
|
+
|
457
|
+
def __init__(self):
|
458
|
+
r"""
|
459
|
+
:param _LibraryId: 用户所在的媒体库 ID。
|
460
|
+
:type LibraryId: str
|
461
|
+
:param _UserId: 用户 ID。
|
462
|
+
:type UserId: str
|
463
|
+
:param _CreationTime: 用户创建时间。
|
464
|
+
:type CreationTime: str
|
465
|
+
:param _Role: 用户角色.
|
466
|
+
:type Role: str
|
467
|
+
:param _Enabled: 是否启用。
|
468
|
+
:type Enabled: bool
|
469
|
+
:param _CountryCode: 手机号国家码,如未指定则为 null。
|
470
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
471
|
+
:type CountryCode: str
|
472
|
+
:param _PhoneNumber: 手机号码,如未指定则为 null。
|
473
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
474
|
+
:type PhoneNumber: str
|
475
|
+
:param _Email: 邮箱,如未指定则为 null。
|
476
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
477
|
+
:type Email: str
|
478
|
+
:param _AccountName: 账号,如未指定则为 null。
|
479
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
480
|
+
:type AccountName: str
|
481
|
+
:param _AccountUserId: 第三方账号 ID,用于关联第三方账号体系,如未指定则为 null。
|
482
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
483
|
+
:type AccountUserId: str
|
484
|
+
:param _Comment: 备注。
|
485
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
486
|
+
:type Comment: str
|
487
|
+
:param _Nickname: 昵称。
|
488
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
489
|
+
:type Nickname: str
|
490
|
+
:param _Avatar: 用户头像地址。
|
491
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
492
|
+
:type Avatar: str
|
493
|
+
:param _Customize: 自定义信息。
|
494
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
495
|
+
:type Customize: str
|
496
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
497
|
+
:type RequestId: str
|
498
|
+
"""
|
499
|
+
self._LibraryId = None
|
500
|
+
self._UserId = None
|
501
|
+
self._CreationTime = None
|
502
|
+
self._Role = None
|
503
|
+
self._Enabled = None
|
504
|
+
self._CountryCode = None
|
505
|
+
self._PhoneNumber = None
|
506
|
+
self._Email = None
|
507
|
+
self._AccountName = None
|
508
|
+
self._AccountUserId = None
|
509
|
+
self._Comment = None
|
510
|
+
self._Nickname = None
|
511
|
+
self._Avatar = None
|
512
|
+
self._Customize = None
|
513
|
+
self._RequestId = None
|
514
|
+
|
515
|
+
@property
|
516
|
+
def LibraryId(self):
|
517
|
+
return self._LibraryId
|
518
|
+
|
519
|
+
@LibraryId.setter
|
520
|
+
def LibraryId(self, LibraryId):
|
521
|
+
self._LibraryId = LibraryId
|
522
|
+
|
523
|
+
@property
|
524
|
+
def UserId(self):
|
525
|
+
return self._UserId
|
526
|
+
|
527
|
+
@UserId.setter
|
528
|
+
def UserId(self, UserId):
|
529
|
+
self._UserId = UserId
|
530
|
+
|
531
|
+
@property
|
532
|
+
def CreationTime(self):
|
533
|
+
return self._CreationTime
|
534
|
+
|
535
|
+
@CreationTime.setter
|
536
|
+
def CreationTime(self, CreationTime):
|
537
|
+
self._CreationTime = CreationTime
|
538
|
+
|
539
|
+
@property
|
540
|
+
def Role(self):
|
541
|
+
return self._Role
|
542
|
+
|
543
|
+
@Role.setter
|
544
|
+
def Role(self, Role):
|
545
|
+
self._Role = Role
|
546
|
+
|
547
|
+
@property
|
548
|
+
def Enabled(self):
|
549
|
+
return self._Enabled
|
550
|
+
|
551
|
+
@Enabled.setter
|
552
|
+
def Enabled(self, Enabled):
|
553
|
+
self._Enabled = Enabled
|
554
|
+
|
555
|
+
@property
|
556
|
+
def CountryCode(self):
|
557
|
+
return self._CountryCode
|
558
|
+
|
559
|
+
@CountryCode.setter
|
560
|
+
def CountryCode(self, CountryCode):
|
561
|
+
self._CountryCode = CountryCode
|
562
|
+
|
563
|
+
@property
|
564
|
+
def PhoneNumber(self):
|
565
|
+
return self._PhoneNumber
|
566
|
+
|
567
|
+
@PhoneNumber.setter
|
568
|
+
def PhoneNumber(self, PhoneNumber):
|
569
|
+
self._PhoneNumber = PhoneNumber
|
570
|
+
|
571
|
+
@property
|
572
|
+
def Email(self):
|
573
|
+
return self._Email
|
574
|
+
|
575
|
+
@Email.setter
|
576
|
+
def Email(self, Email):
|
577
|
+
self._Email = Email
|
578
|
+
|
579
|
+
@property
|
580
|
+
def AccountName(self):
|
581
|
+
return self._AccountName
|
582
|
+
|
583
|
+
@AccountName.setter
|
584
|
+
def AccountName(self, AccountName):
|
585
|
+
self._AccountName = AccountName
|
586
|
+
|
587
|
+
@property
|
588
|
+
def AccountUserId(self):
|
589
|
+
return self._AccountUserId
|
590
|
+
|
591
|
+
@AccountUserId.setter
|
592
|
+
def AccountUserId(self, AccountUserId):
|
593
|
+
self._AccountUserId = AccountUserId
|
594
|
+
|
595
|
+
@property
|
596
|
+
def Comment(self):
|
597
|
+
return self._Comment
|
598
|
+
|
599
|
+
@Comment.setter
|
600
|
+
def Comment(self, Comment):
|
601
|
+
self._Comment = Comment
|
602
|
+
|
603
|
+
@property
|
604
|
+
def Nickname(self):
|
605
|
+
return self._Nickname
|
606
|
+
|
607
|
+
@Nickname.setter
|
608
|
+
def Nickname(self, Nickname):
|
609
|
+
self._Nickname = Nickname
|
610
|
+
|
611
|
+
@property
|
612
|
+
def Avatar(self):
|
613
|
+
return self._Avatar
|
614
|
+
|
615
|
+
@Avatar.setter
|
616
|
+
def Avatar(self, Avatar):
|
617
|
+
self._Avatar = Avatar
|
618
|
+
|
619
|
+
@property
|
620
|
+
def Customize(self):
|
621
|
+
return self._Customize
|
622
|
+
|
623
|
+
@Customize.setter
|
624
|
+
def Customize(self, Customize):
|
625
|
+
self._Customize = Customize
|
626
|
+
|
627
|
+
@property
|
628
|
+
def RequestId(self):
|
629
|
+
return self._RequestId
|
630
|
+
|
631
|
+
@RequestId.setter
|
632
|
+
def RequestId(self, RequestId):
|
633
|
+
self._RequestId = RequestId
|
634
|
+
|
635
|
+
|
636
|
+
def _deserialize(self, params):
|
637
|
+
self._LibraryId = params.get("LibraryId")
|
638
|
+
self._UserId = params.get("UserId")
|
639
|
+
self._CreationTime = params.get("CreationTime")
|
640
|
+
self._Role = params.get("Role")
|
641
|
+
self._Enabled = params.get("Enabled")
|
642
|
+
self._CountryCode = params.get("CountryCode")
|
643
|
+
self._PhoneNumber = params.get("PhoneNumber")
|
644
|
+
self._Email = params.get("Email")
|
645
|
+
self._AccountName = params.get("AccountName")
|
646
|
+
self._AccountUserId = params.get("AccountUserId")
|
647
|
+
self._Comment = params.get("Comment")
|
648
|
+
self._Nickname = params.get("Nickname")
|
649
|
+
self._Avatar = params.get("Avatar")
|
650
|
+
self._Customize = params.get("Customize")
|
651
|
+
self._RequestId = params.get("RequestId")
|
652
|
+
|
653
|
+
|
141
654
|
class DeleteLibraryRequest(AbstractModel):
|
142
655
|
"""DeleteLibrary请求参数结构体
|
143
656
|
|
@@ -196,6 +709,81 @@ class DeleteLibraryResponse(AbstractModel):
|
|
196
709
|
self._RequestId = params.get("RequestId")
|
197
710
|
|
198
711
|
|
712
|
+
class DeleteUserRequest(AbstractModel):
|
713
|
+
"""DeleteUser请求参数结构体
|
714
|
+
|
715
|
+
"""
|
716
|
+
|
717
|
+
def __init__(self):
|
718
|
+
r"""
|
719
|
+
:param _LibraryId: 媒体库 ID。
|
720
|
+
:type LibraryId: str
|
721
|
+
:param _Filters: 用于唯一查找用户的过滤器数组,数组之间为 **或** 的关系,即满足任意一个过滤器的用户,都将被删除,单次传入的过滤器最多为 100 个。
|
722
|
+
:type Filters: list of UserFilter
|
723
|
+
"""
|
724
|
+
self._LibraryId = None
|
725
|
+
self._Filters = None
|
726
|
+
|
727
|
+
@property
|
728
|
+
def LibraryId(self):
|
729
|
+
return self._LibraryId
|
730
|
+
|
731
|
+
@LibraryId.setter
|
732
|
+
def LibraryId(self, LibraryId):
|
733
|
+
self._LibraryId = LibraryId
|
734
|
+
|
735
|
+
@property
|
736
|
+
def Filters(self):
|
737
|
+
return self._Filters
|
738
|
+
|
739
|
+
@Filters.setter
|
740
|
+
def Filters(self, Filters):
|
741
|
+
self._Filters = Filters
|
742
|
+
|
743
|
+
|
744
|
+
def _deserialize(self, params):
|
745
|
+
self._LibraryId = params.get("LibraryId")
|
746
|
+
if params.get("Filters") is not None:
|
747
|
+
self._Filters = []
|
748
|
+
for item in params.get("Filters"):
|
749
|
+
obj = UserFilter()
|
750
|
+
obj._deserialize(item)
|
751
|
+
self._Filters.append(obj)
|
752
|
+
memeber_set = set(params.keys())
|
753
|
+
for name, value in vars(self).items():
|
754
|
+
property_name = name[1:]
|
755
|
+
if property_name in memeber_set:
|
756
|
+
memeber_set.remove(property_name)
|
757
|
+
if len(memeber_set) > 0:
|
758
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
759
|
+
|
760
|
+
|
761
|
+
|
762
|
+
class DeleteUserResponse(AbstractModel):
|
763
|
+
"""DeleteUser返回参数结构体
|
764
|
+
|
765
|
+
"""
|
766
|
+
|
767
|
+
def __init__(self):
|
768
|
+
r"""
|
769
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
770
|
+
:type RequestId: str
|
771
|
+
"""
|
772
|
+
self._RequestId = None
|
773
|
+
|
774
|
+
@property
|
775
|
+
def RequestId(self):
|
776
|
+
return self._RequestId
|
777
|
+
|
778
|
+
@RequestId.setter
|
779
|
+
def RequestId(self, RequestId):
|
780
|
+
self._RequestId = RequestId
|
781
|
+
|
782
|
+
|
783
|
+
def _deserialize(self, params):
|
784
|
+
self._RequestId = params.get("RequestId")
|
785
|
+
|
786
|
+
|
199
787
|
class DescribeLibrariesRequest(AbstractModel):
|
200
788
|
"""DescribeLibraries请求参数结构体
|
201
789
|
|
@@ -707,21 +1295,122 @@ class DescribeTrafficPackagesRequest(AbstractModel):
|
|
707
1295
|
self._OrderByType = OrderByType
|
708
1296
|
|
709
1297
|
@property
|
710
|
-
def Type(self):
|
711
|
-
return self._Type
|
1298
|
+
def Type(self):
|
1299
|
+
return self._Type
|
1300
|
+
|
1301
|
+
@Type.setter
|
1302
|
+
def Type(self, Type):
|
1303
|
+
self._Type = Type
|
1304
|
+
|
1305
|
+
|
1306
|
+
def _deserialize(self, params):
|
1307
|
+
self._ResourceIds = params.get("ResourceIds")
|
1308
|
+
self._PageNumber = params.get("PageNumber")
|
1309
|
+
self._PageSize = params.get("PageSize")
|
1310
|
+
self._OrderBy = params.get("OrderBy")
|
1311
|
+
self._OrderByType = params.get("OrderByType")
|
1312
|
+
self._Type = params.get("Type")
|
1313
|
+
memeber_set = set(params.keys())
|
1314
|
+
for name, value in vars(self).items():
|
1315
|
+
property_name = name[1:]
|
1316
|
+
if property_name in memeber_set:
|
1317
|
+
memeber_set.remove(property_name)
|
1318
|
+
if len(memeber_set) > 0:
|
1319
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1320
|
+
|
1321
|
+
|
1322
|
+
|
1323
|
+
class DescribeTrafficPackagesResponse(AbstractModel):
|
1324
|
+
"""DescribeTrafficPackages返回参数结构体
|
1325
|
+
|
1326
|
+
"""
|
1327
|
+
|
1328
|
+
def __init__(self):
|
1329
|
+
r"""
|
1330
|
+
:param _List: 流量包列表
|
1331
|
+
:type List: list of TrafficPackage
|
1332
|
+
:param _TotalCount: 总数
|
1333
|
+
:type TotalCount: int
|
1334
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1335
|
+
:type RequestId: str
|
1336
|
+
"""
|
1337
|
+
self._List = None
|
1338
|
+
self._TotalCount = None
|
1339
|
+
self._RequestId = None
|
1340
|
+
|
1341
|
+
@property
|
1342
|
+
def List(self):
|
1343
|
+
return self._List
|
1344
|
+
|
1345
|
+
@List.setter
|
1346
|
+
def List(self, List):
|
1347
|
+
self._List = List
|
1348
|
+
|
1349
|
+
@property
|
1350
|
+
def TotalCount(self):
|
1351
|
+
return self._TotalCount
|
1352
|
+
|
1353
|
+
@TotalCount.setter
|
1354
|
+
def TotalCount(self, TotalCount):
|
1355
|
+
self._TotalCount = TotalCount
|
1356
|
+
|
1357
|
+
@property
|
1358
|
+
def RequestId(self):
|
1359
|
+
return self._RequestId
|
1360
|
+
|
1361
|
+
@RequestId.setter
|
1362
|
+
def RequestId(self, RequestId):
|
1363
|
+
self._RequestId = RequestId
|
1364
|
+
|
1365
|
+
|
1366
|
+
def _deserialize(self, params):
|
1367
|
+
if params.get("List") is not None:
|
1368
|
+
self._List = []
|
1369
|
+
for item in params.get("List"):
|
1370
|
+
obj = TrafficPackage()
|
1371
|
+
obj._deserialize(item)
|
1372
|
+
self._List.append(obj)
|
1373
|
+
self._TotalCount = params.get("TotalCount")
|
1374
|
+
self._RequestId = params.get("RequestId")
|
1375
|
+
|
1376
|
+
|
1377
|
+
class DescribeUserLifecycleRequest(AbstractModel):
|
1378
|
+
"""DescribeUserLifecycle请求参数结构体
|
1379
|
+
|
1380
|
+
"""
|
1381
|
+
|
1382
|
+
def __init__(self):
|
1383
|
+
r"""
|
1384
|
+
:param _LibraryId: 媒体库 ID。
|
1385
|
+
:type LibraryId: str
|
1386
|
+
:param _Filter: 用于唯一查找用户的过滤器。
|
1387
|
+
:type Filter: :class:`tencentcloud.smh.v20210712.models.UserFilter`
|
1388
|
+
"""
|
1389
|
+
self._LibraryId = None
|
1390
|
+
self._Filter = None
|
1391
|
+
|
1392
|
+
@property
|
1393
|
+
def LibraryId(self):
|
1394
|
+
return self._LibraryId
|
1395
|
+
|
1396
|
+
@LibraryId.setter
|
1397
|
+
def LibraryId(self, LibraryId):
|
1398
|
+
self._LibraryId = LibraryId
|
1399
|
+
|
1400
|
+
@property
|
1401
|
+
def Filter(self):
|
1402
|
+
return self._Filter
|
712
1403
|
|
713
|
-
@
|
714
|
-
def
|
715
|
-
self.
|
1404
|
+
@Filter.setter
|
1405
|
+
def Filter(self, Filter):
|
1406
|
+
self._Filter = Filter
|
716
1407
|
|
717
1408
|
|
718
1409
|
def _deserialize(self, params):
|
719
|
-
self.
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
self._OrderByType = params.get("OrderByType")
|
724
|
-
self._Type = params.get("Type")
|
1410
|
+
self._LibraryId = params.get("LibraryId")
|
1411
|
+
if params.get("Filter") is not None:
|
1412
|
+
self._Filter = UserFilter()
|
1413
|
+
self._Filter._deserialize(params.get("Filter"))
|
725
1414
|
memeber_set = set(params.keys())
|
726
1415
|
for name, value in vars(self).items():
|
727
1416
|
property_name = name[1:]
|
@@ -732,39 +1421,52 @@ class DescribeTrafficPackagesRequest(AbstractModel):
|
|
732
1421
|
|
733
1422
|
|
734
1423
|
|
735
|
-
class
|
736
|
-
"""
|
1424
|
+
class DescribeUserLifecycleResponse(AbstractModel):
|
1425
|
+
"""DescribeUserLifecycle返回参数结构体
|
737
1426
|
|
738
1427
|
"""
|
739
1428
|
|
740
1429
|
def __init__(self):
|
741
1430
|
r"""
|
742
|
-
:param
|
743
|
-
:type
|
744
|
-
:param
|
745
|
-
|
1431
|
+
:param _UserId: 用户 ID。
|
1432
|
+
:type UserId: str
|
1433
|
+
:param _IsolateTime: 设置的隔离时间。
|
1434
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1435
|
+
:type IsolateTime: str
|
1436
|
+
:param _DestroyTime: 设置的销毁时间。
|
1437
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1438
|
+
:type DestroyTime: str
|
746
1439
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
747
1440
|
:type RequestId: str
|
748
1441
|
"""
|
749
|
-
self.
|
750
|
-
self.
|
1442
|
+
self._UserId = None
|
1443
|
+
self._IsolateTime = None
|
1444
|
+
self._DestroyTime = None
|
751
1445
|
self._RequestId = None
|
752
1446
|
|
753
1447
|
@property
|
754
|
-
def
|
755
|
-
return self.
|
1448
|
+
def UserId(self):
|
1449
|
+
return self._UserId
|
756
1450
|
|
757
|
-
@
|
758
|
-
def
|
759
|
-
self.
|
1451
|
+
@UserId.setter
|
1452
|
+
def UserId(self, UserId):
|
1453
|
+
self._UserId = UserId
|
760
1454
|
|
761
1455
|
@property
|
762
|
-
def
|
763
|
-
return self.
|
1456
|
+
def IsolateTime(self):
|
1457
|
+
return self._IsolateTime
|
764
1458
|
|
765
|
-
@
|
766
|
-
def
|
767
|
-
self.
|
1459
|
+
@IsolateTime.setter
|
1460
|
+
def IsolateTime(self, IsolateTime):
|
1461
|
+
self._IsolateTime = IsolateTime
|
1462
|
+
|
1463
|
+
@property
|
1464
|
+
def DestroyTime(self):
|
1465
|
+
return self._DestroyTime
|
1466
|
+
|
1467
|
+
@DestroyTime.setter
|
1468
|
+
def DestroyTime(self, DestroyTime):
|
1469
|
+
self._DestroyTime = DestroyTime
|
768
1470
|
|
769
1471
|
@property
|
770
1472
|
def RequestId(self):
|
@@ -776,13 +1478,9 @@ class DescribeTrafficPackagesResponse(AbstractModel):
|
|
776
1478
|
|
777
1479
|
|
778
1480
|
def _deserialize(self, params):
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
obj = TrafficPackage()
|
783
|
-
obj._deserialize(item)
|
784
|
-
self._List.append(obj)
|
785
|
-
self._TotalCount = params.get("TotalCount")
|
1481
|
+
self._UserId = params.get("UserId")
|
1482
|
+
self._IsolateTime = params.get("IsolateTime")
|
1483
|
+
self._DestroyTime = params.get("DestroyTime")
|
786
1484
|
self._RequestId = params.get("RequestId")
|
787
1485
|
|
788
1486
|
|
@@ -1432,6 +2130,395 @@ class ModifyLibraryResponse(AbstractModel):
|
|
1432
2130
|
self._RequestId = params.get("RequestId")
|
1433
2131
|
|
1434
2132
|
|
2133
|
+
class ModifyUserRequest(AbstractModel):
|
2134
|
+
"""ModifyUser请求参数结构体
|
2135
|
+
|
2136
|
+
"""
|
2137
|
+
|
2138
|
+
def __init__(self):
|
2139
|
+
r"""
|
2140
|
+
:param _LibraryId: 媒体库 ID。
|
2141
|
+
:type LibraryId: str
|
2142
|
+
:param _Filter: 用于唯一查找用户的过滤器。
|
2143
|
+
:type Filter: :class:`tencentcloud.smh.v20210712.models.UserFilter`
|
2144
|
+
:param _Role: 用户角色,当只支持 user。
|
2145
|
+
:type Role: str
|
2146
|
+
:param _Enabled: 是否启用。
|
2147
|
+
:type Enabled: bool
|
2148
|
+
:param _CountryCode: 手机号国家码,不传默认为 null,此时无法使用该登录方式进行登录。
|
2149
|
+
:type CountryCode: str
|
2150
|
+
:param _PhoneNumber: 手机号码,不传默认为 null,此时无法使用该登录方式进行登录。如果与同一媒体库内已有手机号重复则报错。CountryCode 和 PhoneNumber 必须同时传入或同时不传入。
|
2151
|
+
:type PhoneNumber: str
|
2152
|
+
:param _Email: 邮箱,不传默认为 null,此时无法使用该登录方式进行登录。如果与同一媒体库内已有邮箱重复则报错。
|
2153
|
+
:type Email: str
|
2154
|
+
:param _AccountName: 账号,不传默认为 null,此时无法使用该登录方式进行登录。如果与同一媒体库内已有账号重复则报错。只能使用大小写字母、数字、中划线、下划线、小数点,长度不超过 50 个字符。
|
2155
|
+
:type AccountName: str
|
2156
|
+
:param _AccountPassword: 密码的 base64 形式,不传默认为 null,此时无法使用该登录方式进行登录。AccountName 和 AccountPassword 必须同时传入或同时不传入。
|
2157
|
+
:type AccountPassword: str
|
2158
|
+
:param _AccountUserId: 第三方账号 ID,用于关联第三方账号体系,不传默认为 null,此时无法使用该登录方式进行登录。如果与同一媒体库内已有第三方账号重复则报错。只能使用大小写字母、数字、中划线、下划线、小数点,长度不超过 200 个字符。
|
2159
|
+
:type AccountUserId: str
|
2160
|
+
:param _Comment: 备注。不超过 255 个字符。
|
2161
|
+
:type Comment: str
|
2162
|
+
:param _Nickname: 昵称。不超过 100 个字符。
|
2163
|
+
:type Nickname: str
|
2164
|
+
:param _Avatar: 用户头像地址。不超过 255 个字符。
|
2165
|
+
:type Avatar: str
|
2166
|
+
:param _Customize: 自定义信息。不超过 255 个字符。
|
2167
|
+
:type Customize: str
|
2168
|
+
"""
|
2169
|
+
self._LibraryId = None
|
2170
|
+
self._Filter = None
|
2171
|
+
self._Role = None
|
2172
|
+
self._Enabled = None
|
2173
|
+
self._CountryCode = None
|
2174
|
+
self._PhoneNumber = None
|
2175
|
+
self._Email = None
|
2176
|
+
self._AccountName = None
|
2177
|
+
self._AccountPassword = None
|
2178
|
+
self._AccountUserId = None
|
2179
|
+
self._Comment = None
|
2180
|
+
self._Nickname = None
|
2181
|
+
self._Avatar = None
|
2182
|
+
self._Customize = None
|
2183
|
+
|
2184
|
+
@property
|
2185
|
+
def LibraryId(self):
|
2186
|
+
return self._LibraryId
|
2187
|
+
|
2188
|
+
@LibraryId.setter
|
2189
|
+
def LibraryId(self, LibraryId):
|
2190
|
+
self._LibraryId = LibraryId
|
2191
|
+
|
2192
|
+
@property
|
2193
|
+
def Filter(self):
|
2194
|
+
return self._Filter
|
2195
|
+
|
2196
|
+
@Filter.setter
|
2197
|
+
def Filter(self, Filter):
|
2198
|
+
self._Filter = Filter
|
2199
|
+
|
2200
|
+
@property
|
2201
|
+
def Role(self):
|
2202
|
+
return self._Role
|
2203
|
+
|
2204
|
+
@Role.setter
|
2205
|
+
def Role(self, Role):
|
2206
|
+
self._Role = Role
|
2207
|
+
|
2208
|
+
@property
|
2209
|
+
def Enabled(self):
|
2210
|
+
return self._Enabled
|
2211
|
+
|
2212
|
+
@Enabled.setter
|
2213
|
+
def Enabled(self, Enabled):
|
2214
|
+
self._Enabled = Enabled
|
2215
|
+
|
2216
|
+
@property
|
2217
|
+
def CountryCode(self):
|
2218
|
+
return self._CountryCode
|
2219
|
+
|
2220
|
+
@CountryCode.setter
|
2221
|
+
def CountryCode(self, CountryCode):
|
2222
|
+
self._CountryCode = CountryCode
|
2223
|
+
|
2224
|
+
@property
|
2225
|
+
def PhoneNumber(self):
|
2226
|
+
return self._PhoneNumber
|
2227
|
+
|
2228
|
+
@PhoneNumber.setter
|
2229
|
+
def PhoneNumber(self, PhoneNumber):
|
2230
|
+
self._PhoneNumber = PhoneNumber
|
2231
|
+
|
2232
|
+
@property
|
2233
|
+
def Email(self):
|
2234
|
+
return self._Email
|
2235
|
+
|
2236
|
+
@Email.setter
|
2237
|
+
def Email(self, Email):
|
2238
|
+
self._Email = Email
|
2239
|
+
|
2240
|
+
@property
|
2241
|
+
def AccountName(self):
|
2242
|
+
return self._AccountName
|
2243
|
+
|
2244
|
+
@AccountName.setter
|
2245
|
+
def AccountName(self, AccountName):
|
2246
|
+
self._AccountName = AccountName
|
2247
|
+
|
2248
|
+
@property
|
2249
|
+
def AccountPassword(self):
|
2250
|
+
return self._AccountPassword
|
2251
|
+
|
2252
|
+
@AccountPassword.setter
|
2253
|
+
def AccountPassword(self, AccountPassword):
|
2254
|
+
self._AccountPassword = AccountPassword
|
2255
|
+
|
2256
|
+
@property
|
2257
|
+
def AccountUserId(self):
|
2258
|
+
return self._AccountUserId
|
2259
|
+
|
2260
|
+
@AccountUserId.setter
|
2261
|
+
def AccountUserId(self, AccountUserId):
|
2262
|
+
self._AccountUserId = AccountUserId
|
2263
|
+
|
2264
|
+
@property
|
2265
|
+
def Comment(self):
|
2266
|
+
return self._Comment
|
2267
|
+
|
2268
|
+
@Comment.setter
|
2269
|
+
def Comment(self, Comment):
|
2270
|
+
self._Comment = Comment
|
2271
|
+
|
2272
|
+
@property
|
2273
|
+
def Nickname(self):
|
2274
|
+
return self._Nickname
|
2275
|
+
|
2276
|
+
@Nickname.setter
|
2277
|
+
def Nickname(self, Nickname):
|
2278
|
+
self._Nickname = Nickname
|
2279
|
+
|
2280
|
+
@property
|
2281
|
+
def Avatar(self):
|
2282
|
+
return self._Avatar
|
2283
|
+
|
2284
|
+
@Avatar.setter
|
2285
|
+
def Avatar(self, Avatar):
|
2286
|
+
self._Avatar = Avatar
|
2287
|
+
|
2288
|
+
@property
|
2289
|
+
def Customize(self):
|
2290
|
+
return self._Customize
|
2291
|
+
|
2292
|
+
@Customize.setter
|
2293
|
+
def Customize(self, Customize):
|
2294
|
+
self._Customize = Customize
|
2295
|
+
|
2296
|
+
|
2297
|
+
def _deserialize(self, params):
|
2298
|
+
self._LibraryId = params.get("LibraryId")
|
2299
|
+
if params.get("Filter") is not None:
|
2300
|
+
self._Filter = UserFilter()
|
2301
|
+
self._Filter._deserialize(params.get("Filter"))
|
2302
|
+
self._Role = params.get("Role")
|
2303
|
+
self._Enabled = params.get("Enabled")
|
2304
|
+
self._CountryCode = params.get("CountryCode")
|
2305
|
+
self._PhoneNumber = params.get("PhoneNumber")
|
2306
|
+
self._Email = params.get("Email")
|
2307
|
+
self._AccountName = params.get("AccountName")
|
2308
|
+
self._AccountPassword = params.get("AccountPassword")
|
2309
|
+
self._AccountUserId = params.get("AccountUserId")
|
2310
|
+
self._Comment = params.get("Comment")
|
2311
|
+
self._Nickname = params.get("Nickname")
|
2312
|
+
self._Avatar = params.get("Avatar")
|
2313
|
+
self._Customize = params.get("Customize")
|
2314
|
+
memeber_set = set(params.keys())
|
2315
|
+
for name, value in vars(self).items():
|
2316
|
+
property_name = name[1:]
|
2317
|
+
if property_name in memeber_set:
|
2318
|
+
memeber_set.remove(property_name)
|
2319
|
+
if len(memeber_set) > 0:
|
2320
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2321
|
+
|
2322
|
+
|
2323
|
+
|
2324
|
+
class ModifyUserResponse(AbstractModel):
|
2325
|
+
"""ModifyUser返回参数结构体
|
2326
|
+
|
2327
|
+
"""
|
2328
|
+
|
2329
|
+
def __init__(self):
|
2330
|
+
r"""
|
2331
|
+
:param _LibraryId: 用户所在的媒体库 ID。
|
2332
|
+
:type LibraryId: str
|
2333
|
+
:param _UserId: 用户 ID。
|
2334
|
+
:type UserId: str
|
2335
|
+
:param _CreationTime: 用户创建时间。
|
2336
|
+
:type CreationTime: str
|
2337
|
+
:param _Role: 用户角色.
|
2338
|
+
:type Role: str
|
2339
|
+
:param _Enabled: 是否启用。
|
2340
|
+
:type Enabled: bool
|
2341
|
+
:param _CountryCode: 手机号国家码,如未指定则为 null。
|
2342
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2343
|
+
:type CountryCode: str
|
2344
|
+
:param _PhoneNumber: 手机号码,如未指定则为 null。
|
2345
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2346
|
+
:type PhoneNumber: str
|
2347
|
+
:param _Email: 邮箱,如未指定则为 null。
|
2348
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2349
|
+
:type Email: str
|
2350
|
+
:param _AccountName: 账号,如未指定则为 null。
|
2351
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2352
|
+
:type AccountName: str
|
2353
|
+
:param _AccountUserId: 第三方账号 ID,用于关联第三方账号体系,如未指定则为 null。
|
2354
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2355
|
+
:type AccountUserId: str
|
2356
|
+
:param _Comment: 备注。
|
2357
|
+
:type Comment: str
|
2358
|
+
:param _Nickname: 昵称。
|
2359
|
+
:type Nickname: str
|
2360
|
+
:param _Avatar: 用户头像地址。
|
2361
|
+
:type Avatar: str
|
2362
|
+
:param _Customize: 自定义信息。
|
2363
|
+
:type Customize: str
|
2364
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2365
|
+
:type RequestId: str
|
2366
|
+
"""
|
2367
|
+
self._LibraryId = None
|
2368
|
+
self._UserId = None
|
2369
|
+
self._CreationTime = None
|
2370
|
+
self._Role = None
|
2371
|
+
self._Enabled = None
|
2372
|
+
self._CountryCode = None
|
2373
|
+
self._PhoneNumber = None
|
2374
|
+
self._Email = None
|
2375
|
+
self._AccountName = None
|
2376
|
+
self._AccountUserId = None
|
2377
|
+
self._Comment = None
|
2378
|
+
self._Nickname = None
|
2379
|
+
self._Avatar = None
|
2380
|
+
self._Customize = None
|
2381
|
+
self._RequestId = None
|
2382
|
+
|
2383
|
+
@property
|
2384
|
+
def LibraryId(self):
|
2385
|
+
return self._LibraryId
|
2386
|
+
|
2387
|
+
@LibraryId.setter
|
2388
|
+
def LibraryId(self, LibraryId):
|
2389
|
+
self._LibraryId = LibraryId
|
2390
|
+
|
2391
|
+
@property
|
2392
|
+
def UserId(self):
|
2393
|
+
return self._UserId
|
2394
|
+
|
2395
|
+
@UserId.setter
|
2396
|
+
def UserId(self, UserId):
|
2397
|
+
self._UserId = UserId
|
2398
|
+
|
2399
|
+
@property
|
2400
|
+
def CreationTime(self):
|
2401
|
+
return self._CreationTime
|
2402
|
+
|
2403
|
+
@CreationTime.setter
|
2404
|
+
def CreationTime(self, CreationTime):
|
2405
|
+
self._CreationTime = CreationTime
|
2406
|
+
|
2407
|
+
@property
|
2408
|
+
def Role(self):
|
2409
|
+
return self._Role
|
2410
|
+
|
2411
|
+
@Role.setter
|
2412
|
+
def Role(self, Role):
|
2413
|
+
self._Role = Role
|
2414
|
+
|
2415
|
+
@property
|
2416
|
+
def Enabled(self):
|
2417
|
+
return self._Enabled
|
2418
|
+
|
2419
|
+
@Enabled.setter
|
2420
|
+
def Enabled(self, Enabled):
|
2421
|
+
self._Enabled = Enabled
|
2422
|
+
|
2423
|
+
@property
|
2424
|
+
def CountryCode(self):
|
2425
|
+
return self._CountryCode
|
2426
|
+
|
2427
|
+
@CountryCode.setter
|
2428
|
+
def CountryCode(self, CountryCode):
|
2429
|
+
self._CountryCode = CountryCode
|
2430
|
+
|
2431
|
+
@property
|
2432
|
+
def PhoneNumber(self):
|
2433
|
+
return self._PhoneNumber
|
2434
|
+
|
2435
|
+
@PhoneNumber.setter
|
2436
|
+
def PhoneNumber(self, PhoneNumber):
|
2437
|
+
self._PhoneNumber = PhoneNumber
|
2438
|
+
|
2439
|
+
@property
|
2440
|
+
def Email(self):
|
2441
|
+
return self._Email
|
2442
|
+
|
2443
|
+
@Email.setter
|
2444
|
+
def Email(self, Email):
|
2445
|
+
self._Email = Email
|
2446
|
+
|
2447
|
+
@property
|
2448
|
+
def AccountName(self):
|
2449
|
+
return self._AccountName
|
2450
|
+
|
2451
|
+
@AccountName.setter
|
2452
|
+
def AccountName(self, AccountName):
|
2453
|
+
self._AccountName = AccountName
|
2454
|
+
|
2455
|
+
@property
|
2456
|
+
def AccountUserId(self):
|
2457
|
+
return self._AccountUserId
|
2458
|
+
|
2459
|
+
@AccountUserId.setter
|
2460
|
+
def AccountUserId(self, AccountUserId):
|
2461
|
+
self._AccountUserId = AccountUserId
|
2462
|
+
|
2463
|
+
@property
|
2464
|
+
def Comment(self):
|
2465
|
+
return self._Comment
|
2466
|
+
|
2467
|
+
@Comment.setter
|
2468
|
+
def Comment(self, Comment):
|
2469
|
+
self._Comment = Comment
|
2470
|
+
|
2471
|
+
@property
|
2472
|
+
def Nickname(self):
|
2473
|
+
return self._Nickname
|
2474
|
+
|
2475
|
+
@Nickname.setter
|
2476
|
+
def Nickname(self, Nickname):
|
2477
|
+
self._Nickname = Nickname
|
2478
|
+
|
2479
|
+
@property
|
2480
|
+
def Avatar(self):
|
2481
|
+
return self._Avatar
|
2482
|
+
|
2483
|
+
@Avatar.setter
|
2484
|
+
def Avatar(self, Avatar):
|
2485
|
+
self._Avatar = Avatar
|
2486
|
+
|
2487
|
+
@property
|
2488
|
+
def Customize(self):
|
2489
|
+
return self._Customize
|
2490
|
+
|
2491
|
+
@Customize.setter
|
2492
|
+
def Customize(self, Customize):
|
2493
|
+
self._Customize = Customize
|
2494
|
+
|
2495
|
+
@property
|
2496
|
+
def RequestId(self):
|
2497
|
+
return self._RequestId
|
2498
|
+
|
2499
|
+
@RequestId.setter
|
2500
|
+
def RequestId(self, RequestId):
|
2501
|
+
self._RequestId = RequestId
|
2502
|
+
|
2503
|
+
|
2504
|
+
def _deserialize(self, params):
|
2505
|
+
self._LibraryId = params.get("LibraryId")
|
2506
|
+
self._UserId = params.get("UserId")
|
2507
|
+
self._CreationTime = params.get("CreationTime")
|
2508
|
+
self._Role = params.get("Role")
|
2509
|
+
self._Enabled = params.get("Enabled")
|
2510
|
+
self._CountryCode = params.get("CountryCode")
|
2511
|
+
self._PhoneNumber = params.get("PhoneNumber")
|
2512
|
+
self._Email = params.get("Email")
|
2513
|
+
self._AccountName = params.get("AccountName")
|
2514
|
+
self._AccountUserId = params.get("AccountUserId")
|
2515
|
+
self._Comment = params.get("Comment")
|
2516
|
+
self._Nickname = params.get("Nickname")
|
2517
|
+
self._Avatar = params.get("Avatar")
|
2518
|
+
self._Customize = params.get("Customize")
|
2519
|
+
self._RequestId = params.get("RequestId")
|
2520
|
+
|
2521
|
+
|
1435
2522
|
class SendSmsCodeRequest(AbstractModel):
|
1436
2523
|
"""SendSmsCode请求参数结构体
|
1437
2524
|
|
@@ -1669,6 +2756,56 @@ class TrafficPackage(AbstractModel):
|
|
1669
2756
|
|
1670
2757
|
|
1671
2758
|
|
2759
|
+
class UserFilter(AbstractModel):
|
2760
|
+
"""用于唯一查找用户的过滤器。
|
2761
|
+
|
2762
|
+
"""
|
2763
|
+
|
2764
|
+
def __init__(self):
|
2765
|
+
r"""
|
2766
|
+
:param _Key: 过滤类型,当前支持:UserId、PhoneNumber、Email、AccountName、AccountUserId。
|
2767
|
+
:type Key: str
|
2768
|
+
:param _Value: 过滤值,只支持完全匹配,不支持模糊搜索。针对不同的 Key,Value 的取值如下:
|
2769
|
+
UserId: user12345678abcde
|
2770
|
+
PhoneNumber: +86-13800000000(格式为:{CountryCode}-{PhoneNumber})
|
2771
|
+
Email: admin@mail.foobar.com
|
2772
|
+
AccountName: account_name
|
2773
|
+
AccountUserId: x53mYVqykfPqTCqekbNwwa4aXk4
|
2774
|
+
:type Value: str
|
2775
|
+
"""
|
2776
|
+
self._Key = None
|
2777
|
+
self._Value = None
|
2778
|
+
|
2779
|
+
@property
|
2780
|
+
def Key(self):
|
2781
|
+
return self._Key
|
2782
|
+
|
2783
|
+
@Key.setter
|
2784
|
+
def Key(self, Key):
|
2785
|
+
self._Key = Key
|
2786
|
+
|
2787
|
+
@property
|
2788
|
+
def Value(self):
|
2789
|
+
return self._Value
|
2790
|
+
|
2791
|
+
@Value.setter
|
2792
|
+
def Value(self, Value):
|
2793
|
+
self._Value = Value
|
2794
|
+
|
2795
|
+
|
2796
|
+
def _deserialize(self, params):
|
2797
|
+
self._Key = params.get("Key")
|
2798
|
+
self._Value = params.get("Value")
|
2799
|
+
memeber_set = set(params.keys())
|
2800
|
+
for name, value in vars(self).items():
|
2801
|
+
property_name = name[1:]
|
2802
|
+
if property_name in memeber_set:
|
2803
|
+
memeber_set.remove(property_name)
|
2804
|
+
if len(memeber_set) > 0:
|
2805
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2806
|
+
|
2807
|
+
|
2808
|
+
|
1672
2809
|
class VerifySmsCodeRequest(AbstractModel):
|
1673
2810
|
"""VerifySmsCode请求参数结构体
|
1674
2811
|
|