tencentcloud-sdk-python-intl-en 3.0.1119__py2.py3-none-any.whl → 3.0.1121__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/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/models.py +751 -0
- tencentcloud/config/v20220802/config_client.py +23 -0
- tencentcloud/config/v20220802/errorcodes.py +3 -0
- tencentcloud/config/v20220802/models.py +418 -0
- tencentcloud/faceid/v20180301/errorcodes.py +3 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +80 -35
- {tencentcloud_sdk_python_intl_en-3.0.1119.dist-info → tencentcloud_sdk_python_intl_en-3.0.1121.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1119.dist-info → tencentcloud_sdk_python_intl_en-3.0.1121.dist-info}/RECORD +12 -12
- {tencentcloud_sdk_python_intl_en-3.0.1119.dist-info → tencentcloud_sdk_python_intl_en-3.0.1121.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1119.dist-info → tencentcloud_sdk_python_intl_en-3.0.1121.dist-info}/top_level.txt +0 -0
|
@@ -6849,6 +6849,464 @@ class CreateAllocationTagResponse(AbstractModel):
|
|
|
6849
6849
|
self._RequestId = params.get("RequestId")
|
|
6850
6850
|
|
|
6851
6851
|
|
|
6852
|
+
class Deal(AbstractModel):
|
|
6853
|
+
"""Order data object
|
|
6854
|
+
|
|
6855
|
+
"""
|
|
6856
|
+
|
|
6857
|
+
def __init__(self):
|
|
6858
|
+
r"""
|
|
6859
|
+
:param _OrderId: Order ID.
|
|
6860
|
+
:type OrderId: str
|
|
6861
|
+
:param _Status: The status of the order. 1: unpaid; 2: paid; 3: shipping; 4: shipped; 5: shipment failed; 6: refunded; 7: closed case; 8: order expired; 9: order invalidated; 10: product invalidated; 11: third-party payment refused; 12: payment in process
|
|
6862
|
+
:type Status: int
|
|
6863
|
+
:param _Payer: Payer
|
|
6864
|
+
:type Payer: str
|
|
6865
|
+
:param _CreateTime: Creation time
|
|
6866
|
+
:type CreateTime: str
|
|
6867
|
+
:param _Creator: Creator
|
|
6868
|
+
:type Creator: str
|
|
6869
|
+
:param _RealTotalCost: Actual payment amount (pent)
|
|
6870
|
+
:type RealTotalCost: int
|
|
6871
|
+
:param _VoucherDecline: Voucher offset amount (pent)
|
|
6872
|
+
:type VoucherDecline: int
|
|
6873
|
+
:param _ProjectId: Project ID
|
|
6874
|
+
:type ProjectId: int
|
|
6875
|
+
:param _GoodsCategoryId: Product category ID
|
|
6876
|
+
:type GoodsCategoryId: int
|
|
6877
|
+
:param _ProductInfo: Product details
|
|
6878
|
+
:type ProductInfo: list of ProductInfo
|
|
6879
|
+
:param _TimeSpan: Duration
|
|
6880
|
+
:type TimeSpan: float
|
|
6881
|
+
:param _TimeUnit: Time unit
|
|
6882
|
+
:type TimeUnit: str
|
|
6883
|
+
:param _Currency: Currency unit
|
|
6884
|
+
:type Currency: str
|
|
6885
|
+
:param _Policy: Discount rate
|
|
6886
|
+
:type Policy: float
|
|
6887
|
+
:param _Price: Unit price (cents)
|
|
6888
|
+
:type Price: float
|
|
6889
|
+
:param _TotalCost: Original price (cents)
|
|
6890
|
+
:type TotalCost: float
|
|
6891
|
+
:param _ProductCode: Product code
|
|
6892
|
+
|
|
6893
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6894
|
+
:type ProductCode: str
|
|
6895
|
+
:param _SubProductCode: Subproduct code
|
|
6896
|
+
:type SubProductCode: str
|
|
6897
|
+
:param _BigDealId: Large order number.
|
|
6898
|
+
:type BigDealId: str
|
|
6899
|
+
:param _Formula: Refund formula
|
|
6900
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6901
|
+
:type Formula: str
|
|
6902
|
+
:param _RefReturnDeals: Refund involves order information
|
|
6903
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6904
|
+
:type RefReturnDeals: str
|
|
6905
|
+
:param _PayMode: Billing mode: `prePay` (prepaid), `postPay` (pay-as-you-go), `riPay` (reserved instance)
|
|
6906
|
+
:type PayMode: str
|
|
6907
|
+
:param _Action: Transaction type
|
|
6908
|
+
|
|
6909
|
+
`modifyNetworkMode`: Adjusting bandwidth mode
|
|
6910
|
+
`modifyNetworkSize`: Adjusting bandwidth size
|
|
6911
|
+
`refund`: Refund
|
|
6912
|
+
`downgrade`: Downgrade
|
|
6913
|
+
upgrade (upgrade)
|
|
6914
|
+
renew
|
|
6915
|
+
purchase
|
|
6916
|
+
preMoveOut annual and monthly subscription resources
|
|
6917
|
+
preMoveIn annual and monthly subscription resources
|
|
6918
|
+
preToPost prepaid to postpaid
|
|
6919
|
+
postMoveOut move out pay-as-you-go resources
|
|
6920
|
+
postMoveIn move in pay-as-you-go resources
|
|
6921
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6922
|
+
:type Action: str
|
|
6923
|
+
:param _ProductName: Product code Chinese name
|
|
6924
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6925
|
+
:type ProductName: str
|
|
6926
|
+
:param _SubProductName: Subproduct code Chinese name
|
|
6927
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6928
|
+
:type SubProductName: str
|
|
6929
|
+
:param _ResourceId: The resource ID corresponding to the order. If the query parameter `Limit` exceeds 200, null will be returned.
|
|
6930
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6931
|
+
:type ResourceId: list of str
|
|
6932
|
+
"""
|
|
6933
|
+
self._OrderId = None
|
|
6934
|
+
self._Status = None
|
|
6935
|
+
self._Payer = None
|
|
6936
|
+
self._CreateTime = None
|
|
6937
|
+
self._Creator = None
|
|
6938
|
+
self._RealTotalCost = None
|
|
6939
|
+
self._VoucherDecline = None
|
|
6940
|
+
self._ProjectId = None
|
|
6941
|
+
self._GoodsCategoryId = None
|
|
6942
|
+
self._ProductInfo = None
|
|
6943
|
+
self._TimeSpan = None
|
|
6944
|
+
self._TimeUnit = None
|
|
6945
|
+
self._Currency = None
|
|
6946
|
+
self._Policy = None
|
|
6947
|
+
self._Price = None
|
|
6948
|
+
self._TotalCost = None
|
|
6949
|
+
self._ProductCode = None
|
|
6950
|
+
self._SubProductCode = None
|
|
6951
|
+
self._BigDealId = None
|
|
6952
|
+
self._Formula = None
|
|
6953
|
+
self._RefReturnDeals = None
|
|
6954
|
+
self._PayMode = None
|
|
6955
|
+
self._Action = None
|
|
6956
|
+
self._ProductName = None
|
|
6957
|
+
self._SubProductName = None
|
|
6958
|
+
self._ResourceId = None
|
|
6959
|
+
|
|
6960
|
+
@property
|
|
6961
|
+
def OrderId(self):
|
|
6962
|
+
"""Order ID.
|
|
6963
|
+
:rtype: str
|
|
6964
|
+
"""
|
|
6965
|
+
return self._OrderId
|
|
6966
|
+
|
|
6967
|
+
@OrderId.setter
|
|
6968
|
+
def OrderId(self, OrderId):
|
|
6969
|
+
self._OrderId = OrderId
|
|
6970
|
+
|
|
6971
|
+
@property
|
|
6972
|
+
def Status(self):
|
|
6973
|
+
"""The status of the order. 1: unpaid; 2: paid; 3: shipping; 4: shipped; 5: shipment failed; 6: refunded; 7: closed case; 8: order expired; 9: order invalidated; 10: product invalidated; 11: third-party payment refused; 12: payment in process
|
|
6974
|
+
:rtype: int
|
|
6975
|
+
"""
|
|
6976
|
+
return self._Status
|
|
6977
|
+
|
|
6978
|
+
@Status.setter
|
|
6979
|
+
def Status(self, Status):
|
|
6980
|
+
self._Status = Status
|
|
6981
|
+
|
|
6982
|
+
@property
|
|
6983
|
+
def Payer(self):
|
|
6984
|
+
"""Payer
|
|
6985
|
+
:rtype: str
|
|
6986
|
+
"""
|
|
6987
|
+
return self._Payer
|
|
6988
|
+
|
|
6989
|
+
@Payer.setter
|
|
6990
|
+
def Payer(self, Payer):
|
|
6991
|
+
self._Payer = Payer
|
|
6992
|
+
|
|
6993
|
+
@property
|
|
6994
|
+
def CreateTime(self):
|
|
6995
|
+
"""Creation time
|
|
6996
|
+
:rtype: str
|
|
6997
|
+
"""
|
|
6998
|
+
return self._CreateTime
|
|
6999
|
+
|
|
7000
|
+
@CreateTime.setter
|
|
7001
|
+
def CreateTime(self, CreateTime):
|
|
7002
|
+
self._CreateTime = CreateTime
|
|
7003
|
+
|
|
7004
|
+
@property
|
|
7005
|
+
def Creator(self):
|
|
7006
|
+
"""Creator
|
|
7007
|
+
:rtype: str
|
|
7008
|
+
"""
|
|
7009
|
+
return self._Creator
|
|
7010
|
+
|
|
7011
|
+
@Creator.setter
|
|
7012
|
+
def Creator(self, Creator):
|
|
7013
|
+
self._Creator = Creator
|
|
7014
|
+
|
|
7015
|
+
@property
|
|
7016
|
+
def RealTotalCost(self):
|
|
7017
|
+
"""Actual payment amount (pent)
|
|
7018
|
+
:rtype: int
|
|
7019
|
+
"""
|
|
7020
|
+
return self._RealTotalCost
|
|
7021
|
+
|
|
7022
|
+
@RealTotalCost.setter
|
|
7023
|
+
def RealTotalCost(self, RealTotalCost):
|
|
7024
|
+
self._RealTotalCost = RealTotalCost
|
|
7025
|
+
|
|
7026
|
+
@property
|
|
7027
|
+
def VoucherDecline(self):
|
|
7028
|
+
"""Voucher offset amount (pent)
|
|
7029
|
+
:rtype: int
|
|
7030
|
+
"""
|
|
7031
|
+
return self._VoucherDecline
|
|
7032
|
+
|
|
7033
|
+
@VoucherDecline.setter
|
|
7034
|
+
def VoucherDecline(self, VoucherDecline):
|
|
7035
|
+
self._VoucherDecline = VoucherDecline
|
|
7036
|
+
|
|
7037
|
+
@property
|
|
7038
|
+
def ProjectId(self):
|
|
7039
|
+
"""Project ID
|
|
7040
|
+
:rtype: int
|
|
7041
|
+
"""
|
|
7042
|
+
return self._ProjectId
|
|
7043
|
+
|
|
7044
|
+
@ProjectId.setter
|
|
7045
|
+
def ProjectId(self, ProjectId):
|
|
7046
|
+
self._ProjectId = ProjectId
|
|
7047
|
+
|
|
7048
|
+
@property
|
|
7049
|
+
def GoodsCategoryId(self):
|
|
7050
|
+
"""Product category ID
|
|
7051
|
+
:rtype: int
|
|
7052
|
+
"""
|
|
7053
|
+
return self._GoodsCategoryId
|
|
7054
|
+
|
|
7055
|
+
@GoodsCategoryId.setter
|
|
7056
|
+
def GoodsCategoryId(self, GoodsCategoryId):
|
|
7057
|
+
self._GoodsCategoryId = GoodsCategoryId
|
|
7058
|
+
|
|
7059
|
+
@property
|
|
7060
|
+
def ProductInfo(self):
|
|
7061
|
+
"""Product details
|
|
7062
|
+
:rtype: list of ProductInfo
|
|
7063
|
+
"""
|
|
7064
|
+
return self._ProductInfo
|
|
7065
|
+
|
|
7066
|
+
@ProductInfo.setter
|
|
7067
|
+
def ProductInfo(self, ProductInfo):
|
|
7068
|
+
self._ProductInfo = ProductInfo
|
|
7069
|
+
|
|
7070
|
+
@property
|
|
7071
|
+
def TimeSpan(self):
|
|
7072
|
+
"""Duration
|
|
7073
|
+
:rtype: float
|
|
7074
|
+
"""
|
|
7075
|
+
return self._TimeSpan
|
|
7076
|
+
|
|
7077
|
+
@TimeSpan.setter
|
|
7078
|
+
def TimeSpan(self, TimeSpan):
|
|
7079
|
+
self._TimeSpan = TimeSpan
|
|
7080
|
+
|
|
7081
|
+
@property
|
|
7082
|
+
def TimeUnit(self):
|
|
7083
|
+
"""Time unit
|
|
7084
|
+
:rtype: str
|
|
7085
|
+
"""
|
|
7086
|
+
return self._TimeUnit
|
|
7087
|
+
|
|
7088
|
+
@TimeUnit.setter
|
|
7089
|
+
def TimeUnit(self, TimeUnit):
|
|
7090
|
+
self._TimeUnit = TimeUnit
|
|
7091
|
+
|
|
7092
|
+
@property
|
|
7093
|
+
def Currency(self):
|
|
7094
|
+
"""Currency unit
|
|
7095
|
+
:rtype: str
|
|
7096
|
+
"""
|
|
7097
|
+
return self._Currency
|
|
7098
|
+
|
|
7099
|
+
@Currency.setter
|
|
7100
|
+
def Currency(self, Currency):
|
|
7101
|
+
self._Currency = Currency
|
|
7102
|
+
|
|
7103
|
+
@property
|
|
7104
|
+
def Policy(self):
|
|
7105
|
+
"""Discount rate
|
|
7106
|
+
:rtype: float
|
|
7107
|
+
"""
|
|
7108
|
+
return self._Policy
|
|
7109
|
+
|
|
7110
|
+
@Policy.setter
|
|
7111
|
+
def Policy(self, Policy):
|
|
7112
|
+
self._Policy = Policy
|
|
7113
|
+
|
|
7114
|
+
@property
|
|
7115
|
+
def Price(self):
|
|
7116
|
+
"""Unit price (cents)
|
|
7117
|
+
:rtype: float
|
|
7118
|
+
"""
|
|
7119
|
+
return self._Price
|
|
7120
|
+
|
|
7121
|
+
@Price.setter
|
|
7122
|
+
def Price(self, Price):
|
|
7123
|
+
self._Price = Price
|
|
7124
|
+
|
|
7125
|
+
@property
|
|
7126
|
+
def TotalCost(self):
|
|
7127
|
+
"""Original price (cents)
|
|
7128
|
+
:rtype: float
|
|
7129
|
+
"""
|
|
7130
|
+
return self._TotalCost
|
|
7131
|
+
|
|
7132
|
+
@TotalCost.setter
|
|
7133
|
+
def TotalCost(self, TotalCost):
|
|
7134
|
+
self._TotalCost = TotalCost
|
|
7135
|
+
|
|
7136
|
+
@property
|
|
7137
|
+
def ProductCode(self):
|
|
7138
|
+
"""Product code
|
|
7139
|
+
|
|
7140
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7141
|
+
:rtype: str
|
|
7142
|
+
"""
|
|
7143
|
+
return self._ProductCode
|
|
7144
|
+
|
|
7145
|
+
@ProductCode.setter
|
|
7146
|
+
def ProductCode(self, ProductCode):
|
|
7147
|
+
self._ProductCode = ProductCode
|
|
7148
|
+
|
|
7149
|
+
@property
|
|
7150
|
+
def SubProductCode(self):
|
|
7151
|
+
"""Subproduct code
|
|
7152
|
+
:rtype: str
|
|
7153
|
+
"""
|
|
7154
|
+
return self._SubProductCode
|
|
7155
|
+
|
|
7156
|
+
@SubProductCode.setter
|
|
7157
|
+
def SubProductCode(self, SubProductCode):
|
|
7158
|
+
self._SubProductCode = SubProductCode
|
|
7159
|
+
|
|
7160
|
+
@property
|
|
7161
|
+
def BigDealId(self):
|
|
7162
|
+
"""Large order number.
|
|
7163
|
+
:rtype: str
|
|
7164
|
+
"""
|
|
7165
|
+
return self._BigDealId
|
|
7166
|
+
|
|
7167
|
+
@BigDealId.setter
|
|
7168
|
+
def BigDealId(self, BigDealId):
|
|
7169
|
+
self._BigDealId = BigDealId
|
|
7170
|
+
|
|
7171
|
+
@property
|
|
7172
|
+
def Formula(self):
|
|
7173
|
+
"""Refund formula
|
|
7174
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7175
|
+
:rtype: str
|
|
7176
|
+
"""
|
|
7177
|
+
return self._Formula
|
|
7178
|
+
|
|
7179
|
+
@Formula.setter
|
|
7180
|
+
def Formula(self, Formula):
|
|
7181
|
+
self._Formula = Formula
|
|
7182
|
+
|
|
7183
|
+
@property
|
|
7184
|
+
def RefReturnDeals(self):
|
|
7185
|
+
"""Refund involves order information
|
|
7186
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7187
|
+
:rtype: str
|
|
7188
|
+
"""
|
|
7189
|
+
return self._RefReturnDeals
|
|
7190
|
+
|
|
7191
|
+
@RefReturnDeals.setter
|
|
7192
|
+
def RefReturnDeals(self, RefReturnDeals):
|
|
7193
|
+
self._RefReturnDeals = RefReturnDeals
|
|
7194
|
+
|
|
7195
|
+
@property
|
|
7196
|
+
def PayMode(self):
|
|
7197
|
+
"""Billing mode: `prePay` (prepaid), `postPay` (pay-as-you-go), `riPay` (reserved instance)
|
|
7198
|
+
:rtype: str
|
|
7199
|
+
"""
|
|
7200
|
+
return self._PayMode
|
|
7201
|
+
|
|
7202
|
+
@PayMode.setter
|
|
7203
|
+
def PayMode(self, PayMode):
|
|
7204
|
+
self._PayMode = PayMode
|
|
7205
|
+
|
|
7206
|
+
@property
|
|
7207
|
+
def Action(self):
|
|
7208
|
+
"""Transaction type
|
|
7209
|
+
|
|
7210
|
+
`modifyNetworkMode`: Adjusting bandwidth mode
|
|
7211
|
+
`modifyNetworkSize`: Adjusting bandwidth size
|
|
7212
|
+
`refund`: Refund
|
|
7213
|
+
`downgrade`: Downgrade
|
|
7214
|
+
upgrade (upgrade)
|
|
7215
|
+
renew
|
|
7216
|
+
purchase
|
|
7217
|
+
preMoveOut annual and monthly subscription resources
|
|
7218
|
+
preMoveIn annual and monthly subscription resources
|
|
7219
|
+
preToPost prepaid to postpaid
|
|
7220
|
+
postMoveOut move out pay-as-you-go resources
|
|
7221
|
+
postMoveIn move in pay-as-you-go resources
|
|
7222
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7223
|
+
:rtype: str
|
|
7224
|
+
"""
|
|
7225
|
+
return self._Action
|
|
7226
|
+
|
|
7227
|
+
@Action.setter
|
|
7228
|
+
def Action(self, Action):
|
|
7229
|
+
self._Action = Action
|
|
7230
|
+
|
|
7231
|
+
@property
|
|
7232
|
+
def ProductName(self):
|
|
7233
|
+
"""Product code Chinese name
|
|
7234
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7235
|
+
:rtype: str
|
|
7236
|
+
"""
|
|
7237
|
+
return self._ProductName
|
|
7238
|
+
|
|
7239
|
+
@ProductName.setter
|
|
7240
|
+
def ProductName(self, ProductName):
|
|
7241
|
+
self._ProductName = ProductName
|
|
7242
|
+
|
|
7243
|
+
@property
|
|
7244
|
+
def SubProductName(self):
|
|
7245
|
+
"""Subproduct code Chinese name
|
|
7246
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7247
|
+
:rtype: str
|
|
7248
|
+
"""
|
|
7249
|
+
return self._SubProductName
|
|
7250
|
+
|
|
7251
|
+
@SubProductName.setter
|
|
7252
|
+
def SubProductName(self, SubProductName):
|
|
7253
|
+
self._SubProductName = SubProductName
|
|
7254
|
+
|
|
7255
|
+
@property
|
|
7256
|
+
def ResourceId(self):
|
|
7257
|
+
"""The resource ID corresponding to the order. If the query parameter `Limit` exceeds 200, null will be returned.
|
|
7258
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7259
|
+
:rtype: list of str
|
|
7260
|
+
"""
|
|
7261
|
+
return self._ResourceId
|
|
7262
|
+
|
|
7263
|
+
@ResourceId.setter
|
|
7264
|
+
def ResourceId(self, ResourceId):
|
|
7265
|
+
self._ResourceId = ResourceId
|
|
7266
|
+
|
|
7267
|
+
|
|
7268
|
+
def _deserialize(self, params):
|
|
7269
|
+
self._OrderId = params.get("OrderId")
|
|
7270
|
+
self._Status = params.get("Status")
|
|
7271
|
+
self._Payer = params.get("Payer")
|
|
7272
|
+
self._CreateTime = params.get("CreateTime")
|
|
7273
|
+
self._Creator = params.get("Creator")
|
|
7274
|
+
self._RealTotalCost = params.get("RealTotalCost")
|
|
7275
|
+
self._VoucherDecline = params.get("VoucherDecline")
|
|
7276
|
+
self._ProjectId = params.get("ProjectId")
|
|
7277
|
+
self._GoodsCategoryId = params.get("GoodsCategoryId")
|
|
7278
|
+
if params.get("ProductInfo") is not None:
|
|
7279
|
+
self._ProductInfo = []
|
|
7280
|
+
for item in params.get("ProductInfo"):
|
|
7281
|
+
obj = ProductInfo()
|
|
7282
|
+
obj._deserialize(item)
|
|
7283
|
+
self._ProductInfo.append(obj)
|
|
7284
|
+
self._TimeSpan = params.get("TimeSpan")
|
|
7285
|
+
self._TimeUnit = params.get("TimeUnit")
|
|
7286
|
+
self._Currency = params.get("Currency")
|
|
7287
|
+
self._Policy = params.get("Policy")
|
|
7288
|
+
self._Price = params.get("Price")
|
|
7289
|
+
self._TotalCost = params.get("TotalCost")
|
|
7290
|
+
self._ProductCode = params.get("ProductCode")
|
|
7291
|
+
self._SubProductCode = params.get("SubProductCode")
|
|
7292
|
+
self._BigDealId = params.get("BigDealId")
|
|
7293
|
+
self._Formula = params.get("Formula")
|
|
7294
|
+
self._RefReturnDeals = params.get("RefReturnDeals")
|
|
7295
|
+
self._PayMode = params.get("PayMode")
|
|
7296
|
+
self._Action = params.get("Action")
|
|
7297
|
+
self._ProductName = params.get("ProductName")
|
|
7298
|
+
self._SubProductName = params.get("SubProductName")
|
|
7299
|
+
self._ResourceId = params.get("ResourceId")
|
|
7300
|
+
memeber_set = set(params.keys())
|
|
7301
|
+
for name, value in vars(self).items():
|
|
7302
|
+
property_name = name[1:]
|
|
7303
|
+
if property_name in memeber_set:
|
|
7304
|
+
memeber_set.remove(property_name)
|
|
7305
|
+
if len(memeber_set) > 0:
|
|
7306
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7307
|
+
|
|
7308
|
+
|
|
7309
|
+
|
|
6852
7310
|
class DeleteAllocationTagRequest(AbstractModel):
|
|
6853
7311
|
"""DeleteAllocationTag request structure.
|
|
6854
7312
|
|
|
@@ -11200,6 +11658,248 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
11200
11658
|
self._RequestId = params.get("RequestId")
|
|
11201
11659
|
|
|
11202
11660
|
|
|
11661
|
+
class DescribeDealsByCondRequest(AbstractModel):
|
|
11662
|
+
"""DescribeDealsByCond request structure.
|
|
11663
|
+
|
|
11664
|
+
"""
|
|
11665
|
+
|
|
11666
|
+
def __init__(self):
|
|
11667
|
+
r"""
|
|
11668
|
+
:param _StartTime: Start time
|
|
11669
|
+
Example :2016-01-01 00:00:00
|
|
11670
|
+
:type StartTime: str
|
|
11671
|
+
:param _EndTime: End time
|
|
11672
|
+
Example:2016-02-01 00:00:00.
|
|
11673
|
+
It is recommended that the span does not exceed 3 months.
|
|
11674
|
+
:type EndTime: str
|
|
11675
|
+
:param _Limit: The number of records per page. The default is 20, and the maximum is 1,000.
|
|
11676
|
+
:type Limit: int
|
|
11677
|
+
:param _Offset: The page number the records start from, starting from 0. The default is 0.
|
|
11678
|
+
:type Offset: int
|
|
11679
|
+
:param _Status: Order status, default is 4 (successful order)
|
|
11680
|
+
Status of the order
|
|
11681
|
+
1: unpaid
|
|
11682
|
+
2: paid
|
|
11683
|
+
3: shipment in progress
|
|
11684
|
+
4: shipped
|
|
11685
|
+
5`: Shipment Failed
|
|
11686
|
+
6`: Refunded
|
|
11687
|
+
7`: Ticket closed
|
|
11688
|
+
8`: Order expired
|
|
11689
|
+
9`: Order invalid
|
|
11690
|
+
10: product invalidated
|
|
11691
|
+
11: third-party payment refused
|
|
11692
|
+
12: payment in process
|
|
11693
|
+
:type Status: int
|
|
11694
|
+
:param _OrderId: Sub-order number
|
|
11695
|
+
Example: 202202021234567
|
|
11696
|
+
:type OrderId: str
|
|
11697
|
+
:param _BigDealId: Large order number.
|
|
11698
|
+
Example: 202202021234566
|
|
11699
|
+
:type BigDealId: str
|
|
11700
|
+
:param _ResourceId: Resource ID
|
|
11701
|
+
Example:ins-a2bb34
|
|
11702
|
+
:type ResourceId: str
|
|
11703
|
+
"""
|
|
11704
|
+
self._StartTime = None
|
|
11705
|
+
self._EndTime = None
|
|
11706
|
+
self._Limit = None
|
|
11707
|
+
self._Offset = None
|
|
11708
|
+
self._Status = None
|
|
11709
|
+
self._OrderId = None
|
|
11710
|
+
self._BigDealId = None
|
|
11711
|
+
self._ResourceId = None
|
|
11712
|
+
|
|
11713
|
+
@property
|
|
11714
|
+
def StartTime(self):
|
|
11715
|
+
"""Start time
|
|
11716
|
+
Example :2016-01-01 00:00:00
|
|
11717
|
+
:rtype: str
|
|
11718
|
+
"""
|
|
11719
|
+
return self._StartTime
|
|
11720
|
+
|
|
11721
|
+
@StartTime.setter
|
|
11722
|
+
def StartTime(self, StartTime):
|
|
11723
|
+
self._StartTime = StartTime
|
|
11724
|
+
|
|
11725
|
+
@property
|
|
11726
|
+
def EndTime(self):
|
|
11727
|
+
"""End time
|
|
11728
|
+
Example:2016-02-01 00:00:00.
|
|
11729
|
+
It is recommended that the span does not exceed 3 months.
|
|
11730
|
+
:rtype: str
|
|
11731
|
+
"""
|
|
11732
|
+
return self._EndTime
|
|
11733
|
+
|
|
11734
|
+
@EndTime.setter
|
|
11735
|
+
def EndTime(self, EndTime):
|
|
11736
|
+
self._EndTime = EndTime
|
|
11737
|
+
|
|
11738
|
+
@property
|
|
11739
|
+
def Limit(self):
|
|
11740
|
+
"""The number of records per page. The default is 20, and the maximum is 1,000.
|
|
11741
|
+
:rtype: int
|
|
11742
|
+
"""
|
|
11743
|
+
return self._Limit
|
|
11744
|
+
|
|
11745
|
+
@Limit.setter
|
|
11746
|
+
def Limit(self, Limit):
|
|
11747
|
+
self._Limit = Limit
|
|
11748
|
+
|
|
11749
|
+
@property
|
|
11750
|
+
def Offset(self):
|
|
11751
|
+
"""The page number the records start from, starting from 0. The default is 0.
|
|
11752
|
+
:rtype: int
|
|
11753
|
+
"""
|
|
11754
|
+
return self._Offset
|
|
11755
|
+
|
|
11756
|
+
@Offset.setter
|
|
11757
|
+
def Offset(self, Offset):
|
|
11758
|
+
self._Offset = Offset
|
|
11759
|
+
|
|
11760
|
+
@property
|
|
11761
|
+
def Status(self):
|
|
11762
|
+
"""Order status, default is 4 (successful order)
|
|
11763
|
+
Status of the order
|
|
11764
|
+
1: unpaid
|
|
11765
|
+
2: paid
|
|
11766
|
+
3: shipment in progress
|
|
11767
|
+
4: shipped
|
|
11768
|
+
5`: Shipment Failed
|
|
11769
|
+
6`: Refunded
|
|
11770
|
+
7`: Ticket closed
|
|
11771
|
+
8`: Order expired
|
|
11772
|
+
9`: Order invalid
|
|
11773
|
+
10: product invalidated
|
|
11774
|
+
11: third-party payment refused
|
|
11775
|
+
12: payment in process
|
|
11776
|
+
:rtype: int
|
|
11777
|
+
"""
|
|
11778
|
+
return self._Status
|
|
11779
|
+
|
|
11780
|
+
@Status.setter
|
|
11781
|
+
def Status(self, Status):
|
|
11782
|
+
self._Status = Status
|
|
11783
|
+
|
|
11784
|
+
@property
|
|
11785
|
+
def OrderId(self):
|
|
11786
|
+
"""Sub-order number
|
|
11787
|
+
Example: 202202021234567
|
|
11788
|
+
:rtype: str
|
|
11789
|
+
"""
|
|
11790
|
+
return self._OrderId
|
|
11791
|
+
|
|
11792
|
+
@OrderId.setter
|
|
11793
|
+
def OrderId(self, OrderId):
|
|
11794
|
+
self._OrderId = OrderId
|
|
11795
|
+
|
|
11796
|
+
@property
|
|
11797
|
+
def BigDealId(self):
|
|
11798
|
+
"""Large order number.
|
|
11799
|
+
Example: 202202021234566
|
|
11800
|
+
:rtype: str
|
|
11801
|
+
"""
|
|
11802
|
+
return self._BigDealId
|
|
11803
|
+
|
|
11804
|
+
@BigDealId.setter
|
|
11805
|
+
def BigDealId(self, BigDealId):
|
|
11806
|
+
self._BigDealId = BigDealId
|
|
11807
|
+
|
|
11808
|
+
@property
|
|
11809
|
+
def ResourceId(self):
|
|
11810
|
+
"""Resource ID
|
|
11811
|
+
Example:ins-a2bb34
|
|
11812
|
+
:rtype: str
|
|
11813
|
+
"""
|
|
11814
|
+
return self._ResourceId
|
|
11815
|
+
|
|
11816
|
+
@ResourceId.setter
|
|
11817
|
+
def ResourceId(self, ResourceId):
|
|
11818
|
+
self._ResourceId = ResourceId
|
|
11819
|
+
|
|
11820
|
+
|
|
11821
|
+
def _deserialize(self, params):
|
|
11822
|
+
self._StartTime = params.get("StartTime")
|
|
11823
|
+
self._EndTime = params.get("EndTime")
|
|
11824
|
+
self._Limit = params.get("Limit")
|
|
11825
|
+
self._Offset = params.get("Offset")
|
|
11826
|
+
self._Status = params.get("Status")
|
|
11827
|
+
self._OrderId = params.get("OrderId")
|
|
11828
|
+
self._BigDealId = params.get("BigDealId")
|
|
11829
|
+
self._ResourceId = params.get("ResourceId")
|
|
11830
|
+
memeber_set = set(params.keys())
|
|
11831
|
+
for name, value in vars(self).items():
|
|
11832
|
+
property_name = name[1:]
|
|
11833
|
+
if property_name in memeber_set:
|
|
11834
|
+
memeber_set.remove(property_name)
|
|
11835
|
+
if len(memeber_set) > 0:
|
|
11836
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11837
|
+
|
|
11838
|
+
|
|
11839
|
+
|
|
11840
|
+
class DescribeDealsByCondResponse(AbstractModel):
|
|
11841
|
+
"""DescribeDealsByCond response structure.
|
|
11842
|
+
|
|
11843
|
+
"""
|
|
11844
|
+
|
|
11845
|
+
def __init__(self):
|
|
11846
|
+
r"""
|
|
11847
|
+
:param _Deals: Order list
|
|
11848
|
+
:type Deals: list of Deal
|
|
11849
|
+
:param _TotalCount: Total number of orders
|
|
11850
|
+
:type TotalCount: int
|
|
11851
|
+
: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.
|
|
11852
|
+
:type RequestId: str
|
|
11853
|
+
"""
|
|
11854
|
+
self._Deals = None
|
|
11855
|
+
self._TotalCount = None
|
|
11856
|
+
self._RequestId = None
|
|
11857
|
+
|
|
11858
|
+
@property
|
|
11859
|
+
def Deals(self):
|
|
11860
|
+
"""Order list
|
|
11861
|
+
:rtype: list of Deal
|
|
11862
|
+
"""
|
|
11863
|
+
return self._Deals
|
|
11864
|
+
|
|
11865
|
+
@Deals.setter
|
|
11866
|
+
def Deals(self, Deals):
|
|
11867
|
+
self._Deals = Deals
|
|
11868
|
+
|
|
11869
|
+
@property
|
|
11870
|
+
def TotalCount(self):
|
|
11871
|
+
"""Total number of orders
|
|
11872
|
+
:rtype: int
|
|
11873
|
+
"""
|
|
11874
|
+
return self._TotalCount
|
|
11875
|
+
|
|
11876
|
+
@TotalCount.setter
|
|
11877
|
+
def TotalCount(self, TotalCount):
|
|
11878
|
+
self._TotalCount = TotalCount
|
|
11879
|
+
|
|
11880
|
+
@property
|
|
11881
|
+
def RequestId(self):
|
|
11882
|
+
"""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.
|
|
11883
|
+
:rtype: str
|
|
11884
|
+
"""
|
|
11885
|
+
return self._RequestId
|
|
11886
|
+
|
|
11887
|
+
@RequestId.setter
|
|
11888
|
+
def RequestId(self, RequestId):
|
|
11889
|
+
self._RequestId = RequestId
|
|
11890
|
+
|
|
11891
|
+
|
|
11892
|
+
def _deserialize(self, params):
|
|
11893
|
+
if params.get("Deals") is not None:
|
|
11894
|
+
self._Deals = []
|
|
11895
|
+
for item in params.get("Deals"):
|
|
11896
|
+
obj = Deal()
|
|
11897
|
+
obj._deserialize(item)
|
|
11898
|
+
self._Deals.append(obj)
|
|
11899
|
+
self._TotalCount = params.get("TotalCount")
|
|
11900
|
+
self._RequestId = params.get("RequestId")
|
|
11901
|
+
|
|
11902
|
+
|
|
11203
11903
|
class DescribeDosageCosDetailByDateRequest(AbstractModel):
|
|
11204
11904
|
"""DescribeDosageCosDetailByDate request structure.
|
|
11205
11905
|
|
|
@@ -12703,6 +13403,57 @@ class PayModeSummaryOverviewItem(AbstractModel):
|
|
|
12703
13403
|
|
|
12704
13404
|
|
|
12705
13405
|
|
|
13406
|
+
class ProductInfo(AbstractModel):
|
|
13407
|
+
"""Product details
|
|
13408
|
+
|
|
13409
|
+
"""
|
|
13410
|
+
|
|
13411
|
+
def __init__(self):
|
|
13412
|
+
r"""
|
|
13413
|
+
:param _Name: Product detail name identifier
|
|
13414
|
+
:type Name: str
|
|
13415
|
+
:param _Value: Product details
|
|
13416
|
+
:type Value: str
|
|
13417
|
+
"""
|
|
13418
|
+
self._Name = None
|
|
13419
|
+
self._Value = None
|
|
13420
|
+
|
|
13421
|
+
@property
|
|
13422
|
+
def Name(self):
|
|
13423
|
+
"""Product detail name identifier
|
|
13424
|
+
:rtype: str
|
|
13425
|
+
"""
|
|
13426
|
+
return self._Name
|
|
13427
|
+
|
|
13428
|
+
@Name.setter
|
|
13429
|
+
def Name(self, Name):
|
|
13430
|
+
self._Name = Name
|
|
13431
|
+
|
|
13432
|
+
@property
|
|
13433
|
+
def Value(self):
|
|
13434
|
+
"""Product details
|
|
13435
|
+
:rtype: str
|
|
13436
|
+
"""
|
|
13437
|
+
return self._Value
|
|
13438
|
+
|
|
13439
|
+
@Value.setter
|
|
13440
|
+
def Value(self, Value):
|
|
13441
|
+
self._Value = Value
|
|
13442
|
+
|
|
13443
|
+
|
|
13444
|
+
def _deserialize(self, params):
|
|
13445
|
+
self._Name = params.get("Name")
|
|
13446
|
+
self._Value = params.get("Value")
|
|
13447
|
+
memeber_set = set(params.keys())
|
|
13448
|
+
for name, value in vars(self).items():
|
|
13449
|
+
property_name = name[1:]
|
|
13450
|
+
if property_name in memeber_set:
|
|
13451
|
+
memeber_set.remove(property_name)
|
|
13452
|
+
if len(memeber_set) > 0:
|
|
13453
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13454
|
+
|
|
13455
|
+
|
|
13456
|
+
|
|
12706
13457
|
class ProjectSummaryOverviewItem(AbstractModel):
|
|
12707
13458
|
"""Detailed summary of purchases by project
|
|
12708
13459
|
|