tencentcloud-sdk-python 3.0.1292__py2.py3-none-any.whl → 3.0.1294__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/apm_client.py +1 -1
- tencentcloud/apm/v20210622/errorcodes.py +3 -3
- tencentcloud/apm/v20210622/models.py +119 -271
- tencentcloud/bh/v20230418/models.py +15 -0
- tencentcloud/cfs/v20190719/errorcodes.py +6 -3
- tencentcloud/ckafka/v20190819/models.py +62 -0
- tencentcloud/clb/v20180317/models.py +32 -0
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +740 -23
- tencentcloud/cwp/v20180228/models.py +2 -2
- tencentcloud/dnspod/v20210323/models.py +37 -37
- tencentcloud/emr/v20190103/models.py +15 -720
- tencentcloud/ess/v20201111/models.py +61 -12
- tencentcloud/essbasic/v20210526/models.py +164 -10
- tencentcloud/gwlb/v20240906/models.py +0 -14
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/iotexplorer/v20190423/models.py +2 -2
- tencentcloud/mna/v20210119/models.py +2 -20
- tencentcloud/mps/v20190612/models.py +15 -0
- tencentcloud/ocr/v20181119/models.py +676 -8
- tencentcloud/ocr/v20181119/ocr_client.py +52 -6
- tencentcloud/pts/v20210728/models.py +2 -2
- tencentcloud/sqlserver/v20180328/models.py +120 -4
- tencentcloud/tcb/v20180608/models.py +0 -12
- tencentcloud/tdmq/v20200217/models.py +543 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +69 -0
- tencentcloud/teo/v20220901/models.py +2 -0
- tencentcloud/teo/v20220901/teo_client.py +1 -1
- tencentcloud/thpc/v20211109/models.py +22 -40
- tencentcloud/thpc/v20220401/models.py +42 -64
- tencentcloud/thpc/v20230321/models.py +30 -42
- tencentcloud/trocket/v20230308/models.py +396 -0
- tencentcloud/trocket/v20230308/trocket_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +17 -0
- tencentcloud/tse/v20201207/models.py +32 -0
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/vpc/v20170312/models.py +66 -88
- tencentcloud/waf/v20180125/waf_client.py +3 -1
- {tencentcloud_sdk_python-3.0.1292.dist-info → tencentcloud_sdk_python-3.0.1294.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1292.dist-info → tencentcloud_sdk_python-3.0.1294.dist-info}/RECORD +44 -44
- {tencentcloud_sdk_python-3.0.1292.dist-info → tencentcloud_sdk_python-3.0.1294.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1292.dist-info → tencentcloud_sdk_python-3.0.1294.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1292.dist-info → tencentcloud_sdk_python-3.0.1294.dist-info}/top_level.txt +0 -0
@@ -10984,6 +10984,198 @@ Finger:由手指导致的不完整,仅在不完整告警中返回
|
|
10984
10984
|
|
10985
10985
|
|
10986
10986
|
|
10987
|
+
class GetOCRResultRequest(AbstractModel):
|
10988
|
+
"""GetOCRResult请求参数结构体
|
10989
|
+
|
10990
|
+
"""
|
10991
|
+
|
10992
|
+
def __init__(self):
|
10993
|
+
r"""
|
10994
|
+
:param _OCRToken: token值
|
10995
|
+
:type OCRToken: str
|
10996
|
+
"""
|
10997
|
+
self._OCRToken = None
|
10998
|
+
|
10999
|
+
@property
|
11000
|
+
def OCRToken(self):
|
11001
|
+
"""token值
|
11002
|
+
:rtype: str
|
11003
|
+
"""
|
11004
|
+
return self._OCRToken
|
11005
|
+
|
11006
|
+
@OCRToken.setter
|
11007
|
+
def OCRToken(self, OCRToken):
|
11008
|
+
self._OCRToken = OCRToken
|
11009
|
+
|
11010
|
+
|
11011
|
+
def _deserialize(self, params):
|
11012
|
+
self._OCRToken = params.get("OCRToken")
|
11013
|
+
memeber_set = set(params.keys())
|
11014
|
+
for name, value in vars(self).items():
|
11015
|
+
property_name = name[1:]
|
11016
|
+
if property_name in memeber_set:
|
11017
|
+
memeber_set.remove(property_name)
|
11018
|
+
if len(memeber_set) > 0:
|
11019
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11020
|
+
|
11021
|
+
|
11022
|
+
|
11023
|
+
class GetOCRResultResponse(AbstractModel):
|
11024
|
+
"""GetOCRResult返回参数结构体
|
11025
|
+
|
11026
|
+
"""
|
11027
|
+
|
11028
|
+
def __init__(self):
|
11029
|
+
r"""
|
11030
|
+
:param _Type: ocr业务类型
|
11031
|
+
:type Type: str
|
11032
|
+
:param _OCRResult: ocr结果
|
11033
|
+
:type OCRResult: :class:`tencentcloud.ocr.v20181119.models.OCRResult`
|
11034
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11035
|
+
:type RequestId: str
|
11036
|
+
"""
|
11037
|
+
self._Type = None
|
11038
|
+
self._OCRResult = None
|
11039
|
+
self._RequestId = None
|
11040
|
+
|
11041
|
+
@property
|
11042
|
+
def Type(self):
|
11043
|
+
"""ocr业务类型
|
11044
|
+
:rtype: str
|
11045
|
+
"""
|
11046
|
+
return self._Type
|
11047
|
+
|
11048
|
+
@Type.setter
|
11049
|
+
def Type(self, Type):
|
11050
|
+
self._Type = Type
|
11051
|
+
|
11052
|
+
@property
|
11053
|
+
def OCRResult(self):
|
11054
|
+
"""ocr结果
|
11055
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.OCRResult`
|
11056
|
+
"""
|
11057
|
+
return self._OCRResult
|
11058
|
+
|
11059
|
+
@OCRResult.setter
|
11060
|
+
def OCRResult(self, OCRResult):
|
11061
|
+
self._OCRResult = OCRResult
|
11062
|
+
|
11063
|
+
@property
|
11064
|
+
def RequestId(self):
|
11065
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11066
|
+
:rtype: str
|
11067
|
+
"""
|
11068
|
+
return self._RequestId
|
11069
|
+
|
11070
|
+
@RequestId.setter
|
11071
|
+
def RequestId(self, RequestId):
|
11072
|
+
self._RequestId = RequestId
|
11073
|
+
|
11074
|
+
|
11075
|
+
def _deserialize(self, params):
|
11076
|
+
self._Type = params.get("Type")
|
11077
|
+
if params.get("OCRResult") is not None:
|
11078
|
+
self._OCRResult = OCRResult()
|
11079
|
+
self._OCRResult._deserialize(params.get("OCRResult"))
|
11080
|
+
self._RequestId = params.get("RequestId")
|
11081
|
+
|
11082
|
+
|
11083
|
+
class GetOCRTokenRequest(AbstractModel):
|
11084
|
+
"""GetOCRToken请求参数结构体
|
11085
|
+
|
11086
|
+
"""
|
11087
|
+
|
11088
|
+
def __init__(self):
|
11089
|
+
r"""
|
11090
|
+
:param _Type: 业务类型,如身份证识别为IDCardOCR
|
11091
|
+
:type Type: str
|
11092
|
+
:param _IDCardConfig: 身份证配置信息
|
11093
|
+
:type IDCardConfig: :class:`tencentcloud.ocr.v20181119.models.IDCardConfig`
|
11094
|
+
"""
|
11095
|
+
self._Type = None
|
11096
|
+
self._IDCardConfig = None
|
11097
|
+
|
11098
|
+
@property
|
11099
|
+
def Type(self):
|
11100
|
+
"""业务类型,如身份证识别为IDCardOCR
|
11101
|
+
:rtype: str
|
11102
|
+
"""
|
11103
|
+
return self._Type
|
11104
|
+
|
11105
|
+
@Type.setter
|
11106
|
+
def Type(self, Type):
|
11107
|
+
self._Type = Type
|
11108
|
+
|
11109
|
+
@property
|
11110
|
+
def IDCardConfig(self):
|
11111
|
+
"""身份证配置信息
|
11112
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.IDCardConfig`
|
11113
|
+
"""
|
11114
|
+
return self._IDCardConfig
|
11115
|
+
|
11116
|
+
@IDCardConfig.setter
|
11117
|
+
def IDCardConfig(self, IDCardConfig):
|
11118
|
+
self._IDCardConfig = IDCardConfig
|
11119
|
+
|
11120
|
+
|
11121
|
+
def _deserialize(self, params):
|
11122
|
+
self._Type = params.get("Type")
|
11123
|
+
if params.get("IDCardConfig") is not None:
|
11124
|
+
self._IDCardConfig = IDCardConfig()
|
11125
|
+
self._IDCardConfig._deserialize(params.get("IDCardConfig"))
|
11126
|
+
memeber_set = set(params.keys())
|
11127
|
+
for name, value in vars(self).items():
|
11128
|
+
property_name = name[1:]
|
11129
|
+
if property_name in memeber_set:
|
11130
|
+
memeber_set.remove(property_name)
|
11131
|
+
if len(memeber_set) > 0:
|
11132
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
11133
|
+
|
11134
|
+
|
11135
|
+
|
11136
|
+
class GetOCRTokenResponse(AbstractModel):
|
11137
|
+
"""GetOCRToken返回参数结构体
|
11138
|
+
|
11139
|
+
"""
|
11140
|
+
|
11141
|
+
def __init__(self):
|
11142
|
+
r"""
|
11143
|
+
:param _OCRToken: token值
|
11144
|
+
:type OCRToken: str
|
11145
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11146
|
+
:type RequestId: str
|
11147
|
+
"""
|
11148
|
+
self._OCRToken = None
|
11149
|
+
self._RequestId = None
|
11150
|
+
|
11151
|
+
@property
|
11152
|
+
def OCRToken(self):
|
11153
|
+
"""token值
|
11154
|
+
:rtype: str
|
11155
|
+
"""
|
11156
|
+
return self._OCRToken
|
11157
|
+
|
11158
|
+
@OCRToken.setter
|
11159
|
+
def OCRToken(self, OCRToken):
|
11160
|
+
self._OCRToken = OCRToken
|
11161
|
+
|
11162
|
+
@property
|
11163
|
+
def RequestId(self):
|
11164
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11165
|
+
:rtype: str
|
11166
|
+
"""
|
11167
|
+
return self._RequestId
|
11168
|
+
|
11169
|
+
@RequestId.setter
|
11170
|
+
def RequestId(self, RequestId):
|
11171
|
+
self._RequestId = RequestId
|
11172
|
+
|
11173
|
+
|
11174
|
+
def _deserialize(self, params):
|
11175
|
+
self._OCRToken = params.get("OCRToken")
|
11176
|
+
self._RequestId = params.get("RequestId")
|
11177
|
+
|
11178
|
+
|
10987
11179
|
class GetTaskStateRequest(AbstractModel):
|
10988
11180
|
"""GetTaskState请求参数结构体
|
10989
11181
|
|
@@ -11787,6 +11979,132 @@ class HmtResidentPermitOCRResponse(AbstractModel):
|
|
11787
11979
|
self._RequestId = params.get("RequestId")
|
11788
11980
|
|
11789
11981
|
|
11982
|
+
class IDCardConfig(AbstractModel):
|
11983
|
+
"""身份证配置信息
|
11984
|
+
|
11985
|
+
"""
|
11986
|
+
|
11987
|
+
def __init__(self):
|
11988
|
+
r"""
|
11989
|
+
:param _CopyWarn: 默认为false
|
11990
|
+
:type CopyWarn: bool
|
11991
|
+
:param _BorderCheckWarn: 默认为false
|
11992
|
+
:type BorderCheckWarn: bool
|
11993
|
+
:param _ReshootWarn: 默认为false
|
11994
|
+
:type ReshootWarn: bool
|
11995
|
+
:param _DetectPsWarn: 默认为false
|
11996
|
+
:type DetectPsWarn: bool
|
11997
|
+
:param _TempIdWarn: 默认为false
|
11998
|
+
:type TempIdWarn: bool
|
11999
|
+
:param _InvalidDateWarn: 默认为false
|
12000
|
+
:type InvalidDateWarn: bool
|
12001
|
+
:param _ReflectWarn: 默认为false
|
12002
|
+
:type ReflectWarn: bool
|
12003
|
+
"""
|
12004
|
+
self._CopyWarn = None
|
12005
|
+
self._BorderCheckWarn = None
|
12006
|
+
self._ReshootWarn = None
|
12007
|
+
self._DetectPsWarn = None
|
12008
|
+
self._TempIdWarn = None
|
12009
|
+
self._InvalidDateWarn = None
|
12010
|
+
self._ReflectWarn = None
|
12011
|
+
|
12012
|
+
@property
|
12013
|
+
def CopyWarn(self):
|
12014
|
+
"""默认为false
|
12015
|
+
:rtype: bool
|
12016
|
+
"""
|
12017
|
+
return self._CopyWarn
|
12018
|
+
|
12019
|
+
@CopyWarn.setter
|
12020
|
+
def CopyWarn(self, CopyWarn):
|
12021
|
+
self._CopyWarn = CopyWarn
|
12022
|
+
|
12023
|
+
@property
|
12024
|
+
def BorderCheckWarn(self):
|
12025
|
+
"""默认为false
|
12026
|
+
:rtype: bool
|
12027
|
+
"""
|
12028
|
+
return self._BorderCheckWarn
|
12029
|
+
|
12030
|
+
@BorderCheckWarn.setter
|
12031
|
+
def BorderCheckWarn(self, BorderCheckWarn):
|
12032
|
+
self._BorderCheckWarn = BorderCheckWarn
|
12033
|
+
|
12034
|
+
@property
|
12035
|
+
def ReshootWarn(self):
|
12036
|
+
"""默认为false
|
12037
|
+
:rtype: bool
|
12038
|
+
"""
|
12039
|
+
return self._ReshootWarn
|
12040
|
+
|
12041
|
+
@ReshootWarn.setter
|
12042
|
+
def ReshootWarn(self, ReshootWarn):
|
12043
|
+
self._ReshootWarn = ReshootWarn
|
12044
|
+
|
12045
|
+
@property
|
12046
|
+
def DetectPsWarn(self):
|
12047
|
+
"""默认为false
|
12048
|
+
:rtype: bool
|
12049
|
+
"""
|
12050
|
+
return self._DetectPsWarn
|
12051
|
+
|
12052
|
+
@DetectPsWarn.setter
|
12053
|
+
def DetectPsWarn(self, DetectPsWarn):
|
12054
|
+
self._DetectPsWarn = DetectPsWarn
|
12055
|
+
|
12056
|
+
@property
|
12057
|
+
def TempIdWarn(self):
|
12058
|
+
"""默认为false
|
12059
|
+
:rtype: bool
|
12060
|
+
"""
|
12061
|
+
return self._TempIdWarn
|
12062
|
+
|
12063
|
+
@TempIdWarn.setter
|
12064
|
+
def TempIdWarn(self, TempIdWarn):
|
12065
|
+
self._TempIdWarn = TempIdWarn
|
12066
|
+
|
12067
|
+
@property
|
12068
|
+
def InvalidDateWarn(self):
|
12069
|
+
"""默认为false
|
12070
|
+
:rtype: bool
|
12071
|
+
"""
|
12072
|
+
return self._InvalidDateWarn
|
12073
|
+
|
12074
|
+
@InvalidDateWarn.setter
|
12075
|
+
def InvalidDateWarn(self, InvalidDateWarn):
|
12076
|
+
self._InvalidDateWarn = InvalidDateWarn
|
12077
|
+
|
12078
|
+
@property
|
12079
|
+
def ReflectWarn(self):
|
12080
|
+
"""默认为false
|
12081
|
+
:rtype: bool
|
12082
|
+
"""
|
12083
|
+
return self._ReflectWarn
|
12084
|
+
|
12085
|
+
@ReflectWarn.setter
|
12086
|
+
def ReflectWarn(self, ReflectWarn):
|
12087
|
+
self._ReflectWarn = ReflectWarn
|
12088
|
+
|
12089
|
+
|
12090
|
+
def _deserialize(self, params):
|
12091
|
+
self._CopyWarn = params.get("CopyWarn")
|
12092
|
+
self._BorderCheckWarn = params.get("BorderCheckWarn")
|
12093
|
+
self._ReshootWarn = params.get("ReshootWarn")
|
12094
|
+
self._DetectPsWarn = params.get("DetectPsWarn")
|
12095
|
+
self._TempIdWarn = params.get("TempIdWarn")
|
12096
|
+
self._InvalidDateWarn = params.get("InvalidDateWarn")
|
12097
|
+
self._ReflectWarn = params.get("ReflectWarn")
|
12098
|
+
memeber_set = set(params.keys())
|
12099
|
+
for name, value in vars(self).items():
|
12100
|
+
property_name = name[1:]
|
12101
|
+
if property_name in memeber_set:
|
12102
|
+
memeber_set.remove(property_name)
|
12103
|
+
if len(memeber_set) > 0:
|
12104
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12105
|
+
|
12106
|
+
|
12107
|
+
|
11790
12108
|
class IDCardInfo(AbstractModel):
|
11791
12109
|
"""身份证信息返回
|
11792
12110
|
|
@@ -11995,6 +12313,246 @@ class IDCardInfo(AbstractModel):
|
|
11995
12313
|
|
11996
12314
|
|
11997
12315
|
|
12316
|
+
class IDCardInfoResult(AbstractModel):
|
12317
|
+
"""身份证ocr信息结果
|
12318
|
+
|
12319
|
+
"""
|
12320
|
+
|
12321
|
+
def __init__(self):
|
12322
|
+
r"""
|
12323
|
+
:param _WarnCodes: 警告代码
|
12324
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12325
|
+
:type WarnCodes: list of int
|
12326
|
+
:param _Address: 地址
|
12327
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12328
|
+
:type Address: str
|
12329
|
+
:param _Authority: 签发机关
|
12330
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12331
|
+
:type Authority: str
|
12332
|
+
:param _Birth: 出生日期
|
12333
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12334
|
+
:type Birth: str
|
12335
|
+
:param _IdNum: 身份证号
|
12336
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12337
|
+
:type IdNum: str
|
12338
|
+
:param _Name: 名字
|
12339
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12340
|
+
:type Name: str
|
12341
|
+
:param _Nation: 地区
|
12342
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12343
|
+
:type Nation: str
|
12344
|
+
:param _Sex: 性别
|
12345
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12346
|
+
:type Sex: str
|
12347
|
+
:param _ValidDate: 到期时间
|
12348
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12349
|
+
:type ValidDate: str
|
12350
|
+
:param _RequestId: 请求的id
|
12351
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12352
|
+
:type RequestId: str
|
12353
|
+
:param _ErrorCode: 错误码
|
12354
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12355
|
+
:type ErrorCode: str
|
12356
|
+
:param _ErrorMessage: 错误信息
|
12357
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12358
|
+
:type ErrorMessage: str
|
12359
|
+
:param _ImageUrl: 原图地址
|
12360
|
+
:type ImageUrl: str
|
12361
|
+
"""
|
12362
|
+
self._WarnCodes = None
|
12363
|
+
self._Address = None
|
12364
|
+
self._Authority = None
|
12365
|
+
self._Birth = None
|
12366
|
+
self._IdNum = None
|
12367
|
+
self._Name = None
|
12368
|
+
self._Nation = None
|
12369
|
+
self._Sex = None
|
12370
|
+
self._ValidDate = None
|
12371
|
+
self._RequestId = None
|
12372
|
+
self._ErrorCode = None
|
12373
|
+
self._ErrorMessage = None
|
12374
|
+
self._ImageUrl = None
|
12375
|
+
|
12376
|
+
@property
|
12377
|
+
def WarnCodes(self):
|
12378
|
+
"""警告代码
|
12379
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12380
|
+
:rtype: list of int
|
12381
|
+
"""
|
12382
|
+
return self._WarnCodes
|
12383
|
+
|
12384
|
+
@WarnCodes.setter
|
12385
|
+
def WarnCodes(self, WarnCodes):
|
12386
|
+
self._WarnCodes = WarnCodes
|
12387
|
+
|
12388
|
+
@property
|
12389
|
+
def Address(self):
|
12390
|
+
"""地址
|
12391
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12392
|
+
:rtype: str
|
12393
|
+
"""
|
12394
|
+
return self._Address
|
12395
|
+
|
12396
|
+
@Address.setter
|
12397
|
+
def Address(self, Address):
|
12398
|
+
self._Address = Address
|
12399
|
+
|
12400
|
+
@property
|
12401
|
+
def Authority(self):
|
12402
|
+
"""签发机关
|
12403
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12404
|
+
:rtype: str
|
12405
|
+
"""
|
12406
|
+
return self._Authority
|
12407
|
+
|
12408
|
+
@Authority.setter
|
12409
|
+
def Authority(self, Authority):
|
12410
|
+
self._Authority = Authority
|
12411
|
+
|
12412
|
+
@property
|
12413
|
+
def Birth(self):
|
12414
|
+
"""出生日期
|
12415
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12416
|
+
:rtype: str
|
12417
|
+
"""
|
12418
|
+
return self._Birth
|
12419
|
+
|
12420
|
+
@Birth.setter
|
12421
|
+
def Birth(self, Birth):
|
12422
|
+
self._Birth = Birth
|
12423
|
+
|
12424
|
+
@property
|
12425
|
+
def IdNum(self):
|
12426
|
+
"""身份证号
|
12427
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12428
|
+
:rtype: str
|
12429
|
+
"""
|
12430
|
+
return self._IdNum
|
12431
|
+
|
12432
|
+
@IdNum.setter
|
12433
|
+
def IdNum(self, IdNum):
|
12434
|
+
self._IdNum = IdNum
|
12435
|
+
|
12436
|
+
@property
|
12437
|
+
def Name(self):
|
12438
|
+
"""名字
|
12439
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12440
|
+
:rtype: str
|
12441
|
+
"""
|
12442
|
+
return self._Name
|
12443
|
+
|
12444
|
+
@Name.setter
|
12445
|
+
def Name(self, Name):
|
12446
|
+
self._Name = Name
|
12447
|
+
|
12448
|
+
@property
|
12449
|
+
def Nation(self):
|
12450
|
+
"""地区
|
12451
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12452
|
+
:rtype: str
|
12453
|
+
"""
|
12454
|
+
return self._Nation
|
12455
|
+
|
12456
|
+
@Nation.setter
|
12457
|
+
def Nation(self, Nation):
|
12458
|
+
self._Nation = Nation
|
12459
|
+
|
12460
|
+
@property
|
12461
|
+
def Sex(self):
|
12462
|
+
"""性别
|
12463
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12464
|
+
:rtype: str
|
12465
|
+
"""
|
12466
|
+
return self._Sex
|
12467
|
+
|
12468
|
+
@Sex.setter
|
12469
|
+
def Sex(self, Sex):
|
12470
|
+
self._Sex = Sex
|
12471
|
+
|
12472
|
+
@property
|
12473
|
+
def ValidDate(self):
|
12474
|
+
"""到期时间
|
12475
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12476
|
+
:rtype: str
|
12477
|
+
"""
|
12478
|
+
return self._ValidDate
|
12479
|
+
|
12480
|
+
@ValidDate.setter
|
12481
|
+
def ValidDate(self, ValidDate):
|
12482
|
+
self._ValidDate = ValidDate
|
12483
|
+
|
12484
|
+
@property
|
12485
|
+
def RequestId(self):
|
12486
|
+
"""请求的id
|
12487
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12488
|
+
:rtype: str
|
12489
|
+
"""
|
12490
|
+
return self._RequestId
|
12491
|
+
|
12492
|
+
@RequestId.setter
|
12493
|
+
def RequestId(self, RequestId):
|
12494
|
+
self._RequestId = RequestId
|
12495
|
+
|
12496
|
+
@property
|
12497
|
+
def ErrorCode(self):
|
12498
|
+
"""错误码
|
12499
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12500
|
+
:rtype: str
|
12501
|
+
"""
|
12502
|
+
return self._ErrorCode
|
12503
|
+
|
12504
|
+
@ErrorCode.setter
|
12505
|
+
def ErrorCode(self, ErrorCode):
|
12506
|
+
self._ErrorCode = ErrorCode
|
12507
|
+
|
12508
|
+
@property
|
12509
|
+
def ErrorMessage(self):
|
12510
|
+
"""错误信息
|
12511
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12512
|
+
:rtype: str
|
12513
|
+
"""
|
12514
|
+
return self._ErrorMessage
|
12515
|
+
|
12516
|
+
@ErrorMessage.setter
|
12517
|
+
def ErrorMessage(self, ErrorMessage):
|
12518
|
+
self._ErrorMessage = ErrorMessage
|
12519
|
+
|
12520
|
+
@property
|
12521
|
+
def ImageUrl(self):
|
12522
|
+
"""原图地址
|
12523
|
+
:rtype: str
|
12524
|
+
"""
|
12525
|
+
return self._ImageUrl
|
12526
|
+
|
12527
|
+
@ImageUrl.setter
|
12528
|
+
def ImageUrl(self, ImageUrl):
|
12529
|
+
self._ImageUrl = ImageUrl
|
12530
|
+
|
12531
|
+
|
12532
|
+
def _deserialize(self, params):
|
12533
|
+
self._WarnCodes = params.get("WarnCodes")
|
12534
|
+
self._Address = params.get("Address")
|
12535
|
+
self._Authority = params.get("Authority")
|
12536
|
+
self._Birth = params.get("Birth")
|
12537
|
+
self._IdNum = params.get("IdNum")
|
12538
|
+
self._Name = params.get("Name")
|
12539
|
+
self._Nation = params.get("Nation")
|
12540
|
+
self._Sex = params.get("Sex")
|
12541
|
+
self._ValidDate = params.get("ValidDate")
|
12542
|
+
self._RequestId = params.get("RequestId")
|
12543
|
+
self._ErrorCode = params.get("ErrorCode")
|
12544
|
+
self._ErrorMessage = params.get("ErrorMessage")
|
12545
|
+
self._ImageUrl = params.get("ImageUrl")
|
12546
|
+
memeber_set = set(params.keys())
|
12547
|
+
for name, value in vars(self).items():
|
12548
|
+
property_name = name[1:]
|
12549
|
+
if property_name in memeber_set:
|
12550
|
+
memeber_set.remove(property_name)
|
12551
|
+
if len(memeber_set) > 0:
|
12552
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12553
|
+
|
12554
|
+
|
12555
|
+
|
11998
12556
|
class IDCardOCRRequest(AbstractModel):
|
11999
12557
|
"""IDCardOCR请求参数结构体
|
12000
12558
|
|
@@ -12384,6 +12942,65 @@ WarnInfos,告警信息,Code 告警码列表和释义:
|
|
12384
12942
|
self._RequestId = params.get("RequestId")
|
12385
12943
|
|
12386
12944
|
|
12945
|
+
class IDCardResult(AbstractModel):
|
12946
|
+
"""IDCardResult
|
12947
|
+
|
12948
|
+
"""
|
12949
|
+
|
12950
|
+
def __init__(self):
|
12951
|
+
r"""
|
12952
|
+
:param _Front: 正面结果
|
12953
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12954
|
+
:type Front: :class:`tencentcloud.ocr.v20181119.models.IDCardInfoResult`
|
12955
|
+
:param _Back: 反面结果
|
12956
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12957
|
+
:type Back: :class:`tencentcloud.ocr.v20181119.models.IDCardInfoResult`
|
12958
|
+
"""
|
12959
|
+
self._Front = None
|
12960
|
+
self._Back = None
|
12961
|
+
|
12962
|
+
@property
|
12963
|
+
def Front(self):
|
12964
|
+
"""正面结果
|
12965
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12966
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.IDCardInfoResult`
|
12967
|
+
"""
|
12968
|
+
return self._Front
|
12969
|
+
|
12970
|
+
@Front.setter
|
12971
|
+
def Front(self, Front):
|
12972
|
+
self._Front = Front
|
12973
|
+
|
12974
|
+
@property
|
12975
|
+
def Back(self):
|
12976
|
+
"""反面结果
|
12977
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12978
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.IDCardInfoResult`
|
12979
|
+
"""
|
12980
|
+
return self._Back
|
12981
|
+
|
12982
|
+
@Back.setter
|
12983
|
+
def Back(self, Back):
|
12984
|
+
self._Back = Back
|
12985
|
+
|
12986
|
+
|
12987
|
+
def _deserialize(self, params):
|
12988
|
+
if params.get("Front") is not None:
|
12989
|
+
self._Front = IDCardInfoResult()
|
12990
|
+
self._Front._deserialize(params.get("Front"))
|
12991
|
+
if params.get("Back") is not None:
|
12992
|
+
self._Back = IDCardInfoResult()
|
12993
|
+
self._Back._deserialize(params.get("Back"))
|
12994
|
+
memeber_set = set(params.keys())
|
12995
|
+
for name, value in vars(self).items():
|
12996
|
+
property_name = name[1:]
|
12997
|
+
if property_name in memeber_set:
|
12998
|
+
memeber_set.remove(property_name)
|
12999
|
+
if len(memeber_set) > 0:
|
13000
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13001
|
+
|
13002
|
+
|
13003
|
+
|
12387
13004
|
class ImageCoordinates(AbstractModel):
|
12388
13005
|
"""头像位置坐标
|
12389
13006
|
|
@@ -17935,6 +18552,46 @@ class NonTaxItem(AbstractModel):
|
|
17935
18552
|
|
17936
18553
|
|
17937
18554
|
|
18555
|
+
class OCRResult(AbstractModel):
|
18556
|
+
"""ocr结果信息
|
18557
|
+
|
18558
|
+
"""
|
18559
|
+
|
18560
|
+
def __init__(self):
|
18561
|
+
r"""
|
18562
|
+
:param _IDCardResult: 身份证结果
|
18563
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18564
|
+
:type IDCardResult: :class:`tencentcloud.ocr.v20181119.models.IDCardResult`
|
18565
|
+
"""
|
18566
|
+
self._IDCardResult = None
|
18567
|
+
|
18568
|
+
@property
|
18569
|
+
def IDCardResult(self):
|
18570
|
+
"""身份证结果
|
18571
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18572
|
+
:rtype: :class:`tencentcloud.ocr.v20181119.models.IDCardResult`
|
18573
|
+
"""
|
18574
|
+
return self._IDCardResult
|
18575
|
+
|
18576
|
+
@IDCardResult.setter
|
18577
|
+
def IDCardResult(self, IDCardResult):
|
18578
|
+
self._IDCardResult = IDCardResult
|
18579
|
+
|
18580
|
+
|
18581
|
+
def _deserialize(self, params):
|
18582
|
+
if params.get("IDCardResult") is not None:
|
18583
|
+
self._IDCardResult = IDCardResult()
|
18584
|
+
self._IDCardResult._deserialize(params.get("IDCardResult"))
|
18585
|
+
memeber_set = set(params.keys())
|
18586
|
+
for name, value in vars(self).items():
|
18587
|
+
property_name = name[1:]
|
18588
|
+
if property_name in memeber_set:
|
18589
|
+
memeber_set.remove(property_name)
|
18590
|
+
if len(memeber_set) > 0:
|
18591
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
18592
|
+
|
18593
|
+
|
18594
|
+
|
17938
18595
|
class OnlineTaxiItineraryInfo(AbstractModel):
|
17939
18596
|
"""网约车行程单识别结果
|
17940
18597
|
|
@@ -28032,6 +28689,8 @@ class SmartStructuralProRequest(AbstractModel):
|
|
28032
28689
|
:type ReturnFullText: bool
|
28033
28690
|
:param _ConfigId: 配置id支持:General -- 通用场景 InvoiceEng -- 海运提单、国际invoice模版 WayBillEng --海运订单模板
|
28034
28691
|
:type ConfigId: str
|
28692
|
+
:param _EnableCoord: 是否开启全文字段坐标值的识别
|
28693
|
+
:type EnableCoord: bool
|
28035
28694
|
"""
|
28036
28695
|
self._ImageUrl = None
|
28037
28696
|
self._ImageBase64 = None
|
@@ -28039,6 +28698,7 @@ class SmartStructuralProRequest(AbstractModel):
|
|
28039
28698
|
self._ItemNames = None
|
28040
28699
|
self._ReturnFullText = None
|
28041
28700
|
self._ConfigId = None
|
28701
|
+
self._EnableCoord = None
|
28042
28702
|
|
28043
28703
|
@property
|
28044
28704
|
def ImageUrl(self):
|
@@ -28106,6 +28766,17 @@ class SmartStructuralProRequest(AbstractModel):
|
|
28106
28766
|
def ConfigId(self, ConfigId):
|
28107
28767
|
self._ConfigId = ConfigId
|
28108
28768
|
|
28769
|
+
@property
|
28770
|
+
def EnableCoord(self):
|
28771
|
+
"""是否开启全文字段坐标值的识别
|
28772
|
+
:rtype: bool
|
28773
|
+
"""
|
28774
|
+
return self._EnableCoord
|
28775
|
+
|
28776
|
+
@EnableCoord.setter
|
28777
|
+
def EnableCoord(self, EnableCoord):
|
28778
|
+
self._EnableCoord = EnableCoord
|
28779
|
+
|
28109
28780
|
|
28110
28781
|
def _deserialize(self, params):
|
28111
28782
|
self._ImageUrl = params.get("ImageUrl")
|
@@ -28114,6 +28785,7 @@ class SmartStructuralProRequest(AbstractModel):
|
|
28114
28785
|
self._ItemNames = params.get("ItemNames")
|
28115
28786
|
self._ReturnFullText = params.get("ReturnFullText")
|
28116
28787
|
self._ConfigId = params.get("ConfigId")
|
28788
|
+
self._EnableCoord = params.get("EnableCoord")
|
28117
28789
|
memeber_set = set(params.keys())
|
28118
28790
|
for name, value in vars(self).items():
|
28119
28791
|
property_name = name[1:]
|
@@ -37179,7 +37851,7 @@ class VatInvoiceVerifyNewRequest(AbstractModel):
|
|
37179
37851
|
:type InvoiceNo: str
|
37180
37852
|
:param _InvoiceDate: 开票日期(不支持当天发票查询,支持五年以内开具的发票),格式:“YYYY-MM-DD”,如:2019-12-20。
|
37181
37853
|
:type InvoiceDate: str
|
37182
|
-
:param _InvoiceCode: 发票代码(10或12
|
37854
|
+
:param _InvoiceCode: 发票代码(10或12 位),全电发票为空。查验超过5次后当日无法再查。
|
37183
37855
|
:type InvoiceCode: str
|
37184
37856
|
:param _InvoiceKind: 票种类型 01:增值税专用发票, 02:货运运输业增值税专用发 票, 03:机动车销售统一发票, 04:增值税普通发票, 08:增值税电子专用发票(含全电), 10:增值税电子普通发票(含全电), 11:增值税普通发票(卷式), 14:增值税电子(通行费)发 票, 15:二手车销售统一发票,16:财务发票, 32:深圳区块链发票(云南区块链因业务调整现已下线)。
|
37185
37857
|
:type InvoiceKind: str
|
@@ -37195,9 +37867,7 @@ class VatInvoiceVerifyNewRequest(AbstractModel):
|
|
37195
37867
|
:type SellerTaxCode: str
|
37196
37868
|
:param _EnableCommonElectronic: 是否开启通用机打电子发票,默认为关闭。
|
37197
37869
|
:type EnableCommonElectronic: bool
|
37198
|
-
:param _EnableTodayInvoice: 是否允许查验当日发票,默认值为false
|
37199
|
-
|
37200
|
-
请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的发票。
|
37870
|
+
:param _EnableTodayInvoice: 是否允许查验当日发票,默认值为false。请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的当日发票。
|
37201
37871
|
:type EnableTodayInvoice: bool
|
37202
37872
|
"""
|
37203
37873
|
self._InvoiceNo = None
|
@@ -37235,7 +37905,7 @@ class VatInvoiceVerifyNewRequest(AbstractModel):
|
|
37235
37905
|
|
37236
37906
|
@property
|
37237
37907
|
def InvoiceCode(self):
|
37238
|
-
"""发票代码(10或12
|
37908
|
+
"""发票代码(10或12 位),全电发票为空。查验超过5次后当日无法再查。
|
37239
37909
|
:rtype: str
|
37240
37910
|
"""
|
37241
37911
|
return self._InvoiceCode
|
@@ -37314,9 +37984,7 @@ class VatInvoiceVerifyNewRequest(AbstractModel):
|
|
37314
37984
|
|
37315
37985
|
@property
|
37316
37986
|
def EnableTodayInvoice(self):
|
37317
|
-
"""是否允许查验当日发票,默认值为false
|
37318
|
-
|
37319
|
-
请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的发票。
|
37987
|
+
"""是否允许查验当日发票,默认值为false。请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的当日发票。
|
37320
37988
|
:rtype: bool
|
37321
37989
|
"""
|
37322
37990
|
return self._EnableTodayInvoice
|