tencentcloud-sdk-python-intl-en 3.0.1137__py2.py3-none-any.whl → 3.0.1138__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +610 -0
- tencentcloud/mps/v20190612/models.py +60 -0
- tencentcloud/ocr/v20181119/models.py +364 -0
- tencentcloud/ocr/v20181119/ocr_client.py +23 -0
- {tencentcloud_sdk_python_intl_en-3.0.1137.dist-info → tencentcloud_sdk_python_intl_en-3.0.1138.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1137.dist-info → tencentcloud_sdk_python_intl_en-3.0.1138.dist-info}/RECORD +10 -10
- {tencentcloud_sdk_python_intl_en-3.0.1137.dist-info → tencentcloud_sdk_python_intl_en-3.0.1138.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1137.dist-info → tencentcloud_sdk_python_intl_en-3.0.1138.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -854,6 +854,29 @@ class CfwClient(AbstractClient):
|
|
|
854
854
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
855
855
|
|
|
856
856
|
|
|
857
|
+
def DescribeVpcAcRule(self, request):
|
|
858
|
+
"""Query Inter-VPC rules
|
|
859
|
+
|
|
860
|
+
:param request: Request instance for DescribeVpcAcRule.
|
|
861
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeVpcAcRuleRequest`
|
|
862
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeVpcAcRuleResponse`
|
|
863
|
+
|
|
864
|
+
"""
|
|
865
|
+
try:
|
|
866
|
+
params = request._serialize()
|
|
867
|
+
headers = request.headers
|
|
868
|
+
body = self.call("DescribeVpcAcRule", params, headers=headers)
|
|
869
|
+
response = json.loads(body)
|
|
870
|
+
model = models.DescribeVpcAcRuleResponse()
|
|
871
|
+
model._deserialize(response["Response"])
|
|
872
|
+
return model
|
|
873
|
+
except Exception as e:
|
|
874
|
+
if isinstance(e, TencentCloudSDKException):
|
|
875
|
+
raise
|
|
876
|
+
else:
|
|
877
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
878
|
+
|
|
879
|
+
|
|
857
880
|
def ExpandCfwVertical(self, request):
|
|
858
881
|
"""This API is used to increase the firewall bandwidth.
|
|
859
882
|
|
|
@@ -7437,6 +7437,215 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
7437
7437
|
self._RequestId = params.get("RequestId")
|
|
7438
7438
|
|
|
7439
7439
|
|
|
7440
|
+
class DescribeVpcAcRuleRequest(AbstractModel):
|
|
7441
|
+
"""DescribeVpcAcRule request structure.
|
|
7442
|
+
|
|
7443
|
+
"""
|
|
7444
|
+
|
|
7445
|
+
def __init__(self):
|
|
7446
|
+
r"""
|
|
7447
|
+
:param _Limit: Limit
|
|
7448
|
+
:type Limit: int
|
|
7449
|
+
:param _Offset: Offset
|
|
7450
|
+
:type Offset: int
|
|
7451
|
+
:param _Index: Index to be queried, used in specific scenarios, can be left blank
|
|
7452
|
+
:type Index: str
|
|
7453
|
+
:param _Filters: Filter combinations
|
|
7454
|
+
:type Filters: list of CommonFilter
|
|
7455
|
+
:param _StartTime: Search start time
|
|
7456
|
+
:type StartTime: str
|
|
7457
|
+
:param _EndTime: Search end time
|
|
7458
|
+
:type EndTime: str
|
|
7459
|
+
:param _Order: Order Type:desc,asc
|
|
7460
|
+
:type Order: str
|
|
7461
|
+
:param _By: Order By FileName
|
|
7462
|
+
:type By: str
|
|
7463
|
+
"""
|
|
7464
|
+
self._Limit = None
|
|
7465
|
+
self._Offset = None
|
|
7466
|
+
self._Index = None
|
|
7467
|
+
self._Filters = None
|
|
7468
|
+
self._StartTime = None
|
|
7469
|
+
self._EndTime = None
|
|
7470
|
+
self._Order = None
|
|
7471
|
+
self._By = None
|
|
7472
|
+
|
|
7473
|
+
@property
|
|
7474
|
+
def Limit(self):
|
|
7475
|
+
"""Limit
|
|
7476
|
+
:rtype: int
|
|
7477
|
+
"""
|
|
7478
|
+
return self._Limit
|
|
7479
|
+
|
|
7480
|
+
@Limit.setter
|
|
7481
|
+
def Limit(self, Limit):
|
|
7482
|
+
self._Limit = Limit
|
|
7483
|
+
|
|
7484
|
+
@property
|
|
7485
|
+
def Offset(self):
|
|
7486
|
+
"""Offset
|
|
7487
|
+
:rtype: int
|
|
7488
|
+
"""
|
|
7489
|
+
return self._Offset
|
|
7490
|
+
|
|
7491
|
+
@Offset.setter
|
|
7492
|
+
def Offset(self, Offset):
|
|
7493
|
+
self._Offset = Offset
|
|
7494
|
+
|
|
7495
|
+
@property
|
|
7496
|
+
def Index(self):
|
|
7497
|
+
"""Index to be queried, used in specific scenarios, can be left blank
|
|
7498
|
+
:rtype: str
|
|
7499
|
+
"""
|
|
7500
|
+
return self._Index
|
|
7501
|
+
|
|
7502
|
+
@Index.setter
|
|
7503
|
+
def Index(self, Index):
|
|
7504
|
+
self._Index = Index
|
|
7505
|
+
|
|
7506
|
+
@property
|
|
7507
|
+
def Filters(self):
|
|
7508
|
+
"""Filter combinations
|
|
7509
|
+
:rtype: list of CommonFilter
|
|
7510
|
+
"""
|
|
7511
|
+
return self._Filters
|
|
7512
|
+
|
|
7513
|
+
@Filters.setter
|
|
7514
|
+
def Filters(self, Filters):
|
|
7515
|
+
self._Filters = Filters
|
|
7516
|
+
|
|
7517
|
+
@property
|
|
7518
|
+
def StartTime(self):
|
|
7519
|
+
"""Search start time
|
|
7520
|
+
:rtype: str
|
|
7521
|
+
"""
|
|
7522
|
+
return self._StartTime
|
|
7523
|
+
|
|
7524
|
+
@StartTime.setter
|
|
7525
|
+
def StartTime(self, StartTime):
|
|
7526
|
+
self._StartTime = StartTime
|
|
7527
|
+
|
|
7528
|
+
@property
|
|
7529
|
+
def EndTime(self):
|
|
7530
|
+
"""Search end time
|
|
7531
|
+
:rtype: str
|
|
7532
|
+
"""
|
|
7533
|
+
return self._EndTime
|
|
7534
|
+
|
|
7535
|
+
@EndTime.setter
|
|
7536
|
+
def EndTime(self, EndTime):
|
|
7537
|
+
self._EndTime = EndTime
|
|
7538
|
+
|
|
7539
|
+
@property
|
|
7540
|
+
def Order(self):
|
|
7541
|
+
"""Order Type:desc,asc
|
|
7542
|
+
:rtype: str
|
|
7543
|
+
"""
|
|
7544
|
+
return self._Order
|
|
7545
|
+
|
|
7546
|
+
@Order.setter
|
|
7547
|
+
def Order(self, Order):
|
|
7548
|
+
self._Order = Order
|
|
7549
|
+
|
|
7550
|
+
@property
|
|
7551
|
+
def By(self):
|
|
7552
|
+
"""Order By FileName
|
|
7553
|
+
:rtype: str
|
|
7554
|
+
"""
|
|
7555
|
+
return self._By
|
|
7556
|
+
|
|
7557
|
+
@By.setter
|
|
7558
|
+
def By(self, By):
|
|
7559
|
+
self._By = By
|
|
7560
|
+
|
|
7561
|
+
|
|
7562
|
+
def _deserialize(self, params):
|
|
7563
|
+
self._Limit = params.get("Limit")
|
|
7564
|
+
self._Offset = params.get("Offset")
|
|
7565
|
+
self._Index = params.get("Index")
|
|
7566
|
+
if params.get("Filters") is not None:
|
|
7567
|
+
self._Filters = []
|
|
7568
|
+
for item in params.get("Filters"):
|
|
7569
|
+
obj = CommonFilter()
|
|
7570
|
+
obj._deserialize(item)
|
|
7571
|
+
self._Filters.append(obj)
|
|
7572
|
+
self._StartTime = params.get("StartTime")
|
|
7573
|
+
self._EndTime = params.get("EndTime")
|
|
7574
|
+
self._Order = params.get("Order")
|
|
7575
|
+
self._By = params.get("By")
|
|
7576
|
+
memeber_set = set(params.keys())
|
|
7577
|
+
for name, value in vars(self).items():
|
|
7578
|
+
property_name = name[1:]
|
|
7579
|
+
if property_name in memeber_set:
|
|
7580
|
+
memeber_set.remove(property_name)
|
|
7581
|
+
if len(memeber_set) > 0:
|
|
7582
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7583
|
+
|
|
7584
|
+
|
|
7585
|
+
|
|
7586
|
+
class DescribeVpcAcRuleResponse(AbstractModel):
|
|
7587
|
+
"""DescribeVpcAcRule response structure.
|
|
7588
|
+
|
|
7589
|
+
"""
|
|
7590
|
+
|
|
7591
|
+
def __init__(self):
|
|
7592
|
+
r"""
|
|
7593
|
+
:param _Total: Total Data
|
|
7594
|
+
:type Total: int
|
|
7595
|
+
:param _Data: Data list
|
|
7596
|
+
:type Data: list of VpcRuleItem
|
|
7597
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7598
|
+
:type RequestId: str
|
|
7599
|
+
"""
|
|
7600
|
+
self._Total = None
|
|
7601
|
+
self._Data = None
|
|
7602
|
+
self._RequestId = None
|
|
7603
|
+
|
|
7604
|
+
@property
|
|
7605
|
+
def Total(self):
|
|
7606
|
+
"""Total Data
|
|
7607
|
+
:rtype: int
|
|
7608
|
+
"""
|
|
7609
|
+
return self._Total
|
|
7610
|
+
|
|
7611
|
+
@Total.setter
|
|
7612
|
+
def Total(self, Total):
|
|
7613
|
+
self._Total = Total
|
|
7614
|
+
|
|
7615
|
+
@property
|
|
7616
|
+
def Data(self):
|
|
7617
|
+
"""Data list
|
|
7618
|
+
:rtype: list of VpcRuleItem
|
|
7619
|
+
"""
|
|
7620
|
+
return self._Data
|
|
7621
|
+
|
|
7622
|
+
@Data.setter
|
|
7623
|
+
def Data(self, Data):
|
|
7624
|
+
self._Data = Data
|
|
7625
|
+
|
|
7626
|
+
@property
|
|
7627
|
+
def RequestId(self):
|
|
7628
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7629
|
+
:rtype: str
|
|
7630
|
+
"""
|
|
7631
|
+
return self._RequestId
|
|
7632
|
+
|
|
7633
|
+
@RequestId.setter
|
|
7634
|
+
def RequestId(self, RequestId):
|
|
7635
|
+
self._RequestId = RequestId
|
|
7636
|
+
|
|
7637
|
+
|
|
7638
|
+
def _deserialize(self, params):
|
|
7639
|
+
self._Total = params.get("Total")
|
|
7640
|
+
if params.get("Data") is not None:
|
|
7641
|
+
self._Data = []
|
|
7642
|
+
for item in params.get("Data"):
|
|
7643
|
+
obj = VpcRuleItem()
|
|
7644
|
+
obj._deserialize(item)
|
|
7645
|
+
self._Data.append(obj)
|
|
7646
|
+
self._RequestId = params.get("RequestId")
|
|
7647
|
+
|
|
7648
|
+
|
|
7440
7649
|
class DnsVpcSwitch(AbstractModel):
|
|
7441
7650
|
"""Sets the VPC DNS toggle of the NAT firewall
|
|
7442
7651
|
|
|
@@ -14125,4 +14334,405 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
14125
14334
|
memeber_set.remove(property_name)
|
|
14126
14335
|
if len(memeber_set) > 0:
|
|
14127
14336
|
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14337
|
+
|
|
14338
|
+
|
|
14339
|
+
|
|
14340
|
+
class VpcRuleItem(AbstractModel):
|
|
14341
|
+
"""
|
|
14342
|
+
|
|
14343
|
+
"""
|
|
14344
|
+
|
|
14345
|
+
def __init__(self):
|
|
14346
|
+
r"""
|
|
14347
|
+
:param _SourceContent:
|
|
14348
|
+
:type SourceContent: str
|
|
14349
|
+
:param _SourceType:
|
|
14350
|
+
:type SourceType: str
|
|
14351
|
+
:param _DestContent:
|
|
14352
|
+
:type DestContent: str
|
|
14353
|
+
:param _DestType:
|
|
14354
|
+
:type DestType: str
|
|
14355
|
+
:param _Protocol:
|
|
14356
|
+
:type Protocol: str
|
|
14357
|
+
:param _RuleAction:
|
|
14358
|
+
:type RuleAction: str
|
|
14359
|
+
:param _Port:
|
|
14360
|
+
:type Port: str
|
|
14361
|
+
:param _Description:
|
|
14362
|
+
:type Description: str
|
|
14363
|
+
:param _OrderIndex:
|
|
14364
|
+
:type OrderIndex: int
|
|
14365
|
+
:param _Enable:
|
|
14366
|
+
:type Enable: str
|
|
14367
|
+
:param _EdgeId:
|
|
14368
|
+
:type EdgeId: str
|
|
14369
|
+
:param _Uuid:
|
|
14370
|
+
:type Uuid: int
|
|
14371
|
+
:param _DetectedTimes:
|
|
14372
|
+
:type DetectedTimes: int
|
|
14373
|
+
:param _EdgeName:
|
|
14374
|
+
:type EdgeName: str
|
|
14375
|
+
:param _InternalUuid:
|
|
14376
|
+
:type InternalUuid: int
|
|
14377
|
+
:param _Deleted:
|
|
14378
|
+
:type Deleted: int
|
|
14379
|
+
:param _FwGroupId:
|
|
14380
|
+
:type FwGroupId: str
|
|
14381
|
+
:param _FwGroupName:
|
|
14382
|
+
:type FwGroupName: str
|
|
14383
|
+
:param _BetaList:
|
|
14384
|
+
:type BetaList: list of BetaInfoByACL
|
|
14385
|
+
:param _ParamTemplateId:
|
|
14386
|
+
:type ParamTemplateId: str
|
|
14387
|
+
:param _ParamTemplateName:
|
|
14388
|
+
:type ParamTemplateName: str
|
|
14389
|
+
:param _TargetName:
|
|
14390
|
+
:type TargetName: str
|
|
14391
|
+
:param _SourceName:
|
|
14392
|
+
:type SourceName: str
|
|
14393
|
+
:param _IpVersion:
|
|
14394
|
+
:type IpVersion: int
|
|
14395
|
+
:param _Invalid:
|
|
14396
|
+
:type Invalid: int
|
|
14397
|
+
"""
|
|
14398
|
+
self._SourceContent = None
|
|
14399
|
+
self._SourceType = None
|
|
14400
|
+
self._DestContent = None
|
|
14401
|
+
self._DestType = None
|
|
14402
|
+
self._Protocol = None
|
|
14403
|
+
self._RuleAction = None
|
|
14404
|
+
self._Port = None
|
|
14405
|
+
self._Description = None
|
|
14406
|
+
self._OrderIndex = None
|
|
14407
|
+
self._Enable = None
|
|
14408
|
+
self._EdgeId = None
|
|
14409
|
+
self._Uuid = None
|
|
14410
|
+
self._DetectedTimes = None
|
|
14411
|
+
self._EdgeName = None
|
|
14412
|
+
self._InternalUuid = None
|
|
14413
|
+
self._Deleted = None
|
|
14414
|
+
self._FwGroupId = None
|
|
14415
|
+
self._FwGroupName = None
|
|
14416
|
+
self._BetaList = None
|
|
14417
|
+
self._ParamTemplateId = None
|
|
14418
|
+
self._ParamTemplateName = None
|
|
14419
|
+
self._TargetName = None
|
|
14420
|
+
self._SourceName = None
|
|
14421
|
+
self._IpVersion = None
|
|
14422
|
+
self._Invalid = None
|
|
14423
|
+
|
|
14424
|
+
@property
|
|
14425
|
+
def SourceContent(self):
|
|
14426
|
+
"""
|
|
14427
|
+
:rtype: str
|
|
14428
|
+
"""
|
|
14429
|
+
return self._SourceContent
|
|
14430
|
+
|
|
14431
|
+
@SourceContent.setter
|
|
14432
|
+
def SourceContent(self, SourceContent):
|
|
14433
|
+
self._SourceContent = SourceContent
|
|
14434
|
+
|
|
14435
|
+
@property
|
|
14436
|
+
def SourceType(self):
|
|
14437
|
+
"""
|
|
14438
|
+
:rtype: str
|
|
14439
|
+
"""
|
|
14440
|
+
return self._SourceType
|
|
14441
|
+
|
|
14442
|
+
@SourceType.setter
|
|
14443
|
+
def SourceType(self, SourceType):
|
|
14444
|
+
self._SourceType = SourceType
|
|
14445
|
+
|
|
14446
|
+
@property
|
|
14447
|
+
def DestContent(self):
|
|
14448
|
+
"""
|
|
14449
|
+
:rtype: str
|
|
14450
|
+
"""
|
|
14451
|
+
return self._DestContent
|
|
14452
|
+
|
|
14453
|
+
@DestContent.setter
|
|
14454
|
+
def DestContent(self, DestContent):
|
|
14455
|
+
self._DestContent = DestContent
|
|
14456
|
+
|
|
14457
|
+
@property
|
|
14458
|
+
def DestType(self):
|
|
14459
|
+
"""
|
|
14460
|
+
:rtype: str
|
|
14461
|
+
"""
|
|
14462
|
+
return self._DestType
|
|
14463
|
+
|
|
14464
|
+
@DestType.setter
|
|
14465
|
+
def DestType(self, DestType):
|
|
14466
|
+
self._DestType = DestType
|
|
14467
|
+
|
|
14468
|
+
@property
|
|
14469
|
+
def Protocol(self):
|
|
14470
|
+
"""
|
|
14471
|
+
:rtype: str
|
|
14472
|
+
"""
|
|
14473
|
+
return self._Protocol
|
|
14474
|
+
|
|
14475
|
+
@Protocol.setter
|
|
14476
|
+
def Protocol(self, Protocol):
|
|
14477
|
+
self._Protocol = Protocol
|
|
14478
|
+
|
|
14479
|
+
@property
|
|
14480
|
+
def RuleAction(self):
|
|
14481
|
+
"""
|
|
14482
|
+
:rtype: str
|
|
14483
|
+
"""
|
|
14484
|
+
return self._RuleAction
|
|
14485
|
+
|
|
14486
|
+
@RuleAction.setter
|
|
14487
|
+
def RuleAction(self, RuleAction):
|
|
14488
|
+
self._RuleAction = RuleAction
|
|
14489
|
+
|
|
14490
|
+
@property
|
|
14491
|
+
def Port(self):
|
|
14492
|
+
"""
|
|
14493
|
+
:rtype: str
|
|
14494
|
+
"""
|
|
14495
|
+
return self._Port
|
|
14496
|
+
|
|
14497
|
+
@Port.setter
|
|
14498
|
+
def Port(self, Port):
|
|
14499
|
+
self._Port = Port
|
|
14500
|
+
|
|
14501
|
+
@property
|
|
14502
|
+
def Description(self):
|
|
14503
|
+
"""
|
|
14504
|
+
:rtype: str
|
|
14505
|
+
"""
|
|
14506
|
+
return self._Description
|
|
14507
|
+
|
|
14508
|
+
@Description.setter
|
|
14509
|
+
def Description(self, Description):
|
|
14510
|
+
self._Description = Description
|
|
14511
|
+
|
|
14512
|
+
@property
|
|
14513
|
+
def OrderIndex(self):
|
|
14514
|
+
"""
|
|
14515
|
+
:rtype: int
|
|
14516
|
+
"""
|
|
14517
|
+
return self._OrderIndex
|
|
14518
|
+
|
|
14519
|
+
@OrderIndex.setter
|
|
14520
|
+
def OrderIndex(self, OrderIndex):
|
|
14521
|
+
self._OrderIndex = OrderIndex
|
|
14522
|
+
|
|
14523
|
+
@property
|
|
14524
|
+
def Enable(self):
|
|
14525
|
+
"""
|
|
14526
|
+
:rtype: str
|
|
14527
|
+
"""
|
|
14528
|
+
return self._Enable
|
|
14529
|
+
|
|
14530
|
+
@Enable.setter
|
|
14531
|
+
def Enable(self, Enable):
|
|
14532
|
+
self._Enable = Enable
|
|
14533
|
+
|
|
14534
|
+
@property
|
|
14535
|
+
def EdgeId(self):
|
|
14536
|
+
"""
|
|
14537
|
+
:rtype: str
|
|
14538
|
+
"""
|
|
14539
|
+
return self._EdgeId
|
|
14540
|
+
|
|
14541
|
+
@EdgeId.setter
|
|
14542
|
+
def EdgeId(self, EdgeId):
|
|
14543
|
+
self._EdgeId = EdgeId
|
|
14544
|
+
|
|
14545
|
+
@property
|
|
14546
|
+
def Uuid(self):
|
|
14547
|
+
"""
|
|
14548
|
+
:rtype: int
|
|
14549
|
+
"""
|
|
14550
|
+
return self._Uuid
|
|
14551
|
+
|
|
14552
|
+
@Uuid.setter
|
|
14553
|
+
def Uuid(self, Uuid):
|
|
14554
|
+
self._Uuid = Uuid
|
|
14555
|
+
|
|
14556
|
+
@property
|
|
14557
|
+
def DetectedTimes(self):
|
|
14558
|
+
"""
|
|
14559
|
+
:rtype: int
|
|
14560
|
+
"""
|
|
14561
|
+
return self._DetectedTimes
|
|
14562
|
+
|
|
14563
|
+
@DetectedTimes.setter
|
|
14564
|
+
def DetectedTimes(self, DetectedTimes):
|
|
14565
|
+
self._DetectedTimes = DetectedTimes
|
|
14566
|
+
|
|
14567
|
+
@property
|
|
14568
|
+
def EdgeName(self):
|
|
14569
|
+
"""
|
|
14570
|
+
:rtype: str
|
|
14571
|
+
"""
|
|
14572
|
+
return self._EdgeName
|
|
14573
|
+
|
|
14574
|
+
@EdgeName.setter
|
|
14575
|
+
def EdgeName(self, EdgeName):
|
|
14576
|
+
self._EdgeName = EdgeName
|
|
14577
|
+
|
|
14578
|
+
@property
|
|
14579
|
+
def InternalUuid(self):
|
|
14580
|
+
"""
|
|
14581
|
+
:rtype: int
|
|
14582
|
+
"""
|
|
14583
|
+
return self._InternalUuid
|
|
14584
|
+
|
|
14585
|
+
@InternalUuid.setter
|
|
14586
|
+
def InternalUuid(self, InternalUuid):
|
|
14587
|
+
self._InternalUuid = InternalUuid
|
|
14588
|
+
|
|
14589
|
+
@property
|
|
14590
|
+
def Deleted(self):
|
|
14591
|
+
"""
|
|
14592
|
+
:rtype: int
|
|
14593
|
+
"""
|
|
14594
|
+
return self._Deleted
|
|
14595
|
+
|
|
14596
|
+
@Deleted.setter
|
|
14597
|
+
def Deleted(self, Deleted):
|
|
14598
|
+
self._Deleted = Deleted
|
|
14599
|
+
|
|
14600
|
+
@property
|
|
14601
|
+
def FwGroupId(self):
|
|
14602
|
+
"""
|
|
14603
|
+
:rtype: str
|
|
14604
|
+
"""
|
|
14605
|
+
return self._FwGroupId
|
|
14606
|
+
|
|
14607
|
+
@FwGroupId.setter
|
|
14608
|
+
def FwGroupId(self, FwGroupId):
|
|
14609
|
+
self._FwGroupId = FwGroupId
|
|
14610
|
+
|
|
14611
|
+
@property
|
|
14612
|
+
def FwGroupName(self):
|
|
14613
|
+
"""
|
|
14614
|
+
:rtype: str
|
|
14615
|
+
"""
|
|
14616
|
+
return self._FwGroupName
|
|
14617
|
+
|
|
14618
|
+
@FwGroupName.setter
|
|
14619
|
+
def FwGroupName(self, FwGroupName):
|
|
14620
|
+
self._FwGroupName = FwGroupName
|
|
14621
|
+
|
|
14622
|
+
@property
|
|
14623
|
+
def BetaList(self):
|
|
14624
|
+
"""
|
|
14625
|
+
:rtype: list of BetaInfoByACL
|
|
14626
|
+
"""
|
|
14627
|
+
return self._BetaList
|
|
14628
|
+
|
|
14629
|
+
@BetaList.setter
|
|
14630
|
+
def BetaList(self, BetaList):
|
|
14631
|
+
self._BetaList = BetaList
|
|
14632
|
+
|
|
14633
|
+
@property
|
|
14634
|
+
def ParamTemplateId(self):
|
|
14635
|
+
"""
|
|
14636
|
+
:rtype: str
|
|
14637
|
+
"""
|
|
14638
|
+
return self._ParamTemplateId
|
|
14639
|
+
|
|
14640
|
+
@ParamTemplateId.setter
|
|
14641
|
+
def ParamTemplateId(self, ParamTemplateId):
|
|
14642
|
+
self._ParamTemplateId = ParamTemplateId
|
|
14643
|
+
|
|
14644
|
+
@property
|
|
14645
|
+
def ParamTemplateName(self):
|
|
14646
|
+
"""
|
|
14647
|
+
:rtype: str
|
|
14648
|
+
"""
|
|
14649
|
+
return self._ParamTemplateName
|
|
14650
|
+
|
|
14651
|
+
@ParamTemplateName.setter
|
|
14652
|
+
def ParamTemplateName(self, ParamTemplateName):
|
|
14653
|
+
self._ParamTemplateName = ParamTemplateName
|
|
14654
|
+
|
|
14655
|
+
@property
|
|
14656
|
+
def TargetName(self):
|
|
14657
|
+
"""
|
|
14658
|
+
:rtype: str
|
|
14659
|
+
"""
|
|
14660
|
+
return self._TargetName
|
|
14661
|
+
|
|
14662
|
+
@TargetName.setter
|
|
14663
|
+
def TargetName(self, TargetName):
|
|
14664
|
+
self._TargetName = TargetName
|
|
14665
|
+
|
|
14666
|
+
@property
|
|
14667
|
+
def SourceName(self):
|
|
14668
|
+
"""
|
|
14669
|
+
:rtype: str
|
|
14670
|
+
"""
|
|
14671
|
+
return self._SourceName
|
|
14672
|
+
|
|
14673
|
+
@SourceName.setter
|
|
14674
|
+
def SourceName(self, SourceName):
|
|
14675
|
+
self._SourceName = SourceName
|
|
14676
|
+
|
|
14677
|
+
@property
|
|
14678
|
+
def IpVersion(self):
|
|
14679
|
+
"""
|
|
14680
|
+
:rtype: int
|
|
14681
|
+
"""
|
|
14682
|
+
return self._IpVersion
|
|
14683
|
+
|
|
14684
|
+
@IpVersion.setter
|
|
14685
|
+
def IpVersion(self, IpVersion):
|
|
14686
|
+
self._IpVersion = IpVersion
|
|
14687
|
+
|
|
14688
|
+
@property
|
|
14689
|
+
def Invalid(self):
|
|
14690
|
+
"""
|
|
14691
|
+
:rtype: int
|
|
14692
|
+
"""
|
|
14693
|
+
return self._Invalid
|
|
14694
|
+
|
|
14695
|
+
@Invalid.setter
|
|
14696
|
+
def Invalid(self, Invalid):
|
|
14697
|
+
self._Invalid = Invalid
|
|
14698
|
+
|
|
14699
|
+
|
|
14700
|
+
def _deserialize(self, params):
|
|
14701
|
+
self._SourceContent = params.get("SourceContent")
|
|
14702
|
+
self._SourceType = params.get("SourceType")
|
|
14703
|
+
self._DestContent = params.get("DestContent")
|
|
14704
|
+
self._DestType = params.get("DestType")
|
|
14705
|
+
self._Protocol = params.get("Protocol")
|
|
14706
|
+
self._RuleAction = params.get("RuleAction")
|
|
14707
|
+
self._Port = params.get("Port")
|
|
14708
|
+
self._Description = params.get("Description")
|
|
14709
|
+
self._OrderIndex = params.get("OrderIndex")
|
|
14710
|
+
self._Enable = params.get("Enable")
|
|
14711
|
+
self._EdgeId = params.get("EdgeId")
|
|
14712
|
+
self._Uuid = params.get("Uuid")
|
|
14713
|
+
self._DetectedTimes = params.get("DetectedTimes")
|
|
14714
|
+
self._EdgeName = params.get("EdgeName")
|
|
14715
|
+
self._InternalUuid = params.get("InternalUuid")
|
|
14716
|
+
self._Deleted = params.get("Deleted")
|
|
14717
|
+
self._FwGroupId = params.get("FwGroupId")
|
|
14718
|
+
self._FwGroupName = params.get("FwGroupName")
|
|
14719
|
+
if params.get("BetaList") is not None:
|
|
14720
|
+
self._BetaList = []
|
|
14721
|
+
for item in params.get("BetaList"):
|
|
14722
|
+
obj = BetaInfoByACL()
|
|
14723
|
+
obj._deserialize(item)
|
|
14724
|
+
self._BetaList.append(obj)
|
|
14725
|
+
self._ParamTemplateId = params.get("ParamTemplateId")
|
|
14726
|
+
self._ParamTemplateName = params.get("ParamTemplateName")
|
|
14727
|
+
self._TargetName = params.get("TargetName")
|
|
14728
|
+
self._SourceName = params.get("SourceName")
|
|
14729
|
+
self._IpVersion = params.get("IpVersion")
|
|
14730
|
+
self._Invalid = params.get("Invalid")
|
|
14731
|
+
memeber_set = set(params.keys())
|
|
14732
|
+
for name, value in vars(self).items():
|
|
14733
|
+
property_name = name[1:]
|
|
14734
|
+
if property_name in memeber_set:
|
|
14735
|
+
memeber_set.remove(property_name)
|
|
14736
|
+
if len(memeber_set) > 0:
|
|
14737
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14128
14738
|
|
|
@@ -4316,6 +4316,10 @@ class AiParagraphInfo(AbstractModel):
|
|
|
4316
4316
|
:param _Summary: Segment summary.
|
|
4317
4317
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4318
4318
|
:type Summary: str
|
|
4319
|
+
:param _Title: Segment title.
|
|
4320
|
+
:type Title: str
|
|
4321
|
+
:param _Keywords: Segment keywords.
|
|
4322
|
+
:type Keywords: list of str
|
|
4319
4323
|
:param _StartTimeOffset: Segmentation start time point, in seconds.
|
|
4320
4324
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4321
4325
|
:type StartTimeOffset: float
|
|
@@ -4324,6 +4328,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4324
4328
|
:type EndTimeOffset: float
|
|
4325
4329
|
"""
|
|
4326
4330
|
self._Summary = None
|
|
4331
|
+
self._Title = None
|
|
4332
|
+
self._Keywords = None
|
|
4327
4333
|
self._StartTimeOffset = None
|
|
4328
4334
|
self._EndTimeOffset = None
|
|
4329
4335
|
|
|
@@ -4339,6 +4345,28 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4339
4345
|
def Summary(self, Summary):
|
|
4340
4346
|
self._Summary = Summary
|
|
4341
4347
|
|
|
4348
|
+
@property
|
|
4349
|
+
def Title(self):
|
|
4350
|
+
"""Segment title.
|
|
4351
|
+
:rtype: str
|
|
4352
|
+
"""
|
|
4353
|
+
return self._Title
|
|
4354
|
+
|
|
4355
|
+
@Title.setter
|
|
4356
|
+
def Title(self, Title):
|
|
4357
|
+
self._Title = Title
|
|
4358
|
+
|
|
4359
|
+
@property
|
|
4360
|
+
def Keywords(self):
|
|
4361
|
+
"""Segment keywords.
|
|
4362
|
+
:rtype: list of str
|
|
4363
|
+
"""
|
|
4364
|
+
return self._Keywords
|
|
4365
|
+
|
|
4366
|
+
@Keywords.setter
|
|
4367
|
+
def Keywords(self, Keywords):
|
|
4368
|
+
self._Keywords = Keywords
|
|
4369
|
+
|
|
4342
4370
|
@property
|
|
4343
4371
|
def StartTimeOffset(self):
|
|
4344
4372
|
"""Segmentation start time point, in seconds.
|
|
@@ -4366,6 +4394,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4366
4394
|
|
|
4367
4395
|
def _deserialize(self, params):
|
|
4368
4396
|
self._Summary = params.get("Summary")
|
|
4397
|
+
self._Title = params.get("Title")
|
|
4398
|
+
self._Keywords = params.get("Keywords")
|
|
4369
4399
|
self._StartTimeOffset = params.get("StartTimeOffset")
|
|
4370
4400
|
self._EndTimeOffset = params.get("EndTimeOffset")
|
|
4371
4401
|
memeber_set = set(params.keys())
|
|
@@ -28237,12 +28267,18 @@ class MediaAiAnalysisDescriptionItem(AbstractModel):
|
|
|
28237
28267
|
:type Description: str
|
|
28238
28268
|
:param _Confidence: Confidence of the intelligent description, with a value range from 0 to 100.
|
|
28239
28269
|
:type Confidence: float
|
|
28270
|
+
:param _Title: Intelligent description title.
|
|
28271
|
+
:type Title: str
|
|
28272
|
+
:param _Keywords: Intelligent description keywords.
|
|
28273
|
+
:type Keywords: list of str
|
|
28240
28274
|
:param _Paragraphs: Segmentation result.
|
|
28241
28275
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
28242
28276
|
:type Paragraphs: list of AiParagraphInfo
|
|
28243
28277
|
"""
|
|
28244
28278
|
self._Description = None
|
|
28245
28279
|
self._Confidence = None
|
|
28280
|
+
self._Title = None
|
|
28281
|
+
self._Keywords = None
|
|
28246
28282
|
self._Paragraphs = None
|
|
28247
28283
|
|
|
28248
28284
|
@property
|
|
@@ -28267,6 +28303,28 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
28267
28303
|
def Confidence(self, Confidence):
|
|
28268
28304
|
self._Confidence = Confidence
|
|
28269
28305
|
|
|
28306
|
+
@property
|
|
28307
|
+
def Title(self):
|
|
28308
|
+
"""Intelligent description title.
|
|
28309
|
+
:rtype: str
|
|
28310
|
+
"""
|
|
28311
|
+
return self._Title
|
|
28312
|
+
|
|
28313
|
+
@Title.setter
|
|
28314
|
+
def Title(self, Title):
|
|
28315
|
+
self._Title = Title
|
|
28316
|
+
|
|
28317
|
+
@property
|
|
28318
|
+
def Keywords(self):
|
|
28319
|
+
"""Intelligent description keywords.
|
|
28320
|
+
:rtype: list of str
|
|
28321
|
+
"""
|
|
28322
|
+
return self._Keywords
|
|
28323
|
+
|
|
28324
|
+
@Keywords.setter
|
|
28325
|
+
def Keywords(self, Keywords):
|
|
28326
|
+
self._Keywords = Keywords
|
|
28327
|
+
|
|
28270
28328
|
@property
|
|
28271
28329
|
def Paragraphs(self):
|
|
28272
28330
|
"""Segmentation result.
|
|
@@ -28283,6 +28341,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
28283
28341
|
def _deserialize(self, params):
|
|
28284
28342
|
self._Description = params.get("Description")
|
|
28285
28343
|
self._Confidence = params.get("Confidence")
|
|
28344
|
+
self._Title = params.get("Title")
|
|
28345
|
+
self._Keywords = params.get("Keywords")
|
|
28286
28346
|
if params.get("Paragraphs") is not None:
|
|
28287
28347
|
self._Paragraphs = []
|
|
28288
28348
|
for item in params.get("Paragraphs"):
|
|
@@ -7506,6 +7506,370 @@ class QuotaInvoice(AbstractModel):
|
|
|
7506
7506
|
|
|
7507
7507
|
|
|
7508
7508
|
|
|
7509
|
+
class RecognizeBrazilDriverLicenseOCRRequest(AbstractModel):
|
|
7510
|
+
"""RecognizeBrazilDriverLicenseOCR request structure.
|
|
7511
|
+
|
|
7512
|
+
"""
|
|
7513
|
+
|
|
7514
|
+
def __init__(self):
|
|
7515
|
+
r"""
|
|
7516
|
+
:param _ImageBase64: The Base64 value of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.
|
|
7517
|
+
:type ImageBase64: str
|
|
7518
|
+
:param _BackImageBase64: The Base64 value of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.
|
|
7519
|
+
:type BackImageBase64: str
|
|
7520
|
+
:param _ImageUrl: The URL address of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. It is recommended that images be stored in Tencent Cloud to ensure higher download speed and stability.
|
|
7521
|
+
:type ImageUrl: str
|
|
7522
|
+
:param _BackImageUrl: The URL address of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. It is recommended that images be stored in Tencent Cloud to ensure higher download speed and stability.
|
|
7523
|
+
:type BackImageUrl: str
|
|
7524
|
+
:param _CropPortrait: Picture switch. The default is false, and the base64 encoding of the avatar photo is not returned. When set to true, the base64 encoding of the portrait photo is returned.
|
|
7525
|
+
:type CropPortrait: bool
|
|
7526
|
+
"""
|
|
7527
|
+
self._ImageBase64 = None
|
|
7528
|
+
self._BackImageBase64 = None
|
|
7529
|
+
self._ImageUrl = None
|
|
7530
|
+
self._BackImageUrl = None
|
|
7531
|
+
self._CropPortrait = None
|
|
7532
|
+
|
|
7533
|
+
@property
|
|
7534
|
+
def ImageBase64(self):
|
|
7535
|
+
"""The Base64 value of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.
|
|
7536
|
+
:rtype: str
|
|
7537
|
+
"""
|
|
7538
|
+
return self._ImageBase64
|
|
7539
|
+
|
|
7540
|
+
@ImageBase64.setter
|
|
7541
|
+
def ImageBase64(self, ImageBase64):
|
|
7542
|
+
self._ImageBase64 = ImageBase64
|
|
7543
|
+
|
|
7544
|
+
@property
|
|
7545
|
+
def BackImageBase64(self):
|
|
7546
|
+
"""The Base64 value of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. One of ImageUrl and ImageBase64 of the image must be provided. If both are provided, only ImageUrl will be used.
|
|
7547
|
+
:rtype: str
|
|
7548
|
+
"""
|
|
7549
|
+
return self._BackImageBase64
|
|
7550
|
+
|
|
7551
|
+
@BackImageBase64.setter
|
|
7552
|
+
def BackImageBase64(self, BackImageBase64):
|
|
7553
|
+
self._BackImageBase64 = BackImageBase64
|
|
7554
|
+
|
|
7555
|
+
@property
|
|
7556
|
+
def ImageUrl(self):
|
|
7557
|
+
"""The URL address of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. It is recommended that images be stored in Tencent Cloud to ensure higher download speed and stability.
|
|
7558
|
+
:rtype: str
|
|
7559
|
+
"""
|
|
7560
|
+
return self._ImageUrl
|
|
7561
|
+
|
|
7562
|
+
@ImageUrl.setter
|
|
7563
|
+
def ImageUrl(self, ImageUrl):
|
|
7564
|
+
self._ImageUrl = ImageUrl
|
|
7565
|
+
|
|
7566
|
+
@property
|
|
7567
|
+
def BackImageUrl(self):
|
|
7568
|
+
"""The URL address of the image. It is required that the image after Base64 encoding should not exceed 7M, the resolution is recommended to be 500*800 or above, and PNG, JPG, JPEG, and BMP formats are supported. It is recommended that the card part occupies at least 2/3 of the picture. It is recommended that images be stored in Tencent Cloud to ensure higher download speed and stability.
|
|
7569
|
+
:rtype: str
|
|
7570
|
+
"""
|
|
7571
|
+
return self._BackImageUrl
|
|
7572
|
+
|
|
7573
|
+
@BackImageUrl.setter
|
|
7574
|
+
def BackImageUrl(self, BackImageUrl):
|
|
7575
|
+
self._BackImageUrl = BackImageUrl
|
|
7576
|
+
|
|
7577
|
+
@property
|
|
7578
|
+
def CropPortrait(self):
|
|
7579
|
+
"""Picture switch. The default is false, and the base64 encoding of the avatar photo is not returned. When set to true, the base64 encoding of the portrait photo is returned.
|
|
7580
|
+
:rtype: bool
|
|
7581
|
+
"""
|
|
7582
|
+
return self._CropPortrait
|
|
7583
|
+
|
|
7584
|
+
@CropPortrait.setter
|
|
7585
|
+
def CropPortrait(self, CropPortrait):
|
|
7586
|
+
self._CropPortrait = CropPortrait
|
|
7587
|
+
|
|
7588
|
+
|
|
7589
|
+
def _deserialize(self, params):
|
|
7590
|
+
self._ImageBase64 = params.get("ImageBase64")
|
|
7591
|
+
self._BackImageBase64 = params.get("BackImageBase64")
|
|
7592
|
+
self._ImageUrl = params.get("ImageUrl")
|
|
7593
|
+
self._BackImageUrl = params.get("BackImageUrl")
|
|
7594
|
+
self._CropPortrait = params.get("CropPortrait")
|
|
7595
|
+
memeber_set = set(params.keys())
|
|
7596
|
+
for name, value in vars(self).items():
|
|
7597
|
+
property_name = name[1:]
|
|
7598
|
+
if property_name in memeber_set:
|
|
7599
|
+
memeber_set.remove(property_name)
|
|
7600
|
+
if len(memeber_set) > 0:
|
|
7601
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7602
|
+
|
|
7603
|
+
|
|
7604
|
+
|
|
7605
|
+
class RecognizeBrazilDriverLicenseOCRResponse(AbstractModel):
|
|
7606
|
+
"""RecognizeBrazilDriverLicenseOCR response structure.
|
|
7607
|
+
|
|
7608
|
+
"""
|
|
7609
|
+
|
|
7610
|
+
def __init__(self):
|
|
7611
|
+
r"""
|
|
7612
|
+
:param _NOME: Name
|
|
7613
|
+
:type NOME: str
|
|
7614
|
+
:param _CatHab: Driving license type
|
|
7615
|
+
:type CatHab: str
|
|
7616
|
+
:param _CNHNumber: CNH number
|
|
7617
|
+
:type CNHNumber: str
|
|
7618
|
+
:param _VALIDADE: Valid date
|
|
7619
|
+
:type VALIDADE: str
|
|
7620
|
+
:param _QUALIFICATION: Qualification
|
|
7621
|
+
:type QUALIFICATION: str
|
|
7622
|
+
:param _IDENTIDADE: ID number
|
|
7623
|
+
:type IDENTIDADE: str
|
|
7624
|
+
:param _CPF: CPF
|
|
7625
|
+
:type CPF: str
|
|
7626
|
+
:param _NASCIMENTO: Birthday
|
|
7627
|
+
:type NASCIMENTO: str
|
|
7628
|
+
:param _MEMBERSHIP: Membership
|
|
7629
|
+
:type MEMBERSHIP: str
|
|
7630
|
+
:param _REGISTRO: Registration number
|
|
7631
|
+
:type REGISTRO: str
|
|
7632
|
+
:param _OBSERVATIONS: Remark
|
|
7633
|
+
:type OBSERVATIONS: str
|
|
7634
|
+
:param _IssueDate: Issue date
|
|
7635
|
+
:type IssueDate: str
|
|
7636
|
+
:param _LOCAL: Issue location
|
|
7637
|
+
:type LOCAL: str
|
|
7638
|
+
:param _BackNumber: Number in the back of the card
|
|
7639
|
+
:type BackNumber: str
|
|
7640
|
+
:param _AdvancedInfo: Field confidence
|
|
7641
|
+
:type AdvancedInfo: str
|
|
7642
|
+
:param _PortraitImage: PortraitImage base64
|
|
7643
|
+
:type PortraitImage: str
|
|
7644
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7645
|
+
:type RequestId: str
|
|
7646
|
+
"""
|
|
7647
|
+
self._NOME = None
|
|
7648
|
+
self._CatHab = None
|
|
7649
|
+
self._CNHNumber = None
|
|
7650
|
+
self._VALIDADE = None
|
|
7651
|
+
self._QUALIFICATION = None
|
|
7652
|
+
self._IDENTIDADE = None
|
|
7653
|
+
self._CPF = None
|
|
7654
|
+
self._NASCIMENTO = None
|
|
7655
|
+
self._MEMBERSHIP = None
|
|
7656
|
+
self._REGISTRO = None
|
|
7657
|
+
self._OBSERVATIONS = None
|
|
7658
|
+
self._IssueDate = None
|
|
7659
|
+
self._LOCAL = None
|
|
7660
|
+
self._BackNumber = None
|
|
7661
|
+
self._AdvancedInfo = None
|
|
7662
|
+
self._PortraitImage = None
|
|
7663
|
+
self._RequestId = None
|
|
7664
|
+
|
|
7665
|
+
@property
|
|
7666
|
+
def NOME(self):
|
|
7667
|
+
"""Name
|
|
7668
|
+
:rtype: str
|
|
7669
|
+
"""
|
|
7670
|
+
return self._NOME
|
|
7671
|
+
|
|
7672
|
+
@NOME.setter
|
|
7673
|
+
def NOME(self, NOME):
|
|
7674
|
+
self._NOME = NOME
|
|
7675
|
+
|
|
7676
|
+
@property
|
|
7677
|
+
def CatHab(self):
|
|
7678
|
+
"""Driving license type
|
|
7679
|
+
:rtype: str
|
|
7680
|
+
"""
|
|
7681
|
+
return self._CatHab
|
|
7682
|
+
|
|
7683
|
+
@CatHab.setter
|
|
7684
|
+
def CatHab(self, CatHab):
|
|
7685
|
+
self._CatHab = CatHab
|
|
7686
|
+
|
|
7687
|
+
@property
|
|
7688
|
+
def CNHNumber(self):
|
|
7689
|
+
"""CNH number
|
|
7690
|
+
:rtype: str
|
|
7691
|
+
"""
|
|
7692
|
+
return self._CNHNumber
|
|
7693
|
+
|
|
7694
|
+
@CNHNumber.setter
|
|
7695
|
+
def CNHNumber(self, CNHNumber):
|
|
7696
|
+
self._CNHNumber = CNHNumber
|
|
7697
|
+
|
|
7698
|
+
@property
|
|
7699
|
+
def VALIDADE(self):
|
|
7700
|
+
"""Valid date
|
|
7701
|
+
:rtype: str
|
|
7702
|
+
"""
|
|
7703
|
+
return self._VALIDADE
|
|
7704
|
+
|
|
7705
|
+
@VALIDADE.setter
|
|
7706
|
+
def VALIDADE(self, VALIDADE):
|
|
7707
|
+
self._VALIDADE = VALIDADE
|
|
7708
|
+
|
|
7709
|
+
@property
|
|
7710
|
+
def QUALIFICATION(self):
|
|
7711
|
+
"""Qualification
|
|
7712
|
+
:rtype: str
|
|
7713
|
+
"""
|
|
7714
|
+
return self._QUALIFICATION
|
|
7715
|
+
|
|
7716
|
+
@QUALIFICATION.setter
|
|
7717
|
+
def QUALIFICATION(self, QUALIFICATION):
|
|
7718
|
+
self._QUALIFICATION = QUALIFICATION
|
|
7719
|
+
|
|
7720
|
+
@property
|
|
7721
|
+
def IDENTIDADE(self):
|
|
7722
|
+
"""ID number
|
|
7723
|
+
:rtype: str
|
|
7724
|
+
"""
|
|
7725
|
+
return self._IDENTIDADE
|
|
7726
|
+
|
|
7727
|
+
@IDENTIDADE.setter
|
|
7728
|
+
def IDENTIDADE(self, IDENTIDADE):
|
|
7729
|
+
self._IDENTIDADE = IDENTIDADE
|
|
7730
|
+
|
|
7731
|
+
@property
|
|
7732
|
+
def CPF(self):
|
|
7733
|
+
"""CPF
|
|
7734
|
+
:rtype: str
|
|
7735
|
+
"""
|
|
7736
|
+
return self._CPF
|
|
7737
|
+
|
|
7738
|
+
@CPF.setter
|
|
7739
|
+
def CPF(self, CPF):
|
|
7740
|
+
self._CPF = CPF
|
|
7741
|
+
|
|
7742
|
+
@property
|
|
7743
|
+
def NASCIMENTO(self):
|
|
7744
|
+
"""Birthday
|
|
7745
|
+
:rtype: str
|
|
7746
|
+
"""
|
|
7747
|
+
return self._NASCIMENTO
|
|
7748
|
+
|
|
7749
|
+
@NASCIMENTO.setter
|
|
7750
|
+
def NASCIMENTO(self, NASCIMENTO):
|
|
7751
|
+
self._NASCIMENTO = NASCIMENTO
|
|
7752
|
+
|
|
7753
|
+
@property
|
|
7754
|
+
def MEMBERSHIP(self):
|
|
7755
|
+
"""Membership
|
|
7756
|
+
:rtype: str
|
|
7757
|
+
"""
|
|
7758
|
+
return self._MEMBERSHIP
|
|
7759
|
+
|
|
7760
|
+
@MEMBERSHIP.setter
|
|
7761
|
+
def MEMBERSHIP(self, MEMBERSHIP):
|
|
7762
|
+
self._MEMBERSHIP = MEMBERSHIP
|
|
7763
|
+
|
|
7764
|
+
@property
|
|
7765
|
+
def REGISTRO(self):
|
|
7766
|
+
"""Registration number
|
|
7767
|
+
:rtype: str
|
|
7768
|
+
"""
|
|
7769
|
+
return self._REGISTRO
|
|
7770
|
+
|
|
7771
|
+
@REGISTRO.setter
|
|
7772
|
+
def REGISTRO(self, REGISTRO):
|
|
7773
|
+
self._REGISTRO = REGISTRO
|
|
7774
|
+
|
|
7775
|
+
@property
|
|
7776
|
+
def OBSERVATIONS(self):
|
|
7777
|
+
"""Remark
|
|
7778
|
+
:rtype: str
|
|
7779
|
+
"""
|
|
7780
|
+
return self._OBSERVATIONS
|
|
7781
|
+
|
|
7782
|
+
@OBSERVATIONS.setter
|
|
7783
|
+
def OBSERVATIONS(self, OBSERVATIONS):
|
|
7784
|
+
self._OBSERVATIONS = OBSERVATIONS
|
|
7785
|
+
|
|
7786
|
+
@property
|
|
7787
|
+
def IssueDate(self):
|
|
7788
|
+
"""Issue date
|
|
7789
|
+
:rtype: str
|
|
7790
|
+
"""
|
|
7791
|
+
return self._IssueDate
|
|
7792
|
+
|
|
7793
|
+
@IssueDate.setter
|
|
7794
|
+
def IssueDate(self, IssueDate):
|
|
7795
|
+
self._IssueDate = IssueDate
|
|
7796
|
+
|
|
7797
|
+
@property
|
|
7798
|
+
def LOCAL(self):
|
|
7799
|
+
"""Issue location
|
|
7800
|
+
:rtype: str
|
|
7801
|
+
"""
|
|
7802
|
+
return self._LOCAL
|
|
7803
|
+
|
|
7804
|
+
@LOCAL.setter
|
|
7805
|
+
def LOCAL(self, LOCAL):
|
|
7806
|
+
self._LOCAL = LOCAL
|
|
7807
|
+
|
|
7808
|
+
@property
|
|
7809
|
+
def BackNumber(self):
|
|
7810
|
+
"""Number in the back of the card
|
|
7811
|
+
:rtype: str
|
|
7812
|
+
"""
|
|
7813
|
+
return self._BackNumber
|
|
7814
|
+
|
|
7815
|
+
@BackNumber.setter
|
|
7816
|
+
def BackNumber(self, BackNumber):
|
|
7817
|
+
self._BackNumber = BackNumber
|
|
7818
|
+
|
|
7819
|
+
@property
|
|
7820
|
+
def AdvancedInfo(self):
|
|
7821
|
+
"""Field confidence
|
|
7822
|
+
:rtype: str
|
|
7823
|
+
"""
|
|
7824
|
+
return self._AdvancedInfo
|
|
7825
|
+
|
|
7826
|
+
@AdvancedInfo.setter
|
|
7827
|
+
def AdvancedInfo(self, AdvancedInfo):
|
|
7828
|
+
self._AdvancedInfo = AdvancedInfo
|
|
7829
|
+
|
|
7830
|
+
@property
|
|
7831
|
+
def PortraitImage(self):
|
|
7832
|
+
"""PortraitImage base64
|
|
7833
|
+
:rtype: str
|
|
7834
|
+
"""
|
|
7835
|
+
return self._PortraitImage
|
|
7836
|
+
|
|
7837
|
+
@PortraitImage.setter
|
|
7838
|
+
def PortraitImage(self, PortraitImage):
|
|
7839
|
+
self._PortraitImage = PortraitImage
|
|
7840
|
+
|
|
7841
|
+
@property
|
|
7842
|
+
def RequestId(self):
|
|
7843
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7844
|
+
:rtype: str
|
|
7845
|
+
"""
|
|
7846
|
+
return self._RequestId
|
|
7847
|
+
|
|
7848
|
+
@RequestId.setter
|
|
7849
|
+
def RequestId(self, RequestId):
|
|
7850
|
+
self._RequestId = RequestId
|
|
7851
|
+
|
|
7852
|
+
|
|
7853
|
+
def _deserialize(self, params):
|
|
7854
|
+
self._NOME = params.get("NOME")
|
|
7855
|
+
self._CatHab = params.get("CatHab")
|
|
7856
|
+
self._CNHNumber = params.get("CNHNumber")
|
|
7857
|
+
self._VALIDADE = params.get("VALIDADE")
|
|
7858
|
+
self._QUALIFICATION = params.get("QUALIFICATION")
|
|
7859
|
+
self._IDENTIDADE = params.get("IDENTIDADE")
|
|
7860
|
+
self._CPF = params.get("CPF")
|
|
7861
|
+
self._NASCIMENTO = params.get("NASCIMENTO")
|
|
7862
|
+
self._MEMBERSHIP = params.get("MEMBERSHIP")
|
|
7863
|
+
self._REGISTRO = params.get("REGISTRO")
|
|
7864
|
+
self._OBSERVATIONS = params.get("OBSERVATIONS")
|
|
7865
|
+
self._IssueDate = params.get("IssueDate")
|
|
7866
|
+
self._LOCAL = params.get("LOCAL")
|
|
7867
|
+
self._BackNumber = params.get("BackNumber")
|
|
7868
|
+
self._AdvancedInfo = params.get("AdvancedInfo")
|
|
7869
|
+
self._PortraitImage = params.get("PortraitImage")
|
|
7870
|
+
self._RequestId = params.get("RequestId")
|
|
7871
|
+
|
|
7872
|
+
|
|
7509
7873
|
class RecognizeGeneralInvoiceRequest(AbstractModel):
|
|
7510
7874
|
"""RecognizeGeneralInvoice request structure.
|
|
7511
7875
|
|
|
@@ -353,6 +353,29 @@ class OcrClient(AbstractClient):
|
|
|
353
353
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
354
354
|
|
|
355
355
|
|
|
356
|
+
def RecognizeBrazilDriverLicenseOCR(self, request):
|
|
357
|
+
"""This interface supports identification of the front and back of Brazilian driver's license. The identification fields include name, driver's license category, number, validity period, etc.
|
|
358
|
+
|
|
359
|
+
:param request: Request instance for RecognizeBrazilDriverLicenseOCR.
|
|
360
|
+
:type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeBrazilDriverLicenseOCRRequest`
|
|
361
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizeBrazilDriverLicenseOCRResponse`
|
|
362
|
+
|
|
363
|
+
"""
|
|
364
|
+
try:
|
|
365
|
+
params = request._serialize()
|
|
366
|
+
headers = request.headers
|
|
367
|
+
body = self.call("RecognizeBrazilDriverLicenseOCR", params, headers=headers)
|
|
368
|
+
response = json.loads(body)
|
|
369
|
+
model = models.RecognizeBrazilDriverLicenseOCRResponse()
|
|
370
|
+
model._deserialize(response["Response"])
|
|
371
|
+
return model
|
|
372
|
+
except Exception as e:
|
|
373
|
+
if isinstance(e, TencentCloudSDKException):
|
|
374
|
+
raise
|
|
375
|
+
else:
|
|
376
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
377
|
+
|
|
378
|
+
|
|
356
379
|
def RecognizeGeneralInvoice(self, request):
|
|
357
380
|
"""This API is used to recognize various types of invoices or tickets in an image or PDF file. You can also specify a type. 14 types of standard expense reimbursement invoices are supported, including value-added tax (VAT) invoice (special, general, roll, blockchain, and toll), fully digitalized electronic invoice (special and general), non-tax revenue invoice (general receipt and general payment voucher), quota invoice, general machine-printed invoice, car sales invoice (motor vehicle sales invoice and used car invoice), train ticket, taxi receipt, itinerary/receipt of e-ticket for air transportation, bus ticket, ship ticket, toll receipt, and medical invoice (inpatient and outpatient). This API can also be used for intelligent recognition of other types of invoices. To try now, click [here](https://intl.cloud.tencent.com/product/ocr?from_cn_redirect=1).
|
|
358
381
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=DemI8FZRCNxgY_HsKhTSS3qrnlqU52Sbs9GtZGRcEnk,630
|
|
2
2
|
tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/advisor/v20200721/advisor_client.py,sha256=b5pLP_oF5HZHo4xbn-hI4dkpnirhcHB2rNDWvGf4q1Y,2919
|
|
@@ -101,9 +101,9 @@ tencentcloud/cfs/v20190719/errorcodes.py,sha256=mEqGjrXHb7VABRyogGOnlF0AIgzz_hO5
|
|
|
101
101
|
tencentcloud/cfs/v20190719/models.py,sha256=UHn0bExQfUTm4Z2bND2XDZFjq5Ej6c9z2YnjmtmO1b8,223993
|
|
102
102
|
tencentcloud/cfw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
103
103
|
tencentcloud/cfw/v20190904/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
104
|
-
tencentcloud/cfw/v20190904/cfw_client.py,sha256=
|
|
104
|
+
tencentcloud/cfw/v20190904/cfw_client.py,sha256=ZoC335P6OAmnfXm16Piriu3MAkCaXX1Dzajnke8JY0s,63059
|
|
105
105
|
tencentcloud/cfw/v20190904/errorcodes.py,sha256=twZDsivT6wmcZaQ5b7wMwjuIadK2F02NjI4WP87Ztbw,1962
|
|
106
|
-
tencentcloud/cfw/v20190904/models.py,sha256=
|
|
106
|
+
tencentcloud/cfw/v20190904/models.py,sha256=dRudAojkTP3aWgfIfgPNn0gIOk_J8k5M8rsw_CXmHD0,420216
|
|
107
107
|
tencentcloud/chdfs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
108
108
|
tencentcloud/chdfs/v20201112/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
109
109
|
tencentcloud/chdfs/v20201112/chdfs_client.py,sha256=XMP15YxoVV5LRH3FFn31ytVjhyFcX6tJKfkAh2LjyfM,28198
|
|
@@ -388,7 +388,7 @@ tencentcloud/monitor/v20180724/monitor_client.py,sha256=hrQeKcXUL7MmNd_VeJAxLups
|
|
|
388
388
|
tencentcloud/mps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
389
389
|
tencentcloud/mps/v20190612/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
390
390
|
tencentcloud/mps/v20190612/errorcodes.py,sha256=kKjLv4IwopD1t0xpQG1vz0XLafjQYO53GYZ0iHVYFro,13387
|
|
391
|
-
tencentcloud/mps/v20190612/models.py,sha256=
|
|
391
|
+
tencentcloud/mps/v20190612/models.py,sha256=O3SWdQO9VZzLfv8HejXTGmcAHJiHy_BA5BNVpzd7dkQ,1751230
|
|
392
392
|
tencentcloud/mps/v20190612/mps_client.py,sha256=xbixyXjhGCMIgcjSzOERH7OdZLRGIGZE5mfhRqsvcBs,84560
|
|
393
393
|
tencentcloud/msp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
394
394
|
tencentcloud/msp/v20180319/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -398,8 +398,8 @@ tencentcloud/msp/v20180319/msp_client.py,sha256=XkSbJuPDAeY7elyJ5ByR2wNL0HiFO6Xa
|
|
|
398
398
|
tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
399
399
|
tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
400
400
|
tencentcloud/ocr/v20181119/errorcodes.py,sha256=nWA-KbovxQzbkbnNsCXMUl11aLX1fFKD3flp-u-GBrA,3894
|
|
401
|
-
tencentcloud/ocr/v20181119/models.py,sha256=
|
|
402
|
-
tencentcloud/ocr/v20181119/ocr_client.py,sha256=
|
|
401
|
+
tencentcloud/ocr/v20181119/models.py,sha256=zyzmC9_gpS_Q7EyvsjCxp9Sqn-AXXqfpokoc3TF7Z08,552325
|
|
402
|
+
tencentcloud/ocr/v20181119/ocr_client.py,sha256=nRCxVssZJng1qKmo_IUYzrUJLM9PKDK5tv4oRA2sYyM,47516
|
|
403
403
|
tencentcloud/omics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
404
404
|
tencentcloud/omics/v20221128/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
405
405
|
tencentcloud/omics/v20221128/errorcodes.py,sha256=VEkh5arAi4YIbf5y4krDS23zC6KcL6WnOxhpPLsiCGc,4862
|
|
@@ -624,7 +624,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
624
624
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
|
|
625
625
|
tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
|
|
626
626
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
|
|
627
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
628
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
629
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
630
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
627
|
+
tencentcloud_sdk_python_intl_en-3.0.1138.dist-info/METADATA,sha256=Z9ijkWd3PSNXPmxDY2TWMht42vtl5MHAi2mNhQWxKF8,1628
|
|
628
|
+
tencentcloud_sdk_python_intl_en-3.0.1138.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
629
|
+
tencentcloud_sdk_python_intl_en-3.0.1138.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
630
|
+
tencentcloud_sdk_python_intl_en-3.0.1138.dist-info/RECORD,,
|
|
File without changes
|