tencentcloud-sdk-python 3.0.1264__py2.py3-none-any.whl → 3.0.1265__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.
@@ -12930,12 +12930,13 @@ class CreateReleaseFlowRequest(AbstractModel):
12930
12930
  :param _Agent: 代理企业和员工的信息。
12931
12931
  在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
12932
12932
  :type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
12933
- :param _ReleasedApprovers: 替换解除协议的签署人, 如不指定替换签署人, 则使用原流程的签署人。 <br/>
12933
+ :param _ReleasedApprovers: 替换解除协议的签署人, 如不指定新的签署人,将继续使用原流程的签署人作为本解除协议的参与方。 <br/>
12934
12934
  如需更换原合同中的企业端签署人,可通过指定该签署人的RecipientId编号更换此企业端签署人。(可通过接口<a href="https://qian.tencent.com/developers/companyApis/queryFlows/DescribeFlowInfo/">DescribeFlowInfo</a>查询签署人的RecipientId编号)<br/>
12935
12935
 
12936
- 注意:
12937
- `只能更换自己企业的签署人, 不支持更换个人类型。`
12938
- `可以不指定替换签署人, 使用原流程的签署人 `
12936
+ 注:
12937
+ 1. 支持更换企业的签署人,不支持更换个人类型的签署人。
12938
+ 2. 己方企业支持自动签署,他方企业不支持自动签署。
12939
+ 3. <b>仅将需要替换的签署人添加至此列表</b>,无需替换的签署人无需添加进来。
12939
12940
  :type ReleasedApprovers: list of ReleasedApprover
12940
12941
  :param _Deadline: 合同流程的签署截止时间,格式为Unix标准时间戳(秒),如果未设置签署截止时间,则默认为合同流程创建后的7天时截止。
12941
12942
  如果在签署截止时间前未完成签署,则合同状态会变为已过期,导致合同作废。
@@ -13003,12 +13004,13 @@ class CreateReleaseFlowRequest(AbstractModel):
13003
13004
 
13004
13005
  @property
13005
13006
  def ReleasedApprovers(self):
13006
- """替换解除协议的签署人, 如不指定替换签署人, 则使用原流程的签署人。 <br/>
13007
+ """替换解除协议的签署人, 如不指定新的签署人,将继续使用原流程的签署人作为本解除协议的参与方。 <br/>
13007
13008
  如需更换原合同中的企业端签署人,可通过指定该签署人的RecipientId编号更换此企业端签署人。(可通过接口<a href="https://qian.tencent.com/developers/companyApis/queryFlows/DescribeFlowInfo/">DescribeFlowInfo</a>查询签署人的RecipientId编号)<br/>
13008
13009
 
13009
- 注意:
13010
- `只能更换自己企业的签署人, 不支持更换个人类型。`
13011
- `可以不指定替换签署人, 使用原流程的签署人 `
13010
+ 注:
13011
+ 1. 支持更换企业的签署人,不支持更换个人类型的签署人。
13012
+ 2. 己方企业支持自动签署,他方企业不支持自动签署。
13013
+ 3. <b>仅将需要替换的签署人添加至此列表</b>,无需替换的签署人无需添加进来。
13012
13014
  :rtype: list of ReleasedApprover
