tencentcloud-sdk-python 3.0.1129__py2.py3-none-any.whl → 3.0.1130__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 might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1129'
17
+ __version__ = '3.0.1130'
@@ -409,6 +409,8 @@ class QueryTextToImageProJobResponse(AbstractModel):
409
409
  :param _ResultDetails: 结果 detail 数组,Success 代表成功。
410
410
 
411
411
  :type ResultDetails: list of str
412
+ :param _RevisedPrompt: 对应 SubmitTextToImageProJob 接口中 Revise 参数。开启扩写时,返回扩写后的 prompt 文本。 如果关闭扩写,将直接返回原始输入的 prompt。
413
+ :type RevisedPrompt: list of str
412
414
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
413
415
  :type RequestId: str
414
416
  """
@@ -418,6 +420,7 @@ class QueryTextToImageProJobResponse(AbstractModel):
418
420
  self._JobErrorMsg = None
419
421
  self._ResultImage = None
420
422
  self._ResultDetails = None
423
+ self._RevisedPrompt = None
421
424
  self._RequestId = None
422
425
 
423
426
  @property
@@ -468,6 +471,14 @@ class QueryTextToImageProJobResponse(AbstractModel):
468
471
  def ResultDetails(self, ResultDetails):
469
472
  self._ResultDetails = ResultDetails
470
473
 
474
+ @property
475
+ def RevisedPrompt(self):
476
+ return self._RevisedPrompt
477
+
478
+ @RevisedPrompt.setter
479
+ def RevisedPrompt(self, RevisedPrompt):
480
+ self._RevisedPrompt = RevisedPrompt
481
+
471
482
  @property
472
483
  def RequestId(self):
473
484
  return self._RequestId
@@ -484,6 +495,7 @@ class QueryTextToImageProJobResponse(AbstractModel):
484
495
  self._JobErrorMsg = params.get("JobErrorMsg")
485
496
  self._ResultImage = params.get("ResultImage")
486
497
  self._ResultDetails = params.get("ResultDetails")
498
+ self._RevisedPrompt = params.get("RevisedPrompt")
487
499
  self._RequestId = params.get("RequestId")
488
500
 
489
501
 
@@ -553,12 +565,18 @@ class SubmitTextToImageProJobRequest(AbstractModel):
553
565
  engine1
554
566
  engine2
555
567
  :type Engine: str
568
+ :param _Revise: prompt 扩写开关。1为开启,0为关闭,不传默认开启。
569
+ 开启扩写后,将自动扩写原始输入的 prompt 并使用扩写后的 prompt 生成图片,返回生成图片结果时将一并返回扩写后的 prompt 文本。
570
+ 如果关闭扩写,将直接使用原始输入的 prompt 生成图片。
571
+ 建议开启,在多数场景下可提升生成图片效果、丰富生成图片细节。
572
+ :type Revise: int
556
573
  """
557
574
  self._Prompt = None
558
575
  self._Style = None
559
576
  self._Resolution = None
560
577
  self._LogoAdd = None
561
578
  self._Engine = None
579
+ self._Revise = None
562
580
 
563
581
  @property
564
582
  def Prompt(self):
@@ -600,6 +618,14 @@ engine2
600
618
  def Engine(self, Engine):
601
619
  self._Engine = Engine
602
620
 
621
+ @property
622
+ def Revise(self):
623
+ return self._Revise
624
+
625
+ @Revise.setter
626
+ def Revise(self, Revise):
627
+ self._Revise = Revise
628
+
603
629
 
604
630
  def _deserialize(self, params):
605
631
  self._Prompt = params.get("Prompt")
@@ -607,6 +633,7 @@ engine2
607
633
  self._Resolution = params.get("Resolution")
608
634
  self._LogoAdd = params.get("LogoAdd")
609
635
  self._Engine = params.get("Engine")
636
+ self._Revise = params.get("Revise")
610
637
  memeber_set = set(params.keys())
611
638
  for name, value in vars(self).items():
612
639
  property_name = name[1:]
@@ -446,7 +446,7 @@ class AsrClient(AbstractClient):
446
446
 
