tencentcloud-sdk-python-intl-en 3.0.1225__py2.py3-none-any.whl → 3.0.1227__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/csip/v20221121/csip_client.py +69 -0
- tencentcloud/csip/v20221121/models.py +1710 -115
- tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +24 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +106 -10
- tencentcloud/ocr/v20181119/models.py +306 -2
- tencentcloud/ocr/v20181119/ocr_client.py +23 -0
- tencentcloud/sqlserver/v20180328/models.py +56 -26
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1225.dist-info → tencentcloud_sdk_python_intl_en-3.0.1227.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1225.dist-info → tencentcloud_sdk_python_intl_en-3.0.1227.dist-info}/RECORD +13 -13
- {tencentcloud_sdk_python_intl_en-3.0.1225.dist-info → tencentcloud_sdk_python_intl_en-3.0.1227.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1225.dist-info → tencentcloud_sdk_python_intl_en-3.0.1227.dist-info}/top_level.txt +0 -0
|
@@ -353,6 +353,30 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
|
353
353
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
354
354
|
|
|
355
355
|
|
|
356
|
+
def DescribeCustomerBillDetailByDay(self, request):
|
|
357
|
+
"""This API is used to query the daily bill expenditure of cu by resellers.
|
|
358
|
+
Invocation Role: first-level reseller, second-level reseller, reseller.
|
|
359
|
+
|
|
360
|
+
:param request: Request instance for DescribeCustomerBillDetailByDay.
|
|
361
|
+
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.DescribeCustomerBillDetailByDayRequest`
|
|
362
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.DescribeCustomerBillDetailByDayResponse`
|
|
363
|
+
|
|
364
|
+
"""
|
|
365
|
+
try:
|
|
366
|
+
params = request._serialize()
|
|
367
|
+
headers = request.headers
|
|
368
|
+
body = self.call("DescribeCustomerBillDetailByDay", params, headers=headers)
|
|
369
|
+
response = json.loads(body)
|
|
370
|
+
model = models.DescribeCustomerBillDetailByDayResponse()
|
|
371
|
+
model._deserialize(response["Response"])
|
|
372
|
+
return model
|
|
373
|
+
except Exception as e:
|
|
374
|
+
if isinstance(e, TencentCloudSDKException):
|
|
375
|
+
raise
|
|
376
|
+
else:
|
|
377
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
378
|
+
|
|
379
|
+
|
|
356
380
|
def DescribeCustomerBillDownloadUrl(self, request):
|
|
357
381
|
"""This API is used to get the URL for downloading the customer bill file by reseller. The download conditions are as follows:
|
|
358
382
|
1. Detailed bills (billDetail and billDetailPack) can be downloaded starting from June 2022; resource bills (billResource and billResourcePack) can be downloaded starting from November 2023.
|
|
@@ -2883,6 +2883,104 @@ class DescribeBillSummaryResponse(AbstractModel):
|
|
|
2883
2883
|
self._RequestId = params.get("RequestId")
|
|
2884
2884
|
|
|
2885
2885
|
|
|
2886
|
+
class DescribeCustomerBillDetailByDayRequest(AbstractModel):
|
|
2887
|
+
"""DescribeCustomerBillDetailByDay request structure.
|
|
2888
|
+
|
|
2889
|
+
"""
|
|
2890
|
+
|
|
2891
|
+
def __init__(self):
|
|
2892
|
+
r"""
|
|
2893
|
+
:param _CustomerUin: Sub-account UIN.
|
|
2894
|
+
Such as "10000000001"
|
|
2895
|
+
:type CustomerUin: int
|
|
2896
|
+
:param _Date: Date.
|
|
2897
|
+
Such as" 2025-06-25"
|
|
2898
|
+
:type Date: str
|
|
2899
|
+
"""
|
|
2900
|
+
self._CustomerUin = None
|
|
2901
|
+
self._Date = None
|
|
2902
|
+
|
|
2903
|
+
@property
|
|
2904
|
+
def CustomerUin(self):
|
|
2905
|
+
"""Sub-account UIN.
|
|
2906
|
+
Such as "10000000001"
|
|
2907
|
+
:rtype: int
|
|
2908
|
+
"""
|
|
2909
|
+
return self._CustomerUin
|
|
2910
|
+
|
|
2911
|
+
@CustomerUin.setter
|
|
2912
|
+
def CustomerUin(self, CustomerUin):
|
|
2913
|
+
self._CustomerUin = CustomerUin
|
|
2914
|
+
|
|
2915
|
+
@property
|
|
2916
|
+
def Date(self):
|
|
2917
|
+
"""Date.
|
|
2918
|
+
Such as" 2025-06-25"
|
|
2919
|
+
:rtype: str
|
|
2920
|
+
"""
|
|
2921
|
+
return self._Date
|
|
2922
|
+
|
|
2923
|
+
@Date.setter
|
|
2924
|
+
def Date(self, Date):
|
|
2925
|
+
self._Date = Date
|
|
2926
|
+
|
|
2927
|
+
|
|
2928
|
+
def _deserialize(self, params):
|
|
2929
|
+
self._CustomerUin = params.get("CustomerUin")
|
|
2930
|
+
self._Date = params.get("Date")
|
|
2931
|
+
memeber_set = set(params.keys())
|
|
2932
|
+
for name, value in vars(self).items():
|
|
2933
|
+
property_name = name[1:]
|
|
2934
|
+
if property_name in memeber_set:
|
|
2935
|
+
memeber_set.remove(property_name)
|
|
2936
|
+
if len(memeber_set) > 0:
|
|
2937
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2938
|
+
|
|
2939
|
+
|
|
2940
|
+
|
|
2941
|
+
class DescribeCustomerBillDetailByDayResponse(AbstractModel):
|
|
2942
|
+
"""DescribeCustomerBillDetailByDay response structure.
|
|
2943
|
+
|
|
2944
|
+
"""
|
|
2945
|
+
|
|
2946
|
+
def __init__(self):
|
|
2947
|
+
r"""
|
|
2948
|
+
:param _TotalCost: Total spending.
|
|
2949
|
+
:type TotalCost: str
|
|
2950
|
+
: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.
|
|
2951
|
+
:type RequestId: str
|
|
2952
|
+
"""
|
|
2953
|
+
self._TotalCost = None
|
|
2954
|
+
self._RequestId = None
|
|
2955
|
+
|
|
2956
|
+
@property
|
|
2957
|
+
def TotalCost(self):
|
|
2958
|
+
"""Total spending.
|
|
2959
|
+
:rtype: str
|
|
2960
|
+
"""
|
|
2961
|
+
return self._TotalCost
|
|
2962
|
+
|
|
2963
|
+
@TotalCost.setter
|
|
2964
|
+
def TotalCost(self, TotalCost):
|
|
2965
|
+
self._TotalCost = TotalCost
|
|
2966
|
+
|
|
2967
|
+
@property
|
|
2968
|
+
def RequestId(self):
|
|
2969
|
+
"""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.
|
|
2970
|
+
:rtype: str
|
|
2971
|
+
"""
|
|
2972
|
+
return self._RequestId
|
|
2973
|
+
|
|
2974
|
+
@RequestId.setter
|
|
2975
|
+
def RequestId(self, RequestId):
|
|
2976
|
+
self._RequestId = RequestId
|
|
2977
|
+
|
|
2978
|
+
|
|
2979
|
+
def _deserialize(self, params):
|
|
2980
|
+
self._TotalCost = params.get("TotalCost")
|
|
2981
|
+
self._RequestId = params.get("RequestId")
|
|
2982
|
+
|
|
2983
|
+
|
|
2886
2984
|
class DescribeCustomerBillDetailRequest(AbstractModel):
|
|
2887
2985
|
"""DescribeCustomerBillDetail request structure.
|
|
2888
2986
|
|
|
@@ -5101,14 +5199,13 @@ class QueryCustomerBillingQuotaData(AbstractModel):
|
|
|
5101
5199
|
|
|
5102
5200
|
def __init__(self):
|
|
5103
5201
|
r"""
|
|
5104
|
-
:param _TotalCredit: Total credit limit (unit:
|
|
5202
|
+
:param _TotalCredit: Total credit limit (unit: usd), accurate down to two decimal places.
|
|
5105
5203
|
:type TotalCredit: float
|
|
5106
|
-
:param _RemainingCredit: Remaining credit limit (unit:
|
|
5204
|
+
:param _RemainingCredit: Remaining credit limit (unit: usd), accurate down to two decimal places.
|
|
5107
5205
|
:type RemainingCredit: float
|
|
5108
|
-
:param _RemainingVoucher: Remaining total voucher amount (unit:
|
|
5206
|
+
:param _RemainingVoucher: Remaining total voucher amount (unit: usd), accurate down to two decimal places.
|
|
5109
5207
|
:type RemainingVoucher: float
|
|
5110
|
-
:param _Force: Forced status
|
|
5111
|
-
.
|
|
5208
|
+
:param _Force: Forced status.
|
|
5112
5209
|
Note: this field may return null, indicating that no valid values can be obtained.
|
|
5113
5210
|
:type Force: int
|
|
5114
5211
|
:param _PrepayFrozen: Prepaid frozen amount.
|
|
@@ -5125,7 +5222,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5125
5222
|
|
|
5126
5223
|
@property
|
|
5127
5224
|
def TotalCredit(self):
|
|
5128
|
-
"""Total credit limit (unit:
|
|
5225
|
+
"""Total credit limit (unit: usd), accurate down to two decimal places.
|
|
5129
5226
|
:rtype: float
|
|
5130
5227
|
"""
|
|
5131
5228
|
return self._TotalCredit
|
|
@@ -5136,7 +5233,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5136
5233
|
|
|
5137
5234
|
@property
|
|
5138
5235
|
def RemainingCredit(self):
|
|
5139
|
-
"""Remaining credit limit (unit:
|
|
5236
|
+
"""Remaining credit limit (unit: usd), accurate down to two decimal places.
|
|
5140
5237
|
:rtype: float
|
|
5141
5238
|
"""
|
|
5142
5239
|
return self._RemainingCredit
|
|
@@ -5147,7 +5244,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5147
5244
|
|
|
5148
5245
|
@property
|
|
5149
5246
|
def RemainingVoucher(self):
|
|
5150
|
-
"""Remaining total voucher amount (unit:
|
|
5247
|
+
"""Remaining total voucher amount (unit: usd), accurate down to two decimal places.
|
|
5151
5248
|
:rtype: float
|
|
5152
5249
|
"""
|
|
5153
5250
|
return self._RemainingVoucher
|
|
@@ -5158,8 +5255,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
5158
5255
|
|
|
5159
5256
|
@property
|
|
5160
5257
|
def Force(self):
|
|
5161
|
-
"""Forced status
|
|
5162
|
-
.
|
|
5258
|
+
"""Forced status.
|
|
5163
5259
|
Note: this field may return null, indicating that no valid values can be obtained.
|
|
5164
5260
|
:rtype: int
|
|
5165
5261
|
"""
|
|
@@ -10859,6 +10859,310 @@ class RecognizeMainlandIDCardOCRResponse(AbstractModel):
|
|
|
10859
10859
|
self._RequestId = params.get("RequestId")
|
|
10860
10860
|
|
|
10861
10861
|
|
|
10862
|
+
class RecognizeMexicoVTIDRequest(AbstractModel):
|
|
10863
|
+
"""RecognizeMexicoVTID request structure.
|
|
10864
|
+
|
|
10865
|
+
"""
|
|
10866
|
+
|
|
10867
|
+
def __init__(self):
|
|
10868
|
+
r"""
|
|
10869
|
+
:param _ImageBase64: Base64 value of the image. Supported image formats: PNG, JPG, JPEG, GIF format is not supported yet. Supported image size: The downloaded image should not exceed 7M after Base64 encoding. Image downloading time should not exceed 3 seconds.
|
|
10870
|
+
:type ImageBase64: str
|
|
10871
|
+
:param _ImageUrl: URL address of the image. Supported image formats: PNG, JPG, JPEG, GIF format is not supported yet. Supported image size: The downloaded image should not exceed 7M after Base64 encoding. Image download time should not exceed 3 seconds. URLs of images stored in Tencent Cloud can guarantee higher download speed and stability. It is recommended that images be stored in Tencent Cloud. The speed and stability of URLs not stored in Tencent Cloud may be affected to a certain extent.
|
|
10872
|
+
:type ImageUrl: str
|
|
10873
|
+
:param _ReturnHeadImage: Whether to return portrait photos.
|
|
10874
|
+
:type ReturnHeadImage: bool
|
|
10875
|
+
"""
|
|
10876
|
+
self._ImageBase64 = None
|
|
10877
|
+
self._ImageUrl = None
|
|
10878
|
+
self._ReturnHeadImage = None
|
|
10879
|
+
|
|
10880
|
+
@property
|
|
10881
|
+
def ImageBase64(self):
|
|
10882
|
+
"""Base64 value of the image. Supported image formats: PNG, JPG, JPEG, GIF format is not supported yet. Supported image size: The downloaded image should not exceed 7M after Base64 encoding. Image downloading time should not exceed 3 seconds.
|
|
10883
|
+
:rtype: str
|
|
10884
|
+
"""
|
|
10885
|
+
return self._ImageBase64
|
|
10886
|
+
|
|
10887
|
+
@ImageBase64.setter
|
|
10888
|
+
def ImageBase64(self, ImageBase64):
|
|
10889
|
+
self._ImageBase64 = ImageBase64
|
|
10890
|
+
|
|
10891
|
+
@property
|
|
10892
|
+
def ImageUrl(self):
|
|
10893
|
+
"""URL address of the image. Supported image formats: PNG, JPG, JPEG, GIF format is not supported yet. Supported image size: The downloaded image should not exceed 7M after Base64 encoding. Image download time should not exceed 3 seconds. URLs of images stored in Tencent Cloud can guarantee higher download speed and stability. It is recommended that images be stored in Tencent Cloud. The speed and stability of URLs not stored in Tencent Cloud may be affected to a certain extent.
|
|
10894
|
+
:rtype: str
|
|
10895
|
+
"""
|
|
10896
|
+
return self._ImageUrl
|
|
10897
|
+
|
|
10898
|
+
@ImageUrl.setter
|
|
10899
|
+
def ImageUrl(self, ImageUrl):
|
|
10900
|
+
self._ImageUrl = ImageUrl
|
|
10901
|
+
|
|
10902
|
+
@property
|
|
10903
|
+
def ReturnHeadImage(self):
|
|
10904
|
+
"""Whether to return portrait photos.
|
|
10905
|
+
:rtype: bool
|
|
10906
|
+
"""
|
|
10907
|
+
return self._ReturnHeadImage
|
|
10908
|
+
|
|
10909
|
+
@ReturnHeadImage.setter
|
|
10910
|
+
def ReturnHeadImage(self, ReturnHeadImage):
|
|
10911
|
+
self._ReturnHeadImage = ReturnHeadImage
|
|
10912
|
+
|
|
10913
|
+
|
|
10914
|
+
def _deserialize(self, params):
|
|
10915
|
+
self._ImageBase64 = params.get("ImageBase64")
|
|
10916
|
+
self._ImageUrl = params.get("ImageUrl")
|
|
10917
|
+
self._ReturnHeadImage = params.get("ReturnHeadImage")
|
|
10918
|
+
memeber_set = set(params.keys())
|
|
10919
|
+
for name, value in vars(self).items():
|
|
10920
|
+
property_name = name[1:]
|
|
10921
|
+
if property_name in memeber_set:
|
|
10922
|
+
memeber_set.remove(property_name)
|
|
10923
|
+
if len(memeber_set) > 0:
|
|
10924
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10925
|
+
|
|
10926
|
+
|
|
10927
|
+
|
|
10928
|
+
class RecognizeMexicoVTIDResponse(AbstractModel):
|
|
10929
|
+
"""RecognizeMexicoVTID response structure.
|
|
10930
|
+
|
|
10931
|
+
"""
|
|
10932
|
+
|
|
10933
|
+
def __init__(self):
|
|
10934
|
+
r"""
|
|
10935
|
+
:param _Name: Name
|
|
10936
|
+
:type Name: str
|
|
10937
|
+
:param _Sex: Sex
|
|
10938
|
+
:type Sex: str
|
|
10939
|
+
:param _Address: Address
|
|
10940
|
+
:type Address: str
|
|
10941
|
+
:param _VotePIN: Vote PIN Code
|
|
10942
|
+
:type VotePIN: str
|
|
10943
|
+
:param _CURP: Unique Population Registry Code
|
|
10944
|
+
:type CURP: str
|
|
10945
|
+
:param _Birth: Birthday
|
|
10946
|
+
:type Birth: str
|
|
10947
|
+
:param _SECCION: Section Number
|
|
10948
|
+
:type SECCION: str
|
|
10949
|
+
:param _IssueDate: IssueDate
|
|
10950
|
+
:type IssueDate: str
|
|
10951
|
+
:param _ValidDate: ValidDate
|
|
10952
|
+
:type ValidDate: str
|
|
10953
|
+
:param _State: State
|
|
10954
|
+
:type State: str
|
|
10955
|
+
:param _City: City
|
|
10956
|
+
:type City: str
|
|
10957
|
+
:param _Locality: Locality
|
|
10958
|
+
:type Locality: str
|
|
10959
|
+
:param _EMISION: Edition
|
|
10960
|
+
:type EMISION: str
|
|
10961
|
+
:param _PortraitImage: Portrait image base64
|
|
10962
|
+
:type PortraitImage: str
|
|
10963
|
+
: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.
|
|
10964
|
+
:type RequestId: str
|
|
10965
|
+
"""
|
|
10966
|
+
self._Name = None
|
|
10967
|
+
self._Sex = None
|
|
10968
|
+
self._Address = None
|
|
10969
|
+
self._VotePIN = None
|
|
10970
|
+
self._CURP = None
|
|
10971
|
+
self._Birth = None
|
|
10972
|
+
self._SECCION = None
|
|
10973
|
+
self._IssueDate = None
|
|
10974
|
+
self._ValidDate = None
|
|
10975
|
+
self._State = None
|
|
10976
|
+
self._City = None
|
|
10977
|
+
self._Locality = None
|
|
10978
|
+
self._EMISION = None
|
|
10979
|
+
self._PortraitImage = None
|
|
10980
|
+
self._RequestId = None
|
|
10981
|
+
|
|
10982
|
+
@property
|
|
10983
|
+
def Name(self):
|
|
10984
|
+
"""Name
|
|
10985
|
+
:rtype: str
|
|
10986
|
+
"""
|
|
10987
|
+
return self._Name
|
|
10988
|
+
|
|
10989
|
+
@Name.setter
|
|
10990
|
+
def Name(self, Name):
|
|
10991
|
+
self._Name = Name
|
|
10992
|
+
|
|
10993
|
+
@property
|
|
10994
|
+
def Sex(self):
|
|
10995
|
+
"""Sex
|
|
10996
|
+
:rtype: str
|
|
10997
|
+
"""
|
|
10998
|
+
return self._Sex
|
|
10999
|
+
|
|
11000
|
+
@Sex.setter
|
|
11001
|
+
def Sex(self, Sex):
|
|
11002
|
+
self._Sex = Sex
|
|
11003
|
+
|
|
11004
|
+
@property
|
|
11005
|
+
def Address(self):
|
|
11006
|
+
"""Address
|
|
11007
|
+
:rtype: str
|
|
11008
|
+
"""
|
|
11009
|
+
return self._Address
|
|
11010
|
+
|
|
11011
|
+
@Address.setter
|
|
11012
|
+
def Address(self, Address):
|
|
11013
|
+
self._Address = Address
|
|
11014
|
+
|
|
11015
|
+
@property
|
|
11016
|
+
def VotePIN(self):
|
|
11017
|
+
"""Vote PIN Code
|
|
11018
|
+
:rtype: str
|
|
11019
|
+
"""
|
|
11020
|
+
return self._VotePIN
|
|
11021
|
+
|
|
11022
|
+
@VotePIN.setter
|
|
11023
|
+
def VotePIN(self, VotePIN):
|
|
11024
|
+
self._VotePIN = VotePIN
|
|
11025
|
+
|
|
11026
|
+
@property
|
|
11027
|
+
def CURP(self):
|
|
11028
|
+
"""Unique Population Registry Code
|
|
11029
|
+
:rtype: str
|
|
11030
|
+
"""
|
|
11031
|
+
return self._CURP
|
|
11032
|
+
|
|
11033
|
+
@CURP.setter
|
|
11034
|
+
def CURP(self, CURP):
|
|
11035
|
+
self._CURP = CURP
|
|
11036
|
+
|
|
11037
|
+
@property
|
|
11038
|
+
def Birth(self):
|
|
11039
|
+
"""Birthday
|
|
11040
|
+
:rtype: str
|
|
11041
|
+
"""
|
|
11042
|
+
return self._Birth
|
|
11043
|
+
|
|
11044
|
+
@Birth.setter
|
|
11045
|
+
def Birth(self, Birth):
|
|
11046
|
+
self._Birth = Birth
|
|
11047
|
+
|
|
11048
|
+
@property
|
|
11049
|
+
def SECCION(self):
|
|
11050
|
+
"""Section Number
|
|
11051
|
+
:rtype: str
|
|
11052
|
+
"""
|
|
11053
|
+
return self._SECCION
|
|
11054
|
+
|
|
11055
|
+
@SECCION.setter
|
|
11056
|
+
def SECCION(self, SECCION):
|
|
11057
|
+
self._SECCION = SECCION
|
|
11058
|
+
|
|
11059
|
+
@property
|
|
11060
|
+
def IssueDate(self):
|
|
11061
|
+
"""IssueDate
|
|
11062
|
+
:rtype: str
|
|
11063
|
+
"""
|
|
11064
|
+
return self._IssueDate
|
|
11065
|
+
|
|
11066
|
+
@IssueDate.setter
|
|
11067
|
+
def IssueDate(self, IssueDate):
|
|
11068
|
+
self._IssueDate = IssueDate
|
|
11069
|
+
|
|
11070
|
+
@property
|
|
11071
|
+
def ValidDate(self):
|
|
11072
|
+
"""ValidDate
|
|
11073
|
+
:rtype: str
|
|
11074
|
+
"""
|
|
11075
|
+
return self._ValidDate
|
|
11076
|
+
|
|
11077
|
+
@ValidDate.setter
|
|
11078
|
+
def ValidDate(self, ValidDate):
|
|
11079
|
+
self._ValidDate = ValidDate
|
|
11080
|
+
|
|
11081
|
+
@property
|
|
11082
|
+
def State(self):
|
|
11083
|
+
"""State
|
|
11084
|
+
:rtype: str
|
|
11085
|
+
"""
|
|
11086
|
+
return self._State
|
|
11087
|
+
|
|
11088
|
+
@State.setter
|
|
11089
|
+
def State(self, State):
|
|
11090
|
+
self._State = State
|
|
11091
|
+
|
|
11092
|
+
@property
|
|
11093
|
+
def City(self):
|
|
11094
|
+
"""City
|
|
11095
|
+
:rtype: str
|
|
11096
|
+
"""
|
|
11097
|
+
return self._City
|
|
11098
|
+
|
|
11099
|
+
@City.setter
|
|
11100
|
+
def City(self, City):
|
|
11101
|
+
self._City = City
|
|
11102
|
+
|
|
11103
|
+
@property
|
|
11104
|
+
def Locality(self):
|
|
11105
|
+
"""Locality
|
|
11106
|
+
:rtype: str
|
|
11107
|
+
"""
|
|
11108
|
+
return self._Locality
|
|
11109
|
+
|
|
11110
|
+
@Locality.setter
|
|
11111
|
+
def Locality(self, Locality):
|
|
11112
|
+
self._Locality = Locality
|
|
11113
|
+
|
|
11114
|
+
@property
|
|
11115
|
+
def EMISION(self):
|
|
11116
|
+
"""Edition
|
|
11117
|
+
:rtype: str
|
|
11118
|
+
"""
|
|
11119
|
+
return self._EMISION
|
|
11120
|
+
|
|
11121
|
+
@EMISION.setter
|
|
11122
|
+
def EMISION(self, EMISION):
|
|
11123
|
+
self._EMISION = EMISION
|
|
11124
|
+
|
|
11125
|
+
@property
|
|
11126
|
+
def PortraitImage(self):
|
|
11127
|
+
"""Portrait image base64
|
|
11128
|
+
:rtype: str
|
|
11129
|
+
"""
|
|
11130
|
+
return self._PortraitImage
|
|
11131
|
+
|
|
11132
|
+
@PortraitImage.setter
|
|
11133
|
+
def PortraitImage(self, PortraitImage):
|
|
11134
|
+
self._PortraitImage = PortraitImage
|
|
11135
|
+
|
|
11136
|
+
@property
|
|
11137
|
+
def RequestId(self):
|
|
11138
|
+
"""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.
|
|
11139
|
+
:rtype: str
|
|
11140
|
+
"""
|
|
11141
|
+
return self._RequestId
|
|
11142
|
+
|
|
11143
|
+
@RequestId.setter
|
|
11144
|
+
def RequestId(self, RequestId):
|
|
11145
|
+
self._RequestId = RequestId
|
|
11146
|
+
|
|
11147
|
+
|
|
11148
|
+
def _deserialize(self, params):
|
|
11149
|
+
self._Name = params.get("Name")
|
|
11150
|
+
self._Sex = params.get("Sex")
|
|
11151
|
+
self._Address = params.get("Address")
|
|
11152
|
+
self._VotePIN = params.get("VotePIN")
|
|
11153
|
+
self._CURP = params.get("CURP")
|
|
11154
|
+
self._Birth = params.get("Birth")
|
|
11155
|
+
self._SECCION = params.get("SECCION")
|
|
11156
|
+
self._IssueDate = params.get("IssueDate")
|
|
11157
|
+
self._ValidDate = params.get("ValidDate")
|
|
11158
|
+
self._State = params.get("State")
|
|
11159
|
+
self._City = params.get("City")
|
|
11160
|
+
self._Locality = params.get("Locality")
|
|
11161
|
+
self._EMISION = params.get("EMISION")
|
|
11162
|
+
self._PortraitImage = params.get("PortraitImage")
|
|
11163
|
+
self._RequestId = params.get("RequestId")
|
|
11164
|
+
|
|
11165
|
+
|
|
10862
11166
|
class RecognizePhilippinesDrivingLicenseOCRRequest(AbstractModel):
|
|
10863
11167
|
"""RecognizePhilippinesDrivingLicenseOCR request structure.
|
|
10864
11168
|
|
|
@@ -14543,7 +14847,7 @@ class SmartStructuralOCRV2Response(AbstractModel):
|
|
|
14543
14847
|
:type StructuralList: list of GroupInfo
|
|
14544
14848
|
:param _WordList: The recognized text information.
|
|
14545
14849
|
:type WordList: list of WordItem
|
|
14546
|
-
:param _RequestId: The unique request ID,
|
|
14850
|
+
: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.
|
|
14547
14851
|
:type RequestId: str
|
|
14548
14852
|
"""
|
|
14549
14853
|
self._Angle = None
|
|
@@ -14586,7 +14890,7 @@ class SmartStructuralOCRV2Response(AbstractModel):
|
|
|
14586
14890
|
|
|
14587
14891
|
@property
|
|
14588
14892
|
def RequestId(self):
|
|
14589
|
-
"""The unique request ID,
|
|
14893
|
+
"""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.
|
|
14590
14894
|
:rtype: str
|
|
14591
14895
|
"""
|
|
14592
14896
|
return self._RequestId
|
|
@@ -714,6 +714,29 @@ class OcrClient(AbstractClient):
|
|
|
714
714
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
715
715
|
|
|
716
716
|
|
|
717
|
+
def RecognizeMexicoVTID(self, request):
|
|
718
|
+
"""This interface supports identification of the front and back of Mexican Voter ID Card. The default interface request frequency limit is 5 times per second.
|
|
719
|
+
|
|
720
|
+
:param request: Request instance for RecognizeMexicoVTID.
|
|
721
|
+
:type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeMexicoVTIDRequest`
|
|
722
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizeMexicoVTIDResponse`
|
|
723
|
+
|
|
724
|
+
"""
|
|
725
|
+
try:
|
|
726
|
+
params = request._serialize()
|
|
727
|
+
headers = request.headers
|
|
728
|
+
body = self.call("RecognizeMexicoVTID", params, headers=headers)
|
|
729
|
+
response = json.loads(body)
|
|
730
|
+
model = models.RecognizeMexicoVTIDResponse()
|
|
731
|
+
model._deserialize(response["Response"])
|
|
732
|
+
return model
|
|
733
|
+
except Exception as e:
|
|
734
|
+
if isinstance(e, TencentCloudSDKException):
|
|
735
|
+
raise
|
|
736
|
+
else:
|
|
737
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
738
|
+
|
|
739
|
+
|
|
717
740
|
def RecognizePhilippinesDrivingLicenseOCR(self, request):
|
|
718
741
|
"""This API is used to recognize a Philippine driver's license.
|
|
719
742
|
|