13013
13015
  """
13014
13016
  return self._ReleasedApprovers
@@ -6560,14 +6560,13 @@ class ChannelCreateReleaseFlowRequest(AbstractModel):
6560
6560
  :type NeedRelievedFlowId: str
6561
6561
  :param _ReliveInfo: 解除协议内容, 包括解除理由等信息。
6562
6562
  :type ReliveInfo: :class:`tencentcloud.essbasic.v20210526.models.RelieveInfo`
6563
- :param _ReleasedApprovers: 指定解除协议的签署人,如不指定,则默认使用原流程的签署人。 <br/>
6563
+ :param _ReleasedApprovers: 替换解除协议的签署人, 如不指定新的签署人,将继续使用原流程的签署人作为本解除协议的参与方。 <br/>
6564
6564
  如需更换原合同中的企业端签署人,可通过指定该签署人在原合同列表中的ApproverNumber编号来更换此企业端签署人。(可通过接口<a href="https://qian.tencent.com/developers/partnerApis/flows/DescribeFlowDetailInfo/">DescribeFlowDetailInfo</a>查询签署人的ApproverNumber编号,默认从0开始,顺序递增)<br/>
6565
6565
 
6566
- 注意:
6567
- <ul>
6568
- <li>只能更换自己企业的签署人,不支持更换个人类型签署人</li>
6569
- <li>可以不指定替换签署人,使用原流程的签署人</li>
6570
- </ul>
6566
+ 注:
6567
+ 1. 支持更换企业的签署人,不支持更换个人类型的签署人。
6568
+ 2. 己方企业支持自动签署,他方企业不支持自动签署。
6569
+ 3. <b>仅将需要替换的签署人添加至此列表</b>,无需替换的签署人无需添加进来。
6571
6570
  :type ReleasedApprovers: list of ReleasedApprover
6572
6571
  :param _CallbackUrl: 签署完回调url,最大长度1000个字符
6573
6572
  :type CallbackUrl: str
@@ -6641,14 +6640,13 @@ class ChannelCreateReleaseFlowRequest(AbstractModel):
6641
6640
 
6642
6641
  @property
6643
6642
  def ReleasedApprovers(self):
6644
- """指定解除协议的签署人,如不指定,则默认使用原流程的签署人。 <br/>
6643
+ """替换解除协议的签署人, 如不指定新的签署人,将继续使用原流程的签署人作为本解除协议的参与方。 <br/>
6645
6644
  如需更换原合同中的企业端签署人,可通过指定该签署人在原合同列表中的ApproverNumber编号来更换此企业端签署人。(可通过接口<a href="https://qian.tencent.com/developers/partnerApis/flows/DescribeFlowDetailInfo/">DescribeFlowDetailInfo</a>查询签署人的ApproverNumber编号,默认从0开始,顺序递增)<br/>
6646
6645
 
6647
- 注意:
6648
- <ul>
6649
- <li>只能更换自己企业的签署人,不支持更换个人类型签署人</li>
6650
- <li>可以不指定替换签署人,使用原流程的签署人</li>
6651
- </ul>
6646
+ 注:
6647
+ 1. 支持更换企业的签署人,不支持更换个人类型的签署人。
6648
+ 2. 己方企业支持自动签署,他方企业不支持自动签署。
6649
+ 3. <b>仅将需要替换的签署人添加至此列表</b>,无需替换的签署人无需添加进来。
6652
6650
  :rtype: list of ReleasedApprover
6653
6651
  """
6654
6652
  return self._ReleasedApprovers