447
447
 
448
448
  def SentenceRecognition(self, request):
449
- """本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
449
+ """本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
450
450
 
451
451
  :param request: Request instance for SentenceRecognition.
452
452
  :type request: :class:`tencentcloud.asr.v20190614.models.SentenceRecognitionRequest`
@@ -295,6 +295,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
295
295
  • 16k_es:西班牙语;
296
296
  • 16k_hi:印地语;
297
297
  • 16k_fr:法语;
298
+ • 16k_de:法语;
298
299
  :type EngineType: str
299
300
  :param _Url: 语音流地址,支持rtmp、rtsp等流媒体协议,以及各类基于http协议的直播流(不支持hls, m3u8)
300
301
  :type Url: str
@@ -627,6 +628,7 @@ class CreateRecTaskRequest(AbstractModel):
627
628
  • **16k_hi:**印地语;
628
629
  • **16k_fr:**法语;
629
630
  • **16k_zh_medical:**中文医疗引擎;
631
+ • **16k_de:**德语;
630
632
  :type EngineModelType: str
631
633
  :param _ChannelNum: 识别声道数
632
634
  1:单声道(16k音频仅支持单声道,**请勿**设置为双声道);
@@ -2412,6 +2414,7 @@ class SentenceRecognitionRequest(AbstractModel):
2412
2414
  • 16k_es:西班牙语;
2413
2415
  • 16k_hi:印地语;
2414
2416
  • 16k_fr:法语;
2417
+ • 16k_de:德语;
2415
2418
  • 16k_zh_dialect:多方言,支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
2416
2419
  :type EngSerViceType: str
2417
2420
  :param _SourceType: 语音数据来源。0:语音 URL;1:语音数据(post body)。
@@ -821,8 +821,11 @@ class DescribeKBComponentVulnerabilityRequest(AbstractModel):
821
821
  r"""
822
822
  :param _PURL: 组件的PURL,其中Name和Version为必填字段
823
823
  :type PURL: :class:`tencentcloud.bsca.v20210811.models.PURL`
824
+ :param _Language: 语言,ZH或EN
825
+ :type Language: str
824
826
  """
825
827
  self._PURL = None
828
+ self._Language = None
826
829
 
827
830
  @property
828
831
  def PURL(self):
@@ -832,11 +835,20 @@ class DescribeKBComponentVulnerabilityRequest(AbstractModel):
832
835
  def PURL(self, PURL):
833
836
  self._PURL = PURL
834
837
 
838
+ @property
839
+ def Language(self):
840
+ return self._Language
841
+
842
+ @Language.setter
843
+ def Language(self, Language):
844
+ self._Language = Language
845
+
835
846
 
836
847
  def _deserialize(self, params):
837
848
  if params.get("PURL") is not None:
838
849
  self._PURL = PURL()
839
850
  self._PURL._deserialize(params.get("PURL"))
851
+ self._Language = params.get("Language")
840
852
  memeber_set = set(params.keys())
841
853
  for name, value in vars(self).items():
842
854
  property_name = name[1:]
@@ -993,11 +1005,14 @@ class DescribeKBVulnerabilityRequest(AbstractModel):
993
1005
  :type CNVDID: list of str
994
1006
  :param _CNNVDID: 根据CNNVD ID查询(不能与其他参数同时存在)
995
1007
  :type CNNVDID: list of str
