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

@@ -7050,9 +7050,12 @@ Supported image size: The downloaded image after Base64 encoding can be up to 7
7050
7050
  We recommend that you store the image in Tencent Cloud for higher download speed and stability.
7051
7051
  The download speed and stability of non-Tencent Cloud URLs may be low.
7052
7052
  :type ImageUrl: str
7053
+ :param _CropPortrait: Whether to return the profile photo, default is false.
7054
+ :type CropPortrait: bool
7053
7055
  """
7054
7056
  self._ImageBase64 = None
7055
7057
  self._ImageUrl = None
7058
+ self._CropPortrait = None
7056
7059
 
7057
7060
  @property
7058
7061
  def ImageBase64(self):
@@ -7083,10 +7086,22 @@ The download speed and stability of non-Tencent Cloud URLs may be low.
7083
7086
  def ImageUrl(self, ImageUrl):
7084
7087
  self._ImageUrl = ImageUrl
7085
7088
 
7089
+ @property
7090
+ def CropPortrait(self):
7091
+ """Whether to return the profile photo, default is false.
7092
+ :rtype: bool
7093
+ """
7094
+ return self._CropPortrait
7095
+
7096
+ @CropPortrait.setter
7097
+ def CropPortrait(self, CropPortrait):
7098
+ self._CropPortrait = CropPortrait
7099
+
7086
7100
 
7087
7101
  def _deserialize(self, params):
7088
7102
  self._ImageBase64 = params.get("ImageBase64")
7089
7103
  self._ImageUrl = params.get("ImageUrl")
7104
+ self._CropPortrait = params.get("CropPortrait")
7090
7105
  memeber_set = set(params.keys())
7091
7106
  for name, value in vars(self).items():
7092
7107
  property_name = name[1:]
@@ -7120,7 +7135,11 @@ class PermitOCRResponse(AbstractModel):
7120
7135
  :type IssueAddress: str
7121
7136
  :param _Birthday: Date of birth
7122
7137
  :type Birthday: str
7123
- :param _RequestId: The unique request ID, which is returned for each request. RequestId is required for locating a problem.
7138
+ :param _PortraitImage: Base64 of profile picture
7139
+ :type PortraitImage: str
7140
+ :param _Type: return type
7141
+ :type Type: str
7142
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
7124
7143
  :type RequestId: str
7125
7144
  """
7126
7145
  self._Name = None
@@ -7131,6 +7150,8 @@ class PermitOCRResponse(AbstractModel):
7131
7150
  self._IssueAuthority = None
7132
7151
  self._IssueAddress = None
7133
7152
  self._Birthday = None
7153
+ self._PortraitImage = None
7154
+ self._Type = None
7134
7155
  self._RequestId = None
7135
7156
 
7136
7157
  @property
@@ -7221,9 +7242,31 @@ class PermitOCRResponse(AbstractModel):
7221
7242
  def Birthday(self, Birthday):
7222
7243
  self._Birthday = Birthday
7223
7244
 
7245
+ @property
7246
+ def PortraitImage(self):
7247
+ """Base64 of profile picture
7248
+ :rtype: str
7249
+ """
7250
+ return self._PortraitImage
7251
+
7252
+ @PortraitImage.setter
7253
+ def PortraitImage(self, PortraitImage):
7254
+ self._PortraitImage = PortraitImage
7255
+
7256
+ @property
7257
+ def Type(self):
7258
+ """return type
7259
+ :rtype: str
7260
+ """
7261
+ return self._Type
7262
+
7263
+ @Type.setter
7264
+ def Type(self, Type):
7265
+ self._Type = Type
7266
+
7224
7267
  @property
7225
7268
  def RequestId(self):
7226
- """The unique request ID, which is returned for each request. RequestId is required for locating a problem.
7269
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
7227
7270
  :rtype: str
7228
7271
  """
7229
7272
  return self._RequestId
@@ -7242,6 +7285,8 @@ class PermitOCRResponse(AbstractModel):
7242
7285
  self._IssueAuthority = params.get("IssueAuthority")
7243
7286
  self._IssueAddress = params.get("IssueAddress")
7244
7287
  self._Birthday = params.get("Birthday")
7288
+ self._PortraitImage = params.get("PortraitImage")
7289
+ self._Type = params.get("Type")
7245
7290
  self._RequestId = params.get("RequestId")
7246
7291
 
7247
7292
 
File without changes
File without changes
@@ -0,0 +1,36 @@
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
+ # The block does not exist.
18
+ FAILEDOPERATION_FABRICBLOCKNOEXIST = 'FailedOperation.FabricBlockNoExist'
19
+
20
+ # Contract call failed.
21
+ FAILEDOPERATION_FABRICCHAINCODEINVOKEFAILED = 'FailedOperation.FabricChaincodeInvokeFailed'
22
+
23
+ # The contract does not exist.
24
+ FAILEDOPERATION_FABRICCHAINCODENOEXIST = 'FailedOperation.FabricChaincodeNoExist'
25
+
26
+ # Contract query failed.
27
+ FAILEDOPERATION_FABRICCHAINCODEQUERYFAILED = 'FailedOperation.FabricChaincodeQueryFailed'
28
+
29
+ # The transaction does not exist.
30
+ FAILEDOPERATION_FABRICTRANSACTIONNOEXIST = 'FailedOperation.FabricTransactionNoExist'
31
+
32
+ # User has no access permission.
33
+ FAILEDOPERATION_INVALIDAUTH = 'FailedOperation.InvalidAuth'
34
+
35
+ # Internal error. please try again later or contact technical personnel.
36
+ INTERNALERROR_SERVERERROR = 'InternalError.ServerError'