tencentcloud-sdk-python-intl-en 3.0.1250__py2.py3-none-any.whl → 3.0.1252__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.
@@ -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