tencentcloud-sdk-python-intl-en 3.0.1098__py2.py3-none-any.whl → 3.0.1100__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +26 -2
- tencentcloud/intlpartnersmgt/v20220928/models.py +344 -16
- tencentcloud/mps/v20190612/models.py +89 -28
- tencentcloud/teo/v20220901/errorcodes.py +3 -3
- tencentcloud/teo/v20220901/models.py +418 -74
- tencentcloud/teo/v20220901/teo_client.py +69 -0
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1100.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1100.dist-info}/RECORD +11 -11
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1100.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1100.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -77,7 +77,7 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
def CreateAccount(self, request):
|
|
80
|
-
"""This API is used to create Tencent Cloud customer accounts for
|
|
80
|
+
"""This API is used to create Tencent Cloud customer accounts for distributor/second-level resellers.After the account is created, it will be automatically bound to the partner account.Note:
|
|
81
81
|
1. Create a Tencent Cloud account. The entered email address and mobile phone number need to be verified by the partner for validity.
|
|
82
82
|
2. Customers need to add personal information when logging in for the first time.
|
|
83
83
|
3. This interface needs to be applied for allowlist usage. Please contact the channel manager to initiate the application process.
|
|
@@ -333,7 +333,8 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
|
333
333
|
|
|
334
334
|
|
|
335
335
|
def ForceQN(self, request):
|
|
336
|
-
"""This API is used to set and cancel forced service suspension.
|
|
336
|
+
"""This API is used to set and cancel forced service suspension.
|
|
337
|
+
Note:Reseller need to be allowlisted to use the API, please contact your business representative to apply for allowlist.
|
|
337
338
|
|
|
338
339
|
:param request: Request instance for ForceQN.
|
|
339
340
|
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.ForceQNRequest`
|
|
@@ -562,6 +563,29 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
|
562
563
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
563
564
|
|
|
564
565
|
|
|
566
|
+
def QueryPolicyProductListByCode(self, request):
|
|
567
|
+
"""This API is used to query the product list information within the specified policy range. To call this API, contact your account manager to add it to the allowlist.
|
|
568
|
+
|
|
569
|
+
:param request: Request instance for QueryPolicyProductListByCode.
|
|
570
|
+
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryPolicyProductListByCodeRequest`
|
|
571
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryPolicyProductListByCodeResponse`
|
|
572
|
+
|
|
573
|
+
"""
|
|
574
|
+
try:
|
|
575
|
+
params = request._serialize()
|
|
576
|
+
headers = request.headers
|
|
577
|
+
body = self.call("QueryPolicyProductListByCode", params, headers=headers)
|
|
578
|
+
response = json.loads(body)
|
|
579
|
+
model = models.QueryPolicyProductListByCodeResponse()
|
|
580
|
+
model._deserialize(response["Response"])
|
|
581
|
+
return model
|
|
582
|
+
except Exception as e:
|
|
583
|
+
if isinstance(e, TencentCloudSDKException):
|
|
584
|
+
raise
|
|
585
|
+
else:
|
|
586
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
587
|
+
|
|
588
|
+
|
|
565
589
|
def QueryVoucherAmountByUin(self, request):
|
|
566
590
|
"""This API is used to query the voucher quota based on the customer UIN.
|
|
567
591
|
|
|
@@ -1236,7 +1236,7 @@ class CreateAccountRequest(AbstractModel):
|
|
|
1236
1236
|
Valid values: `personal`, `company`.
|
|
1237
1237
|
:type AccountType: str
|
|
1238
1238
|
:param _Mail: Registered email address, which should be valid and correct.
|
|
1239
|
-
|
|
1239
|
+
such as "account@qq.com"
|
|
1240
1240
|
:type Mail: str
|
|
1241
1241
|
:param _Password: Account password.
|
|
1242
1242
|
Length limit: 8-20 characters
|
|
@@ -1244,20 +1244,19 @@ A password must contain numbers, letters, and symbols (!@#$%^&*()). Space is not
|
|
|
1244
1244
|
:type Password: str
|
|
1245
1245
|
:param _ConfirmPassword: The confirmed password, which must be the same as that entered in the `Password` field.
|
|
1246
1246
|
:type ConfirmPassword: str
|
|
1247
|
-
:param _PhoneNum: Customer's mobile number.
|
|
1248
|
-
The caller needs to ensure the validity and correctness of the mobile number. A global mobile number within a range of 1-32 digits is allowed.
|
|
1247
|
+
:param _PhoneNum: Customer's mobile number.
|
|
1248
|
+
The caller needs to ensure the validity and correctness of the mobile number. A global mobile number within a range of 1-32 digits is allowed.
|
|
1249
1249
|
The system will perform binding limit verification of the mobile number you provide, allowing a maximum of 5 accounts per mobile number.
|
|
1250
1250
|
:type PhoneNum: str
|
|
1251
|
-
:param _CountryCode: Customer's country/region code, which can be obtained via the
|
|
1251
|
+
:param _CountryCode: Customer's country/region code, which can be obtained via the [GetCountryCodes API](https://www.tencentcloud.com/document/product/1085/51416), such as "852".
|
|
1252
1252
|
Parameter value is not allowed to be 7,380,86.
|
|
1253
1253
|
:type CountryCode: str
|
|
1254
|
-
:param _Area: Customer's ISO2 standard country/region code, which can be obtained via the
|
|
1254
|
+
:param _Area: Customer's ISO2 standard country/region code, which can be obtained via the [GetCountryCodes API](https://www.tencentcloud.com/document/product/1085/51416). It should correspond to the `CountryCode` field, such as `HK`.
|
|
1255
1255
|
:type Area: str
|
|
1256
1256
|
:param _Extended: Extension field, which is left empty by default.
|
|
1257
1257
|
:type Extended: str
|
|
1258
|
-
:param _VerifyCode:
|
|
1259
|
-
|
|
1260
|
-
When the interface is requested for the first time, a null value can be passed in. The interface will send a 6-digit verification code by SMS to the mobile number you provide, and you need to pass it in again together with other parameters after you receive it.
|
|
1258
|
+
:param _VerifyCode: VerifyCode. This field is required.
|
|
1259
|
+
Use the [SendVerifyCode API](https://www.tencentcloud.com/document/product/1085/65907) to obtain the verifycode.The SendVerifyCode API sends a 6-digit verifycode to your specified mobile number via SMS. After receiving it, you need to pass it along with other parameters.
|
|
1261
1260
|
:type VerifyCode: str
|
|
1262
1261
|
"""
|
|
1263
1262
|
self._AccountType = None
|
|
@@ -1285,7 +1284,7 @@ Valid values: `personal`, `company`.
|
|
|
1285
1284
|
@property
|
|
1286
1285
|
def Mail(self):
|
|
1287
1286
|
"""Registered email address, which should be valid and correct.
|
|
1288
|
-
|
|
1287
|
+
such as "account@qq.com"
|
|
1289
1288
|
:rtype: str
|
|
1290
1289
|
"""
|
|
1291
1290
|
return self._Mail
|
|
@@ -1320,8 +1319,8 @@ A password must contain numbers, letters, and symbols (!@#$%^&*()). Space is not
|
|
|
1320
1319
|
|
|
1321
1320
|
@property
|
|
1322
1321
|
def PhoneNum(self):
|
|
1323
|
-
"""Customer's mobile number.
|
|
1324
|
-
The caller needs to ensure the validity and correctness of the mobile number. A global mobile number within a range of 1-32 digits is allowed.
|
|
1322
|
+
"""Customer's mobile number.
|
|
1323
|
+
The caller needs to ensure the validity and correctness of the mobile number. A global mobile number within a range of 1-32 digits is allowed.
|
|
1325
1324
|
The system will perform binding limit verification of the mobile number you provide, allowing a maximum of 5 accounts per mobile number.
|
|
1326
1325
|
:rtype: str
|
|
1327
1326
|
"""
|
|
@@ -1333,7 +1332,7 @@ The system will perform binding limit verification of the mobile number you prov
|
|
|
1333
1332
|
|
|
1334
1333
|
@property
|
|
1335
1334
|
def CountryCode(self):
|
|
1336
|
-
"""Customer's country/region code, which can be obtained via the
|
|
1335
|
+
"""Customer's country/region code, which can be obtained via the [GetCountryCodes API](https://www.tencentcloud.com/document/product/1085/51416), such as "852".
|
|
1337
1336
|
Parameter value is not allowed to be 7,380,86.
|
|
1338
1337
|
:rtype: str
|
|
1339
1338
|
"""
|
|
@@ -1345,7 +1344,7 @@ Parameter value is not allowed to be 7,380,86.
|
|
|
1345
1344
|
|
|
1346
1345
|
@property
|
|
1347
1346
|
def Area(self):
|
|
1348
|
-
"""Customer's ISO2 standard country/region code, which can be obtained via the
|
|
1347
|
+
"""Customer's ISO2 standard country/region code, which can be obtained via the [GetCountryCodes API](https://www.tencentcloud.com/document/product/1085/51416). It should correspond to the `CountryCode` field, such as `HK`.
|
|
1349
1348
|
:rtype: str
|
|
1350
1349
|
"""
|
|
1351
1350
|
return self._Area
|
|
@@ -1367,9 +1366,8 @@ Parameter value is not allowed to be 7,380,86.
|
|
|
1367
1366
|
|
|
1368
1367
|
@property
|
|
1369
1368
|
def VerifyCode(self):
|
|
1370
|
-
"""
|
|
1371
|
-
|
|
1372
|
-
When the interface is requested for the first time, a null value can be passed in. The interface will send a 6-digit verification code by SMS to the mobile number you provide, and you need to pass it in again together with other parameters after you receive it.
|
|
1369
|
+
"""VerifyCode. This field is required.
|
|
1370
|
+
Use the [SendVerifyCode API](https://www.tencentcloud.com/document/product/1085/65907) to obtain the verifycode.The SendVerifyCode API sends a 6-digit verifycode to your specified mobile number via SMS. After receiving it, you need to pass it along with other parameters.
|
|
1373
1371
|
:rtype: str
|
|
1374
1372
|
"""
|
|
1375
1373
|
return self._VerifyCode
|
|
@@ -3889,6 +3887,192 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3889
3887
|
|
|
3890
3888
|
|
|
3891
3889
|
|
|
3890
|
+
class PolicyProductList(AbstractModel):
|
|
3891
|
+
"""
|
|
3892
|
+
|
|
3893
|
+
"""
|
|
3894
|
+
|
|
3895
|
+
def __init__(self):
|
|
3896
|
+
r"""
|
|
3897
|
+
:param _PolicyCode: Policy code.
|
|
3898
|
+
:type PolicyCode: str
|
|
3899
|
+
:param _ProductCode: Product code, if the return is *, any item under this level is included in the policy product scope.
|
|
3900
|
+
:type ProductCode: str
|
|
3901
|
+
:param _ProductName: Product name, if the return is *, any item under this level is included in the policy product scope.
|
|
3902
|
+
:type ProductName: str
|
|
3903
|
+
:param _SubProductCode: SubProduct code, if the return is *, any item under this level is included in the policy product scope.
|
|
3904
|
+
:type SubProductCode: str
|
|
3905
|
+
:param _SubProductName: SubProduct name, if the return is *, any item under this level is included in the policy product scope.
|
|
3906
|
+
:type SubProductName: str
|
|
3907
|
+
:param _ComponentTypeCode: Component type code, if the return is *, any item under this level is included in the policy product scope.
|
|
3908
|
+
:type ComponentTypeCode: str
|
|
3909
|
+
:param _ComponentTypeName: Component type name, if the return is *, any item under this level is included in the policy product scope.
|
|
3910
|
+
:type ComponentTypeName: str
|
|
3911
|
+
:param _ComponentCode: Component code, if the return is *, any item under this level is included in the policy product scope.
|
|
3912
|
+
:type ComponentCode: str
|
|
3913
|
+
:param _ComponentName: Component name, if the return is *, any item under this level is included in the policy product scope.
|
|
3914
|
+
:type ComponentName: str
|
|
3915
|
+
:param _StartDate: Policy effective date.
|
|
3916
|
+
:type StartDate: str
|
|
3917
|
+
:param _EndDate: Policy expiration date.
|
|
3918
|
+
:type EndDate: str
|
|
3919
|
+
"""
|
|
3920
|
+
self._PolicyCode = None
|
|
3921
|
+
self._ProductCode = None
|
|
3922
|
+
self._ProductName = None
|
|
3923
|
+
self._SubProductCode = None
|
|
3924
|
+
self._SubProductName = None
|
|
3925
|
+
self._ComponentTypeCode = None
|
|
3926
|
+
self._ComponentTypeName = None
|
|
3927
|
+
self._ComponentCode = None
|
|
3928
|
+
self._ComponentName = None
|
|
3929
|
+
self._StartDate = None
|
|
3930
|
+
self._EndDate = None
|
|
3931
|
+
|
|
3932
|
+
@property
|
|
3933
|
+
def PolicyCode(self):
|
|
3934
|
+
"""Policy code.
|
|
3935
|
+
:rtype: str
|
|
3936
|
+
"""
|
|
3937
|
+
return self._PolicyCode
|
|
3938
|
+
|
|
3939
|
+
@PolicyCode.setter
|
|
3940
|
+
def PolicyCode(self, PolicyCode):
|
|
3941
|
+
self._PolicyCode = PolicyCode
|
|
3942
|
+
|
|
3943
|
+
@property
|
|
3944
|
+
def ProductCode(self):
|
|
3945
|
+
"""Product code, if the return is *, any item under this level is included in the policy product scope.
|
|
3946
|
+
:rtype: str
|
|
3947
|
+
"""
|
|
3948
|
+
return self._ProductCode
|
|
3949
|
+
|
|
3950
|
+
@ProductCode.setter
|
|
3951
|
+
def ProductCode(self, ProductCode):
|
|
3952
|
+
self._ProductCode = ProductCode
|
|
3953
|
+
|
|
3954
|
+
@property
|
|
3955
|
+
def ProductName(self):
|
|
3956
|
+
"""Product name, if the return is *, any item under this level is included in the policy product scope.
|
|
3957
|
+
:rtype: str
|
|
3958
|
+
"""
|
|
3959
|
+
return self._ProductName
|
|
3960
|
+
|
|
3961
|
+
@ProductName.setter
|
|
3962
|
+
def ProductName(self, ProductName):
|
|
3963
|
+
self._ProductName = ProductName
|
|
3964
|
+
|
|
3965
|
+
@property
|
|
3966
|
+
def SubProductCode(self):
|
|
3967
|
+
"""SubProduct code, if the return is *, any item under this level is included in the policy product scope.
|
|
3968
|
+
:rtype: str
|
|
3969
|
+
"""
|
|
3970
|
+
return self._SubProductCode
|
|
3971
|
+
|
|
3972
|
+
@SubProductCode.setter
|
|
3973
|
+
def SubProductCode(self, SubProductCode):
|
|
3974
|
+
self._SubProductCode = SubProductCode
|
|
3975
|
+
|
|
3976
|
+
@property
|
|
3977
|
+
def SubProductName(self):
|
|
3978
|
+
"""SubProduct name, if the return is *, any item under this level is included in the policy product scope.
|
|
3979
|
+
:rtype: str
|
|
3980
|
+
"""
|
|
3981
|
+
return self._SubProductName
|
|
3982
|
+
|
|
3983
|
+
@SubProductName.setter
|
|
3984
|
+
def SubProductName(self, SubProductName):
|
|
3985
|
+
self._SubProductName = SubProductName
|
|
3986
|
+
|
|
3987
|
+
@property
|
|
3988
|
+
def ComponentTypeCode(self):
|
|
3989
|
+
"""Component type code, if the return is *, any item under this level is included in the policy product scope.
|
|
3990
|
+
:rtype: str
|
|
3991
|
+
"""
|
|
3992
|
+
return self._ComponentTypeCode
|
|
3993
|
+
|
|
3994
|
+
@ComponentTypeCode.setter
|
|
3995
|
+
def ComponentTypeCode(self, ComponentTypeCode):
|
|
3996
|
+
self._ComponentTypeCode = ComponentTypeCode
|
|
3997
|
+
|
|
3998
|
+
@property
|
|
3999
|
+
def ComponentTypeName(self):
|
|
4000
|
+
"""Component type name, if the return is *, any item under this level is included in the policy product scope.
|
|
4001
|
+
:rtype: str
|
|
4002
|
+
"""
|
|
4003
|
+
return self._ComponentTypeName
|
|
4004
|
+
|
|
4005
|
+
@ComponentTypeName.setter
|
|
4006
|
+
def ComponentTypeName(self, ComponentTypeName):
|
|
4007
|
+
self._ComponentTypeName = ComponentTypeName
|
|
4008
|
+
|
|
4009
|
+
@property
|
|
4010
|
+
def ComponentCode(self):
|
|
4011
|
+
"""Component code, if the return is *, any item under this level is included in the policy product scope.
|
|
4012
|
+
:rtype: str
|
|
4013
|
+
"""
|
|
4014
|
+
return self._ComponentCode
|
|
4015
|
+
|
|
4016
|
+
@ComponentCode.setter
|
|
4017
|
+
def ComponentCode(self, ComponentCode):
|
|
4018
|
+
self._ComponentCode = ComponentCode
|
|
4019
|
+
|
|
4020
|
+
@property
|
|
4021
|
+
def ComponentName(self):
|
|
4022
|
+
"""Component name, if the return is *, any item under this level is included in the policy product scope.
|
|
4023
|
+
:rtype: str
|
|
4024
|
+
"""
|
|
4025
|
+
return self._ComponentName
|
|
4026
|
+
|
|
4027
|
+
@ComponentName.setter
|
|
4028
|
+
def ComponentName(self, ComponentName):
|
|
4029
|
+
self._ComponentName = ComponentName
|
|
4030
|
+
|
|
4031
|
+
@property
|
|
4032
|
+
def StartDate(self):
|
|
4033
|
+
"""Policy effective date.
|
|
4034
|
+
:rtype: str
|
|
4035
|
+
"""
|
|
4036
|
+
return self._StartDate
|
|
4037
|
+
|
|
4038
|
+
@StartDate.setter
|
|
4039
|
+
def StartDate(self, StartDate):
|
|
4040
|
+
self._StartDate = StartDate
|
|
4041
|
+
|
|
4042
|
+
@property
|
|
4043
|
+
def EndDate(self):
|
|
4044
|
+
"""Policy expiration date.
|
|
4045
|
+
:rtype: str
|
|
4046
|
+
"""
|
|
4047
|
+
return self._EndDate
|
|
4048
|
+
|
|
4049
|
+
@EndDate.setter
|
|
4050
|
+
def EndDate(self, EndDate):
|
|
4051
|
+
self._EndDate = EndDate
|
|
4052
|
+
|
|
4053
|
+
|
|
4054
|
+
def _deserialize(self, params):
|
|
4055
|
+
self._PolicyCode = params.get("PolicyCode")
|
|
4056
|
+
self._ProductCode = params.get("ProductCode")
|
|
4057
|
+
self._ProductName = params.get("ProductName")
|
|
4058
|
+
self._SubProductCode = params.get("SubProductCode")
|
|
4059
|
+
self._SubProductName = params.get("SubProductName")
|
|
4060
|
+
self._ComponentTypeCode = params.get("ComponentTypeCode")
|
|
4061
|
+
self._ComponentTypeName = params.get("ComponentTypeName")
|
|
4062
|
+
self._ComponentCode = params.get("ComponentCode")
|
|
4063
|
+
self._ComponentName = params.get("ComponentName")
|
|
4064
|
+
self._StartDate = params.get("StartDate")
|
|
4065
|
+
self._EndDate = params.get("EndDate")
|
|
4066
|
+
memeber_set = set(params.keys())
|
|
4067
|
+
for name, value in vars(self).items():
|
|
4068
|
+
property_name = name[1:]
|
|
4069
|
+
if property_name in memeber_set:
|
|
4070
|
+
memeber_set.remove(property_name)
|
|
4071
|
+
if len(memeber_set) > 0:
|
|
4072
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4073
|
+
|
|
4074
|
+
|
|
4075
|
+
|
|
3892
4076
|
class QueryAccountVerificationStatusRequest(AbstractModel):
|
|
3893
4077
|
"""QueryAccountVerificationStatus request structure.
|
|
3894
4078
|
|
|
@@ -4923,6 +5107,150 @@ class QueryPartnerCreditResponse(AbstractModel):
|
|
|
4923
5107
|
self._RequestId = params.get("RequestId")
|
|
4924
5108
|
|
|
4925
5109
|
|
|
5110
|
+
class QueryPolicyProductListByCodeRequest(AbstractModel):
|
|
5111
|
+
"""QueryPolicyProductListByCode request structure.
|
|
5112
|
+
|
|
5113
|
+
"""
|
|
5114
|
+
|
|
5115
|
+
def __init__(self):
|
|
5116
|
+
r"""
|
|
5117
|
+
:param _PolicyCode: Policy code
|
|
5118
|
+
:type PolicyCode: str
|
|
5119
|
+
:param _ProductCode: Product code
|
|
5120
|
+
:type ProductCode: str
|
|
5121
|
+
:param _ProductName: Product name
|
|
5122
|
+
:type ProductName: str
|
|
5123
|
+
:param _SubProductCode: Subproduct code
|
|
5124
|
+
:type SubProductCode: str
|
|
5125
|
+
:param _SubProductName: Subproduct name
|
|
5126
|
+
:type SubProductName: str
|
|
5127
|
+
"""
|
|
5128
|
+
self._PolicyCode = None
|
|
5129
|
+
self._ProductCode = None
|
|
5130
|
+
self._ProductName = None
|
|
5131
|
+
self._SubProductCode = None
|
|
5132
|
+
self._SubProductName = None
|
|
5133
|
+
|
|
5134
|
+
@property
|
|
5135
|
+
def PolicyCode(self):
|
|
5136
|
+
"""Policy code
|
|
5137
|
+
:rtype: str
|
|
5138
|
+
"""
|
|
5139
|
+
return self._PolicyCode
|
|
5140
|
+
|
|
5141
|
+
@PolicyCode.setter
|
|
5142
|
+
def PolicyCode(self, PolicyCode):
|
|
5143
|
+
self._PolicyCode = PolicyCode
|
|
5144
|
+
|
|
5145
|
+
@property
|
|
5146
|
+
def ProductCode(self):
|
|
5147
|
+
"""Product code
|
|
5148
|
+
:rtype: str
|
|
5149
|
+
"""
|
|
5150
|
+
return self._ProductCode
|
|
5151
|
+
|
|
5152
|
+
@ProductCode.setter
|
|
5153
|
+
def ProductCode(self, ProductCode):
|
|
5154
|
+
self._ProductCode = ProductCode
|
|
5155
|
+
|
|
5156
|
+
@property
|
|
5157
|
+
def ProductName(self):
|
|
5158
|
+
"""Product name
|
|
5159
|
+
:rtype: str
|
|
5160
|
+
"""
|
|
5161
|
+
return self._ProductName
|
|
5162
|
+
|
|
5163
|
+
@ProductName.setter
|
|
5164
|
+
def ProductName(self, ProductName):
|
|
5165
|
+
self._ProductName = ProductName
|
|
5166
|
+
|
|
5167
|
+
@property
|
|
5168
|
+
def SubProductCode(self):
|
|
5169
|
+
"""Subproduct code
|
|
5170
|
+
:rtype: str
|
|
5171
|
+
"""
|
|
5172
|
+
return self._SubProductCode
|
|
5173
|
+
|
|
5174
|
+
@SubProductCode.setter
|
|
5175
|
+
def SubProductCode(self, SubProductCode):
|
|
5176
|
+
self._SubProductCode = SubProductCode
|
|
5177
|
+
|
|
5178
|
+
@property
|
|
5179
|
+
def SubProductName(self):
|
|
5180
|
+
"""Subproduct name
|
|
5181
|
+
:rtype: str
|
|
5182
|
+
"""
|
|
5183
|
+
return self._SubProductName
|
|
5184
|
+
|
|
5185
|
+
@SubProductName.setter
|
|
5186
|
+
def SubProductName(self, SubProductName):
|
|
5187
|
+
self._SubProductName = SubProductName
|
|
5188
|
+
|
|
5189
|
+
|
|
5190
|
+
def _deserialize(self, params):
|
|
5191
|
+
self._PolicyCode = params.get("PolicyCode")
|
|
5192
|
+
self._ProductCode = params.get("ProductCode")
|
|
5193
|
+
self._ProductName = params.get("ProductName")
|
|
5194
|
+
self._SubProductCode = params.get("SubProductCode")
|
|
5195
|
+
self._SubProductName = params.get("SubProductName")
|
|
5196
|
+
memeber_set = set(params.keys())
|
|
5197
|
+
for name, value in vars(self).items():
|
|
5198
|
+
property_name = name[1:]
|
|
5199
|
+
if property_name in memeber_set:
|
|
5200
|
+
memeber_set.remove(property_name)
|
|
5201
|
+
if len(memeber_set) > 0:
|
|
5202
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5203
|
+
|
|
5204
|
+
|
|
5205
|
+
|
|
5206
|
+
class QueryPolicyProductListByCodeResponse(AbstractModel):
|
|
5207
|
+
"""QueryPolicyProductListByCode response structure.
|
|
5208
|
+
|
|
5209
|
+
"""
|
|
5210
|
+
|
|
5211
|
+
def __init__(self):
|
|
5212
|
+
r"""
|
|
5213
|
+
:param _ProductList: Policy product list
|
|
5214
|
+
:type ProductList: list of PolicyProductList
|
|
5215
|
+
: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.
|
|
5216
|
+
:type RequestId: str
|
|
5217
|
+
"""
|
|
5218
|
+
self._ProductList = None
|
|
5219
|
+
self._RequestId = None
|
|
5220
|
+
|
|
5221
|
+
@property
|
|
5222
|
+
def ProductList(self):
|
|
5223
|
+
"""Policy product list
|
|
5224
|
+
:rtype: list of PolicyProductList
|
|
5225
|
+
"""
|
|
5226
|
+
return self._ProductList
|
|
5227
|
+
|
|
5228
|
+
@ProductList.setter
|
|
5229
|
+
def ProductList(self, ProductList):
|
|
5230
|
+
self._ProductList = ProductList
|
|
5231
|
+
|
|
5232
|
+
@property
|
|
5233
|
+
def RequestId(self):
|
|
5234
|
+
"""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.
|
|
5235
|
+
:rtype: str
|
|
5236
|
+
"""
|
|
5237
|
+
return self._RequestId
|
|
5238
|
+
|
|
5239
|
+
@RequestId.setter
|
|
5240
|
+
def RequestId(self, RequestId):
|
|
5241
|
+
self._RequestId = RequestId
|
|
5242
|
+
|
|
5243
|
+
|
|
5244
|
+
def _deserialize(self, params):
|
|
5245
|
+
if params.get("ProductList") is not None:
|
|
5246
|
+
self._ProductList = []
|
|
5247
|
+
for item in params.get("ProductList"):
|
|
5248
|
+
obj = PolicyProductList()
|
|
5249
|
+
obj._deserialize(item)
|
|
5250
|
+
self._ProductList.append(obj)
|
|
5251
|
+
self._RequestId = params.get("RequestId")
|
|
5252
|
+
|
|
5253
|
+
|
|
4926
5254
|
class QueryVoucherAmountByUinItem(AbstractModel):
|
|
4927
5255
|
"""Customer voucher quota
|
|
4928
5256
|
|