tencentcloud-sdk-python 3.0.1338__py2.py3-none-any.whl → 3.0.1340__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/autoscaling/v20180419/models.py +64 -112
- tencentcloud/bh/v20230418/bh_client.py +23 -0
- tencentcloud/bh/v20230418/models.py +342 -0
- tencentcloud/cdwch/v20200915/models.py +15 -0
- tencentcloud/cfg/v20210820/models.py +30 -6
- tencentcloud/cmq/v20190304/models.py +0 -90
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +2 -358
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +452 -0
- tencentcloud/domain/v20180808/models.py +0 -124
- tencentcloud/dsgc/v20190723/models.py +8 -0
- tencentcloud/dts/v20180330/models.py +0 -2
- tencentcloud/dts/v20211206/models.py +0 -328
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +431 -0
- tencentcloud/es/v20180416/models.py +17 -0
- tencentcloud/fmu/v20191213/errorcodes.py +0 -21
- tencentcloud/fmu/v20191213/fmu_client.py +0 -75
- tencentcloud/fmu/v20191213/models.py +0 -527
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +0 -50
- tencentcloud/iotexplorer/v20190423/models.py +0 -491
- tencentcloud/iss/v20230517/models.py +15 -534
- tencentcloud/kms/v20190118/models.py +30 -0
- tencentcloud/lcic/v20220817/lcic_client.py +46 -0
- tencentcloud/lcic/v20220817/models.py +188 -0
- tencentcloud/mongodb/v20190725/models.py +109 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/rum/v20210622/models.py +0 -2
- tencentcloud/svp/v20240125/errorcodes.py +3 -0
- tencentcloud/svp/v20240125/models.py +506 -0
- tencentcloud/svp/v20240125/svp_client.py +23 -0
- tencentcloud/tiw/v20190919/errorcodes.py +3 -24
- tencentcloud/tiw/v20190919/models.py +3657 -8172
- tencentcloud/tiw/v20190919/tiw_client.py +1 -580
- tencentcloud/trtc/v20190722/models.py +39 -8
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +85 -14
- tencentcloud/tsf/v20180326/tsf_client.py +23 -0
- tencentcloud/vpc/v20170312/models.py +100 -0
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +654 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1340.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1340.dist-info}/RECORD +49 -49
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1340.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1340.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1340.dist-info}/top_level.txt +0 -0
@@ -220,420 +220,6 @@ class BeautifyPicResponse(AbstractModel):
|
|
220
220
|
self._RequestId = params.get("RequestId")
|
221
221
|
|
222
222
|
|
223
|
-
class BeautifyVideoOutput(AbstractModel):
|
224
|
-
"""视频美颜返回结果
|
225
|
-
|
226
|
-
"""
|
227
|
-
|
228
|
-
def __init__(self):
|
229
|
-
r"""
|
230
|
-
:param _VideoUrl: 视频美颜输出的url
|
231
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
232
|
-
:type VideoUrl: str
|
233
|
-
:param _VideoMD5: 视频美颜输出的视频MD5,用于校验
|
234
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
235
|
-
:type VideoMD5: str
|
236
|
-
:param _CoverImage: 美颜输出的视频封面图base64字符串
|
237
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
238
|
-
:type CoverImage: str
|
239
|
-
:param _Width: 视频宽度
|
240
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
241
|
-
:type Width: int
|
242
|
-
:param _Height: 视频高度
|
243
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
244
|
-
:type Height: int
|
245
|
-
:param _Fps: 每秒传输帧数
|
246
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
247
|
-
:type Fps: float
|
248
|
-
:param _DurationInSec: 视频播放时长,单位为秒
|
249
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
250
|
-
:type DurationInSec: float
|
251
|
-
"""
|
252
|
-
self._VideoUrl = None
|
253
|
-
self._VideoMD5 = None
|
254
|
-
self._CoverImage = None
|
255
|
-
self._Width = None
|
256
|
-
self._Height = None
|
257
|
-
self._Fps = None
|
258
|
-
self._DurationInSec = None
|
259
|
-
|
260
|
-
@property
|
261
|
-
def VideoUrl(self):
|
262
|
-
"""视频美颜输出的url
|
263
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
264
|
-
:rtype: str
|
265
|
-
"""
|
266
|
-
return self._VideoUrl
|
267
|
-
|
268
|
-
@VideoUrl.setter
|
269
|
-
def VideoUrl(self, VideoUrl):
|
270
|
-
self._VideoUrl = VideoUrl
|
271
|
-
|
272
|
-
@property
|
273
|
-
def VideoMD5(self):
|
274
|
-
"""视频美颜输出的视频MD5,用于校验
|
275
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
276
|
-
:rtype: str
|
277
|
-
"""
|
278
|
-
return self._VideoMD5
|
279
|
-
|
280
|
-
@VideoMD5.setter
|
281
|
-
def VideoMD5(self, VideoMD5):
|
282
|
-
self._VideoMD5 = VideoMD5
|
283
|
-
|
284
|
-
@property
|
285
|
-
def CoverImage(self):
|
286
|
-
"""美颜输出的视频封面图base64字符串
|
287
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
288
|
-
:rtype: str
|
289
|
-
"""
|
290
|
-
return self._CoverImage
|
291
|
-
|
292
|
-
@CoverImage.setter
|
293
|
-
def CoverImage(self, CoverImage):
|
294
|
-
self._CoverImage = CoverImage
|
295
|
-
|
296
|
-
@property
|
297
|
-
def Width(self):
|
298
|
-
"""视频宽度
|
299
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
300
|
-
:rtype: int
|
301
|
-
"""
|
302
|
-
return self._Width
|
303
|
-
|
304
|
-
@Width.setter
|
305
|
-
def Width(self, Width):
|
306
|
-
self._Width = Width
|
307
|
-
|
308
|
-
@property
|
309
|
-
def Height(self):
|
310
|
-
"""视频高度
|
311
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
312
|
-
:rtype: int
|
313
|
-
"""
|
314
|
-
return self._Height
|
315
|
-
|
316
|
-
@Height.setter
|
317
|
-
def Height(self, Height):
|
318
|
-
self._Height = Height
|
319
|
-
|
320
|
-
@property
|
321
|
-
def Fps(self):
|
322
|
-
"""每秒传输帧数
|
323
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
324
|
-
:rtype: float
|
325
|
-
"""
|
326
|
-
return self._Fps
|
327
|
-
|
328
|
-
@Fps.setter
|
329
|
-
def Fps(self, Fps):
|
330
|
-
self._Fps = Fps
|
331
|
-
|
332
|
-
@property
|
333
|
-
def DurationInSec(self):
|
334
|
-
"""视频播放时长,单位为秒
|
335
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
336
|
-
:rtype: float
|
337
|
-
"""
|
338
|
-
return self._DurationInSec
|
339
|
-
|
340
|
-
@DurationInSec.setter
|
341
|
-
def DurationInSec(self, DurationInSec):
|
342
|
-
self._DurationInSec = DurationInSec
|
343
|
-
|
344
|
-
|
345
|
-
def _deserialize(self, params):
|
346
|
-
self._VideoUrl = params.get("VideoUrl")
|
347
|
-
self._VideoMD5 = params.get("VideoMD5")
|
348
|
-
self._CoverImage = params.get("CoverImage")
|
349
|
-
self._Width = params.get("Width")
|
350
|
-
self._Height = params.get("Height")
|
351
|
-
self._Fps = params.get("Fps")
|
352
|
-
self._DurationInSec = params.get("DurationInSec")
|
353
|
-
memeber_set = set(params.keys())
|
354
|
-
for name, value in vars(self).items():
|
355
|
-
property_name = name[1:]
|
356
|
-
if property_name in memeber_set:
|
357
|
-
memeber_set.remove(property_name)
|
358
|
-
if len(memeber_set) > 0:
|
359
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
class BeautifyVideoRequest(AbstractModel):
|
364
|
-
"""BeautifyVideo请求参数结构体
|
365
|
-
|
366
|
-
"""
|
367
|
-
|
368
|
-
def __init__(self):
|
369
|
-
r"""
|
370
|
-
:param _Url: 视频url地址
|
371
|
-
:type Url: str
|
372
|
-
:param _BeautyParam: 美颜参数 - 美白、平滑、大眼和瘦脸。参数值范围[0, 100]。参数值为0,则不做美颜。参数默认值为0。目前默认取数组第一个元素是对所有人脸美颜。
|
373
|
-
:type BeautyParam: list of BeautyParam
|
374
|
-
:param _OutputVideoType: 目前只支持mp4
|
375
|
-
:type OutputVideoType: str
|
376
|
-
"""
|
377
|
-
self._Url = None
|
378
|
-
self._BeautyParam = None
|
379
|
-
self._OutputVideoType = None
|
380
|
-
|
381
|
-
@property
|
382
|
-
def Url(self):
|
383
|
-
"""视频url地址
|
384
|
-
:rtype: str
|
385
|
-
"""
|
386
|
-
return self._Url
|
387
|
-
|
388
|
-
@Url.setter
|
389
|
-
def Url(self, Url):
|
390
|
-
self._Url = Url
|
391
|
-
|
392
|
-
@property
|
393
|
-
def BeautyParam(self):
|
394
|
-
"""美颜参数 - 美白、平滑、大眼和瘦脸。参数值范围[0, 100]。参数值为0,则不做美颜。参数默认值为0。目前默认取数组第一个元素是对所有人脸美颜。
|
395
|
-
:rtype: list of BeautyParam
|
396
|
-
"""
|
397
|
-
return self._BeautyParam
|
398
|
-
|
399
|
-
@BeautyParam.setter
|
400
|
-
def BeautyParam(self, BeautyParam):
|
401
|
-
self._BeautyParam = BeautyParam
|
402
|
-
|
403
|
-
@property
|
404
|
-
def OutputVideoType(self):
|
405
|
-
"""目前只支持mp4
|
406
|
-
:rtype: str
|
407
|
-
"""
|
408
|
-
return self._OutputVideoType
|
409
|
-
|
410
|
-
@OutputVideoType.setter
|
411
|
-
def OutputVideoType(self, OutputVideoType):
|
412
|
-
self._OutputVideoType = OutputVideoType
|
413
|
-
|
414
|
-
|
415
|
-
def _deserialize(self, params):
|
416
|
-
self._Url = params.get("Url")
|
417
|
-
if params.get("BeautyParam") is not None:
|
418
|
-
self._BeautyParam = []
|
419
|
-
for item in params.get("BeautyParam"):
|
420
|
-
obj = BeautyParam()
|
421
|
-
obj._deserialize(item)
|
422
|
-
self._BeautyParam.append(obj)
|
423
|
-
self._OutputVideoType = params.get("OutputVideoType")
|
424
|
-
memeber_set = set(params.keys())
|
425
|
-
for name, value in vars(self).items():
|
426
|
-
property_name = name[1:]
|
427
|
-
if property_name in memeber_set:
|
428
|
-
memeber_set.remove(property_name)
|
429
|
-
if len(memeber_set) > 0:
|
430
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
class BeautifyVideoResponse(AbstractModel):
|
435
|
-
"""BeautifyVideo返回参数结构体
|
436
|
-
|
437
|
-
"""
|
438
|
-
|
439
|
-
def __init__(self):
|
440
|
-
r"""
|
441
|
-
:param _JobId: 视频美颜任务的Job id
|
442
|
-
:type JobId: str
|
443
|
-
:param _EstimatedProcessTime: 预估处理时间,粒度为秒
|
444
|
-
:type EstimatedProcessTime: int
|
445
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
446
|
-
:type RequestId: str
|
447
|
-
"""
|
448
|
-
self._JobId = None
|
449
|
-
self._EstimatedProcessTime = None
|
450
|
-
self._RequestId = None
|
451
|
-
|
452
|
-
@property
|
453
|
-
def JobId(self):
|
454
|
-
"""视频美颜任务的Job id
|
455
|
-
:rtype: str
|
456
|
-
"""
|
457
|
-
return self._JobId
|
458
|
-
|
459
|
-
@JobId.setter
|
460
|
-
def JobId(self, JobId):
|
461
|
-
self._JobId = JobId
|
462
|
-
|
463
|
-
@property
|
464
|
-
def EstimatedProcessTime(self):
|
465
|
-
"""预估处理时间,粒度为秒
|
466
|
-
:rtype: int
|
467
|
-
"""
|
468
|
-
return self._EstimatedProcessTime
|
469
|
-
|
470
|
-
@EstimatedProcessTime.setter
|
471
|
-
def EstimatedProcessTime(self, EstimatedProcessTime):
|
472
|
-
self._EstimatedProcessTime = EstimatedProcessTime
|
473
|
-
|
474
|
-
@property
|
475
|
-
def RequestId(self):
|
476
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
477
|
-
:rtype: str
|
478
|
-
"""
|
479
|
-
return self._RequestId
|
480
|
-
|
481
|
-
@RequestId.setter
|
482
|
-
def RequestId(self, RequestId):
|
483
|
-
self._RequestId = RequestId
|
484
|
-
|
485
|
-
|
486
|
-
def _deserialize(self, params):
|
487
|
-
self._JobId = params.get("JobId")
|
488
|
-
self._EstimatedProcessTime = params.get("EstimatedProcessTime")
|
489
|
-
self._RequestId = params.get("RequestId")
|
490
|
-
|
491
|
-
|
492
|
-
class BeautyParam(AbstractModel):
|
493
|
-
"""全局美颜参数,针对所有人脸做美颜。参数全部为0,则为不做美颜
|
494
|
-
|
495
|
-
"""
|
496
|
-
|
497
|
-
def __init__(self):
|
498
|
-
r"""
|
499
|
-
:param _WhitenLevel: 美白程度,取值范围[0,100]。0不美白,100代表最高程度。默认值30。
|
500
|
-
:type WhitenLevel: int
|
501
|
-
:param _SmoothingLevel: 磨皮程度,取值范围[0,100]。0不磨皮,100代表最高程度。默认值30。
|
502
|
-
:type SmoothingLevel: int
|
503
|
-
:param _EyeEnlargeLevel: 大眼程度,取值范围[0,100]。0不大眼,100代表最高程度。默认值70。
|
504
|
-
:type EyeEnlargeLevel: int
|
505
|
-
:param _FaceShrinkLevel: 瘦脸程度,取值范围[0,100]。0不瘦脸,100代表最高程度。默认值70。
|
506
|
-
:type FaceShrinkLevel: int
|
507
|
-
"""
|
508
|
-
self._WhitenLevel = None
|
509
|
-
self._SmoothingLevel = None
|
510
|
-
self._EyeEnlargeLevel = None
|
511
|
-
self._FaceShrinkLevel = None
|
512
|
-
|
513
|
-
@property
|
514
|
-
def WhitenLevel(self):
|
515
|
-
"""美白程度,取值范围[0,100]。0不美白,100代表最高程度。默认值30。
|
516
|
-
:rtype: int
|
517
|
-
"""
|
518
|
-
return self._WhitenLevel
|
519
|
-
|
520
|
-
@WhitenLevel.setter
|
521
|
-
def WhitenLevel(self, WhitenLevel):
|
522
|
-
self._WhitenLevel = WhitenLevel
|
523
|
-
|
524
|
-
@property
|
525
|
-
def SmoothingLevel(self):
|
526
|
-
"""磨皮程度,取值范围[0,100]。0不磨皮,100代表最高程度。默认值30。
|
527
|
-
:rtype: int
|
528
|
-
"""
|
529
|
-
return self._SmoothingLevel
|
530
|
-
|
531
|
-
@SmoothingLevel.setter
|
532
|
-
def SmoothingLevel(self, SmoothingLevel):
|
533
|
-
self._SmoothingLevel = SmoothingLevel
|
534
|
-
|
535
|
-
@property
|
536
|
-
def EyeEnlargeLevel(self):
|
537
|
-
"""大眼程度,取值范围[0,100]。0不大眼,100代表最高程度。默认值70。
|
538
|
-
:rtype: int
|
539
|
-
"""
|
540
|
-
return self._EyeEnlargeLevel
|
541
|
-
|
542
|
-
@EyeEnlargeLevel.setter
|
543
|
-
def EyeEnlargeLevel(self, EyeEnlargeLevel):
|
544
|
-
self._EyeEnlargeLevel = EyeEnlargeLevel
|
545
|
-
|
546
|
-
@property
|
547
|
-
def FaceShrinkLevel(self):
|
548
|
-
"""瘦脸程度,取值范围[0,100]。0不瘦脸,100代表最高程度。默认值70。
|
549
|
-
:rtype: int
|
550
|
-
"""
|
551
|
-
return self._FaceShrinkLevel
|
552
|
-
|
553
|
-
@FaceShrinkLevel.setter
|
554
|
-
def FaceShrinkLevel(self, FaceShrinkLevel):
|
555
|
-
self._FaceShrinkLevel = FaceShrinkLevel
|
556
|
-
|
557
|
-
|
558
|
-
def _deserialize(self, params):
|
559
|
-
self._WhitenLevel = params.get("WhitenLevel")
|
560
|
-
self._SmoothingLevel = params.get("SmoothingLevel")
|
561
|
-
self._EyeEnlargeLevel = params.get("EyeEnlargeLevel")
|
562
|
-
self._FaceShrinkLevel = params.get("FaceShrinkLevel")
|
563
|
-
memeber_set = set(params.keys())
|
564
|
-
for name, value in vars(self).items():
|
565
|
-
property_name = name[1:]
|
566
|
-
if property_name in memeber_set:
|
567
|
-
memeber_set.remove(property_name)
|
568
|
-
if len(memeber_set) > 0:
|
569
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
class CancelBeautifyVideoJobRequest(AbstractModel):
|
574
|
-
"""CancelBeautifyVideoJob请求参数结构体
|
575
|
-
|
576
|
-
"""
|
577
|
-
|
578
|
-
def __init__(self):
|
579
|
-
r"""
|
580
|
-
:param _JobId: 美颜视频的Job id
|
581
|
-
:type JobId: str
|
582
|
-
"""
|
583
|
-
self._JobId = None
|
584
|
-
|
585
|
-
@property
|
586
|
-
def JobId(self):
|
587
|
-
"""美颜视频的Job id
|
588
|
-
:rtype: str
|
589
|
-
"""
|
590
|
-
return self._JobId
|
591
|
-
|
592
|
-
@JobId.setter
|
593
|
-
def JobId(self, JobId):
|
594
|
-
self._JobId = JobId
|
595
|
-
|
596
|
-
|
597
|
-
def _deserialize(self, params):
|
598
|
-
self._JobId = params.get("JobId")
|
599
|
-
memeber_set = set(params.keys())
|
600
|
-
for name, value in vars(self).items():
|
601
|
-
property_name = name[1:]
|
602
|
-
if property_name in memeber_set:
|
603
|
-
memeber_set.remove(property_name)
|
604
|
-
if len(memeber_set) > 0:
|
605
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
class CancelBeautifyVideoJobResponse(AbstractModel):
|
610
|
-
"""CancelBeautifyVideoJob返回参数结构体
|
611
|
-
|
612
|
-
"""
|
613
|
-
|
614
|
-
def __init__(self):
|
615
|
-
r"""
|
616
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
617
|
-
:type RequestId: str
|
618
|
-
"""
|
619
|
-
self._RequestId = None
|
620
|
-
|
621
|
-
@property
|
622
|
-
def RequestId(self):
|
623
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
624
|
-
:rtype: str
|
625
|
-
"""
|
626
|
-
return self._RequestId
|
627
|
-
|
628
|
-
@RequestId.setter
|
629
|
-
def RequestId(self, RequestId):
|
630
|
-
self._RequestId = RequestId
|
631
|
-
|
632
|
-
|
633
|
-
def _deserialize(self, params):
|
634
|
-
self._RequestId = params.get("RequestId")
|
635
|
-
|
636
|
-
|
637
223
|
class CreateModelRequest(AbstractModel):
|
638
224
|
"""CreateModel请求参数结构体
|
639
225
|
|
@@ -1144,119 +730,6 @@ class ModelInfo(AbstractModel):
|
|
1144
730
|
|
1145
731
|
|
1146
732
|
|
1147
|
-
class QueryBeautifyVideoJobRequest(AbstractModel):
|
1148
|
-
"""QueryBeautifyVideoJob请求参数结构体
|
1149
|
-
|
1150
|
-
"""
|
1151
|
-
|
1152
|
-
def __init__(self):
|
1153
|
-
r"""
|
1154
|
-
:param _JobId: 视频美颜Job id
|
1155
|
-
:type JobId: str
|
1156
|
-
"""
|
1157
|
-
self._JobId = None
|
1158
|
-
|
1159
|
-
@property
|
1160
|
-
def JobId(self):
|
1161
|
-
"""视频美颜Job id
|
1162
|
-
:rtype: str
|
1163
|
-
"""
|
1164
|
-
return self._JobId
|
1165
|
-
|
1166
|
-
@JobId.setter
|
1167
|
-
def JobId(self, JobId):
|
1168
|
-
self._JobId = JobId
|
1169
|
-
|
1170
|
-
|
1171
|
-
def _deserialize(self, params):
|
1172
|
-
self._JobId = params.get("JobId")
|
1173
|
-
memeber_set = set(params.keys())
|
1174
|
-
for name, value in vars(self).items():
|
1175
|
-
property_name = name[1:]
|
1176
|
-
if property_name in memeber_set:
|
1177
|
-
memeber_set.remove(property_name)
|
1178
|
-
if len(memeber_set) > 0:
|
1179
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
class QueryBeautifyVideoJobResponse(AbstractModel):
|
1184
|
-
"""QueryBeautifyVideoJob返回参数结构体
|
1185
|
-
|
1186
|
-
"""
|
1187
|
-
|
1188
|
-
def __init__(self):
|
1189
|
-
r"""
|
1190
|
-
:param _JobStatus: 当前任务状态:排队中、处理中、处理失败或者处理完成
|
1191
|
-
:type JobStatus: str
|
1192
|
-
:param _BeautifyVideoOutput: 视频美颜输出的结果信息
|
1193
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1194
|
-
:type BeautifyVideoOutput: :class:`tencentcloud.fmu.v20191213.models.BeautifyVideoOutput`
|
1195
|
-
:param _JobStatusCode: 当前任务状态码:1:排队中、3: 处理中、5: 处理失败、7:处理完成
|
1196
|
-
:type JobStatusCode: int
|
1197
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1198
|
-
:type RequestId: str
|
1199
|
-
"""
|
1200
|
-
self._JobStatus = None
|
1201
|
-
self._BeautifyVideoOutput = None
|
1202
|
-
self._JobStatusCode = None
|
1203
|
-
self._RequestId = None
|
1204
|
-
|
1205
|
-
@property
|
1206
|
-
def JobStatus(self):
|
1207
|
-
"""当前任务状态:排队中、处理中、处理失败或者处理完成
|
1208
|
-
:rtype: str
|
1209
|
-
"""
|
1210
|
-
return self._JobStatus
|
1211
|
-
|
1212
|
-
@JobStatus.setter
|
1213
|
-
def JobStatus(self, JobStatus):
|
1214
|
-
self._JobStatus = JobStatus
|
1215
|
-
|
1216
|
-
@property
|
1217
|
-
def BeautifyVideoOutput(self):
|
1218
|
-
"""视频美颜输出的结果信息
|
1219
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1220
|
-
:rtype: :class:`tencentcloud.fmu.v20191213.models.BeautifyVideoOutput`
|
1221
|
-
"""
|
1222
|
-
return self._BeautifyVideoOutput
|
1223
|
-
|
1224
|
-
@BeautifyVideoOutput.setter
|
1225
|
-
def BeautifyVideoOutput(self, BeautifyVideoOutput):
|
1226
|
-
self._BeautifyVideoOutput = BeautifyVideoOutput
|
1227
|
-
|
1228
|
-
@property
|
1229
|
-
def JobStatusCode(self):
|
1230
|
-
"""当前任务状态码:1:排队中、3: 处理中、5: 处理失败、7:处理完成
|
1231
|
-
:rtype: int
|
1232
|
-
"""
|
1233
|
-
return self._JobStatusCode
|
1234
|
-
|
1235
|
-
@JobStatusCode.setter
|
1236
|
-
def JobStatusCode(self, JobStatusCode):
|
1237
|
-
self._JobStatusCode = JobStatusCode
|
1238
|
-
|
1239
|
-
@property
|
1240
|
-
def RequestId(self):
|
1241
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1242
|
-
:rtype: str
|
1243
|
-
"""
|
1244
|
-
return self._RequestId
|
1245
|
-
|
1246
|
-
@RequestId.setter
|
1247
|
-
def RequestId(self, RequestId):
|
1248
|
-
self._RequestId = RequestId
|
1249
|
-
|
1250
|
-
|
1251
|
-
def _deserialize(self, params):
|
1252
|
-
self._JobStatus = params.get("JobStatus")
|
1253
|
-
if params.get("BeautifyVideoOutput") is not None:
|
1254
|
-
self._BeautifyVideoOutput = BeautifyVideoOutput()
|
1255
|
-
self._BeautifyVideoOutput._deserialize(params.get("BeautifyVideoOutput"))
|
1256
|
-
self._JobStatusCode = params.get("JobStatusCode")
|
1257
|
-
self._RequestId = params.get("RequestId")
|
1258
|
-
|
1259
|
-
|
1260
733
|
class RGBAInfo(AbstractModel):
|
1261
734
|
"""RGBA通道信息
|
1262
735
|
|
@@ -49,31 +49,6 @@ class IotexplorerClient(AbstractClient):
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
50
|
|
51
51
|
|
52
|
-
def AssignTWeCallLicense(self, request):
|
53
|
-
"""微信VOIP功能调整下线
|
54
|
-
|
55
|
-
分配License
|
56
|
-
|
57
|
-
:param request: Request instance for AssignTWeCallLicense.
|
58
|
-
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.AssignTWeCallLicenseRequest`
|
59
|
-
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.AssignTWeCallLicenseResponse`
|
60
|
-
|
61
|
-
"""
|
62
|
-
try:
|
63
|
-
params = request._serialize()
|
64
|
-
headers = request.headers
|
65
|
-
body = self.call("AssignTWeCallLicense", params, headers=headers)
|
66
|
-
response = json.loads(body)
|
67
|
-
model = models.AssignTWeCallLicenseResponse()
|
68
|
-
model._deserialize(response["Response"])
|
69
|
-
return model
|
70
|
-
except Exception as e:
|
71
|
-
if isinstance(e, TencentCloudSDKException):
|
72
|
-
raise
|
73
|
-
else:
|
74
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
75
|
-
|
76
|
-
|
77
52
|
def BindCloudStorageUser(self, request):
|
78
53
|
"""绑定云存用户
|
79
54
|
|
@@ -2604,31 +2579,6 @@ class IotexplorerClient(AbstractClient):
|
|
2604
2579
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2605
2580
|
|
2606
2581
|
|
2607
|
-
def GetTWeCallPkgList(self, request):
|
2608
|
-
"""微信VOIP功能调整下线
|
2609
|
-
|
2610
|
-
查询TWeCall包列表
|
2611
|
-
|
2612
|
-
:param request: Request instance for GetTWeCallPkgList.
|
2613
|
-
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeCallPkgListRequest`
|
2614
|
-
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.GetTWeCallPkgListResponse`
|
2615
|
-
|
2616
|
-
"""
|
2617
|
-
try:
|
2618
|
-
params = request._serialize()
|
2619
|
-
headers = request.headers
|
2620
|
-
body = self.call("GetTWeCallPkgList", params, headers=headers)
|
2621
|
-
response = json.loads(body)
|
2622
|
-
model = models.GetTWeCallPkgListResponse()
|
2623
|
-
model._deserialize(response["Response"])
|
2624
|
-
return model
|
2625
|
-
except Exception as e:
|
2626
|
-
if isinstance(e, TencentCloudSDKException):
|
2627
|
-
raise
|
2628
|
-
else:
|
2629
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2630
|
-
|
2631
|
-
|
2632
2582
|
def GetTopicRuleList(self, request):
|
2633
2583
|
"""获取规则列表
|
2634
2584
|
|