1008
+ :param _Language: 语言,ZH或EN
1009
+ :type Language: str
996
1010
  """
997
1011
  self._CVEID = None
998
1012
  self._VulID = None
999
1013
  self._CNVDID = None
1000
1014
  self._CNNVDID = None
1015
+ self._Language = None
1001
1016
 
1002
1017
  @property
1003
1018
  def CVEID(self):
@@ -1031,12 +1046,21 @@ class DescribeKBVulnerabilityRequest(AbstractModel):
1031
1046
  def CNNVDID(self, CNNVDID):
1032
1047
  self._CNNVDID = CNNVDID
1033
1048
 
1049
+ @property
1050
+ def Language(self):
1051
+ return self._Language
1052
+
1053
+ @Language.setter
1054
+ def Language(self, Language):
1055
+ self._Language = Language
1056
+
1034
1057
 
1035
1058
  def _deserialize(self, params):
1036
1059
  self._CVEID = params.get("CVEID")
1037
1060
  self._VulID = params.get("VulID")
1038
1061
  self._CNVDID = params.get("CNVDID")
1039
1062
  self._CNNVDID = params.get("CNNVDID")
1063
+ self._Language = params.get("Language")
1040
1064
  memeber_set = set(params.keys())
1041
1065
  for name, value in vars(self).items():
1042
1066
  property_name = name[1:]
@@ -211,7 +211,7 @@ class CccClient(AbstractClient):
211
211
 
212
212
 
213
213
  def CreateCompanyApply(self, request):
214
- """创建公司资质申请(1、首次使用接口,建议先在云联络中心控制台查看各个资料模版:https://console.cloud.tencent.com/ccc/enterprise/update。2、参数中图片Url建议使用腾讯云Cos存储的临时链接)
214
+ """创建公司资质申请(1、首次使用接口,建议先在云联络中心控制台查看各个资料模板:https://console.cloud.tencent.com/ccc/enterprise/update。2、参数中图片Url建议使用腾讯云Cos存储的临时链接)
215
215
 
216
216
  :param request: Request instance for CreateCompanyApply.
217
217
  :type request: :class:`tencentcloud.ccc.v20200210.models.CreateCompanyApplyRequest`
@@ -1041,7 +1041,7 @@ class CccClient(AbstractClient):
1041
1041
 
1042
1042
 
1043
1043
  def ModifyCompanyApply(self, request):
1044
- """修改公司资质申请,只能修改状态为驳回或待审核的申请单。(1、首次使用接口,建议先在云联络中心控制台查看各个资料模版:https://console.cloud.tencent.com/ccc/enterprise/update。2、参数中图片Url建议使用腾讯云Cos存储的临时链接)
1044
+ """修改公司资质申请,只能修改状态为驳回或待审核的申请单。(1、首次使用接口,建议先在云联络中心控制台查看各个资料模板:https://console.cloud.tencent.com/ccc/enterprise/update。2、参数中图片Url建议使用腾讯云Cos存储的临时链接)
1045
1045
 
1046
1046
  :param request: Request instance for ModifyCompanyApply.
1047
1047
  :type request: :class:`tencentcloud.ccc.v20200210.models.ModifyCompanyApplyRequest`
@@ -1062,7 +1062,7 @@ class CompanyApplyInfo(AbstractModel):
1062
1062
  :param _BusinessId: 统一社会信用代码
1063
1063
  注意:此字段可能返回 null,表示取不到有效值。
1064
1064
  :type BusinessId: str
1065
- :param _BusinessIdPicUrl: 营业执照扫描件(加盖公章)。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模版参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1065
+ :param _BusinessIdPicUrl: 营业执照扫描件(加盖公章)。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1066
1066
  注意:此字段可能返回 null,表示取不到有效值。
1067
1067
  :type BusinessIdPicUrl: str
1068
1068
  :param _CorporationName: 法定代表人名称
@@ -1071,19 +1071,19 @@ class CompanyApplyInfo(AbstractModel):
1071
1071
  :param _CorporationId: 法定代表人身份证号码
1072
1072
  注意:此字段可能返回 null,表示取不到有效值。
1073
1073
  :type CorporationId: str
1074
- :param _CorporationIdPicUrl: 法定代表人身份证正反面扫描件。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模版参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1074
+ :param _CorporationIdPicUrl: 法定代表人身份证正反面扫描件。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1075
1075
  注意:此字段可能返回 null,表示取不到有效值。
1076
1076
  :type CorporationIdPicUrl: str
1077
1077
  :param _BusinessScope: 业务经营范围
1078
1078
  注意:此字段可能返回 null,表示取不到有效值。
1079
1079
  :type BusinessScope: str
1080
- :param _AcceptPicUrl: 电话受理单。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模版参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1080
+ :param _AcceptPicUrl: 电话受理单。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1081
1081
  注意:此字段可能返回 null,表示取不到有效值。
1082
1082
  :type AcceptPicUrl: str
1083
- :param _NetworkCommitmentPicUrl: 电信入网承诺书。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模版参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1083
+ :param _NetworkCommitmentPicUrl: 电信入网承诺书。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1084
1084
  注意:此字段可能返回 null,表示取不到有效值。
1085
1085
  :type NetworkCommitmentPicUrl: str
1086
- :param _CorporationHoldingOnIdPicUrl: 法定代表人手持身份证照,申请人类型为法定代表人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模版参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1086
+ :param _CorporationHoldingOnIdPicUrl: 法定代表人手持身份证照,申请人类型为法定代表人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1087
1087
  注意:此字段可能返回 null,表示取不到有效值。
1088
1088
  :type CorporationHoldingOnIdPicUrl: str
1089
1089
  :param _OperatorName: 经办人名称,申请人类型为经办人时必填。
@@ -1092,13 +1092,13 @@ class CompanyApplyInfo(AbstractModel):
1092
1092
  :param _OperatorId: 经办人证件号码,申请人类型为经办人时必填。
1093
1093
  注意:此字段可能返回 null,表示取不到有效值。
1094
1094
  :type OperatorId: str
1095
- :param _OperatorIdPicUrl: 经办人身份证正反面扫描件,申请人类型为经办人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模版参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1095
+ :param _OperatorIdPicUrl: 经办人身份证正反面扫描件,申请人类型为经办人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1096
1096
  注意:此字段可能返回 null,表示取不到有效值。
1097
1097
  :type OperatorIdPicUrl: str
1098
- :param _OperatorHoldingOnIdPicUrl: 经办人手持身份证照,申请人类型为经办人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模版参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1098
+ :param _OperatorHoldingOnIdPicUrl: 经办人手持身份证照,申请人类型为经办人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1099
1099
  注意:此字段可能返回 null,表示取不到有效值。
1100
1100
  :type OperatorHoldingOnIdPicUrl: str
1101
- :param _CommissionPicUrl: 委托授权书,申请人类型为经办人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模版参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1101
+ :param _CommissionPicUrl: 委托授权书,申请人类型为经办人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
1102
1102
  注意:此字段可能返回 null,表示取不到有效值。
1103
1103
  :type CommissionPicUrl: str
1104
1104
  """
@@ -6235,9 +6235,9 @@ class DescribeTelCallInfoRequest(AbstractModel):
6235
6235
 
6236
6236
  def __init__(self):
6237
6237
  r"""
6238
- :param _StartTimeStamp: 起始时间戳,Unix 时间戳(查询维度仅支持天,比如查询5月1日应该传startTime:"2023-05-01 00:00:00","endTime":"2023-05-01 23:59:59"的时间戳,查5月1日和5月2日的应该传startTime:"2023-05-01 00:00:00","endTime":"2023-05-02 23:59:59"的时间戳)
6238
+ :param _StartTimeStamp: 起始时间戳,Unix 时间戳(查询维度仅支持天,例如查询5月1日应该传startTime:"2023-05-01 00:00:00","endTime":"2023-05-01 23:59:59"的时间戳,查5月1日和5月2日的应该传startTime:"2023-05-01 00:00:00","endTime":"2023-05-02 23:59:59"的时间戳)
6239
6239
  :type StartTimeStamp: int
6240
- :param _EndTimeStamp: 结束时间戳,Unix 时间戳,查询时间范围最大为90天(查询维度仅支持天,比如查询5月1日应该传startTime:"2023-05-01 00:00:00","endTime":"2023-05-01 23:59:59"的时间戳,查5月1日和5月2日的应该传startTime:"2023-05-01 00:00:00","endTime":"2023-05-02 23:59:59"的时间戳)
6240
+ :param _EndTimeStamp: 结束时间戳,Unix 时间戳,查询时间范围最大为90天(查询维度仅支持天,例如查询5月1日应该传startTime:"2023-05-01 00:00:00","endTime":"2023-05-01 23:59:59"的时间戳,查5月1日和5月2日的应该传startTime:"2023-05-01 00:00:00","endTime":"2023-05-02 23:59:59"的时间戳)
6241
6241
  :type EndTimeStamp: int
6242
6242
  :param _SdkAppIdList: 应用ID列表,多个ID时,返回值为多个ID使用总和
6243
6243
  :type SdkAppIdList: list of int
@@ -8089,7 +8089,7 @@ class Endpoint(AbstractModel):
8089
8089
  :param _ChildInstanceId: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的ID
8090
8090
  注意:此字段可能返回 null,表示取不到有效值。
8091
8091
  :type ChildInstanceId: str
8092
- :param _ChildInstanceType: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的类型、比如:只读实例传ro、读写实例传rw
8092
+ :param _ChildInstanceType: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的类型、例如:只读实例传ro、读写实例传rw
8093
8093
  注意:此字段可能返回 null,表示取不到有效值。
8094
8094
  :type ChildInstanceType: str
8095
8095
  """
@@ -8454,7 +8454,7 @@ class EndpointItem(AbstractModel):
8454
8454
  :param _ChildInstanceId: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的ID
8455
8455
  注意:此字段可能返回 null,表示取不到有效值。
8456
8456
  :type ChildInstanceId: str
8457
- :param _ChildInstanceType: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的类型、比如:只读实例传ro、读写实例传rw
8457
+ :param _ChildInstanceType: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的类型、例如:只读实例传ro、读写实例传rw
8458
8458
  注意:此字段可能返回 null,表示取不到有效值。
8459
8459
  :type ChildInstanceType: str
8460
8460
  """
@@ -7049,6 +7049,284 @@ class CreateOrganizationAuthUrlRequest(AbstractModel):
7049
7049
 
7050
7050
  """
7051
7051
 
7052
+ def __init__(self):
7053
+ r"""
7054
+ :param _Operator: 操作人信息
7055
+ :type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
7056
+ :param _AuthorizationTypes: 指定授权方式 支持多选:
7057
+ 1-上传授权书方式
7058
+ 2- 法人授权方式
7059
+ 3- 法人身份认证方式
7060
+ :type AuthorizationTypes: list of int non-negative
7061
+ :param _OrganizationName: 企业名称
7062
+ EndPointType=“H5”或者"SHORT_H5"时,该参数必填
7063
+
7064
+ :type OrganizationName: str
7065
+ :param _UniformSocialCreditCode: 企业统一社会信用代码
7066
+ :type UniformSocialCreditCode: str
7067
+ :param _LegalName: 法人姓名
7068
+ :type LegalName: str
7069
+ :param _AutoJumpUrl: 认证完成跳转链接
7070
+ :type AutoJumpUrl: str
7071
+ :param _OrganizationAddress: 营业执照企业地址
7072
+ 示例:xx省xx市xx县/区xx街道
7073
+ :type OrganizationAddress: str
7074
+ :param _AdminName: 认证人姓名
7075
+ :type AdminName: str
7076
+ :param _AdminMobile: 认证人手机号
7077
+ :type AdminMobile: str
7078
+ :param _AdminIdCardNumber: 认证人身份证号
7079
+ :type AdminIdCardNumber: str
7080
+ :param _AdminIdCardType: 认证人证件类型
7081
+ 支持以下类型
7082
+ <ul><li>ID_CARD : 居民身份证 (默认值)</li>
7083
+ <li>HONGKONG_AND_MACAO : 港澳居民来往内地通行证</li>
7084
+ <li>HONGKONG_MACAO_AND_TAIWAN : 港澳台居民居住证(格式同居民身份证)</li></ul>
7085
+
7086
+ :type AdminIdCardType: str
7087
+ :param _UniformSocialCreditCodeSame: 营业执照的社会信用代码保持一致
7088
+ false 关闭-默认
7089
+ true 开启
7090
+ :type UniformSocialCreditCodeSame: bool
7091
+ :param _LegalNameSame: 法人姓名保持一致
7092
+ false 关闭-默认
7093
+ true 开启
7094
+ :type LegalNameSame: bool
7095
+ :param _AdminNameSame: 认证人姓名一致
7096
+ false 关闭-默认
7097
+ true 开启
7098
+ 注意:
7099
+ 开启后在认证过程前会校验拦截
7100
+ :type AdminNameSame: bool
7101
+ :param _AdminIdCardNumberSame: 认证人居民身份证件号一致
7102
+ false 关闭-默认
7103
+ true 开启
7104
+ 注意:
7105
+ 开启后在认证过程前会校验拦截
7106
+ :type AdminIdCardNumberSame: bool
7107
+ :param _AdminMobileSame: 认证人手机号一致
7108
+ false 关闭-默认
7109
+ true 开启
7110
+ 注意:
7111
+ 开启后在认证过程前会校验拦截
7112
+ :type AdminMobileSame: bool
7113
+ :param _OrganizationNameSame: 企业名称保持一致
7114
+ false 关闭-默认
7115
+ true 开启
7116
+ :type OrganizationNameSame: bool
7117
+ :param _BusinessLicense: 营业执照正面照(PNG或JPG) base64格式, 大小不超过5M
7118
+ :type BusinessLicense: str
7119
+ :param _Endpoint: 跳转链接类型:
7120
+ "PC"-PC端认证链接
7121
+ "APP"-全屏或半屏跳转小程序链接
7122
+ “H5”-H5页面认证链接 "SHORT_H5"- H5认证短链
7123
+ "SHORT_URL"- 跳转小程序短链
7124
+ :type Endpoint: str
7125
+ """
7126
+ self._Operator = None
7127
+ self._AuthorizationTypes = None
7128
+ self._OrganizationName = None
7129
+ self._UniformSocialCreditCode = None
7130
+ self._LegalName = None
7131
+ self._AutoJumpUrl = None
7132
+ self._OrganizationAddress = None
7133
+ self._AdminName = None
7134
+ self._AdminMobile = None
7135
+ self._AdminIdCardNumber = None
7136
+ self._AdminIdCardType = None
7137
+ self._UniformSocialCreditCodeSame = None
7138
+ self._LegalNameSame = None
7139
+ self._AdminNameSame = None
7140
+ self._AdminIdCardNumberSame = None
7141
+ self._AdminMobileSame = None
7142
+ self._OrganizationNameSame = None
7143
+ self._BusinessLicense = None
7144
+ self._Endpoint = None
7145
+
7146
+ @property
7147
+ def Operator(self):
7148
+ return self._Operator
7149
+
7150
+ @Operator.setter
7151
+ def Operator(self, Operator):
7152
+ self._Operator = Operator
7153
+
7154
+ @property
7155
+ def AuthorizationTypes(self):
7156
+ return self._AuthorizationTypes
7157
+
7158
+ @AuthorizationTypes.setter
7159
+ def AuthorizationTypes(self, AuthorizationTypes):
7160
+ self._AuthorizationTypes = AuthorizationTypes
7161
+
7162
+ @property
7163
+ def OrganizationName(self):
7164
+ return self._OrganizationName
7165
+
7166
+ @OrganizationName.setter
7167
+ def OrganizationName(self, OrganizationName):
7168
+ self._OrganizationName = OrganizationName
7169
+
7170
+ @property
7171
+ def UniformSocialCreditCode(self):
7172
+ return self._UniformSocialCreditCode
7173
+
7174
+ @UniformSocialCreditCode.setter
7175
+ def UniformSocialCreditCode(self, UniformSocialCreditCode):
7176
+ self._UniformSocialCreditCode = UniformSocialCreditCode
7177
+
7178
+ @property
7179
+ def LegalName(self):
7180
+ return self._LegalName
7181
+
7182
+ @LegalName.setter
7183
+ def LegalName(self, LegalName):
7184
+ self._LegalName = LegalName
7185
+
7186
+ @property
7187
+ def AutoJumpUrl(self):
7188
+ return self._AutoJumpUrl
7189
+
7190
+ @AutoJumpUrl.setter
7191
+ def AutoJumpUrl(self, AutoJumpUrl):
7192
+ self._AutoJumpUrl = AutoJumpUrl
7193
+
7194
+ @property
7195
+ def OrganizationAddress(self):
7196
+ return self._OrganizationAddress
7197
+
7198
+ @OrganizationAddress.setter
7199
+ def OrganizationAddress(self, OrganizationAddress):
7200
+ self._OrganizationAddress = OrganizationAddress
7201
+
7202
+ @property
7203
+ def AdminName(self):
7204
+ return self._AdminName
7205
+
7206
+ @AdminName.setter
7207
+ def AdminName(self, AdminName):
7208
+ self._AdminName = AdminName
7209
+
7210
+ @property
7211
+ def AdminMobile(self):
7212
+ return self._AdminMobile
7213
+
7214
+ @AdminMobile.setter
7215
+ def AdminMobile(self, AdminMobile):
7216
+ self._AdminMobile = AdminMobile
7217
+
7218
+ @property
7219
+ def AdminIdCardNumber(self):
7220
+ return self._AdminIdCardNumber
7221
+
7222
+ @AdminIdCardNumber.setter
7223
+ def AdminIdCardNumber(self, AdminIdCardNumber):
7224
+ self._AdminIdCardNumber = AdminIdCardNumber
7225
+
7226
+ @property
7227
+ def AdminIdCardType(self):
7228
+ return self._AdminIdCardType
7229
+
7230
+ @AdminIdCardType.setter
7231
+ def AdminIdCardType(self, AdminIdCardType):
7232
+ self._AdminIdCardType = AdminIdCardType
7233
+
7234
+ @property
7235
+ def UniformSocialCreditCodeSame(self):
7236
+ return self._UniformSocialCreditCodeSame
7237
+
7238
+ @UniformSocialCreditCodeSame.setter
7239
+ def UniformSocialCreditCodeSame(self, UniformSocialCreditCodeSame):
7240
+ self._UniformSocialCreditCodeSame = UniformSocialCreditCodeSame
7241
+
7242
+ @property
7243
+ def LegalNameSame(self):
7244
+ return self._LegalNameSame
7245
+
7246
+ @LegalNameSame.setter
7247
+ def LegalNameSame(self, LegalNameSame):
7248
+ self._LegalNameSame = LegalNameSame
7249
+
7250
+ @property
7251
+ def AdminNameSame(self):
7252
+ return self._AdminNameSame
7253
+
7254
+ @AdminNameSame.setter
7255
+ def AdminNameSame(self, AdminNameSame):
7256
+ self._AdminNameSame = AdminNameSame
7257
+
7258
+ @property
7259
+ def AdminIdCardNumberSame(self):
7260
+ return self._AdminIdCardNumberSame
7261
+
7262
+ @AdminIdCardNumberSame.setter
7263
+ def AdminIdCardNumberSame(self, AdminIdCardNumberSame):
7264
+ self._AdminIdCardNumberSame = AdminIdCardNumberSame
7265
+
7266
+ @property
7267
+ def AdminMobileSame(self):
7268
+ return self._AdminMobileSame
7269
+
7270
+ @AdminMobileSame.setter
7271
+ def AdminMobileSame(self, AdminMobileSame):
7272
+ self._AdminMobileSame = AdminMobileSame
7273
+
7274
+ @property
7275
+ def OrganizationNameSame(self):
7276
+ return self._OrganizationNameSame
7277
+
7278
+ @OrganizationNameSame.setter
7279
+ def OrganizationNameSame(self, OrganizationNameSame):
7280
+ self._OrganizationNameSame = OrganizationNameSame
7281
+
7282
+ @property
7283
+ def BusinessLicense(self):
7284
+ return self._BusinessLicense
7285
+
7286
+ @BusinessLicense.setter
7287
+ def BusinessLicense(self, BusinessLicense):
7288
+ self._BusinessLicense = BusinessLicense
7289
+
7290
+ @property
7291
+ def Endpoint(self):
7292
+ return self._Endpoint
7293
+
7294
+ @Endpoint.setter
7295
+ def Endpoint(self, Endpoint):
7296
+ self._Endpoint = Endpoint
7297
+
7298
+
7299
+ def _deserialize(self, params):
7300
+ if params.get("Operator") is not None:
7301
+ self._Operator = UserInfo()
7302
+ self._Operator._deserialize(params.get("Operator"))
7303
+ self._AuthorizationTypes = params.get("AuthorizationTypes")
7304
+ self._OrganizationName = params.get("OrganizationName")
7305
+ self._UniformSocialCreditCode = params.get("UniformSocialCreditCode")
7306
+ self._LegalName = params.get("LegalName")
7307
+ self._AutoJumpUrl = params.get("AutoJumpUrl")
7308
+ self._OrganizationAddress = params.get("OrganizationAddress")
7309
+ self._AdminName = params.get("AdminName")
7310
+ self._AdminMobile = params.get("AdminMobile")
7311
+ self._AdminIdCardNumber = params.get("AdminIdCardNumber")
7312
+ self._AdminIdCardType = params.get("AdminIdCardType")
7313
+ self._UniformSocialCreditCodeSame = params.get("UniformSocialCreditCodeSame")
7314
+ self._LegalNameSame = params.get("LegalNameSame")
7315
+ self._AdminNameSame = params.get("AdminNameSame")
7316
+ self._AdminIdCardNumberSame = params.get("AdminIdCardNumberSame")
7317
+ self._AdminMobileSame = params.get("AdminMobileSame")
7318
+ self._OrganizationNameSame = params.get("OrganizationNameSame")
7319
+ self._BusinessLicense = params.get("BusinessLicense")
7320
+ self._Endpoint = params.get("Endpoint")
7321
+ memeber_set = set(params.keys())
7322
+ for name, value in vars(self).items():
7323
+ property_name = name[1:]
7324
+ if property_name in memeber_set:
7325
+ memeber_set.remove(property_name)
7326
+ if len(memeber_set) > 0:
7327
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7328
+
7329
+
7052
7330
 
7053
7331
  class CreateOrganizationAuthUrlResponse(AbstractModel):
7054
7332
  """CreateOrganizationAuthUrl返回参数结构体
@@ -7057,11 +7335,37 @@ class CreateOrganizationAuthUrlResponse(AbstractModel):
7057
7335
 
7058
7336
  def __init__(self):
7059
7337
  r"""
7338
+ :param _AuthUrl: “H5”-H5长连接
7339
+ "SHORT_H5"- H5短链
7340
+ "APP"-小程序
7341
+ "PC"-PC浏览器
7342
+ 链接有效期统一30天
7343
+ :type AuthUrl: str
7344
+ :param _ExpiredTime: 链接过期时间戳
7345
+ :type ExpiredTime: int
7060
7346
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7061
7347
  :type RequestId: str
7062
7348
  """
7349
+ self._AuthUrl = None
7350
+ self._ExpiredTime = None
7063
7351
  self._RequestId = None
7064
7352
 
7353
+ @property
7354
+ def AuthUrl(self):
7355
+ return self._AuthUrl
7356
+
7357
+ @AuthUrl.setter
7358
+ def AuthUrl(self, AuthUrl):
7359
+ self._AuthUrl = AuthUrl
7360
+
7361
+ @property
7362
+ def ExpiredTime(self):
7363
+ return self._ExpiredTime
7364
+
7365
+ @ExpiredTime.setter
7366
+ def ExpiredTime(self, ExpiredTime):
7367
+ self._ExpiredTime = ExpiredTime
7368
+
7065
7369
  @property
7066
7370
  def RequestId(self):
7067
7371
  return self._RequestId
@@ -7072,6 +7376,8 @@ class CreateOrganizationAuthUrlResponse(AbstractModel):
7072
7376
 
7073
7377
 
7074
7378
  def _deserialize(self, params):
7379
+ self._AuthUrl = params.get("AuthUrl")
7380
+ self._ExpiredTime = params.get("ExpiredTime")
7075
7381
  self._RequestId = params.get("RequestId")
7076
7382
 
7077
7383