File without changes
File without changes
@@ -0,0 +1,24 @@
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
+ FAILEDOPERATION = 'FailedOperation'
19
+
20
+ # 内部错误。
21
+ INTERNALERROR = 'InternalError'
22
+
23
+ # 参数错误。
24
+ INVALIDPARAMETER = 'InvalidParameter'
@@ -0,0 +1,49 @@
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.ig.v20210518 import models
21
+
22
+
23
+ class IgClient(AbstractClient):
24
+ _apiVersion = '2021-05-18'
25
+ _endpoint = 'ig.tencentcloudapi.com'
26
+ _service = 'ig'
27
+
28
+
29
+ def DescribeIgOrderList(self, request):
30
+ """查询智能导诊订单列表
31
+
32
+ :param request: Request instance for DescribeIgOrderList.
33
+ :type request: :class:`tencentcloud.ig.v20210518.models.DescribeIgOrderListRequest`
34
+ :rtype: :class:`tencentcloud.ig.v20210518.models.DescribeIgOrderListResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("DescribeIgOrderList", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.DescribeIgOrderListResponse()
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))
@@ -0,0 +1,142 @@
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 DescribeIgOrderListRequest(AbstractModel):
22
+ """DescribeIgOrderList请求参数结构体
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _PageNumber: 页码
29
+ :type PageNumber: int
30
+ :param _PageSize: 每页数目
31
+ :type PageSize: int
32
+ :param _ProductType: 产品类型
33
+ :type ProductType: str
34
+ :param _OrderStatus: 订单状态
35
+ :type OrderStatus: int
36
+ :param _KeyWord: 搜索关键字
37
+ :type KeyWord: str
38
+ """
39
+ self._PageNumber = None
40
+ self._PageSize = None
41
+ self._ProductType = None
42
+ self._OrderStatus = None
43
+ self._KeyWord = None
44
+
45
+ @property
46
+ def PageNumber(self):
47
+ """页码
48
+ :rtype: int
49
+ """
50
+ return self._PageNumber
51
+
52
+ @PageNumber.setter
53
+ def PageNumber(self, PageNumber):
54
+ self._PageNumber = PageNumber
55
+
56
+ @property
57
+ def PageSize(self):
58
+ """每页数目
59
+ :rtype: int
60
+ """
61
+ return self._PageSize
62
+
63
+ @PageSize.setter
64
+ def PageSize(self, PageSize):
65
+ self._PageSize = PageSize
66
+
67
+ @property
68
+ def ProductType(self):
69
+ """产品类型
70
+ :rtype: str
71
+ """
72
+ return self._ProductType
73
+
74
+ @ProductType.setter
75
+ def ProductType(self, ProductType):
76
+ self._ProductType = ProductType
77
+
78
+ @property
79
+ def OrderStatus(self):
80
+ """订单状态
81
+ :rtype: int
82
+ """
83
+ return self._OrderStatus
84
+
85
+ @OrderStatus.setter
86
+ def OrderStatus(self, OrderStatus):
87
+ self._OrderStatus = OrderStatus
88
+
89
+ @property
90
+ def KeyWord(self):
91
+ """搜索关键字
92
+ :rtype: str
93
+ """
94
+ return self._KeyWord
95
+
96
+ @KeyWord.setter
97
+ def KeyWord(self, KeyWord):
98
+ self._KeyWord = KeyWord
99
+
100
+
101
+ def _deserialize(self, params):
102
+ self._PageNumber = params.get("PageNumber")
103
+ self._PageSize = params.get("PageSize")
104
+ self._ProductType = params.get("ProductType")
105
+ self._OrderStatus = params.get("OrderStatus")
106
+ self._KeyWord = params.get("KeyWord")
107
+ memeber_set = set(params.keys())
108
+ for name, value in vars(self).items():
109
+ property_name = name[1:]
110
+ if property_name in memeber_set:
111
+ memeber_set.remove(property_name)
112
+ if len(memeber_set) > 0:
113
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
114
+
115
+
116
+
117
+ class DescribeIgOrderListResponse(AbstractModel):
118
+ """DescribeIgOrderList返回参数结构体
119
+
120
+ """
121
+
122
+ def __init__(self):
123
+ r"""
124
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
125
+ :type RequestId: str
126
+ """
127
+ self._RequestId = None
128
+
129
+ @property
130
+ def RequestId(self):
131
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
132
+ :rtype: str
133
+ """
134
+ return self._RequestId
135
+
136
+ @RequestId.setter
137
+ def RequestId(self, RequestId):
138
+ self._RequestId = RequestId
139
+
140
+
141
+ def _deserialize(self, params):
142
+ self._RequestId = params.get("RequestId")
@@ -56,6 +56,9 @@ LIMITEXCEEDED = 'LimitExceeded'
56
56
  # 文件内容太大。
57
57
  LIMITEXCEEDED_TOOLARGEFILEERROR = 'LimitExceeded.TooLargeFileError'
58
58
 
59
+ # 缺少参数错误。
60
+ MISSINGPARAMETER = 'MissingParameter'
61
+
59
62
  # 请求的次数超过了频率限制。
60
63
  REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
61
64
 
@@ -6548,7 +6548,7 @@ class DescribeStorageCredentialRequest(AbstractModel):
6548
6548
  :type BotBizId: str
6549
6549
  :param _FileType: 文件类型,正常的文件名类型后缀,例如 xlsx、pdf、 docx、png 等
6550
6550
  :type FileType: str
6551
- :param _IsPublic: IsPublic为空用于上传文件时选择场景,当上传为图片文件是IsPublic为true,上传文档文件时场景IsPublic为false
6551
+ :param _IsPublic: IsPublic用于上传文件时选择场景,当上传为对话端文件时IsPublic为true,上传文档库文件时场景IsPublic为false
6552
6552
  :type IsPublic: bool
6553
6553
  :param _TypeKey: 存储类型: offline:离线文件,realtime:实时文件;为空默认为offline
6554
6554
  :type TypeKey: str
@@ -6582,7 +6582,7 @@ class DescribeStorageCredentialRequest(AbstractModel):
6582
6582
 
6583
6583
  @property
6584
6584
  def IsPublic(self):
6585
- """IsPublic为空用于上传文件时选择场景,当上传为图片文件是IsPublic为true,上传文档文件时场景IsPublic为false
6585
+ """IsPublic用于上传文件时选择场景,当上传为对话端文件时IsPublic为true,上传文档库文件时场景IsPublic为false
6586
6586
  :rtype: bool
