lib/v20180709/models.rb in tencentcloud-sdk-billing-3.0.590 vs lib/v20180709/models.rb in tencentcloud-sdk-billing-3.0.591

- old
+ new

@@ -40,11 +40,11 @@ # @type BillMonth: String # @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。 # @type TotalCost: String attr_accessor :ActionType, :ActionTypeName, :RealTotalCostRatio, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount, :BillMonth, :TotalCost - + def initialize(actiontype=nil, actiontypename=nil, realtotalcostratio=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, billmonth=nil, totalcost=nil) @ActionType = actiontype @ActionTypeName = actiontypename @RealTotalCostRatio = realtotalcostratio @RealTotalCost = realtotalcost @@ -76,11 +76,11 @@ # @type GoodsName: String # @param PayMode: postPay后付费/prePay预付费/riPay预留实例/空字符串或者"*"表示全部模式。如GoodsName为多个商品名以","分割组成的string,而PayMode为"*",表示每一件商品的模式都为"*"。 # @type PayMode: String attr_accessor :GoodsName, :PayMode - + def initialize(goodsname=nil, paymode=nil) @GoodsName = goodsname @PayMode = paymode end @@ -148,11 +148,11 @@ # @param PriceInfo: 价格属性 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PriceInfo: Array attr_accessor :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :BillId, :PayTime, :FeeBeginTime, :FeeEndTime, :ComponentSet, :PayerUin, :OwnerUin, :OperateUin, :Tags, :BusinessCode, :ProductCode, :ActionType, :RegionId, :ProjectId, :PriceInfo - + def initialize(businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, billid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, componentset=nil, payeruin=nil, owneruin=nil, operateuin=nil, tags=nil, businesscode=nil, productcode=nil, actiontype=nil, regionid=nil, projectid=nil, priceinfo=nil) @BusinessCodeName = businesscodename @ProductCodeName = productcodename @PayModeName = paymodename @ProjectName = projectname @@ -289,11 +289,16 @@ # @param BlendedDiscount: 混合折扣率:综合各类折扣抵扣信息后的最终折扣率,混合折扣率 = 优惠后总价 / 组件原价 # 注意:此字段可能返回 null,表示取不到有效值。 # @type BlendedDiscount: String attr_accessor :ComponentCodeName, :ItemCodeName, :SinglePrice, :SpecifiedPrice, :PriceUnit, :UsedAmount, :UsedAmountUnit, :TimeSpan, :TimeUnitName, :Cost, :Discount, :ReduceType, :RealCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :TransferPayAmount, :ItemCode, :ComponentCode, :ContractPrice, :InstanceType, :RiTimeSpan, :OriginalCostWithRI, :SPDeductionRate, :SPDeduction, :OriginalCostWithSP, :BlendedDiscount - + extend Gem::Deprecate + deprecate :SpecifiedPrice, :none, 2023, 6 + deprecate :SpecifiedPrice=, :none, 2023, 6 + deprecate :SPDeduction, :none, 2023, 6 + deprecate :SPDeduction=, :none, 2023, 6 + def initialize(componentcodename=nil, itemcodename=nil, singleprice=nil, specifiedprice=nil, priceunit=nil, usedamount=nil, usedamountunit=nil, timespan=nil, timeunitname=nil, cost=nil, discount=nil, reducetype=nil, realcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, transferpayamount=nil, itemcode=nil, componentcode=nil, contractprice=nil, instancetype=nil, ritimespan=nil, originalcostwithri=nil, spdeductionrate=nil, spdeduction=nil, originalcostwithsp=nil, blendeddiscount=nil) @ComponentCodeName = componentcodename @ItemCodeName = itemcodename @SinglePrice = singleprice @SpecifiedPrice = specifiedprice @@ -433,11 +438,14 @@ # @type SPDeduction: String # @param OriginalCostWithSP: 节省计划抵扣组件原价:节省计划抵扣原价=节省计划包抵扣金额/节省计划抵扣率 # @type OriginalCostWithSP: String attr_accessor :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :PayTime, :FeeBeginTime, :FeeEndTime, :ConfigDesc, :ExtendField1, :ExtendField2, :TotalCost, :Discount, :ReduceType, :RealTotalCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :TransferPayAmount, :ExtendField3, :ExtendField4, :ExtendField5, :Tags, :PayerUin, :OwnerUin, :OperateUin, :BusinessCode, :ProductCode, :RegionId, :InstanceType, :OriginalCostWithRI, :SPDeduction, :OriginalCostWithSP - + extend Gem::Deprecate + deprecate :SPDeduction, :none, 2023, 6 + deprecate :SPDeduction=, :none, 2023, 6 + def initialize(businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, configdesc=nil, extendfield1=nil, extendfield2=nil, totalcost=nil, discount=nil, reducetype=nil, realtotalcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, transferpayamount=nil, extendfield3=nil, extendfield4=nil, extendfield5=nil, tags=nil, payeruin=nil, owneruin=nil, operateuin=nil, businesscode=nil, productcode=nil, regionid=nil, instancetype=nil, originalcostwithri=nil, spdeduction=nil, originalcostwithsp=nil) @BusinessCodeName = businesscodename @ProductCodeName = productcodename @PayModeName = paymodename @ProjectName = projectname @@ -532,11 +540,11 @@ # @type TagKey: String # @param TagValue: 标签值 # @type TagValue: String attr_accessor :TagKey, :TagValue - + def initialize(tagkey=nil, tagvalue=nil) @TagKey = tagkey @TagValue = tagvalue end @@ -570,11 +578,11 @@ # @type PayChannel: String # @param DeductMode: 扣费模式:trade 包年包月(预付费),hourh 按量-小时结,hourd 按量-日结,hourm 按量-月结,month 按量-月结 # @type DeductMode: String attr_accessor :ActionType, :Amount, :Balance, :BillId, :OperationInfo, :OperationTime, :Cash, :Incentive, :Freezing, :PayChannel, :DeductMode - + def initialize(actiontype=nil, amount=nil, balance=nil, billid=nil, operationinfo=nil, operationtime=nil, cash=nil, incentive=nil, freezing=nil, paychannel=nil, deductmode=nil) @ActionType = actiontype @Amount = amount @Balance = balance @BillId = billid @@ -622,11 +630,11 @@ # @param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TransferPayAmount: String attr_accessor :BusinessCode, :BusinessCodeName, :TotalCost, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount - + def initialize(businesscode=nil, businesscodename=nil, totalcost=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil) @BusinessCode = businesscode @BusinessCodeName = businesscodename @TotalCost = totalcost @RealTotalCost = realtotalcost @@ -671,11 +679,11 @@ # @type BillMonth: String # @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。 # @type TotalCost: String attr_accessor :BusinessCode, :BusinessCodeName, :RealTotalCostRatio, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount, :BillMonth, :TotalCost - + def initialize(businesscode=nil, businesscodename=nil, realtotalcostratio=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, billmonth=nil, totalcost=nil) @BusinessCode = businesscode @BusinessCodeName = businesscodename @RealTotalCostRatio = realtotalcostratio @RealTotalCost = realtotalcost @@ -715,11 +723,11 @@ # @type TransferPayAmount: String # @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。 # @type TotalCost: String attr_accessor :RealTotalCost, :VoucherPayAmount, :IncentivePayAmount, :CashPayAmount, :TransferPayAmount, :TotalCost - + def initialize(realtotalcost=nil, voucherpayamount=nil, incentivepayamount=nil, cashpayamount=nil, transferpayamount=nil, totalcost=nil) @RealTotalCost = realtotalcost @VoucherPayAmount = voucherpayamount @IncentivePayAmount = incentivepayamount @CashPayAmount = cashpayamount @@ -743,11 +751,11 @@ # @type BusinessCode: String # @param BusinessCodeName: 产品名称 # @type BusinessCodeName: String attr_accessor :BusinessCode, :BusinessCodeName - + def initialize(businesscode=nil, businesscodename=nil) @BusinessCode = businesscode @BusinessCodeName = businesscodename end @@ -763,11 +771,11 @@ # @type PayMode: String # @param PayModeName: 付费模式名称 # @type PayModeName: String attr_accessor :PayMode, :PayModeName - + def initialize(paymode=nil, paymodename=nil) @PayMode = paymode @PayModeName = paymodename end @@ -783,11 +791,11 @@ # @type ProjectId: String # @param ProjectName: 项目名称 # @type ProjectName: String attr_accessor :ProjectId, :ProjectName - + def initialize(projectid=nil, projectname=nil) @ProjectId = projectid @ProjectName = projectname end @@ -803,11 +811,11 @@ # @type RegionId: String # @param RegionName: 地域名称 # @type RegionName: String attr_accessor :RegionId, :RegionName - + def initialize(regionid=nil, regionname=nil) @RegionId = regionid @RegionName = regionname end @@ -857,11 +865,11 @@ # @type FileTypes: Array # @param Status: 状态 # @type Status: Array attr_accessor :TimeRange, :BusinessCode, :ProjectId, :RegionId, :PayMode, :ResourceKeyword, :BusinessCodes, :ProductCodes, :RegionIds, :ProjectIds, :PayModes, :ActionTypes, :HideFreeCost, :OrderByCost, :BillIds, :ComponentCodes, :FileIds, :FileTypes, :Status - + def initialize(timerange=nil, businesscode=nil, projectid=nil, regionid=nil, paymode=nil, resourcekeyword=nil, businesscodes=nil, productcodes=nil, regionids=nil, projectids=nil, paymodes=nil, actiontypes=nil, hidefreecost=nil, orderbycost=nil, billids=nil, componentcodes=nil, fileids=nil, filetypes=nil, status=nil) @TimeRange = timerange @BusinessCode = businesscode @ProjectId = projectid @RegionId = regionid @@ -927,11 +935,11 @@ # @param TransferPayAmount: 分成金 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TransferPayAmount: String attr_accessor :BusinessCode, :BusinessCodeName, :RealTotalCost, :Trend, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount - + def initialize(businesscode=nil, businesscodename=nil, realtotalcost=nil, trend=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil) @BusinessCode = businesscode @BusinessCodeName = businesscodename @RealTotalCost = realtotalcost @Trend = trend @@ -980,11 +988,11 @@ # @param TransferPayAmount: 分成金 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TransferPayAmount: String attr_accessor :ProjectId, :ProjectName, :RealTotalCost, :Trend, :Business, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount - + def initialize(projectid=nil, projectname=nil, realtotalcost=nil, trend=nil, business=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil) @ProjectId = projectid @ProjectName = projectname @RealTotalCost = realtotalcost @Trend = trend @@ -1030,11 +1038,11 @@ # @type Trend: :class:`Tencentcloud::Billing.v20180709.models.ConsumptionSummaryTrend` # @param Business: 产品消费详情 # @type Business: Array attr_accessor :RegionId, :RegionName, :RealTotalCost, :Trend, :Business - + def initialize(regionid=nil, regionname=nil, realtotalcost=nil, trend=nil, business=nil) @RegionId = regionid @RegionName = regionname @RealTotalCost = realtotalcost @Trend = trend @@ -1070,11 +1078,11 @@ # @type Region: Array # @param PayMode: 付费模式列表 # @type PayMode: Array attr_accessor :Business, :Project, :Region, :PayMode - + def initialize(business=nil, project=nil, region=nil, paymode=nil) @Business = business @Project = project @Region = region @PayMode = paymode @@ -1171,11 +1179,11 @@ # @param TransferPayAmount: 分成金 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TransferPayAmount: String attr_accessor :ResourceId, :ResourceName, :RealTotalCost, :CashPayAmount, :ProjectId, :ProjectName, :RegionId, :RegionName, :PayMode, :PayModeName, :BusinessCode, :BusinessCodeName, :ConsumptionTypeName, :RealCost, :FeeBeginTime, :FeeEndTime, :DayDiff, :DailyTotalCost, :OrderId, :VoucherPayAmount, :IncentivePayAmount, :TransferPayAmount - + def initialize(resourceid=nil, resourcename=nil, realtotalcost=nil, cashpayamount=nil, projectid=nil, projectname=nil, regionid=nil, regionname=nil, paymode=nil, paymodename=nil, businesscode=nil, businesscodename=nil, consumptiontypename=nil, realcost=nil, feebegintime=nil, feeendtime=nil, daydiff=nil, dailytotalcost=nil, orderid=nil, voucherpayamount=nil, incentivepayamount=nil, transferpayamount=nil) @ResourceId = resourceid @ResourceName = resourcename @RealTotalCost = realtotalcost @CashPayAmount = cashpayamount @@ -1229,11 +1237,11 @@ class ConsumptionSummaryTotal < TencentCloud::Common::AbstractModel # @param RealTotalCost: 折后总价 # @type RealTotalCost: String attr_accessor :RealTotalCost - + def initialize(realtotalcost=nil) @RealTotalCost = realtotalcost end def deserialize(params) @@ -1248,11 +1256,11 @@ # @param Value: 趋势值,Type为none是该字段值为null # 注意:此字段可能返回 null,表示取不到有效值。 # @type Value: String attr_accessor :Type, :Value - + def initialize(type=nil, value=nil) @Type = type @Value = value end @@ -1278,11 +1286,11 @@ # @type DosageValue: String # @param Unit: 单位 # @type Unit: String attr_accessor :BucketName, :DosageBeginTime, :DosageEndTime, :SubProductCodeName, :BillingItemCodeName, :DosageValue, :Unit - + def initialize(bucketname=nil, dosagebegintime=nil, dosageendtime=nil, subproductcodename=nil, billingitemcodename=nil, dosagevalue=nil, unit=nil) @BucketName = bucketname @DosageBeginTime = dosagebegintime @DosageEndTime = dosageendtime @SubProductCodeName = subproductcodename @@ -1328,11 +1336,11 @@ # @type CashPayAmount: String # @param IncentivePayAmount: 赠送金支付金额 # @type IncentivePayAmount: String attr_accessor :ComponentCodeName, :ItemCodeName, :SinglePrice, :PriceUnit, :UsedAmount, :UsedAmountUnit, :Cost, :Discount, :RealCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount - + def initialize(componentcodename=nil, itemcodename=nil, singleprice=nil, priceunit=nil, usedamount=nil, usedamountunit=nil, cost=nil, discount=nil, realcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil) @ComponentCodeName = componentcodename @ItemCodeName = itemcodename @SinglePrice = singleprice @PriceUnit = priceunit @@ -1397,11 +1405,11 @@ # @type ComponentSet: Array # @param ProductCode: 子产品名称代码 # @type ProductCode: String attr_accessor :PayerUin, :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :BillId, :FeeBeginTime, :FeeEndTime, :ComponentSet, :ProductCode - + def initialize(payeruin=nil, businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, billid=nil, feebegintime=nil, feeendtime=nil, componentset=nil, productcode=nil) @PayerUin = payeruin @BusinessCodeName = businesscodename @ProductCodeName = productcodename @PayModeName = paymodename @@ -1519,11 +1527,11 @@ # @param ResourceId: 订单对应的资源id, 查询参数Limit超过200,将返回null # 注意:此字段可能返回 null,表示取不到有效值。 # @type ResourceId: Array attr_accessor :OrderId, :Status, :Payer, :CreateTime, :Creator, :RealTotalCost, :VoucherDecline, :ProjectId, :GoodsCategoryId, :ProductInfo, :TimeSpan, :TimeUnit, :Currency, :Policy, :Price, :TotalCost, :ProductCode, :SubProductCode, :BigDealId, :Formula, :RefReturnDeals, :PayMode, :Action, :ProductName, :SubProductName, :ResourceId - + def initialize(orderid=nil, status=nil, payer=nil, createtime=nil, creator=nil, realtotalcost=nil, voucherdecline=nil, projectid=nil, goodscategoryid=nil, productinfo=nil, timespan=nil, timeunit=nil, currency=nil, policy=nil, price=nil, totalcost=nil, productcode=nil, subproductcode=nil, bigdealid=nil, formula=nil, refreturndeals=nil, paymode=nil, action=nil, productname=nil, subproductname=nil, resourceid=nil) @OrderId = orderid @Status = status @Payer = payer @CreateTime = createtime @@ -1589,11 +1597,11 @@ end # DescribeAccountBalance请求参数结构体 class DescribeAccountBalanceRequest < TencentCloud::Common::AbstractModel - + def initialize() end def deserialize(params) end @@ -1629,11 +1637,11 @@ # @type RealCreditBalance: Float # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Balance, :Uin, :RealBalance, :CashAccountBalance, :IncomeIntoAccountBalance, :PresentAccountBalance, :FreezeAmount, :OweAmount, :IsAllowArrears, :IsCreditLimited, :CreditAmount, :CreditBalance, :RealCreditBalance, :RequestId - + def initialize(balance=nil, uin=nil, realbalance=nil, cashaccountbalance=nil, incomeintoaccountbalance=nil, presentaccountbalance=nil, freezeamount=nil, oweamount=nil, isallowarrears=nil, iscreditlimited=nil, creditamount=nil, creditbalance=nil, realcreditbalance=nil, requestid=nil) @Balance = balance @Uin = uin @RealBalance = realbalance @CashAccountBalance = cashaccountbalance @@ -1725,11 +1733,11 @@ # @type BusinessCode: String # @param Context: 上一次请求返回的上下文信息,翻页查询Month>=2023-05的月份的数据可加快查询速度,数据量10万级别以上的用户建议使用,查询速度可提升2~10倍 # @type Context: String attr_accessor :Offset, :Limit, :PeriodType, :Month, :BeginTime, :EndTime, :NeedRecordNum, :ProductCode, :PayMode, :ResourceId, :ActionType, :ProjectId, :BusinessCode, :Context - + def initialize(offset=nil, limit=nil, periodtype=nil, month=nil, begintime=nil, endtime=nil, needrecordnum=nil, productcode=nil, paymode=nil, resourceid=nil, actiontype=nil, projectid=nil, businesscode=nil, context=nil) @Offset = offset @Limit = limit @PeriodType = periodtype @Month = month @@ -1775,11 +1783,11 @@ # @type Context: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DetailSet, :Total, :Context, :RequestId - + def initialize(detailset=nil, total=nil, context=nil, requestid=nil) @DetailSet = detailset @Total = total @Context = context @RequestId = requestid @@ -1839,11 +1847,11 @@ # @type SubPayType: Array # @param WithZeroAmount: 是否返回0元交易金额的交易项,取值:0-不返回,1-返回。不传该参数则不返回 # @type WithZeroAmount: Integer attr_accessor :StartTime, :EndTime, :Offset, :Limit, :PayType, :SubPayType, :WithZeroAmount - + def initialize(starttime=nil, endtime=nil, offset=nil, limit=nil, paytype=nil, subpaytype=nil, withzeroamount=nil) @StartTime = starttime @EndTime = endtime @Offset = offset @Limit = limit @@ -1891,11 +1899,11 @@ # @type AdvancePayAmount: Float # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TransactionList, :Total, :ReturnAmount, :RechargeAmount, :BlockAmount, :UnblockAmount, :DeductAmount, :AgentInAmount, :AdvanceRechargeAmount, :WithdrawAmount, :AgentOutAmount, :AdvancePayAmount, :RequestId - + def initialize(transactionlist=nil, total=nil, returnamount=nil, rechargeamount=nil, blockamount=nil, unblockamount=nil, deductamount=nil, agentinamount=nil, advancerechargeamount=nil, withdrawamount=nil, agentoutamount=nil, advancepayamount=nil, requestid=nil) @TransactionList = transactionlist @Total = total @ReturnAmount = returnamount @RechargeAmount = rechargeamount @@ -1984,11 +1992,11 @@ # @param BusinessCode: 产品名称代码 # 备注:如需获取当月使用过的BusinessCode,请调用API:<a href="https://cloud.tencent.com/document/product/555/35761">获取产品汇总费用分布</a> # @type BusinessCode: String attr_accessor :Offset, :Limit, :Month, :PeriodType, :NeedRecordNum, :ActionType, :ResourceId, :PayMode, :BusinessCode - + def initialize(offset=nil, limit=nil, month=nil, periodtype=nil, needrecordnum=nil, actiontype=nil, resourceid=nil, paymode=nil, businesscode=nil) @Offset = offset @Limit = limit @Month = month @PeriodType = periodtype @@ -2021,11 +2029,11 @@ # @type Total: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ResourceSummarySet, :Total, :RequestId - + def initialize(resourcesummaryset=nil, total=nil, requestid=nil) @ResourceSummarySet = resourcesummaryset @Total = total @RequestId = requestid end @@ -2052,11 +2060,11 @@ # @type EndTime: String # @param PayerUin: 查询账单数据的用户UIN # @type PayerUin: String attr_accessor :BeginTime, :EndTime, :PayerUin - + def initialize(begintime=nil, endtime=nil, payeruin=nil) @BeginTime = begintime @EndTime = endtime @PayerUin = payeruin end @@ -2078,11 +2086,11 @@ # @type SummaryOverview: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Ready, :SummaryOverview, :RequestId - + def initialize(ready=nil, summaryoverview=nil, requestid=nil) @Ready = ready @SummaryOverview = summaryoverview @RequestId = requestid end @@ -2116,11 +2124,11 @@ # refund-退款 # adjustment-调账 # @type PayType: String attr_accessor :BeginTime, :EndTime, :PayerUin, :PayType - + def initialize(begintime=nil, endtime=nil, payeruin=nil, paytype=nil) @BeginTime = begintime @EndTime = endtime @PayerUin = payeruin @PayType = paytype @@ -2147,11 +2155,11 @@ # @type SummaryOverview: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Ready, :SummaryTotal, :SummaryOverview, :RequestId - + def initialize(ready=nil, summarytotal=nil, summaryoverview=nil, requestid=nil) @Ready = ready @SummaryTotal = summarytotal @SummaryOverview = summaryoverview @RequestId = requestid @@ -2183,11 +2191,11 @@ # @type EndTime: String # @param PayerUin: 查询账单数据的用户UIN # @type PayerUin: String attr_accessor :BeginTime, :EndTime, :PayerUin - + def initialize(begintime=nil, endtime=nil, payeruin=nil) @BeginTime = begintime @EndTime = endtime @PayerUin = payeruin end @@ -2209,11 +2217,11 @@ # @type SummaryOverview: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Ready, :SummaryOverview, :RequestId - + def initialize(ready=nil, summaryoverview=nil, requestid=nil) @Ready = ready @SummaryOverview = summaryoverview @RequestId = requestid end @@ -2240,11 +2248,11 @@ # @type EndTime: String # @param PayerUin: 查询账单数据的用户UIN # @type PayerUin: String attr_accessor :BeginTime, :EndTime, :PayerUin - + def initialize(begintime=nil, endtime=nil, payeruin=nil) @BeginTime = begintime @EndTime = endtime @PayerUin = payeruin end @@ -2266,11 +2274,11 @@ # @type SummaryOverview: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Ready, :SummaryOverview, :RequestId - + def initialize(ready=nil, summaryoverview=nil, requestid=nil) @Ready = ready @SummaryOverview = summaryoverview @RequestId = requestid end @@ -2301,11 +2309,11 @@ # @type PayerUin: String # @param TagValue: 分账标签值 # @type TagValue: String attr_accessor :BeginTime, :EndTime, :TagKey, :PayerUin, :TagValue - + def initialize(begintime=nil, endtime=nil, tagkey=nil, payeruin=nil, tagvalue=nil) @BeginTime = begintime @EndTime = endtime @TagKey = tagkey @PayerUin = payeruin @@ -2334,11 +2342,11 @@ # @type SummaryTotal: :class:`Tencentcloud::Billing.v20180709.models.SummaryTotal` # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Ready, :SummaryOverview, :SummaryTotal, :RequestId - + def initialize(ready=nil, summaryoverview=nil, summarytotal=nil, requestid=nil) @Ready = ready @SummaryOverview = summaryoverview @SummaryTotal = summarytotal @RequestId = requestid @@ -2370,11 +2378,11 @@ # @type GroupType: String # @param TagKey: 标签键,GroupType=tag获取标签维度账单时传 # @type TagKey: Array attr_accessor :Month, :GroupType, :TagKey - + def initialize(month=nil, grouptype=nil, tagkey=nil) @Month = month @GroupType = grouptype @TagKey = tagkey end @@ -2394,11 +2402,11 @@ # @type SummaryDetail: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Ready, :SummaryDetail, :RequestId - + def initialize(ready=nil, summarydetail=nil, requestid=nil) @Ready = ready @SummaryDetail = summarydetail @RequestId = requestid end @@ -2438,11 +2446,11 @@ # @type PayMode: String # @param ResourceId: 查询指定资源信息 # @type ResourceId: String attr_accessor :Limit, :Offset, :BeginTime, :EndTime, :NeedRecordNum, :Month, :ProductCode, :PayMode, :ResourceId - + def initialize(limit=nil, offset=nil, begintime=nil, endtime=nil, needrecordnum=nil, month=nil, productcode=nil, paymode=nil, resourceid=nil) @Limit = limit @Offset = offset @BeginTime = begintime @EndTime = endtime @@ -2476,11 +2484,11 @@ # @type Total: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DetailSet, :Total, :RequestId - + def initialize(detailset=nil, total=nil, requestid=nil) @DetailSet = detailset @Total = total @RequestId = requestid end @@ -2513,11 +2521,11 @@ # @type PayerUin: String # @param NeedRecordNum: 是否需要返回记录数量,0不需要,1需要,默认不需要 # @type NeedRecordNum: Integer attr_accessor :BeginTime, :EndTime, :Limit, :Offset, :PayerUin, :NeedRecordNum - + def initialize(begintime=nil, endtime=nil, limit=nil, offset=nil, payeruin=nil, needrecordnum=nil) @BeginTime = begintime @EndTime = endtime @Limit = limit @Offset = offset @@ -2549,11 +2557,11 @@ # @type RecordNum: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Ready, :Total, :Data, :RecordNum, :RequestId - + def initialize(ready=nil, total=nil, data=nil, recordnum=nil, requestid=nil) @Ready = ready @Total = total @Data = data @RecordNum = recordnum @@ -2593,11 +2601,11 @@ # @type PayerUin: String # @param NeedRecordNum: 是否需要返回记录数量,0不需要,1需要,默认不需要 # @type NeedRecordNum: Integer attr_accessor :BeginTime, :EndTime, :Limit, :Offset, :PayerUin, :NeedRecordNum - + def initialize(begintime=nil, endtime=nil, limit=nil, offset=nil, payeruin=nil, needrecordnum=nil) @BeginTime = begintime @EndTime = endtime @Limit = limit @Offset = offset @@ -2627,11 +2635,11 @@ # @type RecordNum: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Ready, :Total, :Data, :RecordNum, :RequestId - + def initialize(ready=nil, total=nil, data=nil, recordnum=nil, requestid=nil) @Ready = ready @Total = total @Data = data @RecordNum = recordnum @@ -2671,11 +2679,11 @@ # @type PayerUin: String # @param NeedRecordNum: 是否需要返回记录数量,0不需要,1需要,默认不需要 # @type NeedRecordNum: Integer attr_accessor :BeginTime, :EndTime, :Limit, :Offset, :PayerUin, :NeedRecordNum - + def initialize(begintime=nil, endtime=nil, limit=nil, offset=nil, payeruin=nil, needrecordnum=nil) @BeginTime = begintime @EndTime = endtime @Limit = limit @Offset = offset @@ -2706,11 +2714,11 @@ # @type RecordNum: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Ready, :Total, :Data, :RecordNum, :RequestId - + def initialize(ready=nil, total=nil, data=nil, recordnum=nil, requestid=nil) @Ready = ready @Total = total @Data = data @RecordNum = recordnum @@ -2754,11 +2762,11 @@ # @type NeedConditionValue: Integer # @param Conditions: 过滤条件,只支持ResourceKeyword(资源关键字,支持资源id及资源名称模糊查询),ProjectIds(项目id),RegionIds(地域id),PayModes(付费模式,可选prePay和postPay),HideFreeCost(是否隐藏0元流水,可选0和1),OrderByCost(按费用排序规则,可选desc和asc) # @type Conditions: :class:`Tencentcloud::Billing.v20180709.models.Conditions` attr_accessor :BeginTime, :EndTime, :Limit, :Offset, :PayerUin, :NeedRecordNum, :NeedConditionValue, :Conditions - + def initialize(begintime=nil, endtime=nil, limit=nil, offset=nil, payeruin=nil, needrecordnum=nil, needconditionvalue=nil, conditions=nil) @BeginTime = begintime @EndTime = endtime @Limit = limit @Offset = offset @@ -2801,11 +2809,11 @@ # @type Data: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Ready, :Total, :ConditionValue, :RecordNum, :Data, :RequestId - + def initialize(ready=nil, total=nil, conditionvalue=nil, recordnum=nil, data=nil, requestid=nil) @Ready = ready @Total = total @ConditionValue = conditionvalue @RecordNum = recordnum @@ -2866,11 +2874,11 @@ # @type BigDealId: String # @param ResourceId: 资源id # @type ResourceId: String attr_accessor :StartTime, :EndTime, :Limit, :Offset, :Status, :OrderId, :BigDealId, :ResourceId - + def initialize(starttime=nil, endtime=nil, limit=nil, offset=nil, status=nil, orderid=nil, bigdealid=nil, resourceid=nil) @StartTime = starttime @EndTime = endtime @Limit = limit @Offset = offset @@ -2900,11 +2908,11 @@ # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Deals, :TotalCount, :RequestId - + def initialize(deals=nil, totalcount=nil, requestid=nil) @Deals = deals @TotalCount = totalcount @RequestId = requestid end @@ -2931,11 +2939,11 @@ # @type EndDate: String # @param BucketName: COS 存储桶名称,可通过Get Service 接口是用来获取请求者名下的所有存储空间列表(Bucket list)https://cloud.tencent.com/document/product/436/8291 # @type BucketName: String attr_accessor :StartDate, :EndDate, :BucketName - + def initialize(startdate=nil, enddate=nil, bucketname=nil) @StartDate = startdate @EndDate = enddate @BucketName = bucketname end @@ -2953,11 +2961,11 @@ # @type DetailSets: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DetailSets, :RequestId - + def initialize(detailsets=nil, requestid=nil) @DetailSets = detailsets @RequestId = requestid end @@ -3005,11 +3013,11 @@ # @param InstanceID: 1、如果为空,则返回EIP或CLB所有实例的明细; # 2、如果传入实例名,则返回该实例明细 # @type InstanceID: String attr_accessor :StartDate, :EndDate, :ProductCode, :Domain, :InstanceID - + def initialize(startdate=nil, enddate=nil, productcode=nil, domain=nil, instanceid=nil) @StartDate = startdate @EndDate = enddate @ProductCode = productcode @Domain = domain @@ -3041,11 +3049,11 @@ # @type RetMsg: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Unit, :DetailSets, :RetCode, :RetMsg, :RequestId - + def initialize(unit=nil, detailsets=nil, retcode=nil, retmsg=nil, requestid=nil) @Unit = unit @DetailSets = detailsets @RetCode = retcode @RetMsg = retmsg @@ -3100,11 +3108,11 @@ # @type PayScene: String # @param Operator: 操作人,默认就是用户uin # @type Operator: String attr_accessor :Limit, :Offset, :Status, :VoucherId, :CodeId, :ProductCode, :ActivityId, :VoucherName, :TimeFrom, :TimeTo, :SortField, :SortOrder, :PayMode, :PayScene, :Operator - + def initialize(limit=nil, offset=nil, status=nil, voucherid=nil, codeid=nil, productcode=nil, activityid=nil, vouchername=nil, timefrom=nil, timeto=nil, sortfield=nil, sortorder=nil, paymode=nil, payscene=nil, operator=nil) @Limit = limit @Offset = offset @Status = status @VoucherId = voucherid @@ -3151,11 +3159,11 @@ # @type VoucherInfos: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :TotalBalance, :VoucherInfos, :RequestId - + def initialize(totalcount=nil, totalbalance=nil, voucherinfos=nil, requestid=nil) @TotalCount = totalcount @TotalBalance = totalbalance @VoucherInfos = voucherinfos @RequestId = requestid @@ -3186,11 +3194,11 @@ # @type VoucherId: String # @param Operator: 操作人,默认就是用户uin # @type Operator: String attr_accessor :Limit, :Offset, :VoucherId, :Operator - + def initialize(limit=nil, offset=nil, voucherid=nil, operator=nil) @Limit = limit @Offset = offset @VoucherId = voucherid @Operator = operator @@ -3215,11 +3223,11 @@ # @type UsageRecords: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :TotalUsedAmount, :UsageRecords, :RequestId - + def initialize(totalcount=nil, totalusedamount=nil, usagerecords=nil, requestid=nil) @TotalCount = totalcount @TotalUsedAmount = totalusedamount @UsageRecords = usagerecords @RequestId = requestid @@ -3246,11 +3254,11 @@ # @type Time: String # @param Value: 值 # @type Value: String attr_accessor :Time, :Value - + def initialize(time=nil, value=nil) @Time = time @Value = value end @@ -3269,11 +3277,11 @@ # @param InstanceID: 实例ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type InstanceID: String attr_accessor :Domain, :DetailPoints, :InstanceID - + def initialize(domain=nil, detailpoints=nil, instanceid=nil) @Domain = domain @DetailPoints = detailpoints @InstanceID = instanceid end @@ -3298,11 +3306,11 @@ # @type GoodsName: String # @param PayMode: postPay后付费/prePay预付费/riPay预留实例/空字符串或者"*"表示全部模式。 # @type PayMode: String attr_accessor :GoodsName, :PayMode - + def initialize(goodsname=nil, paymode=nil) @GoodsName = goodsname @PayMode = paymode end @@ -3322,11 +3330,11 @@ # @type VoucherIds: Array # @param BigDealIds: 需要支付的一个或者多个大订单号,与OrderIds字段两者必须且仅传一个参数 # @type BigDealIds: Array attr_accessor :OrderIds, :AutoVoucher, :VoucherIds, :BigDealIds - + def initialize(orderids=nil, autovoucher=nil, voucherids=nil, bigdealids=nil) @OrderIds = orderids @AutoVoucher = autovoucher @VoucherIds = voucherids @BigDealIds = bigdealids @@ -3350,11 +3358,11 @@ # @type BigDealIds: Array # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :OrderIds, :ResourceIds, :BigDealIds, :RequestId - + def initialize(orderids=nil, resourceids=nil, bigdealids=nil, requestid=nil) @OrderIds = orderids @ResourceIds = resourceids @BigDealIds = bigdealids @RequestId = requestid @@ -3390,11 +3398,11 @@ # @type TotalCost: String # @param Detail: 按交易类型汇总消费详情 # @type Detail: Array attr_accessor :PayMode, :PayModeName, :RealTotalCostRatio, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount, :TotalCost, :Detail - + def initialize(paymode=nil, paymodename=nil, realtotalcostratio=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, totalcost=nil, detail=nil) @PayMode = paymode @PayModeName = paymodename @RealTotalCostRatio = realtotalcostratio @RealTotalCost = realtotalcost @@ -3433,11 +3441,11 @@ # @type Name: String # @param Value: 商品详情 # @type Value: String attr_accessor :Name, :Value - + def initialize(name=nil, value=nil) @Name = name @Value = value end @@ -3469,11 +3477,11 @@ # @type BillMonth: String # @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。 # @type TotalCost: String attr_accessor :ProjectId, :ProjectName, :RealTotalCostRatio, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount, :BillMonth, :TotalCost - + def initialize(projectid=nil, projectname=nil, realtotalcostratio=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, billmonth=nil, totalcost=nil) @ProjectId = projectid @ProjectName = projectname @RealTotalCostRatio = realtotalcostratio @RealTotalCost = realtotalcost @@ -3522,11 +3530,11 @@ # @type BillMonth: String # @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。 # @type TotalCost: String attr_accessor :RegionId, :RegionName, :RealTotalCostRatio, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount, :BillMonth, :TotalCost - + def initialize(regionid=nil, regionname=nil, realtotalcostratio=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, billmonth=nil, totalcost=nil) @RegionId = regionid @RegionName = regionname @RealTotalCostRatio = realtotalcostratio @RealTotalCost = realtotalcost @@ -3576,11 +3584,11 @@ # @param Business: 产品汇总信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Business: Array attr_accessor :GroupKey, :GroupValue, :TotalCost, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount, :Business - + def initialize(groupkey=nil, groupvalue=nil, totalcost=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, business=nil) @GroupKey = groupkey @GroupValue = groupvalue @TotalCost = totalcost @RealTotalCost = realtotalcost @@ -3619,11 +3627,11 @@ # @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TotalCost: String attr_accessor :RealTotalCost, :TotalCost - + def initialize(realtotalcost=nil, totalcost=nil) @RealTotalCost = realtotalcost @TotalCost = totalcost end @@ -3659,11 +3667,11 @@ # @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TotalCost: String attr_accessor :TagValue, :RealTotalCostRatio, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount, :TotalCost - + def initialize(tagvalue=nil, realtotalcostratio=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, totalcost=nil) @TagValue = tagvalue @RealTotalCostRatio = realtotalcostratio @RealTotalCost = realtotalcost @CashPayAmount = cashpayamount @@ -3693,11 +3701,11 @@ # @param SubProductName: 商品细节 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubProductName: String attr_accessor :ProductName, :SubProductName - + def initialize(productname=nil, subproductname=nil) @ProductName = productname @SubProductName = subproductname end @@ -3716,11 +3724,11 @@ # @param UsageDetails: 使用记录细节 # 注意:此字段可能返回 null,表示取不到有效值。 # @type UsageDetails: Array attr_accessor :UsedAmount, :UsedTime, :UsageDetails - + def initialize(usedamount=nil, usedtime=nil, usagedetails=nil) @UsedAmount = usedamount @UsedTime = usedtime @UsageDetails = usagedetails end @@ -3765,10 +3773,10 @@ # @param ExcludedProducts: 不适用商品信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ExcludedProducts: Array attr_accessor :OwnerUin, :Status, :NominalValue, :Balance, :VoucherId, :PayMode, :PayScene, :BeginTime, :EndTime, :ApplicableProducts, :ExcludedProducts - + def initialize(owneruin=nil, status=nil, nominalvalue=nil, balance=nil, voucherid=nil, paymode=nil, payscene=nil, begintime=nil, endtime=nil, applicableproducts=nil, excludedproducts=nil) @OwnerUin = owneruin @Status = status @NominalValue = nominalvalue @Balance = balance