tencentcloud-sdk-python 3.0.1265__py2.py3-none-any.whl → 3.0.1267__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/apm/v20210622/models.py +128 -0
- tencentcloud/asr/v20190614/models.py +2 -2
- tencentcloud/autoscaling/v20180419/models.py +65 -6
- tencentcloud/batch/v20170312/models.py +20 -2
- tencentcloud/cat/v20180409/models.py +20 -0
- tencentcloud/cbs/v20170312/models.py +124 -70
- tencentcloud/ccc/v20200210/models.py +125 -0
- tencentcloud/cdb/v20170320/cdb_client.py +2 -2
- tencentcloud/cdb/v20170320/errorcodes.py +1 -1
- tencentcloud/cdb/v20170320/models.py +17 -6
- tencentcloud/cdc/v20201214/models.py +2 -54
- tencentcloud/cdz/v20221123/models.py +75 -1
- tencentcloud/ckafka/v20190819/models.py +67 -22
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/clb/v20180317/models.py +54 -20
- tencentcloud/cloudstudio/v20230508/models.py +0 -18
- tencentcloud/cls/v20201016/models.py +91 -0
- tencentcloud/cvm/v20170312/models.py +99 -22
- tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- tencentcloud/cwp/v20180228/models.py +0 -197
- tencentcloud/dasb/v20191018/models.py +150 -0
- tencentcloud/emr/v20190103/emr_client.py +9 -9
- tencentcloud/emr/v20190103/models.py +325 -1
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +30 -0
- tencentcloud/ess/v20201111/ess_client.py +22 -30
- tencentcloud/ess/v20201111/models.py +59 -14
- tencentcloud/essbasic/v20210526/essbasic_client.py +34 -8
- tencentcloud/essbasic/v20210526/models.py +77 -28
- tencentcloud/faceid/v20180301/models.py +983 -539
- tencentcloud/gme/v20180711/errorcodes.py +9 -0
- tencentcloud/gme/v20180711/models.py +17 -2
- tencentcloud/hai/v20230812/models.py +2 -2
- tencentcloud/hunyuan/v20230901/models.py +30 -0
- tencentcloud/iai/v20180301/models.py +40 -26
- tencentcloud/iai/v20200303/models.py +760 -546
- tencentcloud/iotexplorer/v20190423/errorcodes.py +1 -1
- tencentcloud/iotexplorer/v20190423/models.py +8 -8
- tencentcloud/iotvideo/v20191126/models.py +4 -4
- tencentcloud/lke/v20231130/models.py +12 -12
- tencentcloud/monitor/v20180724/models.py +17 -0
- tencentcloud/mrs/v20200910/models.py +27 -8
- tencentcloud/ms/v20180408/ms_client.py +3 -1
- tencentcloud/ocr/v20181119/models.py +519 -14
- tencentcloud/ocr/v20181119/ocr_client.py +49 -2
- tencentcloud/omics/v20221128/models.py +100 -232
- tencentcloud/partners/v20180321/models.py +2 -92
- tencentcloud/rce/v20201103/errorcodes.py +132 -0
- tencentcloud/rce/v20201103/models.py +261 -0
- tencentcloud/rce/v20201103/rce_client.py +23 -0
- tencentcloud/redis/v20180412/models.py +2 -6
- tencentcloud/rum/v20210622/models.py +15 -0
- tencentcloud/scf/v20180416/models.py +2 -2
- tencentcloud/ssl/v20191205/models.py +2 -2
- tencentcloud/tdmq/v20200217/models.py +40 -10
- tencentcloud/tds/v20220801/models.py +4 -4
- tencentcloud/thpc/v20230321/models.py +2 -2
- tencentcloud/tke/v20180525/models.py +2 -4
- tencentcloud/tmt/v20180321/models.py +60 -5
- tencentcloud/trro/v20220325/models.py +0 -30
- tencentcloud/trtc/v20190722/models.py +97 -2
- tencentcloud/vclm/v20240523/models.py +170 -100
- tencentcloud/vclm/v20240523/vclm_client.py +52 -52
- tencentcloud/vod/v20180717/models.py +114 -2
- tencentcloud/vod/v20180717/vod_client.py +1 -1
- tencentcloud/vod/v20240718/models.py +15 -15
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +167 -10
- tencentcloud/vpc/v20170312/vpc_client.py +7 -2
- tencentcloud/waf/v20180125/models.py +618 -0
- tencentcloud/waf/v20180125/waf_client.py +69 -0
- tencentcloud/wedata/v20210820/models.py +18 -18
- {tencentcloud_sdk_python-3.0.1265.dist-info → tencentcloud_sdk_python-3.0.1267.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1265.dist-info → tencentcloud_sdk_python-3.0.1267.dist-info}/RECORD +78 -78
- {tencentcloud_sdk_python-3.0.1265.dist-info → tencentcloud_sdk_python-3.0.1267.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1265.dist-info → tencentcloud_sdk_python-3.0.1267.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1265.dist-info → tencentcloud_sdk_python-3.0.1267.dist-info}/top_level.txt +0 -0
@@ -7215,10 +7215,10 @@ class Encryption(AbstractModel):
|
|
7215
7215
|
|
7216
7216
|
def __init__(self):
|
7217
7217
|
r"""
|
7218
|
-
:param _CiphertextBlob: 有加密需求的用户,接入传入kms的CiphertextBlob
|
7218
|
+
:param _CiphertextBlob: 有加密需求的用户,接入传入kms的CiphertextBlob(Base64编码),关于数据加密可查阅[敏感数据加密指引](https://cloud.tencent.com/document/product/866/106048)文档。
|
7219
7219
|
注意:此字段可能返回 null,表示取不到有效值。
|
7220
7220
|
:type CiphertextBlob: str
|
7221
|
-
:param _Iv: 有加密需求的用户,传入CBC加密的初始向量(客户自定义字符串,长度16
|
7221
|
+
:param _Iv: 有加密需求的用户,传入CBC加密的初始向量(客户自定义字符串,长度16字符,Base64编码)。
|
7222
7222
|
注意:此字段可能返回 null,表示取不到有效值。
|
7223
7223
|
:type Iv: str
|
7224
7224
|
:param _Algorithm: 加密使用的算法(支持'AES-256-CBC'、'SM4-GCM'),不传默认为'AES-256-CBC'
|
@@ -7239,7 +7239,7 @@ class Encryption(AbstractModel):
|
|
7239
7239
|
|
7240
7240
|
@property
|
7241
7241
|
def CiphertextBlob(self):
|
7242
|
-
"""有加密需求的用户,接入传入kms的CiphertextBlob
|
7242
|
+
"""有加密需求的用户,接入传入kms的CiphertextBlob(Base64编码),关于数据加密可查阅[敏感数据加密指引](https://cloud.tencent.com/document/product/866/106048)文档。
|
7243
7243
|
注意:此字段可能返回 null,表示取不到有效值。
|
7244
7244
|
:rtype: str
|
7245
7245
|
"""
|
@@ -7251,7 +7251,7 @@ class Encryption(AbstractModel):
|
|
7251
7251
|
|
7252
7252
|
@property
|
7253
7253
|
def Iv(self):
|
7254
|
-
"""有加密需求的用户,传入CBC加密的初始向量(客户自定义字符串,长度16
|
7254
|
+
"""有加密需求的用户,传入CBC加密的初始向量(客户自定义字符串,长度16字符,Base64编码)。
|
7255
7255
|
注意:此字段可能返回 null,表示取不到有效值。
|
7256
7256
|
:rtype: str
|
7257
7257
|
"""
|
@@ -9633,7 +9633,7 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
9633
9633
|
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9634
9634
|
:type ImageBase64: str
|
9635
9635
|
:param _ImageUrl: 图片的 Url 地址。
|
9636
|
-
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP
|
9636
|
+
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。图片下载时间不超过 3 秒。
|
9637
9637
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9638
9638
|
:type ImageUrl: str
|
9639
9639
|
:param _IsWords: 是否返回单字信息,默认关
|
@@ -9671,7 +9671,7 @@ class GeneralAccurateOCRRequest(AbstractModel):
|
|
9671
9671
|
@property
|
9672
9672
|
def ImageUrl(self):
|
9673
9673
|
"""图片的 Url 地址。
|
9674
|
-
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP
|
9674
|
+
要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。图片下载时间不超过 3 秒。
|
9675
9675
|
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9676
9676
|
:rtype: str
|
9677
9677
|
"""
|
@@ -9846,7 +9846,7 @@ class GeneralBasicOCRRequest(AbstractModel):
|
|
9846
9846
|
r"""
|
9847
9847
|
:param _ImageBase64: 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
9848
9848
|
:type ImageBase64: str
|
9849
|
-
:param _ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF
|
9849
|
+
:param _ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9850
9850
|
:type ImageUrl: str
|
9851
9851
|
:param _Scene: 保留字段。
|
9852
9852
|
:type Scene: str
|
@@ -9905,7 +9905,7 @@ ara:阿拉伯语
|
|
9905
9905
|
|
9906
9906
|
@property
|
9907
9907
|
def ImageUrl(self):
|
9908
|
-
"""图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF
|
9908
|
+
"""图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
9909
9909
|
:rtype: str
|
9910
9910
|
"""
|
9911
9911
|
return self._ImageUrl
|
@@ -10562,11 +10562,14 @@ class GeneralHandwritingOCRResponse(AbstractModel):
|
|
10562
10562
|
:type TextDetections: list of TextGeneralHandwriting
|
10563
10563
|
:param _Angel: 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
10564
10564
|
:type Angel: float
|
10565
|
+
:param _Angle: 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
10566
|
+
:type Angle: float
|
10565
10567
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10566
10568
|
:type RequestId: str
|
10567
10569
|
"""
|
10568
10570
|
self._TextDetections = None
|
10569
10571
|
self._Angel = None
|
10572
|
+
self._Angle = None
|
10570
10573
|
self._RequestId = None
|
10571
10574
|
|
10572
10575
|
@property
|
@@ -10582,6 +10585,8 @@ class GeneralHandwritingOCRResponse(AbstractModel):
|
|
10582
10585
|
|
10583
10586
|
@property
|
10584
10587
|
def Angel(self):
|
10588
|
+
warnings.warn("parameter `Angel` is deprecated", DeprecationWarning)
|
10589
|
+
|
10585
10590
|
"""图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
10586
10591
|
:rtype: float
|
10587
10592
|
"""
|
@@ -10589,8 +10594,21 @@ class GeneralHandwritingOCRResponse(AbstractModel):
|
|
10589
10594
|
|
10590
10595
|
@Angel.setter
|
10591
10596
|
def Angel(self, Angel):
|
10597
|
+
warnings.warn("parameter `Angel` is deprecated", DeprecationWarning)
|
10598
|
+
|
10592
10599
|
self._Angel = Angel
|
10593
10600
|
|
10601
|
+
@property
|
10602
|
+
def Angle(self):
|
10603
|
+
"""图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
10604
|
+
:rtype: float
|
10605
|
+
"""
|
10606
|
+
return self._Angle
|
10607
|
+
|
10608
|
+
@Angle.setter
|
10609
|
+
def Angle(self, Angle):
|
10610
|
+
self._Angle = Angle
|
10611
|
+
|
10594
10612
|
@property
|
10595
10613
|
def RequestId(self):
|
10596
10614
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -10611,6 +10629,7 @@ class GeneralHandwritingOCRResponse(AbstractModel):
|
|
10611
10629
|
obj._deserialize(item)
|
10612
10630
|
self._TextDetections.append(obj)
|
10613
10631
|
self._Angel = params.get("Angel")
|
10632
|
+
self._Angle = params.get("Angle")
|
10614
10633
|
self._RequestId = params.get("RequestId")
|
10615
10634
|
|
10616
10635
|
|
@@ -21269,7 +21288,7 @@ class RecognizeEncryptedIDCardOCRRequest(AbstractModel):
|
|
21269
21288
|
|
21270
21289
|
def __init__(self):
|
21271
21290
|
r"""
|
21272
|
-
:param _EncryptedBody:
|
21291
|
+
:param _EncryptedBody: 请求体被加密后的密文(Base64编码),本接口只支持加密传输
|
21273
21292
|
:type EncryptedBody: str
|
21274
21293
|
:param _Encryption: 敏感数据加密信息。对传入信息有加密需求的用户可使用此参数,详情请点击左侧链接。
|
21275
21294
|
:type Encryption: :class:`tencentcloud.ocr.v20181119.models.Encryption`
|
@@ -21319,7 +21338,7 @@ Config = {"CropIdCard":true,"CropPortrait":true}
|
|
21319
21338
|
|
21320
21339
|
@property
|
21321
21340
|
def EncryptedBody(self):
|
21322
|
-
"""
|
21341
|
+
"""请求体被加密后的密文(Base64编码),本接口只支持加密传输
|
21323
21342
|
:rtype: str
|
21324
21343
|
"""
|
21325
21344
|
return self._EncryptedBody
|
@@ -21494,7 +21513,7 @@ WarnInfos,告警信息,Code 告警码列表和释义:
|
|
21494
21513
|
:type AdvancedInfo: str
|
21495
21514
|
:param _ReflectDetailInfos: 反光点覆盖区域详情结果,具体内容请点击左侧链接
|
21496
21515
|
:type ReflectDetailInfos: list of ReflectDetailInfo
|
21497
|
-
:param _EncryptedBody:
|
21516
|
+
:param _EncryptedBody: 加密后的数据(Base64编码)
|
21498
21517
|
:type EncryptedBody: str
|
21499
21518
|
:param _Encryption: 敏感数据加密信息
|
21500
21519
|
:type Encryption: :class:`tencentcloud.ocr.v20181119.models.Encryption`
|
@@ -21645,7 +21664,7 @@ WarnInfos,告警信息,Code 告警码列表和释义:
|
|
21645
21664
|
|
21646
21665
|
@property
|
21647
21666
|
def EncryptedBody(self):
|
21648
|
-
"""
|
21667
|
+
"""加密后的数据(Base64编码)
|
21649
21668
|
:rtype: str
|
21650
21669
|
"""
|
21651
21670
|
return self._EncryptedBody
|
@@ -23184,6 +23203,492 @@ class RecognizeIndonesiaIDCardOCRResponse(AbstractModel):
|
|
23184
23203
|
self._RequestId = params.get("RequestId")
|
23185
23204
|
|
23186
23205
|
|
23206
|
+
class RecognizeKoreanDrivingLicenseOCRRequest(AbstractModel):
|
23207
|
+
"""RecognizeKoreanDrivingLicenseOCR请求参数结构体
|
23208
|
+
|
23209
|
+
"""
|
23210
|
+
|
23211
|
+
def __init__(self):
|
23212
|
+
r"""
|
23213
|
+
:param _ImageBase64: 图片的 Base64 值。
|
23214
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23215
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
23216
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
23217
|
+
:type ImageBase64: str
|
23218
|
+
:param _ImageUrl: 图片的 Url 地址。
|
23219
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23220
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
23221
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
23222
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
23223
|
+
:type ImageUrl: str
|
23224
|
+
:param _ReturnHeadImage: 是否返回人像照片。
|
23225
|
+
:type ReturnHeadImage: bool
|
23226
|
+
"""
|
23227
|
+
self._ImageBase64 = None
|
23228
|
+
self._ImageUrl = None
|
23229
|
+
self._ReturnHeadImage = None
|
23230
|
+
|
23231
|
+
@property
|
23232
|
+
def ImageBase64(self):
|
23233
|
+
"""图片的 Base64 值。
|
23234
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23235
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
23236
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
23237
|
+
:rtype: str
|
23238
|
+
"""
|
23239
|
+
return self._ImageBase64
|
23240
|
+
|
23241
|
+
@ImageBase64.setter
|
23242
|
+
def ImageBase64(self, ImageBase64):
|
23243
|
+
self._ImageBase64 = ImageBase64
|
23244
|
+
|
23245
|
+
@property
|
23246
|
+
def ImageUrl(self):
|
23247
|
+
"""图片的 Url 地址。
|
23248
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23249
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
23250
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
23251
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
23252
|
+
:rtype: str
|
23253
|
+
"""
|
23254
|
+
return self._ImageUrl
|
23255
|
+
|
23256
|
+
@ImageUrl.setter
|
23257
|
+
def ImageUrl(self, ImageUrl):
|
23258
|
+
self._ImageUrl = ImageUrl
|
23259
|
+
|
23260
|
+
@property
|
23261
|
+
def ReturnHeadImage(self):
|
23262
|
+
"""是否返回人像照片。
|
23263
|
+
:rtype: bool
|
23264
|
+
"""
|
23265
|
+
return self._ReturnHeadImage
|
23266
|
+
|
23267
|
+
@ReturnHeadImage.setter
|
23268
|
+
def ReturnHeadImage(self, ReturnHeadImage):
|
23269
|
+
self._ReturnHeadImage = ReturnHeadImage
|
23270
|
+
|
23271
|
+
|
23272
|
+
def _deserialize(self, params):
|
23273
|
+
self._ImageBase64 = params.get("ImageBase64")
|
23274
|
+
self._ImageUrl = params.get("ImageUrl")
|
23275
|
+
self._ReturnHeadImage = params.get("ReturnHeadImage")
|
23276
|
+
memeber_set = set(params.keys())
|
23277
|
+
for name, value in vars(self).items():
|
23278
|
+
property_name = name[1:]
|
23279
|
+
if property_name in memeber_set:
|
23280
|
+
memeber_set.remove(property_name)
|
23281
|
+
if len(memeber_set) > 0:
|
23282
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
23283
|
+
|
23284
|
+
|
23285
|
+
|
23286
|
+
class RecognizeKoreanDrivingLicenseOCRResponse(AbstractModel):
|
23287
|
+
"""RecognizeKoreanDrivingLicenseOCR返回参数结构体
|
23288
|
+
|
23289
|
+
"""
|
23290
|
+
|
23291
|
+
def __init__(self):
|
23292
|
+
r"""
|
23293
|
+
:param _ID: 身份证号码
|
23294
|
+
:type ID: str
|
23295
|
+
:param _LicenseNumber: 驾照号码
|
23296
|
+
:type LicenseNumber: str
|
23297
|
+
:param _Number: 居民登记号码
|
23298
|
+
:type Number: str
|
23299
|
+
:param _Type: 驾照类型
|
23300
|
+
:type Type: str
|
23301
|
+
:param _Address: 地址
|
23302
|
+
:type Address: str
|
23303
|
+
:param _Name: 姓名
|
23304
|
+
:type Name: str
|
23305
|
+
:param _AptitudeTesDate: 换证时间
|
23306
|
+
:type AptitudeTesDate: str
|
23307
|
+
:param _DateOfIssue: 发证日期
|
23308
|
+
:type DateOfIssue: str
|
23309
|
+
:param _Photo: 人像截图Base64后的结果
|
23310
|
+
:type Photo: str
|
23311
|
+
:param _Sex: 性别
|
23312
|
+
:type Sex: str
|
23313
|
+
:param _Birthday: 生日,格式为dd/mm/yyyy
|
23314
|
+
:type Birthday: str
|
23315
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23316
|
+
:type RequestId: str
|
23317
|
+
"""
|
23318
|
+
self._ID = None
|
23319
|
+
self._LicenseNumber = None
|
23320
|
+
self._Number = None
|
23321
|
+
self._Type = None
|
23322
|
+
self._Address = None
|
23323
|
+
self._Name = None
|
23324
|
+
self._AptitudeTesDate = None
|
23325
|
+
self._DateOfIssue = None
|
23326
|
+
self._Photo = None
|
23327
|
+
self._Sex = None
|
23328
|
+
self._Birthday = None
|
23329
|
+
self._RequestId = None
|
23330
|
+
|
23331
|
+
@property
|
23332
|
+
def ID(self):
|
23333
|
+
"""身份证号码
|
23334
|
+
:rtype: str
|
23335
|
+
"""
|
23336
|
+
return self._ID
|
23337
|
+
|
23338
|
+
@ID.setter
|
23339
|
+
def ID(self, ID):
|
23340
|
+
self._ID = ID
|
23341
|
+
|
23342
|
+
@property
|
23343
|
+
def LicenseNumber(self):
|
23344
|
+
"""驾照号码
|
23345
|
+
:rtype: str
|
23346
|
+
"""
|
23347
|
+
return self._LicenseNumber
|
23348
|
+
|
23349
|
+
@LicenseNumber.setter
|
23350
|
+
def LicenseNumber(self, LicenseNumber):
|
23351
|
+
self._LicenseNumber = LicenseNumber
|
23352
|
+
|
23353
|
+
@property
|
23354
|
+
def Number(self):
|
23355
|
+
"""居民登记号码
|
23356
|
+
:rtype: str
|
23357
|
+
"""
|
23358
|
+
return self._Number
|
23359
|
+
|
23360
|
+
@Number.setter
|
23361
|
+
def Number(self, Number):
|
23362
|
+
self._Number = Number
|
23363
|
+
|
23364
|
+
@property
|
23365
|
+
def Type(self):
|
23366
|
+
"""驾照类型
|
23367
|
+
:rtype: str
|
23368
|
+
"""
|
23369
|
+
return self._Type
|
23370
|
+
|
23371
|
+
@Type.setter
|
23372
|
+
def Type(self, Type):
|
23373
|
+
self._Type = Type
|
23374
|
+
|
23375
|
+
@property
|
23376
|
+
def Address(self):
|
23377
|
+
"""地址
|
23378
|
+
:rtype: str
|
23379
|
+
"""
|
23380
|
+
return self._Address
|
23381
|
+
|
23382
|
+
@Address.setter
|
23383
|
+
def Address(self, Address):
|
23384
|
+
self._Address = Address
|
23385
|
+
|
23386
|
+
@property
|
23387
|
+
def Name(self):
|
23388
|
+
"""姓名
|
23389
|
+
:rtype: str
|
23390
|
+
"""
|
23391
|
+
return self._Name
|
23392
|
+
|
23393
|
+
@Name.setter
|
23394
|
+
def Name(self, Name):
|
23395
|
+
self._Name = Name
|
23396
|
+
|
23397
|
+
@property
|
23398
|
+
def AptitudeTesDate(self):
|
23399
|
+
"""换证时间
|
23400
|
+
:rtype: str
|
23401
|
+
"""
|
23402
|
+
return self._AptitudeTesDate
|
23403
|
+
|
23404
|
+
@AptitudeTesDate.setter
|
23405
|
+
def AptitudeTesDate(self, AptitudeTesDate):
|
23406
|
+
self._AptitudeTesDate = AptitudeTesDate
|
23407
|
+
|
23408
|
+
@property
|
23409
|
+
def DateOfIssue(self):
|
23410
|
+
"""发证日期
|
23411
|
+
:rtype: str
|
23412
|
+
"""
|
23413
|
+
return self._DateOfIssue
|
23414
|
+
|
23415
|
+
@DateOfIssue.setter
|
23416
|
+
def DateOfIssue(self, DateOfIssue):
|
23417
|
+
self._DateOfIssue = DateOfIssue
|
23418
|
+
|
23419
|
+
@property
|
23420
|
+
def Photo(self):
|
23421
|
+
"""人像截图Base64后的结果
|
23422
|
+
:rtype: str
|
23423
|
+
"""
|
23424
|
+
return self._Photo
|
23425
|
+
|
23426
|
+
@Photo.setter
|
23427
|
+
def Photo(self, Photo):
|
23428
|
+
self._Photo = Photo
|
23429
|
+
|
23430
|
+
@property
|
23431
|
+
def Sex(self):
|
23432
|
+
"""性别
|
23433
|
+
:rtype: str
|
23434
|
+
"""
|
23435
|
+
return self._Sex
|
23436
|
+
|
23437
|
+
@Sex.setter
|
23438
|
+
def Sex(self, Sex):
|
23439
|
+
self._Sex = Sex
|
23440
|
+
|
23441
|
+
@property
|
23442
|
+
def Birthday(self):
|
23443
|
+
"""生日,格式为dd/mm/yyyy
|
23444
|
+
:rtype: str
|
23445
|
+
"""
|
23446
|
+
return self._Birthday
|
23447
|
+
|
23448
|
+
@Birthday.setter
|
23449
|
+
def Birthday(self, Birthday):
|
23450
|
+
self._Birthday = Birthday
|
23451
|
+
|
23452
|
+
@property
|
23453
|
+
def RequestId(self):
|
23454
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23455
|
+
:rtype: str
|
23456
|
+
"""
|
23457
|
+
return self._RequestId
|
23458
|
+
|
23459
|
+
@RequestId.setter
|
23460
|
+
def RequestId(self, RequestId):
|
23461
|
+
self._RequestId = RequestId
|
23462
|
+
|
23463
|
+
|
23464
|
+
def _deserialize(self, params):
|
23465
|
+
self._ID = params.get("ID")
|
23466
|
+
self._LicenseNumber = params.get("LicenseNumber")
|
23467
|
+
self._Number = params.get("Number")
|
23468
|
+
self._Type = params.get("Type")
|
23469
|
+
self._Address = params.get("Address")
|
23470
|
+
self._Name = params.get("Name")
|
23471
|
+
self._AptitudeTesDate = params.get("AptitudeTesDate")
|
23472
|
+
self._DateOfIssue = params.get("DateOfIssue")
|
23473
|
+
self._Photo = params.get("Photo")
|
23474
|
+
self._Sex = params.get("Sex")
|
23475
|
+
self._Birthday = params.get("Birthday")
|
23476
|
+
self._RequestId = params.get("RequestId")
|
23477
|
+
|
23478
|
+
|
23479
|
+
class RecognizeKoreanIDCardOCRRequest(AbstractModel):
|
23480
|
+
"""RecognizeKoreanIDCardOCR请求参数结构体
|
23481
|
+
|
23482
|
+
"""
|
23483
|
+
|
23484
|
+
def __init__(self):
|
23485
|
+
r"""
|
23486
|
+
:param _ImageBase64: 图片的 Base64 值。
|
23487
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23488
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
23489
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
23490
|
+
:type ImageBase64: str
|
23491
|
+
:param _ImageUrl: 图片的 Url 地址。
|
23492
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23493
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
23494
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
23495
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
23496
|
+
:type ImageUrl: str
|
23497
|
+
:param _ReturnHeadImage: 是否返回人像照片。
|
23498
|
+
:type ReturnHeadImage: bool
|
23499
|
+
"""
|
23500
|
+
self._ImageBase64 = None
|
23501
|
+
self._ImageUrl = None
|
23502
|
+
self._ReturnHeadImage = None
|
23503
|
+
|
23504
|
+
@property
|
23505
|
+
def ImageBase64(self):
|
23506
|
+
"""图片的 Base64 值。
|
23507
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23508
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
23509
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
23510
|
+
:rtype: str
|
23511
|
+
"""
|
23512
|
+
return self._ImageBase64
|
23513
|
+
|
23514
|
+
@ImageBase64.setter
|
23515
|
+
def ImageBase64(self, ImageBase64):
|
23516
|
+
self._ImageBase64 = ImageBase64
|
23517
|
+
|
23518
|
+
@property
|
23519
|
+
def ImageUrl(self):
|
23520
|
+
"""图片的 Url 地址。
|
23521
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
23522
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
23523
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
23524
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
23525
|
+
:rtype: str
|
23526
|
+
"""
|
23527
|
+
return self._ImageUrl
|
23528
|
+
|
23529
|
+
@ImageUrl.setter
|
23530
|
+
def ImageUrl(self, ImageUrl):
|
23531
|
+
self._ImageUrl = ImageUrl
|
23532
|
+
|
23533
|
+
@property
|
23534
|
+
def ReturnHeadImage(self):
|
23535
|
+
"""是否返回人像照片。
|
23536
|
+
:rtype: bool
|
23537
|
+
"""
|
23538
|
+
return self._ReturnHeadImage
|
23539
|
+
|
23540
|
+
@ReturnHeadImage.setter
|
23541
|
+
def ReturnHeadImage(self, ReturnHeadImage):
|
23542
|
+
self._ReturnHeadImage = ReturnHeadImage
|
23543
|
+
|
23544
|
+
|
23545
|
+
def _deserialize(self, params):
|
23546
|
+
self._ImageBase64 = params.get("ImageBase64")
|
23547
|
+
self._ImageUrl = params.get("ImageUrl")
|
23548
|
+
self._ReturnHeadImage = params.get("ReturnHeadImage")
|
23549
|
+
memeber_set = set(params.keys())
|
23550
|
+
for name, value in vars(self).items():
|
23551
|
+
property_name = name[1:]
|
23552
|
+
if property_name in memeber_set:
|
23553
|
+
memeber_set.remove(property_name)
|
23554
|
+
if len(memeber_set) > 0:
|
23555
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
23556
|
+
|
23557
|
+
|
23558
|
+
|
23559
|
+
class RecognizeKoreanIDCardOCRResponse(AbstractModel):
|
23560
|
+
"""RecognizeKoreanIDCardOCR返回参数结构体
|
23561
|
+
|
23562
|
+
"""
|
23563
|
+
|
23564
|
+
def __init__(self):
|
23565
|
+
r"""
|
23566
|
+
:param _ID: 身份证号码
|
23567
|
+
:type ID: str
|
23568
|
+
:param _Address: 地址
|
23569
|
+
:type Address: str
|
23570
|
+
:param _Name: 姓名
|
23571
|
+
:type Name: str
|
23572
|
+
:param _DateOfIssue: 发证日期
|
23573
|
+
:type DateOfIssue: str
|
23574
|
+
:param _Photo: 人像截图Base64后的结果
|
23575
|
+
:type Photo: str
|
23576
|
+
:param _Sex: 性别
|
23577
|
+
:type Sex: str
|
23578
|
+
:param _Birthday: 生日,格式为dd/mm/yyyy
|
23579
|
+
:type Birthday: str
|
23580
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23581
|
+
:type RequestId: str
|
23582
|
+
"""
|
23583
|
+
self._ID = None
|
23584
|
+
self._Address = None
|
23585
|
+
self._Name = None
|
23586
|
+
self._DateOfIssue = None
|
23587
|
+
self._Photo = None
|
23588
|
+
self._Sex = None
|
23589
|
+
self._Birthday = None
|
23590
|
+
self._RequestId = None
|
23591
|
+
|
23592
|
+
@property
|
23593
|
+
def ID(self):
|
23594
|
+
"""身份证号码
|
23595
|
+
:rtype: str
|
23596
|
+
"""
|
23597
|
+
return self._ID
|
23598
|
+
|
23599
|
+
@ID.setter
|
23600
|
+
def ID(self, ID):
|
23601
|
+
self._ID = ID
|
23602
|
+
|
23603
|
+
@property
|
23604
|
+
def Address(self):
|
23605
|
+
"""地址
|
23606
|
+
:rtype: str
|
23607
|
+
"""
|
23608
|
+
return self._Address
|
23609
|
+
|
23610
|
+
@Address.setter
|
23611
|
+
def Address(self, Address):
|
23612
|
+
self._Address = Address
|
23613
|
+
|
23614
|
+
@property
|
23615
|
+
def Name(self):
|
23616
|
+
"""姓名
|
23617
|
+
:rtype: str
|
23618
|
+
"""
|
23619
|
+
return self._Name
|
23620
|
+
|
23621
|
+
@Name.setter
|
23622
|
+
def Name(self, Name):
|
23623
|
+
self._Name = Name
|
23624
|
+
|
23625
|
+
@property
|
23626
|
+
def DateOfIssue(self):
|
23627
|
+
"""发证日期
|
23628
|
+
:rtype: str
|
23629
|
+
"""
|
23630
|
+
return self._DateOfIssue
|
23631
|
+
|
23632
|
+
@DateOfIssue.setter
|
23633
|
+
def DateOfIssue(self, DateOfIssue):
|
23634
|
+
self._DateOfIssue = DateOfIssue
|
23635
|
+
|
23636
|
+
@property
|
23637
|
+
def Photo(self):
|
23638
|
+
"""人像截图Base64后的结果
|
23639
|
+
:rtype: str
|
23640
|
+
"""
|
23641
|
+
return self._Photo
|
23642
|
+
|
23643
|
+
@Photo.setter
|
23644
|
+
def Photo(self, Photo):
|
23645
|
+
self._Photo = Photo
|
23646
|
+
|
23647
|
+
@property
|
23648
|
+
def Sex(self):
|
23649
|
+
"""性别
|
23650
|
+
:rtype: str
|
23651
|
+
"""
|
23652
|
+
return self._Sex
|
23653
|
+
|
23654
|
+
@Sex.setter
|
23655
|
+
def Sex(self, Sex):
|
23656
|
+
self._Sex = Sex
|
23657
|
+
|
23658
|
+
@property
|
23659
|
+
def Birthday(self):
|
23660
|
+
"""生日,格式为dd/mm/yyyy
|
23661
|
+
:rtype: str
|
23662
|
+
"""
|
23663
|
+
return self._Birthday
|
23664
|
+
|
23665
|
+
@Birthday.setter
|
23666
|
+
def Birthday(self, Birthday):
|
23667
|
+
self._Birthday = Birthday
|
23668
|
+
|
23669
|
+
@property
|
23670
|
+
def RequestId(self):
|
23671
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
23672
|
+
:rtype: str
|
23673
|
+
"""
|
23674
|
+
return self._RequestId
|
23675
|
+
|
23676
|
+
@RequestId.setter
|
23677
|
+
def RequestId(self, RequestId):
|
23678
|
+
self._RequestId = RequestId
|
23679
|
+
|
23680
|
+
|
23681
|
+
def _deserialize(self, params):
|
23682
|
+
self._ID = params.get("ID")
|
23683
|
+
self._Address = params.get("Address")
|
23684
|
+
self._Name = params.get("Name")
|
23685
|
+
self._DateOfIssue = params.get("DateOfIssue")
|
23686
|
+
self._Photo = params.get("Photo")
|
23687
|
+
self._Sex = params.get("Sex")
|
23688
|
+
self._Birthday = params.get("Birthday")
|
23689
|
+
self._RequestId = params.get("RequestId")
|
23690
|
+
|
23691
|
+
|
23187
23692
|
class RecognizeMedicalInvoiceOCRRequest(AbstractModel):
|
23188
23693
|
"""RecognizeMedicalInvoiceOCR请求参数结构体
|
23189
23694
|
|
@@ -26124,7 +26629,7 @@ class ReconstructDocumentRequest(AbstractModel):
|
|
26124
26629
|
r"""
|
26125
26630
|
:param _FileType: PDF,Image
|
26126
26631
|
:type FileType: str
|
26127
|
-
:param _FileBase64: 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的
|
26632
|
+
:param _FileBase64: 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
|
26128
26633
|
:type FileBase64: str
|
26129
26634
|
:param _FileUrl: 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
26130
26635
|
:type FileUrl: str
|
@@ -26156,7 +26661,7 @@ class ReconstructDocumentRequest(AbstractModel):
|
|
26156
26661
|
|
26157
26662
|
@property
|
26158
26663
|
def FileBase64(self):
|
26159
|
-
"""图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的
|
26664
|
+
"""图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
|
26160
26665
|
:rtype: str
|
26161
26666
|
"""
|
26162
26667
|
return self._FileBase64
|