6587
6587
  """
6588
6588
  return self._IsPublic
@@ -9065,7 +9065,7 @@ class GetDocPreviewRequest(AbstractModel):
9065
9065
 
9066
9066
  def __init__(self):
9067
9067
  r"""
9068
- :param _DocBizId: 文档业务ID
9068
+ :param _DocBizId: 文档BizID
9069
9069
  :type DocBizId: str
9070
9070
  :param _BotBizId: 应用ID
9071
9071
  :type BotBizId: str
@@ -9078,7 +9078,7 @@ class GetDocPreviewRequest(AbstractModel):
9078
9078
 
9079
9079
  @property
9080
9080
  def DocBizId(self):
9081
- """文档业务ID
9081
+ """文档BizID
9082
9082
  :rtype: str
9083
9083
  """
9084
9084
  return self._DocBizId
@@ -9793,14 +9793,14 @@ class GetReconstructDocumentResultRequest(AbstractModel):
9793
9793
 
9794
9794
  def __init__(self):
9795
9795
  r"""
9796
- :param _TaskId: 任务唯一id
9796
+ :param _TaskId: 任务唯一Id。[CreateReconstructDocumentFlow](https://cloud.tencent.com/document/product/1759/107506) 返回的TaskId。
9797
9797
  :type TaskId: str
9798
9798
  """
9799
9799
  self._TaskId = None
9800
9800
 
9801
9801
  @property
9802
9802
  def TaskId(self):
9803
- """任务唯一id
9803
+ """任务唯一Id。[CreateReconstructDocumentFlow](https://cloud.tencent.com/document/product/1759/107506) 返回的TaskId。
9804
9804
  :rtype: str
9805
9805
  """
9806
9806
  return self._TaskId
@@ -9829,11 +9829,11 @@ class GetReconstructDocumentResultResponse(AbstractModel):
9829
9829
 
9830
9830
  def __init__(self):
9831
9831
  r"""
9832
- :param _Status: 任务状态: Success->执行完成;Processing->执行中;Failed->执行失败;WaitExecute->等待执行;
9832
+ :param _Status: 任务状态: Success->执行完成;Processing->执行中;Failed->执行失败;WaitExecute->等待执行。
9833
9833
  :type Status: str
9834
- :param _DocumentRecognizeResultUrl: 输入文件中嵌入的图片中文字内容的识别结果,存储在腾讯云cos的下载地址
9834
+ :param _DocumentRecognizeResultUrl: 本次文档解析的结果文件,存储在腾讯云COS的下载URL,下载URL的有效期为10分钟。
9835
9835
  :type DocumentRecognizeResultUrl: str
9836
- :param _FailedPages: 文档解析失败的页码
9836
+ :param _FailedPages: 本次文档解析失败的页码信息。
9837
9837
  :type FailedPages: list of ReconstructDocumentFailedPage
9838
9838
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9839
9839
  :type RequestId: str
@@ -9845,7 +9845,7 @@ class GetReconstructDocumentResultResponse(AbstractModel):
9845
9845
 
9846
9846
  @property
9847
9847
  def Status(self):
9848
- """任务状态: Success->执行完成;Processing->执行中;Failed->执行失败;WaitExecute->等待执行;
9848
+ """任务状态: Success->执行完成;Processing->执行中;Failed->执行失败;WaitExecute->等待执行。
9849
9849
  :rtype: str
9850
9850
  """
9851
9851
  return self._Status
@@ -9856,7 +9856,7 @@ class GetReconstructDocumentResultResponse(AbstractModel):
9856
9856
 
9857
9857
  @property
9858
9858
  def DocumentRecognizeResultUrl(self):
9859
- """输入文件中嵌入的图片中文字内容的识别结果,存储在腾讯云cos的下载地址
9859
+ """本次文档解析的结果文件,存储在腾讯云COS的下载URL,下载URL的有效期为10分钟。
9860
9860
  :rtype: str
9861
9861
  """
9862
9862
  return self._DocumentRecognizeResultUrl
@@ -9867,7 +9867,7 @@ class GetReconstructDocumentResultResponse(AbstractModel):
9867
9867
 
9868
9868
  @property
9869
9869
  def FailedPages(self):
9870
- """文档解析失败的页码
9870
+ """本次文档解析失败的页码信息。
9871
9871
  :rtype: list of ReconstructDocumentFailedPage
9872
9872
  """
9873
9873
  return self._FailedPages
@@ -10298,7 +10298,7 @@ class GroupQARequest(AbstractModel):
10298
10298
  r"""
10299
10299
  :param _BotBizId: 应用ID
10300
10300
  :type BotBizId: str
10301
- :param _QaBizIds: QA业务ID列表
10301
+ :param _QaBizIds: QaBizID列表
10302
10302
  :type QaBizIds: list of str
10303
10303
  :param _CateBizId: 分组 ID
10304
10304
  :type CateBizId: str
@@ -10320,7 +10320,7 @@ class GroupQARequest(AbstractModel):
10320
10320
 
10321
10321
  @property
10322
10322
  def QaBizIds(self):
10323
- """QA业务ID列表
10323
+ """QaBizID列表
10324
10324
  :rtype: list of str
10325
10325
  """
10326
10326
  return self._QaBizIds
@@ -14047,7 +14047,7 @@ class ListReleaseDocPreviewRequest(AbstractModel):
14047
14047
  :type PageSize: int
14048
14048
  :param _Query: 查询内容
14049
14049
  :type Query: str
14050
- :param _ReleaseBizId: 发布业务ID
14050
+ :param _ReleaseBizId: 发布单ID
14051
14051
  :type ReleaseBizId: str
14052
14052
  :param _StartTime: 开始时间
14053
14053
  :type StartTime: str
@@ -14111,7 +14111,7 @@ class ListReleaseDocPreviewRequest(AbstractModel):
14111
14111
 
14112
14112
  @property
14113
14113
  def ReleaseBizId(self):
14114
- """发布业务ID
14114
+ """发布单ID
14115
14115
  :rtype: str
14116
14116
  """
14117
14117
  return self._ReleaseBizId
@@ -12723,9 +12723,12 @@ class ImageMaskAsyncRequest(AbstractModel):
12723
12723
  :type Image: :class:`tencentcloud.mrs.v20200910.models.ImageInfo`
12724
12724
  :param _MaskFlag: 图片脱敏选项, 不传默认都脱敏
12725
12725
  :type MaskFlag: :class:`tencentcloud.mrs.v20200910.models.ImageMaskFlags`
12726
+ :param _AutoFixImageDirection: 是否自动矫正图片方向
12727
+ :type AutoFixImageDirection: bool
12726
12728
  """
12727
12729
  self._Image = None
12728
12730
  self._MaskFlag = None
12731
+ self._AutoFixImageDirection = None
12729
12732
 
12730
12733
  @property
12731
12734
  def Image(self):
@@ -12749,6 +12752,17 @@ class ImageMaskAsyncRequest(AbstractModel):
12749
12752
  def MaskFlag(self, MaskFlag):
12750
12753
  self._MaskFlag = MaskFlag
12751
12754
 
12755
+ @property
12756
+ def AutoFixImageDirection(self):
12757
+ """是否自动矫正图片方向
12758
+ :rtype: bool
12759
+ """
12760
+ return self._AutoFixImageDirection
12761
+
12762
+ @AutoFixImageDirection.setter
12763
+ def AutoFixImageDirection(self, AutoFixImageDirection):
12764
+ self._AutoFixImageDirection = AutoFixImageDirection
12765
+
12752
12766
 
12753
12767
  def _deserialize(self, params):
12754
12768
  if params.get("Image") is not None:
@@ -12757,6 +12771,7 @@ class ImageMaskAsyncRequest(AbstractModel):
12757
12771
  if params.get("MaskFlag") is not None:
12758
12772
  self._MaskFlag = ImageMaskFlags()
12759
12773
  self._MaskFlag._deserialize(params.get("MaskFlag"))
12774
+ self._AutoFixImageDirection = params.get("AutoFixImageDirection")
12760
12775
  memeber_set = set(params.keys())
12761
12776
  for name, value in vars(self).items():
12762
12777
  property_name = name[1:]
@@ -12903,9 +12918,12 @@ class ImageMaskRequest(AbstractModel):
12903
12918
  :type Image: :class:`tencentcloud.mrs.v20200910.models.ImageInfo`
12904
12919
  :param _MaskFlag: 图片脱敏选项, 不传默认都脱敏
12905
12920
  :type MaskFlag: :class:`tencentcloud.mrs.v20200910.models.ImageMaskFlags`
12921
+ :param _AutoFixImageDirection: 是否自动矫正图片方向
12922
+ :type AutoFixImageDirection: bool
12906
12923
  """
12907
12924
  self._Image = None
12908
12925
  self._MaskFlag = None
12926
+ self._AutoFixImageDirection = None
12909
12927
 
12910
12928
  @property
12911
12929
  def Image(self):
@@ -12929,6 +12947,17 @@ class ImageMaskRequest(AbstractModel):
12929
12947
  def MaskFlag(self, MaskFlag):
12930
12948
  self._MaskFlag = MaskFlag
12931
12949
 
12950
+ @property
12951
+ def AutoFixImageDirection(self):
12952
+ """是否自动矫正图片方向
12953
+ :rtype: bool
12954
+ """
12955
+ return self._AutoFixImageDirection
12956
+
12957
+ @AutoFixImageDirection.setter
12958
+ def AutoFixImageDirection(self, AutoFixImageDirection):
12959
+ self._AutoFixImageDirection = AutoFixImageDirection
12960
+
12932
12961
 
12933
12962
  def _deserialize(self, params):
12934
12963
  if params.get("Image") is not None:
@@ -12937,6 +12966,7 @@ class ImageMaskRequest(AbstractModel):
12937
12966
  if params.get("MaskFlag") is not None:
12938
12967
  self._MaskFlag = ImageMaskFlags()
12939
12968
  self._MaskFlag._deserialize(params.get("MaskFlag"))
12969
+ self._AutoFixImageDirection = params.get("AutoFixImageDirection")
12940
12970
  memeber_set = set(params.keys())
12941
12971
  for name, value in vars(self).items():
12942
12972
  property_name = name[1:]
@@ -966,7 +966,7 @@ class SentenceInfo(AbstractModel):
966
966
  :type PronFluency: float
967
967
  :param _PronCompletion: 发音完整度,取值范围[0, 1],当为词模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义
968
968
  :type PronCompletion: float
969
- :param _SuggestedScore: 建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(PronAccuracyfloat)* 完整度(PronCompletionfloat)*(2 - 完整度(PronCompletionfloat)),如若评分策略不符合请参考Words数组中的详细分数自定义评分逻辑。
969
+ :param _SuggestedScore: 建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(PronAccuracyfloat)× 完整度(PronCompletionfloat)×(2 - 完整度(PronCompletionfloat)),如若评分策略不符合请参考Words数组中的详细分数自定义评分逻辑。
970
970
  :type SuggestedScore: float
971
971
  :param _RefTextId: 匹配候选文本的序号,在句子多分支、情景对 话、段落模式下表示匹配到的文本序号
972
972
  注意:此字段可能返回 null,表示取不到有效值。
@@ -1045,7 +1045,7 @@ class SentenceInfo(AbstractModel):
1045
1045
 
1046
1046
  @property
1047
1047
  def SuggestedScore(self):
1048
- """建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(PronAccuracyfloat)* 完整度(PronCompletionfloat)*(2 - 完整度(PronCompletionfloat)),如若评分策略不符合请参考Words数组中的详细分数自定义评分逻辑。
1048
+ """建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(PronAccuracyfloat)× 完整度(PronCompletionfloat)×(2 - 完整度(PronCompletionfloat)),如若评分策略不符合请参考Words数组中的详细分数自定义评分逻辑。
1049
1049
  :rtype: float
1050
1050
  """
1051
1051
  return self._SuggestedScore
@@ -246,10 +246,8 @@ class Command(AbstractModel):
246
246
  :param _DefaultParameters: 自定义参数的默认取值。
247
247
  :type DefaultParameters: str
248
248
  :param _DefaultParameterConfs: 自定义参数的默认取值。
249
- 注意:此字段可能返回 null,表示取不到有效值。
250
249
  :type DefaultParameterConfs: list of DefaultParameterConf
251
250
  :param _Scenes: 命令关联的场景
252
- 注意:此字段可能返回 null,表示取不到有效值。
253
251
  :type Scenes: list of str
254
252
  :param _FormattedDescription: 命令的结构化描述。公共命令有值,用户命令为空字符串。
255
253
  :type FormattedDescription: str
@@ -408,7 +406,6 @@ class Command(AbstractModel):
408
406
  @property
409
407
  def DefaultParameterConfs(self):
410
408
  """自定义参数的默认取值。
411
- 注意:此字段可能返回 null,表示取不到有效值。
412
409
  :rtype: list of DefaultParameterConf
413
410
  """
414
411
  return self._DefaultParameterConfs
@@ -420,7 +417,6 @@ class Command(AbstractModel):
420
417
  @property
421
418
  def Scenes(self):
422
419
  """命令关联的场景
423
- 注意:此字段可能返回 null,表示取不到有效值。
424
420
  :rtype: list of str
425
421
  """
426
422
  return self._Scenes
@@ -1288,13 +1284,10 @@ class DefaultParameterConf(AbstractModel):
1288
1284
  def __init__(self):
1289
1285
  r"""
1290
1286
  :param _ParameterName: 参数名。
1291
- 注意:此字段可能返回 null,表示取不到有效值。
1292
1287
  :type ParameterName: str
1293
1288
  :param _ParameterValue: 参数默认值。
1294
- 注意:此字段可能返回 null,表示取不到有效值。
1295
1289
  :type ParameterValue: str
1296
1290
  :param _ParameterDescription: 参数描述。
1297
- 注意:此字段可能返回 null,表示取不到有效值。
1298
1291
  :type ParameterDescription: str
1299
1292
  """
1300
1293
  self._ParameterName = None
@@ -1304,7 +1297,6 @@ class DefaultParameterConf(AbstractModel):
1304
1297
  @property
1305
1298
  def ParameterName(self):
1306
1299
  """参数名。
1307
- 注意:此字段可能返回 null,表示取不到有效值。
1308
1300
  :rtype: str
1309
1301
  """
1310
1302
  return self._ParameterName
@@ -1316,7 +1308,6 @@ class DefaultParameterConf(AbstractModel):
1316
1308
  @property
1317
1309
  def ParameterValue(self):
1318
1310
  """参数默认值。
1319
- 注意:此字段可能返回 null,表示取不到有效值。
1320
1311
  :rtype: str
1321
1312
  """
1322
1313
  return self._ParameterValue
@@ -1328,7 +1319,6 @@ class DefaultParameterConf(AbstractModel):
1328
1319
  @property
1329
1320
  def ParameterDescription(self):
1330
1321
  """参数描述。
1331
- 注意:此字段可能返回 null,表示取不到有效值。
1332
1322
  :rtype: str
1333
1323
  """
1334
1324
  return self._ParameterDescription
@@ -2461,11 +2451,7 @@ class DescribeInvokersRequest(AbstractModel):
2461
2451
  r"""
2462
2452
  :param _InvokerIds: 执行器ID列表。
2463
2453
  :type InvokerIds: list of str
2464
- :param _Filters: 过滤条件:
2465
-
2466
- <li> invoker-id - String - 是否必填:否 - (过滤条件)按执行器ID过滤。
2467
- <li> command-id - String - 是否必填:否 - (过滤条件)按命令ID过滤。
2468
- <li> type - String - 是否必填:否 - (过滤条件)按执行器类型过滤。
2454
+ :param _Filters: 过滤条件:<li> invoker-id - String - 是否必填:否 - (过滤条件)按执行器ID过滤。</li> <li> command-id - String - 是否必填:否 - (过滤条件)按命令ID过滤。</li> <li> type - String - 是否必填:否 - (过滤条件)按执行器类型过滤。</li>
2469
2455
  :type Filters: list of Filter
2470
2456
  :param _Limit: 返回数量,默认为20,最大值为100。
2471
2457
  :type Limit: int
@@ -2490,11 +2476,7 @@ class DescribeInvokersRequest(AbstractModel):
2490
2476
 
2491
2477
  @property
2492
2478
  def Filters(self):
2493
- """过滤条件:
2494
-
2495
- <li> invoker-id - String - 是否必填:否 - (过滤条件)按执行器ID过滤。
2496
- <li> command-id - String - 是否必填:否 - (过滤条件)按命令ID过滤。
2497
- <li> type - String - 是否必填:否 - (过滤条件)按执行器类型过滤。
2479
+ """过滤条件:<li> invoker-id - String - 是否必填:否 - (过滤条件)按执行器ID过滤。</li> <li> command-id - String - 是否必填:否 - (过滤条件)按命令ID过滤。</li> <li> type - String - 是否必填:否 - (过滤条件)按执行器类型过滤。</li>
2498
2480
  :rtype: list of Filter
2499
2481
  """
2500
2482
  return self._Filters
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.0.1264
3
+ Version: 3.0.1265
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud