tencentcloud-sdk-python 3.0.1238__py2.py3-none-any.whl → 3.0.1241__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/aiart/v20221229/aiart_client.py +34 -21
- tencentcloud/aiart/v20221229/models.py +6 -6
- tencentcloud/apm/v20210622/errorcodes.py +3 -3
- tencentcloud/ca/__init__.py +0 -0
- tencentcloud/ca/v20230228/__init__.py +0 -0
- tencentcloud/ca/v20230228/ca_client.py +95 -0
- tencentcloud/ca/v20230228/errorcodes.py +30 -0
- tencentcloud/ca/v20230228/models.py +398 -0
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/models.py +331 -0
- tencentcloud/cdn/v20180606/models.py +32 -0
- tencentcloud/clb/v20180317/models.py +25 -1
- tencentcloud/cme/v20191029/models.py +12 -0
- tencentcloud/cvm/v20170312/models.py +14 -0
- tencentcloud/cwp/v20180228/cwp_client.py +3 -1
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +6 -31
- tencentcloud/cynosdb/v20190107/models.py +1 -131
- tencentcloud/dasb/v20191018/models.py +37 -0
- tencentcloud/dts/v20211206/models.py +16 -16
- tencentcloud/emr/v20190103/models.py +15 -3
- tencentcloud/ess/v20201111/ess_client.py +18 -11
- tencentcloud/ess/v20201111/models.py +32 -22
- tencentcloud/essbasic/v20210526/essbasic_client.py +11 -9
- tencentcloud/essbasic/v20210526/models.py +19 -4
- tencentcloud/faceid/v20180301/models.py +12 -0
- tencentcloud/iecp/v20210914/iecp_client.py +0 -500
- tencentcloud/iecp/v20210914/models.py +2130 -5305
- tencentcloud/ims/v20201229/ims_client.py +8 -3
- tencentcloud/ims/v20201229/models.py +2 -2
- tencentcloud/lcic/v20220817/models.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +0 -132
- tencentcloud/monitor/v20180724/monitor_client.py +0 -50
- tencentcloud/ocr/v20181119/models.py +21 -0
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/omics/v20221128/models.py +245 -29
- tencentcloud/postgres/v20170312/models.py +270 -0
- tencentcloud/postgres/v20170312/postgres_client.py +23 -0
- tencentcloud/rce/v20201103/models.py +33 -22
- tencentcloud/redis/v20180412/errorcodes.py +3 -0
- tencentcloud/ses/v20201002/models.py +65 -0
- tencentcloud/ssl/v20191205/models.py +75 -0
- tencentcloud/tcb/v20180608/models.py +25 -0
- tencentcloud/tcss/v20201101/models.py +257 -0
- tencentcloud/teo/v20220901/models.py +78 -0
- tencentcloud/tke/v20180525/models.py +1 -1
- tencentcloud/tke/v20220501/models.py +1 -1
- tencentcloud/tse/v20201207/models.py +26 -0
- tencentcloud/tsf/v20180326/models.py +0 -58
- tencentcloud/tsf/v20180326/tsf_client.py +0 -25
- tencentcloud/tts/v20190823/tts_client.py +4 -1
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vpc/v20170312/models.py +2107 -176
- tencentcloud/vpc/v20170312/vpc_client.py +506 -0
- tencentcloud/wedata/v20210820/models.py +18 -0
- {tencentcloud_sdk_python-3.0.1238.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1238.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/RECORD +61 -56
- {tencentcloud_sdk_python-3.0.1238.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1238.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1238.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -100,12 +100,14 @@ class AiartClient(AbstractClient):
|
|
100
100
|
|
101
101
|
|
102
102
|
def QueryDrawPortraitJob(self, request):
|
103
|
-
"""AI
|
104
|
-
|
105
|
-
|
106
|
-
-
|
103
|
+
"""AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。
|
104
|
+
生成图片分为提交任务和查询任务2个接口:
|
105
|
+
|
106
|
+
- 提交生成写真图片任务:选择风格模板,提交一个生成写真图片异步任务,根据写真模型 ID 生成写真图片,获得任务 ID。
|
107
107
|
- 查询生成写真图片任务:根据任务 ID 查询生成图片任务的处理状态、处理结果。
|
108
108
|
|
109
|
+
每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。
|
110
|
+
|
109
111
|
:param request: Request instance for QueryDrawPortraitJob.
|
110
112
|
:type request: :class:`tencentcloud.aiart.v20221229.models.QueryDrawPortraitJobRequest`
|
111
113
|
:rtype: :class:`tencentcloud.aiart.v20221229.models.QueryDrawPortraitJobResponse`
|
@@ -154,12 +156,15 @@ class AiartClient(AbstractClient):
|
|
154
156
|
|
155
157
|
|
156
158
|
def QueryTrainPortraitModelJob(self, request):
|
157
|
-
"""AI
|
158
|
-
|
159
|
-
训练模型分为提交任务和查询任务2
|
160
|
-
|
159
|
+
"""AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。
|
160
|
+
如果选择免训练模式无需调用本接口。
|
161
|
+
训练模型分为提交任务和查询任务2个接口:
|
162
|
+
|
163
|
+
- 提交训练写真模型任务:完成上传图片后,提交一个训练写真模型异步任务,根据写真模型 ID 开始训练模型。
|
161
164
|
- 查询训练写真模型任务:根据写真模型 ID 查询训练任务的处理状态、处理结果。
|
162
165
|
|
166
|
+
每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。
|
167
|
+
|
163
168
|
:param request: Request instance for QueryTrainPortraitModelJob.
|
164
169
|
:type request: :class:`tencentcloud.aiart.v20221229.models.QueryTrainPortraitModelJobRequest`
|
165
170
|
:rtype: :class:`tencentcloud.aiart.v20221229.models.QueryTrainPortraitModelJobResponse`
|
@@ -230,13 +235,14 @@ class AiartClient(AbstractClient):
|
|
230
235
|
|
231
236
|
|
232
237
|
def SubmitDrawPortraitJob(self, request):
|
233
|
-
"""AI
|
234
|
-
|
235
|
-
|
236
|
-
-
|
238
|
+
"""AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。
|
239
|
+
生成图片分为提交任务和查询任务2个接口:
|
240
|
+
|
241
|
+
- 提交生成写真图片任务:选择风格模板,提交一个生成写真图片异步任务,根据写真模型 ID 生成写真图片,获得任务 ID。
|
237
242
|
- 查询生成写真图片任务:根据任务 ID 查询生成图片任务的处理状态、处理结果。
|
238
243
|
|
239
|
-
|
244
|
+
每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。
|
245
|
+
提交生成写真图片任务默认提供1个并发。
|
240
246
|
|
241
247
|
:param request: Request instance for SubmitDrawPortraitJob.
|
242
248
|
:type request: :class:`tencentcloud.aiart.v20221229.models.SubmitDrawPortraitJobRequest`
|
@@ -286,12 +292,14 @@ class AiartClient(AbstractClient):
|
|
286
292
|
|
287
293
|
|
288
294
|
def SubmitTrainPortraitModelJob(self, request):
|
289
|
-
"""AI
|
290
|
-
|
291
|
-
训练模型分为提交任务和查询任务2
|
292
|
-
-
|
295
|
+
"""AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。
|
296
|
+
如果选择免训练模式无需调用本接口。
|
297
|
+
训练模型分为提交任务和查询任务2个接口:
|
298
|
+
- 提交训练写真模型任务:完成上传图片后,提交一个训练写真模型异步任务,根据写真模型 ID 开始训练模型。
|
293
299
|
- 查询训练写真模型任务:根据写真模型 ID 查询训练任务的处理状态、处理结果。
|
294
|
-
|
300
|
+
|
301
|
+
每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。
|
302
|
+
提交训练写真模型任务按并发计费,无默认并发额度。
|
295
303
|
|
296
304
|
:param request: Request instance for SubmitTrainPortraitModelJob.
|
297
305
|
:type request: :class:`tencentcloud.aiart.v20221229.models.SubmitTrainPortraitModelJobRequest`
|
@@ -341,9 +349,14 @@ class AiartClient(AbstractClient):
|
|
341
349
|
|
342
350
|
|
343
351
|
def UploadTrainPortraitImages(self, request):
|
344
|
-
"""AI
|
345
|
-
|
346
|
-
|
352
|
+
"""AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。
|
353
|
+
本接口用于上传人像图片并指定对应的写真模型 ID。上传的图片要求是同一个人,建议上传单人、正脸、脸部区域占比较大、脸部清晰无遮挡、无大角度偏转、无夸张表情的图片。
|
354
|
+
可选模式:
|
355
|
+
- 常规训练模式:上传20 - 25张图片用于模型训练,完成训练后可生成写真图片。
|
356
|
+
- 快速训练模式:仅需上传1张图片用于模型训练,训练速度更快,完成训练后可生成写真图片。
|
357
|
+
- 免训练模式:仅需上传1张图片,跳过训练环节,直接生成写真图片。
|
358
|
+
|
359
|
+
上传写真训练图片默认提供1个并发。
|
347
360
|
|
348
361
|
:param request: Request instance for UploadTrainPortraitImages.
|
349
362
|
:type request: :class:`tencentcloud.aiart.v20221229.models.UploadTrainPortraitImagesRequest`
|
@@ -2044,21 +2044,21 @@ class UploadTrainPortraitImagesRequest(AbstractModel):
|
|
2044
2044
|
图片限制:单边分辨率小于2000,转成 Base64 字符串后小于 5MB。
|
2045
2045
|
|
2046
2046
|
:type BaseUrl: str
|
2047
|
-
:param _Urls: 写真模型训练用的图像 URL
|
2047
|
+
:param _Urls: 写真模型训练用的图像 URL 列表,仅常规训练模式需要上传。
|
2048
2048
|
图片数量:19 - 24 张。
|
2049
2049
|
图片内容:单人,脸部清晰,和基础图像中的人物为同一人。
|
2050
2050
|
图片限制:单边分辨率小于2000,转成 Base64 字符串后小于 5MB。
|
2051
|
-
|
2052
2051
|
:type Urls: list of str
|
2053
2052
|
:param _Filter: 训练图像质量过滤开关配置。
|
2054
2053
|
支持开启或关闭对训练图像分辨率下限、脸部区域大小、脸部遮挡的过滤,默认开启以上过滤。
|
2055
2054
|
如果训练图像内包含多人脸或无人脸、和 Base 人像不为同一人也将被过滤,不可关闭该过滤条件。
|
2056
2055
|
建议:关闭以上过滤可能导致写真生成效果受损,建议使用单人、正脸、脸部区域占比较大、脸部清晰无遮挡、无大角度偏转、无夸张表情的图像进行训练。
|
2057
2056
|
:type Filter: :class:`tencentcloud.aiart.v20221229.models.Filter`
|
2058
|
-
:param _TrainMode:
|
2059
|
-
|
2060
|
-
0
|
2061
|
-
1
|
2057
|
+
:param _TrainMode: 训练模式。
|
2058
|
+
默认使用常规训练模式。如果使用快速训练模式和免训练模式,只需要在 BaseUrl 中传入1张图片,Urls.N 中无需传入图片。
|
2059
|
+
0:常规训练模式,上传多张图片用于模型训练,完成训练后可生成写真图片。
|
2060
|
+
1:快速训练模式,仅需上传1张图片用于模型训练,训练速度更快,完成训练后可生成写真图片。
|
2061
|
+
2:免训练模式,仅需上传1张图片,跳过模型训练环节,直接生成写真图片。
|
2062
2062
|
:type TrainMode: int
|
2063
2063
|
"""
|
2064
2064
|
self._ModelId = None
|
@@ -38,7 +38,7 @@ FAILEDOPERATION_ACCESSTAGFAIL = 'FailedOperation.AccessTagFail'
|
|
38
38
|
# token信息不存在。
|
39
39
|
FAILEDOPERATION_APMCREDENTIALNOTEXIST = 'FailedOperation.ApmCredentialNotExist'
|
40
40
|
|
41
|
-
# appid
|
41
|
+
# appid和业务系统信息不匹配。
|
42
42
|
FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = 'FailedOperation.AppIdNotMatchInstanceInfo'
|
43
43
|
|
44
44
|
# 未命中白名单且实例id为官方demo实例id时,不允许修改接口。
|
@@ -56,7 +56,7 @@ FAILEDOPERATION_INSTANCECANNOTMODIFY = 'FailedOperation.InstanceCannotModify'
|
|
56
56
|
# 实例ID为空。
|
57
57
|
FAILEDOPERATION_INSTANCEIDISEMPTY = 'FailedOperation.InstanceIdIsEmpty'
|
58
58
|
|
59
|
-
# apm
|
59
|
+
# apm业务系统不存在。
|
60
60
|
FAILEDOPERATION_INSTANCENOTFOUND = 'FailedOperation.InstanceNotFound'
|
61
61
|
|
62
62
|
# 非法实例id。
|
@@ -68,7 +68,7 @@ FAILEDOPERATION_INVALIDREGEX = 'FailedOperation.InvalidRegex'
|
|
68
68
|
# 不合法请求
|
69
69
|
FAILEDOPERATION_INVALIDREQUEST = 'FailedOperation.InvalidRequest'
|
70
70
|
|
71
|
-
#
|
71
|
+
# 业务系统和应用名不匹配。
|
72
72
|
FAILEDOPERATION_INVALIDSERVICENAME = 'FailedOperation.InvalidServiceName'
|
73
73
|
|
74
74
|
# Tag中指定了无效的Key
|
File without changes
|
File without changes
|
@@ -0,0 +1,95 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
import json
|
17
|
+
|
18
|
+
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
19
|
+
from tencentcloud.common.abstract_client import AbstractClient
|
20
|
+
from tencentcloud.ca.v20230228 import models
|
21
|
+
|
22
|
+
|
23
|
+
class CaClient(AbstractClient):
|
24
|
+
_apiVersion = '2023-02-28'
|
25
|
+
_endpoint = 'ca.tencentcloudapi.com'
|
26
|
+
_service = 'ca'
|
27
|
+
|
28
|
+
|
29
|
+
def CreateVerifyReport(self, request):
|
30
|
+
"""创建签名验证报告任务,此接口为异步盖章接口,盖章时效24小时。
|
31
|
+
|
32
|
+
:param request: Request instance for CreateVerifyReport.
|
33
|
+
:type request: :class:`tencentcloud.ca.v20230228.models.CreateVerifyReportRequest`
|
34
|
+
:rtype: :class:`tencentcloud.ca.v20230228.models.CreateVerifyReportResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("CreateVerifyReport", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.CreateVerifyReportResponse()
|
43
|
+
model._deserialize(response["Response"])
|
44
|
+
return model
|
45
|
+
except Exception as e:
|
46
|
+
if isinstance(e, TencentCloudSDKException):
|
47
|
+
raise
|
48
|
+
else:
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
|
+
|
51
|
+
|
52
|
+
def DescribeVerifyReport(self, request):
|
53
|
+
"""下载验签报告url,url有效期默认12小时
|
54
|
+
|
55
|
+
:param request: Request instance for DescribeVerifyReport.
|
56
|
+
:type request: :class:`tencentcloud.ca.v20230228.models.DescribeVerifyReportRequest`
|
57
|
+
:rtype: :class:`tencentcloud.ca.v20230228.models.DescribeVerifyReportResponse`
|
58
|
+
|
59
|
+
"""
|
60
|
+
try:
|
61
|
+
params = request._serialize()
|
62
|
+
headers = request.headers
|
63
|
+
body = self.call("DescribeVerifyReport", params, headers=headers)
|
64
|
+
response = json.loads(body)
|
65
|
+
model = models.DescribeVerifyReportResponse()
|
66
|
+
model._deserialize(response["Response"])
|
67
|
+
return model
|
68
|
+
except Exception as e:
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
70
|
+
raise
|
71
|
+
else:
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
73
|
+
|
74
|
+
|
75
|
+
def UploadFile(self, request):
|
76
|
+
"""文件上传接口
|
77
|
+
|
78
|
+
:param request: Request instance for UploadFile.
|
79
|
+
:type request: :class:`tencentcloud.ca.v20230228.models.UploadFileRequest`
|
80
|
+
:rtype: :class:`tencentcloud.ca.v20230228.models.UploadFileResponse`
|
81
|
+
|
82
|
+
"""
|
83
|
+
try:
|
84
|
+
params = request._serialize()
|
85
|
+
headers = request.headers
|
86
|
+
body = self.call("UploadFile", params, headers=headers)
|
87
|
+
response = json.loads(body)
|
88
|
+
model = models.UploadFileResponse()
|
89
|
+
model._deserialize(response["Response"])
|
90
|
+
return model
|
91
|
+
except Exception as e:
|
92
|
+
if isinstance(e, TencentCloudSDKException):
|
93
|
+
raise
|
94
|
+
else:
|
95
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
|
17
|
+
# 内部错误。
|
18
|
+
INTERNALERROR = 'InternalError'
|
19
|
+
|
20
|
+
# 无效的过滤器
|
21
|
+
INVALIDFILTER = 'InvalidFilter'
|
22
|
+
|
23
|
+
# 参数错误。
|
24
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
25
|
+
|
26
|
+
# 参数取值错误。
|
27
|
+
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
28
|
+
|
29
|
+
# 缺少参数错误。
|
30
|
+
MISSINGPARAMETER = 'MissingParameter'
|
@@ -0,0 +1,398 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
import warnings
|
17
|
+
|
18
|
+
from tencentcloud.common.abstract_model import AbstractModel
|
19
|
+
|
20
|
+
|
21
|
+
class CreateVerifyReportRequest(AbstractModel):
|
22
|
+
"""CreateVerifyReport请求参数结构体
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _ApplyCustomerType: 客户类型 1:个人,2:企业
|
29
|
+
:type ApplyCustomerType: str
|
30
|
+
:param _ApplyCustomerName: 申请企业 or 自然人名称
|
31
|
+
:type ApplyCustomerName: str
|
32
|
+
:param _ApplyName: 验签申请人姓名
|
33
|
+
:type ApplyName: str
|
34
|
+
:param _ApplyMobile: 验签申请人电弧
|
35
|
+
:type ApplyMobile: str
|
36
|
+
:param _FileId: 验签文件id
|
37
|
+
:type FileId: str
|
38
|
+
:param _ApplyEmail: 验签申请人邮箱
|
39
|
+
:type ApplyEmail: str
|
40
|
+
"""
|
41
|
+
self._ApplyCustomerType = None
|
42
|
+
self._ApplyCustomerName = None
|
43
|
+
self._ApplyName = None
|
44
|
+
self._ApplyMobile = None
|
45
|
+
self._FileId = None
|
46
|
+
self._ApplyEmail = None
|
47
|
+
|
48
|
+
@property
|
49
|
+
def ApplyCustomerType(self):
|
50
|
+
return self._ApplyCustomerType
|
51
|
+
|
52
|
+
@ApplyCustomerType.setter
|
53
|
+
def ApplyCustomerType(self, ApplyCustomerType):
|
54
|
+
self._ApplyCustomerType = ApplyCustomerType
|
55
|
+
|
56
|
+
@property
|
57
|
+
def ApplyCustomerName(self):
|
58
|
+
return self._ApplyCustomerName
|
59
|
+
|
60
|
+
@ApplyCustomerName.setter
|
61
|
+
def ApplyCustomerName(self, ApplyCustomerName):
|
62
|
+
self._ApplyCustomerName = ApplyCustomerName
|
63
|
+
|
64
|
+
@property
|
65
|
+
def ApplyName(self):
|
66
|
+
return self._ApplyName
|
67
|
+
|
68
|
+
@ApplyName.setter
|
69
|
+
def ApplyName(self, ApplyName):
|
70
|
+
self._ApplyName = ApplyName
|
71
|
+
|
72
|
+
@property
|
73
|
+
def ApplyMobile(self):
|
74
|
+
return self._ApplyMobile
|
75
|
+
|
76
|
+
@ApplyMobile.setter
|
77
|
+
def ApplyMobile(self, ApplyMobile):
|
78
|
+
self._ApplyMobile = ApplyMobile
|
79
|
+
|
80
|
+
@property
|
81
|
+
def FileId(self):
|
82
|
+
return self._FileId
|
83
|
+
|
84
|
+
@FileId.setter
|
85
|
+
def FileId(self, FileId):
|
86
|
+
self._FileId = FileId
|
87
|
+
|
88
|
+
@property
|
89
|
+
def ApplyEmail(self):
|
90
|
+
return self._ApplyEmail
|
91
|
+
|
92
|
+
@ApplyEmail.setter
|
93
|
+
def ApplyEmail(self, ApplyEmail):
|
94
|
+
self._ApplyEmail = ApplyEmail
|
95
|
+
|
96
|
+
|
97
|
+
def _deserialize(self, params):
|
98
|
+
self._ApplyCustomerType = params.get("ApplyCustomerType")
|
99
|
+
self._ApplyCustomerName = params.get("ApplyCustomerName")
|
100
|
+
self._ApplyName = params.get("ApplyName")
|
101
|
+
self._ApplyMobile = params.get("ApplyMobile")
|
102
|
+
self._FileId = params.get("FileId")
|
103
|
+
self._ApplyEmail = params.get("ApplyEmail")
|
104
|
+
memeber_set = set(params.keys())
|
105
|
+
for name, value in vars(self).items():
|
106
|
+
property_name = name[1:]
|
107
|
+
if property_name in memeber_set:
|
108
|
+
memeber_set.remove(property_name)
|
109
|
+
if len(memeber_set) > 0:
|
110
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
class CreateVerifyReportResponse(AbstractModel):
|
115
|
+
"""CreateVerifyReport返回参数结构体
|
116
|
+
|
117
|
+
"""
|
118
|
+
|
119
|
+
def __init__(self):
|
120
|
+
r"""
|
121
|
+
:param _SignatureId: 签名id
|
122
|
+
:type SignatureId: str
|
123
|
+
:param _Code: code
|
124
|
+
:type Code: str
|
125
|
+
:param _Message: message
|
126
|
+
:type Message: str
|
127
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
128
|
+
:type RequestId: str
|
129
|
+
"""
|
130
|
+
self._SignatureId = None
|
131
|
+
self._Code = None
|
132
|
+
self._Message = None
|
133
|
+
self._RequestId = None
|
134
|
+
|
135
|
+
@property
|
136
|
+
def SignatureId(self):
|
137
|
+
return self._SignatureId
|
138
|
+
|
139
|
+
@SignatureId.setter
|
140
|
+
def SignatureId(self, SignatureId):
|
141
|
+
self._SignatureId = SignatureId
|
142
|
+
|
143
|
+
@property
|
144
|
+
def Code(self):
|
145
|
+
return self._Code
|
146
|
+
|
147
|
+
@Code.setter
|
148
|
+
def Code(self, Code):
|
149
|
+
self._Code = Code
|
150
|
+
|
151
|
+
@property
|
152
|
+
def Message(self):
|
153
|
+
return self._Message
|
154
|
+
|
155
|
+
@Message.setter
|
156
|
+
def Message(self, Message):
|
157
|
+
self._Message = Message
|
158
|
+
|
159
|
+
@property
|
160
|
+
def RequestId(self):
|
161
|
+
return self._RequestId
|
162
|
+
|
163
|
+
@RequestId.setter
|
164
|
+
def RequestId(self, RequestId):
|
165
|
+
self._RequestId = RequestId
|
166
|
+
|
167
|
+
|
168
|
+
def _deserialize(self, params):
|
169
|
+
self._SignatureId = params.get("SignatureId")
|
170
|
+
self._Code = params.get("Code")
|
171
|
+
self._Message = params.get("Message")
|
172
|
+
self._RequestId = params.get("RequestId")
|
173
|
+
|
174
|
+
|
175
|
+
class DescribeVerifyReportRequest(AbstractModel):
|
176
|
+
"""DescribeVerifyReport请求参数结构体
|
177
|
+
|
178
|
+
"""
|
179
|
+
|
180
|
+
def __init__(self):
|
181
|
+
r"""
|
182
|
+
:param _SignatureId: 签名id
|
183
|
+
:type SignatureId: str
|
184
|
+
"""
|
185
|
+
self._SignatureId = None
|
186
|
+
|
187
|
+
@property
|
188
|
+
def SignatureId(self):
|
189
|
+
return self._SignatureId
|
190
|
+
|
191
|
+
@SignatureId.setter
|
192
|
+
def SignatureId(self, SignatureId):
|
193
|
+
self._SignatureId = SignatureId
|
194
|
+
|
195
|
+
|
196
|
+
def _deserialize(self, params):
|
197
|
+
self._SignatureId = params.get("SignatureId")
|
198
|
+
memeber_set = set(params.keys())
|
199
|
+
for name, value in vars(self).items():
|
200
|
+
property_name = name[1:]
|
201
|
+
if property_name in memeber_set:
|
202
|
+
memeber_set.remove(property_name)
|
203
|
+
if len(memeber_set) > 0:
|
204
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
class DescribeVerifyReportResponse(AbstractModel):
|
209
|
+
"""DescribeVerifyReport返回参数结构体
|
210
|
+
|
211
|
+
"""
|
212
|
+
|
213
|
+
def __init__(self):
|
214
|
+
r"""
|
215
|
+
:param _ReportUrl: 下载url
|
216
|
+
:type ReportUrl: str
|
217
|
+
:param _Code: code
|
218
|
+
:type Code: str
|
219
|
+
:param _Message: message
|
220
|
+
:type Message: str
|
221
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
222
|
+
:type RequestId: str
|
223
|
+
"""
|
224
|
+
self._ReportUrl = None
|
225
|
+
self._Code = None
|
226
|
+
self._Message = None
|
227
|
+
self._RequestId = None
|
228
|
+
|
229
|
+
@property
|
230
|
+
def ReportUrl(self):
|
231
|
+
return self._ReportUrl
|
232
|
+
|
233
|
+
@ReportUrl.setter
|
234
|
+
def ReportUrl(self, ReportUrl):
|
235
|
+
self._ReportUrl = ReportUrl
|
236
|
+
|
237
|
+
@property
|
238
|
+
def Code(self):
|
239
|
+
return self._Code
|
240
|
+
|
241
|
+
@Code.setter
|
242
|
+
def Code(self, Code):
|
243
|
+
self._Code = Code
|
244
|
+
|
245
|
+
@property
|
246
|
+
def Message(self):
|
247
|
+
return self._Message
|
248
|
+
|
249
|
+
@Message.setter
|
250
|
+
def Message(self, Message):
|
251
|
+
self._Message = Message
|
252
|
+
|
253
|
+
@property
|
254
|
+
def RequestId(self):
|
255
|
+
return self._RequestId
|
256
|
+
|
257
|
+
@RequestId.setter
|
258
|
+
def RequestId(self, RequestId):
|
259
|
+
self._RequestId = RequestId
|
260
|
+
|
261
|
+
|
262
|
+
def _deserialize(self, params):
|
263
|
+
self._ReportUrl = params.get("ReportUrl")
|
264
|
+
self._Code = params.get("Code")
|
265
|
+
self._Message = params.get("Message")
|
266
|
+
self._RequestId = params.get("RequestId")
|
267
|
+
|
268
|
+
|
269
|
+
class FileInfo(AbstractModel):
|
270
|
+
"""文件列表信息
|
271
|
+
|
272
|
+
"""
|
273
|
+
|
274
|
+
def __init__(self):
|
275
|
+
r"""
|
276
|
+
:param _FileBody: BASE64编码后的文件内容
|
277
|
+
:type FileBody: str
|
278
|
+
:param _FileName: 文件名,最大长度不超过200字符
|
279
|
+
:type FileName: str
|
280
|
+
"""
|
281
|
+
self._FileBody = None
|
282
|
+
self._FileName = None
|
283
|
+
|
284
|
+
@property
|
285
|
+
def FileBody(self):
|
286
|
+
return self._FileBody
|
287
|
+
|
288
|
+
@FileBody.setter
|
289
|
+
def FileBody(self, FileBody):
|
290
|
+
self._FileBody = FileBody
|
291
|
+
|
292
|
+
@property
|
293
|
+
def FileName(self):
|
294
|
+
return self._FileName
|
295
|
+
|
296
|
+
@FileName.setter
|
297
|
+
def FileName(self, FileName):
|
298
|
+
self._FileName = FileName
|
299
|
+
|
300
|
+
|
301
|
+
def _deserialize(self, params):
|
302
|
+
self._FileBody = params.get("FileBody")
|
303
|
+
self._FileName = params.get("FileName")
|
304
|
+
memeber_set = set(params.keys())
|
305
|
+
for name, value in vars(self).items():
|
306
|
+
property_name = name[1:]
|
307
|
+
if property_name in memeber_set:
|
308
|
+
memeber_set.remove(property_name)
|
309
|
+
if len(memeber_set) > 0:
|
310
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
class UploadFileRequest(AbstractModel):
|
315
|
+
"""UploadFile请求参数结构体
|
316
|
+
|
317
|
+
"""
|
318
|
+
|
319
|
+
def __init__(self):
|
320
|
+
r"""
|
321
|
+
:param _FileInfos: 验签源文件信息列表
|
322
|
+
:type FileInfos: list of FileInfo
|
323
|
+
"""
|
324
|
+
self._FileInfos = None
|
325
|
+
|
326
|
+
@property
|
327
|
+
def FileInfos(self):
|
328
|
+
return self._FileInfos
|
329
|
+
|
330
|
+
@FileInfos.setter
|
331
|
+
def FileInfos(self, FileInfos):
|
332
|
+
self._FileInfos = FileInfos
|
333
|
+
|
334
|
+
|
335
|
+
def _deserialize(self, params):
|
336
|
+
if params.get("FileInfos") is not None:
|
337
|
+
self._FileInfos = []
|
338
|
+
for item in params.get("FileInfos"):
|
339
|
+
obj = FileInfo()
|
340
|
+
obj._deserialize(item)
|
341
|
+
self._FileInfos.append(obj)
|
342
|
+
memeber_set = set(params.keys())
|
343
|
+
for name, value in vars(self).items():
|
344
|
+
property_name = name[1:]
|
345
|
+
if property_name in memeber_set:
|
346
|
+
memeber_set.remove(property_name)
|
347
|
+
if len(memeber_set) > 0:
|
348
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
class UploadFileResponse(AbstractModel):
|
353
|
+
"""UploadFile返回参数结构体
|
354
|
+
|
355
|
+
"""
|
356
|
+
|
357
|
+
def __init__(self):
|
358
|
+
r"""
|
359
|
+
:param _FileIds: 文件id列表
|
360
|
+
:type FileIds: list of str
|
361
|
+
:param _TotalCount: 文件id总数
|
362
|
+
:type TotalCount: int
|
363
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
364
|
+
:type RequestId: str
|
365
|
+
"""
|
366
|
+
self._FileIds = None
|
367
|
+
self._TotalCount = None
|
368
|
+
self._RequestId = None
|
369
|
+
|
370
|
+
@property
|
371
|
+
def FileIds(self):
|
372
|
+
return self._FileIds
|
373
|
+
|
374
|
+
@FileIds.setter
|
375
|
+
def FileIds(self, FileIds):
|
376
|
+
self._FileIds = FileIds
|
377
|
+
|
378
|
+
@property
|
379
|
+
def TotalCount(self):
|
380
|
+
return self._TotalCount
|
381
|
+
|
382
|
+
@TotalCount.setter
|
383
|
+
def TotalCount(self, TotalCount):
|
384
|
+
self._TotalCount = TotalCount
|
385
|
+
|
386
|
+
@property
|
387
|
+
def RequestId(self):
|
388
|
+
return self._RequestId
|
389
|
+
|
390
|
+
@RequestId.setter
|
391
|
+
def RequestId(self, RequestId):
|
392
|
+
self._RequestId = RequestId
|
393
|
+
|
394
|
+
|
395
|
+
def _deserialize(self, params):
|
396
|
+
self._FileIds = params.get("FileIds")
|
397
|
+
self._TotalCount = params.get("TotalCount")
|
398
|
+
self._RequestId = params.get("RequestId")
|