tencentcloud-sdk-python-intl-en 3.0.1250__py2.py3-none-any.whl → 3.0.1251__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/cdb/v20170320/models.py +77 -2
- tencentcloud/cynosdb/v20190107/models.py +19 -4
- tencentcloud/iai/v20200303/iai_client.py +1 -2
- tencentcloud/iai/v20200303/models.py +2 -2
- tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +48 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +720 -0
- {tencentcloud_sdk_python_intl_en-3.0.1250.dist-info → tencentcloud_sdk_python_intl_en-3.0.1251.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1250.dist-info → tencentcloud_sdk_python_intl_en-3.0.1251.dist-info}/RECORD +11 -11
- {tencentcloud_sdk_python_intl_en-3.0.1250.dist-info → tencentcloud_sdk_python_intl_en-3.0.1251.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1250.dist-info → tencentcloud_sdk_python_intl_en-3.0.1251.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -410,6 +410,10 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
410
410
|
:type ConnectionPool: bool
|
411
411
|
:param _ProxyAllocation: Assignment of read/write weights If `system` is passed in for `WeightMode`, only the default weight assigned by the system will take effect.
|
412
412
|
:type ProxyAllocation: list of ProxyAllocation
|
413
|
+
:param _AutoLoadBalance:
|
414
|
+
:type AutoLoadBalance: bool
|
415
|
+
:param _AccessMode:
|
416
|
+
:type AccessMode: str
|
413
417
|
"""
|
414
418
|
self._ProxyGroupId = None
|
415
419
|
self._WeightMode = None
|
@@ -423,6 +427,8 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
423
427
|
self._TransSplit = None
|
424
428
|
self._ConnectionPool = None
|
425
429
|
self._ProxyAllocation = None
|
430
|
+
self._AutoLoadBalance = None
|
431
|
+
self._AccessMode = None
|
426
432
|
|
427
433
|
@property
|
428
434
|
def ProxyGroupId(self):
|
@@ -556,6 +562,28 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
556
562
|
def ProxyAllocation(self, ProxyAllocation):
|
557
563
|
self._ProxyAllocation = ProxyAllocation
|
558
564
|
|
565
|
+
@property
|
566
|
+
def AutoLoadBalance(self):
|
567
|
+
"""
|
568
|
+
:rtype: bool
|
569
|
+
"""
|
570
|
+
return self._AutoLoadBalance
|
571
|
+
|
572
|
+
@AutoLoadBalance.setter
|
573
|
+
def AutoLoadBalance(self, AutoLoadBalance):
|
574
|
+
self._AutoLoadBalance = AutoLoadBalance
|
575
|
+
|
576
|
+
@property
|
577
|
+
def AccessMode(self):
|
578
|
+
"""
|
579
|
+
:rtype: str
|
580
|
+
"""
|
581
|
+
return self._AccessMode
|
582
|
+
|
583
|
+
@AccessMode.setter
|
584
|
+
def AccessMode(self, AccessMode):
|
585
|
+
self._AccessMode = AccessMode
|
586
|
+
|
559
587
|
|
560
588
|
def _deserialize(self, params):
|
561
589
|
self._ProxyGroupId = params.get("ProxyGroupId")
|
@@ -575,6 +603,8 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
575
603
|
obj = ProxyAllocation()
|
576
604
|
obj._deserialize(item)
|
577
605
|
self._ProxyAllocation.append(obj)
|
606
|
+
self._AutoLoadBalance = params.get("AutoLoadBalance")
|
607
|
+
self._AccessMode = params.get("AccessMode")
|
578
608
|
memeber_set = set(params.keys())
|
579
609
|
for name, value in vars(self).items():
|
580
610
|
property_name = name[1:]
|
@@ -5264,6 +5294,10 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
5264
5294
|
:type SecurityGroup: list of str
|
5265
5295
|
:param _ConnectionPoolType: Connection pool type, which will take effect only when `ConnectionPool` is `true`. Valid values: `transaction` (transaction-level), `connection` (session-level).
|
5266
5296
|
:type ConnectionPoolType: str
|
5297
|
+
:param _AutoLoadBalance:
|
5298
|
+
:type AutoLoadBalance: bool
|
5299
|
+
:param _AccessMode:
|
5300
|
+
:type AccessMode: str
|
5267
5301
|
"""
|
5268
5302
|
self._ProxyGroupId = None
|
5269
5303
|
self._WeightMode = None
|
@@ -5283,6 +5317,8 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
5283
5317
|
self._VPort = None
|
5284
5318
|
self._SecurityGroup = None
|
5285
5319
|
self._ConnectionPoolType = None
|
5320
|
+
self._AutoLoadBalance = None
|
5321
|
+
self._AccessMode = None
|
5286
5322
|
|
5287
5323
|
@property
|
5288
5324
|
def ProxyGroupId(self):
|
@@ -5482,6 +5518,28 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
5482
5518
|
def ConnectionPoolType(self, ConnectionPoolType):
|
5483
5519
|
self._ConnectionPoolType = ConnectionPoolType
|
5484
5520
|
|
5521
|
+
@property
|
5522
|
+
def AutoLoadBalance(self):
|
5523
|
+
"""
|
5524
|
+
:rtype: bool
|
5525
|
+
"""
|
5526
|
+
return self._AutoLoadBalance
|
5527
|
+
|
5528
|
+
@AutoLoadBalance.setter
|
5529
|
+
def AutoLoadBalance(self, AutoLoadBalance):
|
5530
|
+
self._AutoLoadBalance = AutoLoadBalance
|
5531
|
+
|
5532
|
+
@property
|
5533
|
+
def AccessMode(self):
|
5534
|
+
"""
|
5535
|
+
:rtype: str
|
5536
|
+
"""
|
5537
|
+
return self._AccessMode
|
5538
|
+
|
5539
|
+
@AccessMode.setter
|
5540
|
+
def AccessMode(self, AccessMode):
|
5541
|
+
self._AccessMode = AccessMode
|
5542
|
+
|
5485
5543
|
|
5486
5544
|
def _deserialize(self, params):
|
5487
5545
|
self._ProxyGroupId = params.get("ProxyGroupId")
|
@@ -5507,6 +5565,8 @@ class CreateCdbProxyAddressRequest(AbstractModel):
|
|
5507
5565
|
self._VPort = params.get("VPort")
|
5508
5566
|
self._SecurityGroup = params.get("SecurityGroup")
|
5509
5567
|
self._ConnectionPoolType = params.get("ConnectionPoolType")
|
5568
|
+
self._AutoLoadBalance = params.get("AutoLoadBalance")
|
5569
|
+
self._AccessMode = params.get("AccessMode")
|
5510
5570
|
memeber_set = set(params.keys())
|
5511
5571
|
for name, value in vars(self).items():
|
5512
5572
|
property_name = name[1:]
|
@@ -13065,7 +13125,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
13065
13125
|
r"""
|
13066
13126
|
:param _Period: Instance validity period in months. Value range: 1-36. This field is invalid when querying the prices of pay-as-you-go instances.
|
13067
13127
|
:type Period: int
|
13068
|
-
:param _Zone: AZ information in the format of "ap-guangzhou-
|
13128
|
+
:param _Zone: AZ information in the format of "ap-guangzhou-3". You can use the <a href="https://intl.cloud.tencent.com/document/api/236/17229?from_cn_redirect=1">DescribeDBZoneConfig</a> API to query the configurable values. This parameter is required when `InstanceId` is empty.
|
13069
13129
|
:type Zone: str
|
13070
13130
|
:param _GoodsNum: Number of instances. Value range: 1-100. Default value: 1. This parameter is required when `InstanceId` is empty.
|
13071
13131
|
:type GoodsNum: int
|
@@ -13089,6 +13149,8 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
13089
13149
|
:type InstanceId: str
|
13090
13150
|
:param _Ladder: Tiered pay-as-you-go pricing, which is valid only when `PayType` is set to `HOUR_PAID`. Valid values: `1`, `2`, `3`. For more information on tiered duration, visit https://intl.cloud.tencent.com/document/product/236/18335.?from_cn_redirect=1
|
13091
13151
|
:type Ladder: int
|
13152
|
+
:param _DiskType:
|
13153
|
+
:type DiskType: str
|
13092
13154
|
"""
|
13093
13155
|
self._Period = None
|
13094
13156
|
self._Zone = None
|
@@ -13103,6 +13165,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
13103
13165
|
self._Cpu = None
|
13104
13166
|
self._InstanceId = None
|
13105
13167
|
self._Ladder = None
|
13168
|
+
self._DiskType = None
|
13106
13169
|
|
13107
13170
|
@property
|
13108
13171
|
def Period(self):
|
@@ -13117,7 +13180,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
13117
13180
|
|
13118
13181
|
@property
|
13119
13182
|
def Zone(self):
|
13120
|
-
"""AZ information in the format of "ap-guangzhou-
|
13183
|
+
"""AZ information in the format of "ap-guangzhou-3". You can use the <a href="https://intl.cloud.tencent.com/document/api/236/17229?from_cn_redirect=1">DescribeDBZoneConfig</a> API to query the configurable values. This parameter is required when `InstanceId` is empty.
|
13121
13184
|
:rtype: str
|
13122
13185
|
"""
|
13123
13186
|
return self._Zone
|
@@ -13247,6 +13310,17 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
13247
13310
|
def Ladder(self, Ladder):
|
13248
13311
|
self._Ladder = Ladder
|
13249
13312
|
|
13313
|
+
@property
|
13314
|
+
def DiskType(self):
|
13315
|
+
"""
|
13316
|
+
:rtype: str
|
13317
|
+
"""
|
13318
|
+
return self._DiskType
|
13319
|
+
|
13320
|
+
@DiskType.setter
|
13321
|
+
def DiskType(self, DiskType):
|
13322
|
+
self._DiskType = DiskType
|
13323
|
+
|
13250
13324
|
|
13251
13325
|
def _deserialize(self, params):
|
13252
13326
|
self._Period = params.get("Period")
|
@@ -13262,6 +13336,7 @@ class DescribeDBPriceRequest(AbstractModel):
|
|
13262
13336
|
self._Cpu = params.get("Cpu")
|
13263
13337
|
self._InstanceId = params.get("InstanceId")
|
13264
13338
|
self._Ladder = params.get("Ladder")
|
13339
|
+
self._DiskType = params.get("DiskType")
|
13265
13340
|
memeber_set = set(params.keys())
|
13266
13341
|
for name, value in vars(self).items():
|
13267
13342
|
property_name = name[1:]
|
@@ -16220,9 +16220,9 @@ class DescribeZonesRequest(AbstractModel):
|
|
16220
16220
|
|
16221
16221
|
def __init__(self):
|
16222
16222
|
r"""
|
16223
|
-
:param _IncludeVirtualZones: Whether the virtual zone is included
|
16223
|
+
:param _IncludeVirtualZones: Whether the virtual zone is included.
|
16224
16224
|
:type IncludeVirtualZones: bool
|
16225
|
-
:param _ShowPermission: Whether to display all AZs in a region and the user
|
16225
|
+
:param _ShowPermission: Whether to display all AZs in a region and the user's permissions in each AZ.
|
16226
16226
|
:type ShowPermission: bool
|
16227
16227
|
"""
|
16228
16228
|
self._IncludeVirtualZones = None
|
@@ -16230,7 +16230,7 @@ class DescribeZonesRequest(AbstractModel):
|
|
16230
16230
|
|
16231
16231
|
@property
|
16232
16232
|
def IncludeVirtualZones(self):
|
16233
|
-
"""Whether the virtual zone is included
|
16233
|
+
"""Whether the virtual zone is included.
|
16234
16234
|
:rtype: bool
|
16235
16235
|
"""
|
16236
16236
|
return self._IncludeVirtualZones
|
@@ -16241,7 +16241,7 @@ class DescribeZonesRequest(AbstractModel):
|
|
16241
16241
|
|
16242
16242
|
@property
|
16243
16243
|
def ShowPermission(self):
|
16244
|
-
"""Whether to display all AZs in a region and the user
|
16244
|
+
"""Whether to display all AZs in a region and the user's permissions in each AZ.
|
16245
16245
|
:rtype: bool
|
16246
16246
|
"""
|
16247
16247
|
return self._ShowPermission
|
@@ -20723,11 +20723,14 @@ class ModifyClusterSlaveZoneRequest(AbstractModel):
|
|
20723
20723
|
:type NewSlaveZone: str
|
20724
20724
|
:param _BinlogSyncWay: Specifies the binlog synchronization mode. the default value is async. valid values are sync, semisync, and async.
|
20725
20725
|
:type BinlogSyncWay: str
|
20726
|
+
:param _SemiSyncTimeout:
|
20727
|
+
:type SemiSyncTimeout: int
|
20726
20728
|
"""
|
20727
20729
|
self._ClusterId = None
|
20728
20730
|
self._OldSlaveZone = None
|
20729
20731
|
self._NewSlaveZone = None
|
20730
20732
|
self._BinlogSyncWay = None
|
20733
|
+
self._SemiSyncTimeout = None
|
20731
20734
|
|
20732
20735
|
@property
|
20733
20736
|
def ClusterId(self):
|
@@ -20773,12 +20776,24 @@ class ModifyClusterSlaveZoneRequest(AbstractModel):
|
|
20773
20776
|
def BinlogSyncWay(self, BinlogSyncWay):
|
20774
20777
|
self._BinlogSyncWay = BinlogSyncWay
|
20775
20778
|
|
20779
|
+
@property
|
20780
|
+
def SemiSyncTimeout(self):
|
20781
|
+
"""
|
20782
|
+
:rtype: int
|
20783
|
+
"""
|
20784
|
+
return self._SemiSyncTimeout
|
20785
|
+
|
20786
|
+
@SemiSyncTimeout.setter
|
20787
|
+
def SemiSyncTimeout(self, SemiSyncTimeout):
|
20788
|
+
self._SemiSyncTimeout = SemiSyncTimeout
|
20789
|
+
|
20776
20790
|
|
20777
20791
|
def _deserialize(self, params):
|
20778
20792
|
self._ClusterId = params.get("ClusterId")
|
20779
20793
|
self._OldSlaveZone = params.get("OldSlaveZone")
|
20780
20794
|
self._NewSlaveZone = params.get("NewSlaveZone")
|
20781
20795
|
self._BinlogSyncWay = params.get("BinlogSyncWay")
|
20796
|
+
self._SemiSyncTimeout = params.get("SemiSyncTimeout")
|
20782
20797
|
memeber_set = set(params.keys())
|
20783
20798
|
for name, value in vars(self).items():
|
20784
20799
|
property_name = name[1:]
|
@@ -29,8 +29,7 @@ class IaiClient(AbstractClient):
|
|
29
29
|
def AnalyzeFace(self, request):
|
30
30
|
"""This API is used to perform facial feature localization (aka facial keypoint localization) on a given image and calculate 90 facial keypoints that make up the contour of the face, including eyebrows (8 points on the left and 8 on the right), eyes (8 points on the left and 8 on the right), nose (13 points), mouth (22 points), face contour (21 points), and eyeballs or pupils (2 points).
|
31
31
|
|
32
|
-
|
33
|
-
- Please use the signature algorithm v3 to calculate the signature in the common parameters, that is, set the `SignatureMethod` parameter to `TC3-HMAC-SHA256`.
|
32
|
+
>- Please use the signature algorithm v3 to calculate the signature in the common parameters, that is, set the `SignatureMethod` parameter to `TC3-HMAC-SHA256`.
|
34
33
|
|
35
34
|
:param request: Request instance for AnalyzeFace.
|
36
35
|
:type request: :class:`tencentcloud.iai.v20200303.models.AnalyzeFaceRequest`
|
@@ -159,7 +159,7 @@ class AnalyzeFaceResponse(AbstractModel):
|
|
159
159
|
:type FaceShapeSet: list of FaceShape
|
160
160
|
:param _FaceModelVersion: Algorithm model version used for face recognition.
|
161
161
|
:type FaceModelVersion: str
|
162
|
-
:param _RequestId: The unique request ID,
|
162
|
+
: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.
|
163
163
|
:type RequestId: str
|
164
164
|
"""
|
165
165
|
self._ImageWidth = None
|
@@ -214,7 +214,7 @@ class AnalyzeFaceResponse(AbstractModel):
|
|
214
214
|
|
215
215
|
@property
|
216
216
|
def RequestId(self):
|
217
|
-
"""The unique request ID,
|
217
|
+
"""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.
|
218
218
|
:rtype: str
|
219
219
|
"""
|
220
220
|
return self._RequestId
|
@@ -450,6 +450,30 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
450
450
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
451
451
|
|
452
452
|
|
453
|
+
def DescribeCustomerOwnVoucherList(self, request):
|
454
|
+
"""This API is used to query the voucher list by Customer.
|
455
|
+
Callable roles: Customer.
|
456
|
+
|
457
|
+
:param request: Request instance for DescribeCustomerOwnVoucherList.
|
458
|
+
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.DescribeCustomerOwnVoucherListRequest`
|
459
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.DescribeCustomerOwnVoucherListResponse`
|
460
|
+
|
461
|
+
"""
|
462
|
+
try:
|
463
|
+
params = request._serialize()
|
464
|
+
headers = request.headers
|
465
|
+
body = self.call("DescribeCustomerOwnVoucherList", params, headers=headers)
|
466
|
+
response = json.loads(body)
|
467
|
+
model = models.DescribeCustomerOwnVoucherListResponse()
|
468
|
+
model._deserialize(response["Response"])
|
469
|
+
return model
|
470
|
+
except Exception as e:
|
471
|
+
if isinstance(e, TencentCloudSDKException):
|
472
|
+
raise
|
473
|
+
else:
|
474
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
475
|
+
|
476
|
+
|
453
477
|
def DescribeCustomerUin(self, request):
|
454
478
|
"""This API is used to query the list of customer UINs.
|
455
479
|
|
@@ -473,6 +497,30 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
473
497
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
474
498
|
|
475
499
|
|
500
|
+
def DescribeCustomerVoucherList(self, request):
|
501
|
+
"""This API is used to query the customer voucher list by Reseller, Second-level Reseller or Distributor.
|
502
|
+
Callable roles: Reseller, Second-level Reseller or Distributor.
|
503
|
+
|
504
|
+
:param request: Request instance for DescribeCustomerVoucherList.
|
505
|
+
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.DescribeCustomerVoucherListRequest`
|
506
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.DescribeCustomerVoucherListResponse`
|
507
|
+
|
508
|
+
"""
|
509
|
+
try:
|
510
|
+
params = request._serialize()
|
511
|
+
headers = request.headers
|
512
|
+
body = self.call("DescribeCustomerVoucherList", params, headers=headers)
|
513
|
+
response = json.loads(body)
|
514
|
+
model = models.DescribeCustomerVoucherListResponse()
|
515
|
+
model._deserialize(response["Response"])
|
516
|
+
return model
|
517
|
+
except Exception as e:
|
518
|
+
if isinstance(e, TencentCloudSDKException):
|
519
|
+
raise
|
520
|
+
else:
|
521
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
522
|
+
|
523
|
+
|
476
524
|
def DescribeRebateDownloadUrl(self, request):
|
477
525
|
"""This API is used to download the commission bill file by resellers/agents. The file URL is returned.
|
478
526
|
Resellers/Agents can call this API.
|
@@ -3911,6 +3911,336 @@ class DescribeCustomerInfoResponse(AbstractModel):
|
|
3911
3911
|
self._RequestId = params.get("RequestId")
|
3912
3912
|
|
3913
3913
|
|
3914
|
+
class DescribeCustomerOwnVoucherItem(AbstractModel):
|
3915
|
+
"""Voucher data.
|
3916
|
+
|
3917
|
+
"""
|
3918
|
+
|
3919
|
+
def __init__(self):
|
3920
|
+
r"""
|
3921
|
+
:param _VoucherId: Voucher ID.
|
3922
|
+
:type VoucherId: int
|
3923
|
+
:param _CustomerUin: Sub-account UIN
|
3924
|
+
:type CustomerUin: int
|
3925
|
+
:param _VoucherStatus: Voucher status: Issued/Used/Expired/Invalidated.
|
3926
|
+
:type VoucherStatus: str
|
3927
|
+
:param _RemainingAmount: Remaining amount.
|
3928
|
+
:type RemainingAmount: float
|
3929
|
+
:param _TotalAmount: Denomination.
|
3930
|
+
:type TotalAmount: float
|
3931
|
+
:param _PaymentMode: Payment mode. valid values: AllPayment, Prepaid, and Postpaid.
|
3932
|
+
:type PaymentMode: str
|
3933
|
+
:param _ProductScope: Applicable product: AllProducts/SpecifyProducts/SpecifyProductsBlacklist.
|
3934
|
+
:type ProductScope: str
|
3935
|
+
:param _EffectiveTime: Start time.
|
3936
|
+
:type EffectiveTime: str
|
3937
|
+
:param _ExpireTime: End time.
|
3938
|
+
:type ExpireTime: str
|
3939
|
+
"""
|
3940
|
+
self._VoucherId = None
|
3941
|
+
self._CustomerUin = None
|
3942
|
+
self._VoucherStatus = None
|
3943
|
+
self._RemainingAmount = None
|
3944
|
+
self._TotalAmount = None
|
3945
|
+
self._PaymentMode = None
|
3946
|
+
self._ProductScope = None
|
3947
|
+
self._EffectiveTime = None
|
3948
|
+
self._ExpireTime = None
|
3949
|
+
|
3950
|
+
@property
|
3951
|
+
def VoucherId(self):
|
3952
|
+
"""Voucher ID.
|
3953
|
+
:rtype: int
|
3954
|
+
"""
|
3955
|
+
return self._VoucherId
|
3956
|
+
|
3957
|
+
@VoucherId.setter
|
3958
|
+
def VoucherId(self, VoucherId):
|
3959
|
+
self._VoucherId = VoucherId
|
3960
|
+
|
3961
|
+
@property
|
3962
|
+
def CustomerUin(self):
|
3963
|
+
"""Sub-account UIN
|
3964
|
+
:rtype: int
|
3965
|
+
"""
|
3966
|
+
return self._CustomerUin
|
3967
|
+
|
3968
|
+
@CustomerUin.setter
|
3969
|
+
def CustomerUin(self, CustomerUin):
|
3970
|
+
self._CustomerUin = CustomerUin
|
3971
|
+
|
3972
|
+
@property
|
3973
|
+
def VoucherStatus(self):
|
3974
|
+
"""Voucher status: Issued/Used/Expired/Invalidated.
|
3975
|
+
:rtype: str
|
3976
|
+
"""
|
3977
|
+
return self._VoucherStatus
|
3978
|
+
|
3979
|
+
@VoucherStatus.setter
|
3980
|
+
def VoucherStatus(self, VoucherStatus):
|
3981
|
+
self._VoucherStatus = VoucherStatus
|
3982
|
+
|
3983
|
+
@property
|
3984
|
+
def RemainingAmount(self):
|
3985
|
+
"""Remaining amount.
|
3986
|
+
:rtype: float
|
3987
|
+
"""
|
3988
|
+
return self._RemainingAmount
|
3989
|
+
|
3990
|
+
@RemainingAmount.setter
|
3991
|
+
def RemainingAmount(self, RemainingAmount):
|
3992
|
+
self._RemainingAmount = RemainingAmount
|
3993
|
+
|
3994
|
+
@property
|
3995
|
+
def TotalAmount(self):
|
3996
|
+
"""Denomination.
|
3997
|
+
:rtype: float
|
3998
|
+
"""
|
3999
|
+
return self._TotalAmount
|
4000
|
+
|
4001
|
+
@TotalAmount.setter
|
4002
|
+
def TotalAmount(self, TotalAmount):
|
4003
|
+
self._TotalAmount = TotalAmount
|
4004
|
+
|
4005
|
+
@property
|
4006
|
+
def PaymentMode(self):
|
4007
|
+
"""Payment mode. valid values: AllPayment, Prepaid, and Postpaid.
|
4008
|
+
:rtype: str
|
4009
|
+
"""
|
4010
|
+
return self._PaymentMode
|
4011
|
+
|
4012
|
+
@PaymentMode.setter
|
4013
|
+
def PaymentMode(self, PaymentMode):
|
4014
|
+
self._PaymentMode = PaymentMode
|
4015
|
+
|
4016
|
+
@property
|
4017
|
+
def ProductScope(self):
|
4018
|
+
"""Applicable product: AllProducts/SpecifyProducts/SpecifyProductsBlacklist.
|
4019
|
+
:rtype: str
|
4020
|
+
"""
|
4021
|
+
return self._ProductScope
|
4022
|
+
|
4023
|
+
@ProductScope.setter
|
4024
|
+
def ProductScope(self, ProductScope):
|
4025
|
+
self._ProductScope = ProductScope
|
4026
|
+
|
4027
|
+
@property
|
4028
|
+
def EffectiveTime(self):
|
4029
|
+
"""Start time.
|
4030
|
+
:rtype: str
|
4031
|
+
"""
|
4032
|
+
return self._EffectiveTime
|
4033
|
+
|
4034
|
+
@EffectiveTime.setter
|
4035
|
+
def EffectiveTime(self, EffectiveTime):
|
4036
|
+
self._EffectiveTime = EffectiveTime
|
4037
|
+
|
4038
|
+
@property
|
4039
|
+
def ExpireTime(self):
|
4040
|
+
"""End time.
|
4041
|
+
:rtype: str
|
4042
|
+
"""
|
4043
|
+
return self._ExpireTime
|
4044
|
+
|
4045
|
+
@ExpireTime.setter
|
4046
|
+
def ExpireTime(self, ExpireTime):
|
4047
|
+
self._ExpireTime = ExpireTime
|
4048
|
+
|
4049
|
+
|
4050
|
+
def _deserialize(self, params):
|
4051
|
+
self._VoucherId = params.get("VoucherId")
|
4052
|
+
self._CustomerUin = params.get("CustomerUin")
|
4053
|
+
self._VoucherStatus = params.get("VoucherStatus")
|
4054
|
+
self._RemainingAmount = params.get("RemainingAmount")
|
4055
|
+
self._TotalAmount = params.get("TotalAmount")
|
4056
|
+
self._PaymentMode = params.get("PaymentMode")
|
4057
|
+
self._ProductScope = params.get("ProductScope")
|
4058
|
+
self._EffectiveTime = params.get("EffectiveTime")
|
4059
|
+
self._ExpireTime = params.get("ExpireTime")
|
4060
|
+
memeber_set = set(params.keys())
|
4061
|
+
for name, value in vars(self).items():
|
4062
|
+
property_name = name[1:]
|
4063
|
+
if property_name in memeber_set:
|
4064
|
+
memeber_set.remove(property_name)
|
4065
|
+
if len(memeber_set) > 0:
|
4066
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4067
|
+
|
4068
|
+
|
4069
|
+
|
4070
|
+
class DescribeCustomerOwnVoucherListRequest(AbstractModel):
|
4071
|
+
"""DescribeCustomerOwnVoucherList request structure.
|
4072
|
+
|
4073
|
+
"""
|
4074
|
+
|
4075
|
+
def __init__(self):
|
4076
|
+
r"""
|
4077
|
+
:param _Page: Page number, starts from 1.
|
4078
|
+
:type Page: int
|
4079
|
+
:param _PageSize: Number of items per page. value range: 1-100.
|
4080
|
+
:type PageSize: int
|
4081
|
+
:param _VoucherStatus: Voucher status. valid values: Issued, Used, Expired, Invalidated.
|
4082
|
+
:type VoucherStatus: str
|
4083
|
+
:param _PaymentMode: Payment mode. valid values: AllPayment, Prepaid, Postpaid.
|
4084
|
+
:type PaymentMode: str
|
4085
|
+
:param _ProductScope: Applicable product. valid values: AllProducts, SpecifyProducts, SpecifyProductsBlacklist.
|
4086
|
+
:type ProductScope: str
|
4087
|
+
:param _VoucherId: Voucher ID.
|
4088
|
+
:type VoucherId: int
|
4089
|
+
"""
|
4090
|
+
self._Page = None
|
4091
|
+
self._PageSize = None
|
4092
|
+
self._VoucherStatus = None
|
4093
|
+
self._PaymentMode = None
|
4094
|
+
self._ProductScope = None
|
4095
|
+
self._VoucherId = None
|
4096
|
+
|
4097
|
+
@property
|
4098
|
+
def Page(self):
|
4099
|
+
"""Page number, starts from 1.
|
4100
|
+
:rtype: int
|
4101
|
+
"""
|
4102
|
+
return self._Page
|
4103
|
+
|
4104
|
+
@Page.setter
|
4105
|
+
def Page(self, Page):
|
4106
|
+
self._Page = Page
|
4107
|
+
|
4108
|
+
@property
|
4109
|
+
def PageSize(self):
|
4110
|
+
"""Number of items per page. value range: 1-100.
|
4111
|
+
:rtype: int
|
4112
|
+
"""
|
4113
|
+
return self._PageSize
|
4114
|
+
|
4115
|
+
@PageSize.setter
|
4116
|
+
def PageSize(self, PageSize):
|
4117
|
+
self._PageSize = PageSize
|
4118
|
+
|
4119
|
+
@property
|
4120
|
+
def VoucherStatus(self):
|
4121
|
+
"""Voucher status. valid values: Issued, Used, Expired, Invalidated.
|
4122
|
+
:rtype: str
|
4123
|
+
"""
|
4124
|
+
return self._VoucherStatus
|
4125
|
+
|
4126
|
+
@VoucherStatus.setter
|
4127
|
+
def VoucherStatus(self, VoucherStatus):
|
4128
|
+
self._VoucherStatus = VoucherStatus
|
4129
|
+
|
4130
|
+
@property
|
4131
|
+
def PaymentMode(self):
|
4132
|
+
"""Payment mode. valid values: AllPayment, Prepaid, Postpaid.
|
4133
|
+
:rtype: str
|
4134
|
+
"""
|
4135
|
+
return self._PaymentMode
|
4136
|
+
|
4137
|
+
@PaymentMode.setter
|
4138
|
+
def PaymentMode(self, PaymentMode):
|
4139
|
+
self._PaymentMode = PaymentMode
|
4140
|
+
|
4141
|
+
@property
|
4142
|
+
def ProductScope(self):
|
4143
|
+
"""Applicable product. valid values: AllProducts, SpecifyProducts, SpecifyProductsBlacklist.
|
4144
|
+
:rtype: str
|
4145
|
+
"""
|
4146
|
+
return self._ProductScope
|
4147
|
+
|
4148
|
+
@ProductScope.setter
|
4149
|
+
def ProductScope(self, ProductScope):
|
4150
|
+
self._ProductScope = ProductScope
|
4151
|
+
|
4152
|
+
@property
|
4153
|
+
def VoucherId(self):
|
4154
|
+
"""Voucher ID.
|
4155
|
+
:rtype: int
|
4156
|
+
"""
|
4157
|
+
return self._VoucherId
|
4158
|
+
|
4159
|
+
@VoucherId.setter
|
4160
|
+
def VoucherId(self, VoucherId):
|
4161
|
+
self._VoucherId = VoucherId
|
4162
|
+
|
4163
|
+
|
4164
|
+
def _deserialize(self, params):
|
4165
|
+
self._Page = params.get("Page")
|
4166
|
+
self._PageSize = params.get("PageSize")
|
4167
|
+
self._VoucherStatus = params.get("VoucherStatus")
|
4168
|
+
self._PaymentMode = params.get("PaymentMode")
|
4169
|
+
self._ProductScope = params.get("ProductScope")
|
4170
|
+
self._VoucherId = params.get("VoucherId")
|
4171
|
+
memeber_set = set(params.keys())
|
4172
|
+
for name, value in vars(self).items():
|
4173
|
+
property_name = name[1:]
|
4174
|
+
if property_name in memeber_set:
|
4175
|
+
memeber_set.remove(property_name)
|
4176
|
+
if len(memeber_set) > 0:
|
4177
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4178
|
+
|
4179
|
+
|
4180
|
+
|
4181
|
+
class DescribeCustomerOwnVoucherListResponse(AbstractModel):
|
4182
|
+
"""DescribeCustomerOwnVoucherList response structure.
|
4183
|
+
|
4184
|
+
"""
|
4185
|
+
|
4186
|
+
def __init__(self):
|
4187
|
+
r"""
|
4188
|
+
:param _TotalCount: Total number of the list.
|
4189
|
+
:type TotalCount: int
|
4190
|
+
:param _Data: Voucher information description.
|
4191
|
+
:type Data: list of DescribeCustomerOwnVoucherItem
|
4192
|
+
: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.
|
4193
|
+
:type RequestId: str
|
4194
|
+
"""
|
4195
|
+
self._TotalCount = None
|
4196
|
+
self._Data = None
|
4197
|
+
self._RequestId = None
|
4198
|
+
|
4199
|
+
@property
|
4200
|
+
def TotalCount(self):
|
4201
|
+
"""Total number of the list.
|
4202
|
+
:rtype: int
|
4203
|
+
"""
|
4204
|
+
return self._TotalCount
|
4205
|
+
|
4206
|
+
@TotalCount.setter
|
4207
|
+
def TotalCount(self, TotalCount):
|
4208
|
+
self._TotalCount = TotalCount
|
4209
|
+
|
4210
|
+
@property
|
4211
|
+
def Data(self):
|
4212
|
+
"""Voucher information description.
|
4213
|
+
:rtype: list of DescribeCustomerOwnVoucherItem
|
4214
|
+
"""
|
4215
|
+
return self._Data
|
4216
|
+
|
4217
|
+
@Data.setter
|
4218
|
+
def Data(self, Data):
|
4219
|
+
self._Data = Data
|
4220
|
+
|
4221
|
+
@property
|
4222
|
+
def RequestId(self):
|
4223
|
+
"""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.
|
4224
|
+
:rtype: str
|
4225
|
+
"""
|
4226
|
+
return self._RequestId
|
4227
|
+
|
4228
|
+
@RequestId.setter
|
4229
|
+
def RequestId(self, RequestId):
|
4230
|
+
self._RequestId = RequestId
|
4231
|
+
|
4232
|
+
|
4233
|
+
def _deserialize(self, params):
|
4234
|
+
self._TotalCount = params.get("TotalCount")
|
4235
|
+
if params.get("Data") is not None:
|
4236
|
+
self._Data = []
|
4237
|
+
for item in params.get("Data"):
|
4238
|
+
obj = DescribeCustomerOwnVoucherItem()
|
4239
|
+
obj._deserialize(item)
|
4240
|
+
self._Data.append(obj)
|
4241
|
+
self._RequestId = params.get("RequestId")
|
4242
|
+
|
4243
|
+
|
3914
4244
|
class DescribeCustomerUinData(AbstractModel):
|
3915
4245
|
"""List of customer UINs
|
3916
4246
|
|
@@ -4061,6 +4391,396 @@ class DescribeCustomerUinResponse(AbstractModel):
|
|
4061
4391
|
self._RequestId = params.get("RequestId")
|
4062
4392
|
|
4063
4393
|
|
4394
|
+
class DescribeCustomerVoucherItem(AbstractModel):
|
4395
|
+
"""Voucher data.
|
4396
|
+
|
4397
|
+
"""
|
4398
|
+
|
4399
|
+
def __init__(self):
|
4400
|
+
r"""
|
4401
|
+
:param _VoucherId: Voucher ID.
|
4402
|
+
:type VoucherId: int
|
4403
|
+
:param _CustomerUin: Sub-account UIN
|
4404
|
+
:type CustomerUin: int
|
4405
|
+
:param _VoucherStatus: Voucher status: Issued/Used/Expired/Invalidated.
|
4406
|
+
:type VoucherStatus: str
|
4407
|
+
:param _RemainingAmount: Remaining amount.
|
4408
|
+
:type RemainingAmount: float
|
4409
|
+
:param _TotalAmount: Denomination.
|
4410
|
+
:type TotalAmount: float
|
4411
|
+
:param _Usage: Purpose: ProductTrial/CustomerOffer.
|
4412
|
+
:type Usage: str
|
4413
|
+
:param _PaymentMode: Payment mode. valid values: AllPayment, Prepaid, and Postpaid.
|
4414
|
+
:type PaymentMode: str
|
4415
|
+
:param _ProductScope: Applicable product: AllProducts/SpecifyProducts/SpecifyProductsBlacklist.
|
4416
|
+
:type ProductScope: str
|
4417
|
+
:param _EffectiveTime: Start time.
|
4418
|
+
:type EffectiveTime: str
|
4419
|
+
:param _ExpireTime: End time.
|
4420
|
+
:type ExpireTime: str
|
4421
|
+
:param _ApplyReason: Application notes
|
4422
|
+
:type ApplyReason: str
|
4423
|
+
"""
|
4424
|
+
self._VoucherId = None
|
4425
|
+
self._CustomerUin = None
|
4426
|
+
self._VoucherStatus = None
|
4427
|
+
self._RemainingAmount = None
|
4428
|
+
self._TotalAmount = None
|
4429
|
+
self._Usage = None
|
4430
|
+
self._PaymentMode = None
|
4431
|
+
self._ProductScope = None
|
4432
|
+
self._EffectiveTime = None
|
4433
|
+
self._ExpireTime = None
|
4434
|
+
self._ApplyReason = None
|
4435
|
+
|
4436
|
+
@property
|
4437
|
+
def VoucherId(self):
|
4438
|
+
"""Voucher ID.
|
4439
|
+
:rtype: int
|
4440
|
+
"""
|
4441
|
+
return self._VoucherId
|
4442
|
+
|
4443
|
+
@VoucherId.setter
|
4444
|
+
def VoucherId(self, VoucherId):
|
4445
|
+
self._VoucherId = VoucherId
|
4446
|
+
|
4447
|
+
@property
|
4448
|
+
def CustomerUin(self):
|
4449
|
+
"""Sub-account UIN
|
4450
|
+
:rtype: int
|
4451
|
+
"""
|
4452
|
+
return self._CustomerUin
|
4453
|
+
|
4454
|
+
@CustomerUin.setter
|
4455
|
+
def CustomerUin(self, CustomerUin):
|
4456
|
+
self._CustomerUin = CustomerUin
|
4457
|
+
|
4458
|
+
@property
|
4459
|
+
def VoucherStatus(self):
|
4460
|
+
"""Voucher status: Issued/Used/Expired/Invalidated.
|
4461
|
+
:rtype: str
|
4462
|
+
"""
|
4463
|
+
return self._VoucherStatus
|
4464
|
+
|
4465
|
+
@VoucherStatus.setter
|
4466
|
+
def VoucherStatus(self, VoucherStatus):
|
4467
|
+
self._VoucherStatus = VoucherStatus
|
4468
|
+
|
4469
|
+
@property
|
4470
|
+
def RemainingAmount(self):
|
4471
|
+
"""Remaining amount.
|
4472
|
+
:rtype: float
|
4473
|
+
"""
|
4474
|
+
return self._RemainingAmount
|
4475
|
+
|
4476
|
+
@RemainingAmount.setter
|
4477
|
+
def RemainingAmount(self, RemainingAmount):
|
4478
|
+
self._RemainingAmount = RemainingAmount
|
4479
|
+
|
4480
|
+
@property
|
4481
|
+
def TotalAmount(self):
|
4482
|
+
"""Denomination.
|
4483
|
+
:rtype: float
|
4484
|
+
"""
|
4485
|
+
return self._TotalAmount
|
4486
|
+
|
4487
|
+
@TotalAmount.setter
|
4488
|
+
def TotalAmount(self, TotalAmount):
|
4489
|
+
self._TotalAmount = TotalAmount
|
4490
|
+
|
4491
|
+
@property
|
4492
|
+
def Usage(self):
|
4493
|
+
"""Purpose: ProductTrial/CustomerOffer.
|
4494
|
+
:rtype: str
|
4495
|
+
"""
|
4496
|
+
return self._Usage
|
4497
|
+
|
4498
|
+
@Usage.setter
|
4499
|
+
def Usage(self, Usage):
|
4500
|
+
self._Usage = Usage
|
4501
|
+
|
4502
|
+
@property
|
4503
|
+
def PaymentMode(self):
|
4504
|
+
"""Payment mode. valid values: AllPayment, Prepaid, and Postpaid.
|
4505
|
+
:rtype: str
|
4506
|
+
"""
|
4507
|
+
return self._PaymentMode
|
4508
|
+
|
4509
|
+
@PaymentMode.setter
|
4510
|
+
def PaymentMode(self, PaymentMode):
|
4511
|
+
self._PaymentMode = PaymentMode
|
4512
|
+
|
4513
|
+
@property
|
4514
|
+
def ProductScope(self):
|
4515
|
+
"""Applicable product: AllProducts/SpecifyProducts/SpecifyProductsBlacklist.
|
4516
|
+
:rtype: str
|
4517
|
+
"""
|
4518
|
+
return self._ProductScope
|
4519
|
+
|
4520
|
+
@ProductScope.setter
|
4521
|
+
def ProductScope(self, ProductScope):
|
4522
|
+
self._ProductScope = ProductScope
|
4523
|
+
|
4524
|
+
@property
|
4525
|
+
def EffectiveTime(self):
|
4526
|
+
"""Start time.
|
4527
|
+
:rtype: str
|
4528
|
+
"""
|
4529
|
+
return self._EffectiveTime
|
4530
|
+
|
4531
|
+
@EffectiveTime.setter
|
4532
|
+
def EffectiveTime(self, EffectiveTime):
|
4533
|
+
self._EffectiveTime = EffectiveTime
|
4534
|
+
|
4535
|
+
@property
|
4536
|
+
def ExpireTime(self):
|
4537
|
+
"""End time.
|
4538
|
+
:rtype: str
|
4539
|
+
"""
|
4540
|
+
return self._ExpireTime
|
4541
|
+
|
4542
|
+
@ExpireTime.setter
|
4543
|
+
def ExpireTime(self, ExpireTime):
|
4544
|
+
self._ExpireTime = ExpireTime
|
4545
|
+
|
4546
|
+
@property
|
4547
|
+
def ApplyReason(self):
|
4548
|
+
"""Application notes
|
4549
|
+
:rtype: str
|
4550
|
+
"""
|
4551
|
+
return self._ApplyReason
|
4552
|
+
|
4553
|
+
@ApplyReason.setter
|
4554
|
+
def ApplyReason(self, ApplyReason):
|
4555
|
+
self._ApplyReason = ApplyReason
|
4556
|
+
|
4557
|
+
|
4558
|
+
def _deserialize(self, params):
|
4559
|
+
self._VoucherId = params.get("VoucherId")
|
4560
|
+
self._CustomerUin = params.get("CustomerUin")
|
4561
|
+
self._VoucherStatus = params.get("VoucherStatus")
|
4562
|
+
self._RemainingAmount = params.get("RemainingAmount")
|
4563
|
+
self._TotalAmount = params.get("TotalAmount")
|
4564
|
+
self._Usage = params.get("Usage")
|
4565
|
+
self._PaymentMode = params.get("PaymentMode")
|
4566
|
+
self._ProductScope = params.get("ProductScope")
|
4567
|
+
self._EffectiveTime = params.get("EffectiveTime")
|
4568
|
+
self._ExpireTime = params.get("ExpireTime")
|
4569
|
+
self._ApplyReason = params.get("ApplyReason")
|
4570
|
+
memeber_set = set(params.keys())
|
4571
|
+
for name, value in vars(self).items():
|
4572
|
+
property_name = name[1:]
|
4573
|
+
if property_name in memeber_set:
|
4574
|
+
memeber_set.remove(property_name)
|
4575
|
+
if len(memeber_set) > 0:
|
4576
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4577
|
+
|
4578
|
+
|
4579
|
+
|
4580
|
+
class DescribeCustomerVoucherListRequest(AbstractModel):
|
4581
|
+
"""DescribeCustomerVoucherList request structure.
|
4582
|
+
|
4583
|
+
"""
|
4584
|
+
|
4585
|
+
def __init__(self):
|
4586
|
+
r"""
|
4587
|
+
:param _Page: Page number, starts from 1.
|
4588
|
+
:type Page: int
|
4589
|
+
:param _PageSize: Number of items per page. value range: 1-100.
|
4590
|
+
:type PageSize: int
|
4591
|
+
:param _CustomerUin: Customer UIN.
|
4592
|
+
:type CustomerUin: int
|
4593
|
+
:param _VoucherStatus: Voucher status. valid values: Issued, Used, Expired, Invalidated.
|
4594
|
+
:type VoucherStatus: str
|
4595
|
+
:param _PaymentMode: Payment mode. valid values: AllPayment, Prepaid, Postpaid.
|
4596
|
+
:type PaymentMode: str
|
4597
|
+
:param _Usage: valid values: ProductTrial, CustomerOffer.
|
4598
|
+
:type Usage: str
|
4599
|
+
:param _ProductScope: Applicable product. valid values: AllProducts, SpecifyProducts, SpecifyProductsBlacklist.
|
4600
|
+
:type ProductScope: str
|
4601
|
+
:param _VoucherId: Voucher ID.
|
4602
|
+
:type VoucherId: int
|
4603
|
+
"""
|
4604
|
+
self._Page = None
|
4605
|
+
self._PageSize = None
|
4606
|
+
self._CustomerUin = None
|
4607
|
+
self._VoucherStatus = None
|
4608
|
+
self._PaymentMode = None
|
4609
|
+
self._Usage = None
|
4610
|
+
self._ProductScope = None
|
4611
|
+
self._VoucherId = None
|
4612
|
+
|
4613
|
+
@property
|
4614
|
+
def Page(self):
|
4615
|
+
"""Page number, starts from 1.
|
4616
|
+
:rtype: int
|
4617
|
+
"""
|
4618
|
+
return self._Page
|
4619
|
+
|
4620
|
+
@Page.setter
|
4621
|
+
def Page(self, Page):
|
4622
|
+
self._Page = Page
|
4623
|
+
|
4624
|
+
@property
|
4625
|
+
def PageSize(self):
|
4626
|
+
"""Number of items per page. value range: 1-100.
|
4627
|
+
:rtype: int
|
4628
|
+
"""
|
4629
|
+
return self._PageSize
|
4630
|
+
|
4631
|
+
@PageSize.setter
|
4632
|
+
def PageSize(self, PageSize):
|
4633
|
+
self._PageSize = PageSize
|
4634
|
+
|
4635
|
+
@property
|
4636
|
+
def CustomerUin(self):
|
4637
|
+
"""Customer UIN.
|
4638
|
+
:rtype: int
|
4639
|
+
"""
|
4640
|
+
return self._CustomerUin
|
4641
|
+
|
4642
|
+
@CustomerUin.setter
|
4643
|
+
def CustomerUin(self, CustomerUin):
|
4644
|
+
self._CustomerUin = CustomerUin
|
4645
|
+
|
4646
|
+
@property
|
4647
|
+
def VoucherStatus(self):
|
4648
|
+
"""Voucher status. valid values: Issued, Used, Expired, Invalidated.
|
4649
|
+
:rtype: str
|
4650
|
+
"""
|
4651
|
+
return self._VoucherStatus
|
4652
|
+
|
4653
|
+
@VoucherStatus.setter
|
4654
|
+
def VoucherStatus(self, VoucherStatus):
|
4655
|
+
self._VoucherStatus = VoucherStatus
|
4656
|
+
|
4657
|
+
@property
|
4658
|
+
def PaymentMode(self):
|
4659
|
+
"""Payment mode. valid values: AllPayment, Prepaid, Postpaid.
|
4660
|
+
:rtype: str
|
4661
|
+
"""
|
4662
|
+
return self._PaymentMode
|
4663
|
+
|
4664
|
+
@PaymentMode.setter
|
4665
|
+
def PaymentMode(self, PaymentMode):
|
4666
|
+
self._PaymentMode = PaymentMode
|
4667
|
+
|
4668
|
+
@property
|
4669
|
+
def Usage(self):
|
4670
|
+
"""valid values: ProductTrial, CustomerOffer.
|
4671
|
+
:rtype: str
|
4672
|
+
"""
|
4673
|
+
return self._Usage
|
4674
|
+
|
4675
|
+
@Usage.setter
|
4676
|
+
def Usage(self, Usage):
|
4677
|
+
self._Usage = Usage
|
4678
|
+
|
4679
|
+
@property
|
4680
|
+
def ProductScope(self):
|
4681
|
+
"""Applicable product. valid values: AllProducts, SpecifyProducts, SpecifyProductsBlacklist.
|
4682
|
+
:rtype: str
|
4683
|
+
"""
|
4684
|
+
return self._ProductScope
|
4685
|
+
|
4686
|
+
@ProductScope.setter
|
4687
|
+
def ProductScope(self, ProductScope):
|
4688
|
+
self._ProductScope = ProductScope
|
4689
|
+
|
4690
|
+
@property
|
4691
|
+
def VoucherId(self):
|
4692
|
+
"""Voucher ID.
|
4693
|
+
:rtype: int
|
4694
|
+
"""
|
4695
|
+
return self._VoucherId
|
4696
|
+
|
4697
|
+
@VoucherId.setter
|
4698
|
+
def VoucherId(self, VoucherId):
|
4699
|
+
self._VoucherId = VoucherId
|
4700
|
+
|
4701
|
+
|
4702
|
+
def _deserialize(self, params):
|
4703
|
+
self._Page = params.get("Page")
|
4704
|
+
self._PageSize = params.get("PageSize")
|
4705
|
+
self._CustomerUin = params.get("CustomerUin")
|
4706
|
+
self._VoucherStatus = params.get("VoucherStatus")
|
4707
|
+
self._PaymentMode = params.get("PaymentMode")
|
4708
|
+
self._Usage = params.get("Usage")
|
4709
|
+
self._ProductScope = params.get("ProductScope")
|
4710
|
+
self._VoucherId = params.get("VoucherId")
|
4711
|
+
memeber_set = set(params.keys())
|
4712
|
+
for name, value in vars(self).items():
|
4713
|
+
property_name = name[1:]
|
4714
|
+
if property_name in memeber_set:
|
4715
|
+
memeber_set.remove(property_name)
|
4716
|
+
if len(memeber_set) > 0:
|
4717
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4718
|
+
|
4719
|
+
|
4720
|
+
|
4721
|
+
class DescribeCustomerVoucherListResponse(AbstractModel):
|
4722
|
+
"""DescribeCustomerVoucherList response structure.
|
4723
|
+
|
4724
|
+
"""
|
4725
|
+
|
4726
|
+
def __init__(self):
|
4727
|
+
r"""
|
4728
|
+
:param _TotalCount: Total number of the list.
|
4729
|
+
:type TotalCount: int
|
4730
|
+
:param _Data: Voucher information description.
|
4731
|
+
:type Data: list of DescribeCustomerVoucherItem
|
4732
|
+
: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.
|
4733
|
+
:type RequestId: str
|
4734
|
+
"""
|
4735
|
+
self._TotalCount = None
|
4736
|
+
self._Data = None
|
4737
|
+
self._RequestId = None
|
4738
|
+
|
4739
|
+
@property
|
4740
|
+
def TotalCount(self):
|
4741
|
+
"""Total number of the list.
|
4742
|
+
:rtype: int
|
4743
|
+
"""
|
4744
|
+
return self._TotalCount
|
4745
|
+
|
4746
|
+
@TotalCount.setter
|
4747
|
+
def TotalCount(self, TotalCount):
|
4748
|
+
self._TotalCount = TotalCount
|
4749
|
+
|
4750
|
+
@property
|
4751
|
+
def Data(self):
|
4752
|
+
"""Voucher information description.
|
4753
|
+
:rtype: list of DescribeCustomerVoucherItem
|
4754
|
+
"""
|
4755
|
+
return self._Data
|
4756
|
+
|
4757
|
+
@Data.setter
|
4758
|
+
def Data(self, Data):
|
4759
|
+
self._Data = Data
|
4760
|
+
|
4761
|
+
@property
|
4762
|
+
def RequestId(self):
|
4763
|
+
"""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.
|
4764
|
+
:rtype: str
|
4765
|
+
"""
|
4766
|
+
return self._RequestId
|
4767
|
+
|
4768
|
+
@RequestId.setter
|
4769
|
+
def RequestId(self, RequestId):
|
4770
|
+
self._RequestId = RequestId
|
4771
|
+
|
4772
|
+
|
4773
|
+
def _deserialize(self, params):
|
4774
|
+
self._TotalCount = params.get("TotalCount")
|
4775
|
+
if params.get("Data") is not None:
|
4776
|
+
self._Data = []
|
4777
|
+
for item in params.get("Data"):
|
4778
|
+
obj = DescribeCustomerVoucherItem()
|
4779
|
+
obj._deserialize(item)
|
4780
|
+
self._Data.append(obj)
|
4781
|
+
self._RequestId = params.get("RequestId")
|
4782
|
+
|
4783
|
+
|
4064
4784
|
class DescribeRebateDownloadUrlRequest(AbstractModel):
|
4065
4785
|
"""DescribeRebateDownloadUrl request structure.
|
4066
4786
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
1
|
+
tencentcloud/__init__.py,sha256=49K6jwLRIgWzLSCgiDfZGtTrpAJ35VHYbWIxXbcA0pA,630
|
2
2
|
tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
tencentcloud/advisor/v20200721/advisor_client.py,sha256=fiBV7Nao68T0UJdOUt5BxEABWr7mG_J9NPJT2lXDdyw,2897
|
@@ -78,7 +78,7 @@ tencentcloud/cdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
78
78
|
tencentcloud/cdb/v20170320/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
79
79
|
tencentcloud/cdb/v20170320/cdb_client.py,sha256=N_e22Y0AKMyMsF4B7TRZb9BzVoqBbCLxBEwYMq9BHOw,137192
|
80
80
|
tencentcloud/cdb/v20170320/errorcodes.py,sha256=g2LnYXByj_OFOdooQHg-mrpdOlHeWu3X5fDPeYQPYXI,20586
|
81
|
-
tencentcloud/cdb/v20170320/models.py,sha256=
|
81
|
+
tencentcloud/cdb/v20170320/models.py,sha256=6d4oUspueLaYUHHTs4gzag15Nw4xmAv2b5l0v1d7Xr4,1024562
|
82
82
|
tencentcloud/cdc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
83
83
|
tencentcloud/cdc/v20201214/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
84
84
|
tencentcloud/cdc/v20201214/cdc_client.py,sha256=fYq1oLVx5coiM6FYJPoQUhiUq8666HnwAbcTBXJmMrE,19910
|
@@ -201,7 +201,7 @@ tencentcloud/cynosdb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
201
201
|
tencentcloud/cynosdb/v20190107/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
202
202
|
tencentcloud/cynosdb/v20190107/cynosdb_client.py,sha256=_gr_0dwDL9fos9DRWl2jwEzsUqKOMBCcciiWxlJigDs,132136
|
203
203
|
tencentcloud/cynosdb/v20190107/errorcodes.py,sha256=vYrOn3EWhQxC2NlnaeRNxVH6Vdk0TTtSEJ3km1BZ1TQ,14722
|
204
|
-
tencentcloud/cynosdb/v20190107/models.py,sha256=
|
204
|
+
tencentcloud/cynosdb/v20190107/models.py,sha256=pQeicPBOqh1MtyLWVJuRATeDoNDYTmUuoam-VNL-8vE,929549
|
205
205
|
tencentcloud/dataintegration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
206
206
|
tencentcloud/dataintegration/v20220613/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
207
207
|
tencentcloud/dataintegration/v20220613/dataintegration_client.py,sha256=MCZ_JrDJLa7kYGvg9D535eTGBdy78nq338iEA8YSdwQ,1909
|
@@ -328,8 +328,8 @@ tencentcloud/gwlb/v20240906/models.py,sha256=lhysMU2S_WH-HX92z0uSgqJHUEZmkGFpyEL
|
|
328
328
|
tencentcloud/iai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
329
329
|
tencentcloud/iai/v20200303/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
330
330
|
tencentcloud/iai/v20200303/errorcodes.py,sha256=9Zq2oU_yclAoKnWCh4UGerIgIJQ63MHxMuEwZALRWzY,12909
|
331
|
-
tencentcloud/iai/v20200303/iai_client.py,sha256=
|
332
|
-
tencentcloud/iai/v20200303/models.py,sha256=
|
331
|
+
tencentcloud/iai/v20200303/iai_client.py,sha256=ZShfr7QITy_Qj9YCBxaWfXtXngOJcuH3xQMNnQqBVTA,44116
|
332
|
+
tencentcloud/iai/v20200303/models.py,sha256=wpDuluQGfzeLWM2i0JbuCYW41foVXt2fyXKgFY1SoKg,321627
|
333
333
|
tencentcloud/iap/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
334
334
|
tencentcloud/iap/v20240713/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
335
335
|
tencentcloud/iap/v20240713/errorcodes.py,sha256=cqaHLppTBeiHS19zGrX9Fo9nUsvT5u6MVn0sTeh_wsE,1652
|
@@ -343,8 +343,8 @@ tencentcloud/ims/v20201229/models.py,sha256=Q1L2FoNGfs_24bkUZJrD5Hcq_eouF3Ayljee
|
|
343
343
|
tencentcloud/intlpartnersmgt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
344
344
|
tencentcloud/intlpartnersmgt/v20220928/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
345
345
|
tencentcloud/intlpartnersmgt/v20220928/errorcodes.py,sha256=tSll8Z82ldhQ8Q6cBkmxaTXe1ILN__H4WOCWH4dnUFE,8711
|
346
|
-
tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=
|
347
|
-
tencentcloud/intlpartnersmgt/v20220928/models.py,sha256
|
346
|
+
tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=iF6N_3z9vxvq5eLeQqEVzA12pESkKykAa5lx4KC6e8Y,47499
|
347
|
+
tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=hqQ0dD5TL080pfqp44oknLgMvthZYA7LU3P2BbrNZ0w,277613
|
348
348
|
tencentcloud/iotcloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
349
349
|
tencentcloud/iotcloud/v20210408/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
350
350
|
tencentcloud/iotcloud/v20210408/errorcodes.py,sha256=5Wx7sPJOTpDdlX57HDEIEwoDirSwUiALR91_AR-SB6g,5860
|
@@ -673,7 +673,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
673
673
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=g2ac3Fxgbof23WWhGj9VxvuLJZNshnB0Mg7jWUzTh24,3168
|
674
674
|
tencentcloud/yunjing/v20180228/models.py,sha256=vFpNnPGWiOLdTut0XPTpRRF5lobWUTkFUO1EHc9RkBk,330643
|
675
675
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=PqtaJz4gQ-rIxKXVMNtOKx7kFBQdUn-zKVuH2NcMFcA,67362
|
676
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
677
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
678
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
679
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
676
|
+
tencentcloud_sdk_python_intl_en-3.0.1251.dist-info/METADATA,sha256=4DaI_WF6iREVqlpt_atOhDJXu79ouQ3IgiFEE_tDJWI,1628
|
677
|
+
tencentcloud_sdk_python_intl_en-3.0.1251.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
678
|
+
tencentcloud_sdk_python_intl_en-3.0.1251.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
679
|
+
tencentcloud_sdk_python_intl_en-3.0.1251.dist-info/RECORD,,
|
File without changes
|