tencentcloud-sdk-billing 3.0.1106 → 3.0.1144
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180709/client.rb +144 -0
- data/lib/v20180709/models.rb +1257 -40
- metadata +2 -2
data/lib/v20180709/models.rb
CHANGED
@@ -312,10 +312,10 @@ module TencentCloud
|
|
312
312
|
|
313
313
|
attr_accessor :TreeNodeUniqKey, :TreeNodeUniqKeyName, :BillDate, :PayerUin, :OwnerUin, :OperateUin, :BusinessCode, :BusinessCodeName, :PayMode, :PayModeName, :ProjectId, :ProjectName, :RegionId, :RegionName, :ZoneId, :ZoneName, :ResourceId, :ResourceName, :InstanceType, :InstanceTypeName, :SplitItemId, :SplitItemName, :ProductCode, :ProductCodeName, :ActionType, :ActionTypeName, :OrderId, :BillId, :PayTime, :FeeBeginTime, :FeeEndTime, :ComponentCode, :ComponentCodeName, :SinglePrice, :ContractPrice, :SinglePriceUnit, :UsedAmount, :UsedAmountUnit, :TimeSpan, :TimeUnit, :ReserveDetail, :SplitRatio, :TotalCost, :RITimeSpan, :RICost, :SPCost, :Discount, :BlendedDiscount, :RealTotalCost, :CashPayAmount, :VoucherPayAmount, :IncentivePayAmount, :TransferPayAmount, :Tag, :RegionType, :RegionTypeName, :ItemCode, :ItemCodeName, :AssociatedOrder, :PriceInfo, :Formula, :FormulaUrl, :RealTotalMeasure, :DeductedMeasure, :ComponentConfig, :AllocationType, :DiscountObject, :DiscountType, :DiscountContent, :SPDeduction, :SPDeductionRate, :BillMonth
|
314
314
|
extend Gem::Deprecate
|
315
|
-
deprecate :SplitItemId, :none, 2025,
|
316
|
-
deprecate :SplitItemId=, :none, 2025,
|
317
|
-
deprecate :SplitItemName, :none, 2025,
|
318
|
-
deprecate :SplitItemName=, :none, 2025,
|
315
|
+
deprecate :SplitItemId, :none, 2025, 9
|
316
|
+
deprecate :SplitItemId=, :none, 2025, 9
|
317
|
+
deprecate :SplitItemName, :none, 2025, 9
|
318
|
+
deprecate :SplitItemName=, :none, 2025, 9
|
319
319
|
|
320
320
|
def initialize(treenodeuniqkey=nil, treenodeuniqkeyname=nil, billdate=nil, payeruin=nil, owneruin=nil, operateuin=nil, businesscode=nil, businesscodename=nil, paymode=nil, paymodename=nil, projectid=nil, projectname=nil, regionid=nil, regionname=nil, zoneid=nil, zonename=nil, resourceid=nil, resourcename=nil, instancetype=nil, instancetypename=nil, splititemid=nil, splititemname=nil, productcode=nil, productcodename=nil, actiontype=nil, actiontypename=nil, orderid=nil, billid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, componentcode=nil, componentcodename=nil, singleprice=nil, contractprice=nil, singlepriceunit=nil, usedamount=nil, usedamountunit=nil, timespan=nil, timeunit=nil, reservedetail=nil, splitratio=nil, totalcost=nil, ritimespan=nil, ricost=nil, spcost=nil, discount=nil, blendeddiscount=nil, realtotalcost=nil, cashpayamount=nil, voucherpayamount=nil, incentivepayamount=nil, transferpayamount=nil, tag=nil, regiontype=nil, regiontypename=nil, itemcode=nil, itemcodename=nil, associatedorder=nil, priceinfo=nil, formula=nil, formulaurl=nil, realtotalmeasure=nil, deductedmeasure=nil, componentconfig=nil, allocationtype=nil, discountobject=nil, discounttype=nil, discountcontent=nil, spdeduction=nil, spdeductionrate=nil, billmonth=nil)
|
321
321
|
@TreeNodeUniqKey = treenodeuniqkey
|
@@ -1235,10 +1235,10 @@ module TencentCloud
|
|
1235
1235
|
|
1236
1236
|
attr_accessor :TreeNodeUniqKey, :TreeNodeUniqKeyName, :BillDate, :PayerUin, :OwnerUin, :OperateUin, :PayMode, :PayModeName, :ActionType, :ActionTypeName, :BusinessCode, :BusinessCodeName, :ProductCode, :ProductCodeName, :RegionId, :RegionName, :ZoneId, :ZoneName, :InstanceType, :InstanceTypeName, :ResourceId, :ResourceName, :Tag, :ProjectId, :ProjectName, :AllocationType, :TotalCost, :RiTimeSpan, :RiCost, :RealTotalCost, :CashPayAmount, :VoucherPayAmount, :IncentivePayAmount, :TransferPayAmount, :ItemCode, :ItemCodeName, :ComponentCode, :ComponentCodeName, :SplitItemId, :SplitItemName, :FeeBeginTime, :FeeEndTime, :SPCost, :RegionType, :RegionTypeName, :SinglePrice, :ContractPrice, :SinglePriceUnit, :UsedAmount, :UsedAmountUnit, :TimeSpan, :TimeUnit, :ReserveDetail, :RealTotalMeasure, :DeductedMeasure, :Discount, :BlendedDiscount, :PriceInfo, :Formula, :FormulaUrl, :ComponentConfig, :SPDeduction, :SPDeductionRate, :AssociatedOrder, :DiscountObject, :DiscountType, :DiscountContent, :BillMonth
|
1237
1237
|
extend Gem::Deprecate
|
1238
|
-
deprecate :SplitItemId, :none, 2025,
|
1239
|
-
deprecate :SplitItemId=, :none, 2025,
|
1240
|
-
deprecate :SplitItemName, :none, 2025,
|
1241
|
-
deprecate :SplitItemName=, :none, 2025,
|
1238
|
+
deprecate :SplitItemId, :none, 2025, 9
|
1239
|
+
deprecate :SplitItemId=, :none, 2025, 9
|
1240
|
+
deprecate :SplitItemName, :none, 2025, 9
|
1241
|
+
deprecate :SplitItemName=, :none, 2025, 9
|
1242
1242
|
|
1243
1243
|
def initialize(treenodeuniqkey=nil, treenodeuniqkeyname=nil, billdate=nil, payeruin=nil, owneruin=nil, operateuin=nil, paymode=nil, paymodename=nil, actiontype=nil, actiontypename=nil, businesscode=nil, businesscodename=nil, productcode=nil, productcodename=nil, regionid=nil, regionname=nil, zoneid=nil, zonename=nil, instancetype=nil, instancetypename=nil, resourceid=nil, resourcename=nil, tag=nil, projectid=nil, projectname=nil, allocationtype=nil, totalcost=nil, ritimespan=nil, ricost=nil, realtotalcost=nil, cashpayamount=nil, voucherpayamount=nil, incentivepayamount=nil, transferpayamount=nil, itemcode=nil, itemcodename=nil, componentcode=nil, componentcodename=nil, splititemid=nil, splititemname=nil, feebegintime=nil, feeendtime=nil, spcost=nil, regiontype=nil, regiontypename=nil, singleprice=nil, contractprice=nil, singlepriceunit=nil, usedamount=nil, usedamountunit=nil, timespan=nil, timeunit=nil, reservedetail=nil, realtotalmeasure=nil, deductedmeasure=nil, discount=nil, blendeddiscount=nil, priceinfo=nil, formula=nil, formulaurl=nil, componentconfig=nil, spdeduction=nil, spdeductionrate=nil, associatedorder=nil, discountobject=nil, discounttype=nil, discountcontent=nil, billmonth=nil)
|
1244
1244
|
@TreeNodeUniqKey = treenodeuniqkey
|
@@ -1488,10 +1488,10 @@ module TencentCloud
|
|
1488
1488
|
|
1489
1489
|
attr_accessor :TreeNodeUniqKey, :TreeNodeUniqKeyName, :BillDate, :PayerUin, :OwnerUin, :OperateUin, :PayMode, :PayModeName, :ActionType, :ActionTypeName, :BusinessCode, :BusinessCodeName, :ProductCode, :ProductCodeName, :RegionId, :RegionName, :ZoneId, :ZoneName, :InstanceType, :InstanceTypeName, :ResourceId, :ResourceName, :Tag, :ProjectId, :ProjectName, :AllocationType, :TotalCost, :RiTimeSpan, :RiCost, :RealTotalCost, :CashPayAmount, :VoucherPayAmount, :IncentivePayAmount, :TransferPayAmount, :SplitItemId, :SplitItemName, :FeeBeginTime, :FeeEndTime, :SPCost, :RegionType, :RegionTypeName, :ComponentConfig, :SPDeduction, :BillMonth
|
1490
1490
|
extend Gem::Deprecate
|
1491
|
-
deprecate :SplitItemId, :none, 2025,
|
1492
|
-
deprecate :SplitItemId=, :none, 2025,
|
1493
|
-
deprecate :SplitItemName, :none, 2025,
|
1494
|
-
deprecate :SplitItemName=, :none, 2025,
|
1491
|
+
deprecate :SplitItemId, :none, 2025, 9
|
1492
|
+
deprecate :SplitItemId=, :none, 2025, 9
|
1493
|
+
deprecate :SplitItemName, :none, 2025, 9
|
1494
|
+
deprecate :SplitItemName=, :none, 2025, 9
|
1495
1495
|
|
1496
1496
|
def initialize(treenodeuniqkey=nil, treenodeuniqkeyname=nil, billdate=nil, payeruin=nil, owneruin=nil, operateuin=nil, paymode=nil, paymodename=nil, actiontype=nil, actiontypename=nil, businesscode=nil, businesscodename=nil, productcode=nil, productcodename=nil, regionid=nil, regionname=nil, zoneid=nil, zonename=nil, instancetype=nil, instancetypename=nil, resourceid=nil, resourcename=nil, tag=nil, projectid=nil, projectname=nil, allocationtype=nil, totalcost=nil, ritimespan=nil, ricost=nil, realtotalcost=nil, cashpayamount=nil, voucherpayamount=nil, incentivepayamount=nil, transferpayamount=nil, splititemid=nil, splititemname=nil, feebegintime=nil, feeendtime=nil, spcost=nil, regiontype=nil, regiontypename=nil, componentconfig=nil, spdeduction=nil, billmonth=nil)
|
1497
1497
|
@TreeNodeUniqKey = treenodeuniqkey
|
@@ -2499,10 +2499,10 @@ module TencentCloud
|
|
2499
2499
|
|
2500
2500
|
attr_accessor :ComponentCodeName, :ItemCodeName, :SinglePrice, :SpecifiedPrice, :PriceUnit, :UsedAmount, :UsedAmountUnit, :RealTotalMeasure, :DeductedMeasure, :TimeSpan, :TimeUnitName, :Cost, :Discount, :ReduceType, :RealCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :TransferPayAmount, :ItemCode, :ComponentCode, :ContractPrice, :InstanceType, :RiTimeSpan, :OriginalCostWithRI, :SPDeductionRate, :SPDeduction, :OriginalCostWithSP, :BlendedDiscount, :ComponentConfig
|
2501
2501
|
extend Gem::Deprecate
|
2502
|
-
deprecate :SpecifiedPrice, :none, 2025,
|
2503
|
-
deprecate :SpecifiedPrice=, :none, 2025,
|
2504
|
-
deprecate :SPDeduction, :none, 2025,
|
2505
|
-
deprecate :SPDeduction=, :none, 2025,
|
2502
|
+
deprecate :SpecifiedPrice, :none, 2025, 9
|
2503
|
+
deprecate :SpecifiedPrice=, :none, 2025, 9
|
2504
|
+
deprecate :SPDeduction, :none, 2025, 9
|
2505
|
+
deprecate :SPDeduction=, :none, 2025, 9
|
2506
2506
|
|
2507
2507
|
def initialize(componentcodename=nil, itemcodename=nil, singleprice=nil, specifiedprice=nil, priceunit=nil, usedamount=nil, usedamountunit=nil, realtotalmeasure=nil, deductedmeasure=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, componentconfig=nil)
|
2508
2508
|
@ComponentCodeName = componentcodename
|
@@ -2679,8 +2679,8 @@ module TencentCloud
|
|
2679
2679
|
|
2680
2680
|
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, :OwnerUin, :OperateUin, :BusinessCode, :ProductCode, :RegionId, :InstanceType, :OriginalCostWithRI, :SPDeduction, :OriginalCostWithSP, :BillMonth
|
2681
2681
|
extend Gem::Deprecate
|
2682
|
-
deprecate :SPDeduction, :none, 2025,
|
2683
|
-
deprecate :SPDeduction=, :none, 2025,
|
2682
|
+
deprecate :SPDeduction, :none, 2025, 9
|
2683
|
+
deprecate :SPDeduction=, :none, 2025, 9
|
2684
2684
|
|
2685
2685
|
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, owneruin=nil, operateuin=nil, businesscode=nil, productcode=nil, regionid=nil, instancetype=nil, originalcostwithri=nil, spdeduction=nil, originalcostwithsp=nil, billmonth=nil)
|
2686
2686
|
@BusinessCodeName = businesscodename
|
@@ -3038,8 +3038,8 @@ module TencentCloud
|
|
3038
3038
|
|
3039
3039
|
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, :BillMonth
|
3040
3040
|
extend Gem::Deprecate
|
3041
|
-
deprecate :SPDeduction, :none, 2025,
|
3042
|
-
deprecate :SPDeduction=, :none, 2025,
|
3041
|
+
deprecate :SPDeduction, :none, 2025, 9
|
3042
|
+
deprecate :SPDeduction=, :none, 2025, 9
|
3043
3043
|
|
3044
3044
|
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, billmonth=nil)
|
3045
3045
|
@BusinessCodeName = businesscodename
|
@@ -3249,6 +3249,617 @@ module TencentCloud
|
|
3249
3249
|
end
|
3250
3250
|
end
|
3251
3251
|
|
3252
|
+
# 预算管理自定义费用范围参数
|
3253
|
+
class BudgetConditionsForm < TencentCloud::Common::AbstractModel
|
3254
|
+
# @param Business: 产品
|
3255
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3256
|
+
# @type Business: Array
|
3257
|
+
# @param PayMode: 计费模式
|
3258
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3259
|
+
# @type PayMode: Array
|
3260
|
+
# @param ProductCodes: 子产品
|
3261
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3262
|
+
# @type ProductCodes: Array
|
3263
|
+
# @param ComponentCodes: 组件编码
|
3264
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3265
|
+
# @type ComponentCodes: Array
|
3266
|
+
# @param ZoneIds: 地域
|
3267
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3268
|
+
# @type ZoneIds: Array
|
3269
|
+
# @param RegionIds: 可用区
|
3270
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3271
|
+
# @type RegionIds: Array
|
3272
|
+
# @param ProjectIds: 项目
|
3273
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3274
|
+
# @type ProjectIds: Array
|
3275
|
+
# @param ActionTypes: 交易类型
|
3276
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3277
|
+
# @type ActionTypes: Array
|
3278
|
+
# @param ConsumptionTypes: 消耗类型
|
3279
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3280
|
+
# @type ConsumptionTypes: Array
|
3281
|
+
# @param Tags: 标签
|
3282
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3283
|
+
# @type Tags: Array
|
3284
|
+
# @param PayerUins: 末级分账单元
|
3285
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3286
|
+
# @type PayerUins: Array
|
3287
|
+
# @param OwnerUins: 主用户Uin
|
3288
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3289
|
+
# @type OwnerUins: Array
|
3290
|
+
# @param TreeNodeUniqKeys: 末级分账单元唯一键
|
3291
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3292
|
+
# @type TreeNodeUniqKeys: Array
|
3293
|
+
|
3294
|
+
attr_accessor :Business, :PayMode, :ProductCodes, :ComponentCodes, :ZoneIds, :RegionIds, :ProjectIds, :ActionTypes, :ConsumptionTypes, :Tags, :PayerUins, :OwnerUins, :TreeNodeUniqKeys
|
3295
|
+
|
3296
|
+
def initialize(business=nil, paymode=nil, productcodes=nil, componentcodes=nil, zoneids=nil, regionids=nil, projectids=nil, actiontypes=nil, consumptiontypes=nil, tags=nil, payeruins=nil, owneruins=nil, treenodeuniqkeys=nil)
|
3297
|
+
@Business = business
|
3298
|
+
@PayMode = paymode
|
3299
|
+
@ProductCodes = productcodes
|
3300
|
+
@ComponentCodes = componentcodes
|
3301
|
+
@ZoneIds = zoneids
|
3302
|
+
@RegionIds = regionids
|
3303
|
+
@ProjectIds = projectids
|
3304
|
+
@ActionTypes = actiontypes
|
3305
|
+
@ConsumptionTypes = consumptiontypes
|
3306
|
+
@Tags = tags
|
3307
|
+
@PayerUins = payeruins
|
3308
|
+
@OwnerUins = owneruins
|
3309
|
+
@TreeNodeUniqKeys = treenodeuniqkeys
|
3310
|
+
end
|
3311
|
+
|
3312
|
+
def deserialize(params)
|
3313
|
+
@Business = params['Business']
|
3314
|
+
@PayMode = params['PayMode']
|
3315
|
+
@ProductCodes = params['ProductCodes']
|
3316
|
+
@ComponentCodes = params['ComponentCodes']
|
3317
|
+
@ZoneIds = params['ZoneIds']
|
3318
|
+
@RegionIds = params['RegionIds']
|
3319
|
+
@ProjectIds = params['ProjectIds']
|
3320
|
+
@ActionTypes = params['ActionTypes']
|
3321
|
+
@ConsumptionTypes = params['ConsumptionTypes']
|
3322
|
+
unless params['Tags'].nil?
|
3323
|
+
@Tags = []
|
3324
|
+
params['Tags'].each do |i|
|
3325
|
+
tagsform_tmp = TagsForm.new
|
3326
|
+
tagsform_tmp.deserialize(i)
|
3327
|
+
@Tags << tagsform_tmp
|
3328
|
+
end
|
3329
|
+
end
|
3330
|
+
@PayerUins = params['PayerUins']
|
3331
|
+
@OwnerUins = params['OwnerUins']
|
3332
|
+
@TreeNodeUniqKeys = params['TreeNodeUniqKeys']
|
3333
|
+
end
|
3334
|
+
end
|
3335
|
+
|
3336
|
+
# 查询返回预算完整信息
|
3337
|
+
class BudgetExtend < TencentCloud::Common::AbstractModel
|
3338
|
+
# @param BudgetName: 预算名称
|
3339
|
+
# @type BudgetName: String
|
3340
|
+
# @param BudgetQuota: 预算额度
|
3341
|
+
# @type BudgetQuota: String
|
3342
|
+
# @param CycleType: DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度
|
3343
|
+
# @type CycleType: String
|
3344
|
+
# @param BillType: BILL 系统账单,CONSUMPTION 消耗账单
|
3345
|
+
# @type BillType: String
|
3346
|
+
# @param FeeType: COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)
|
3347
|
+
# @type FeeType: String
|
3348
|
+
# @param PeriodBegin: 有效期起始时间 2025-01-01
|
3349
|
+
# @type PeriodBegin: String
|
3350
|
+
# @param PeriodEnd: 有效期结束时间 2025-12-01
|
3351
|
+
# @type PeriodEnd: String
|
3352
|
+
# @param Dimensions: COST,USAGE,RI,SP
|
3353
|
+
# @type Dimensions: String
|
3354
|
+
# @param PlanType: FIX 固定值,CYCLE 不同值
|
3355
|
+
# @type PlanType: String
|
3356
|
+
# @param WarnJson: 阈值提醒
|
3357
|
+
# @type WarnJson: Array
|
3358
|
+
# @param PayerUin: 用户Uin
|
3359
|
+
# @type PayerUin: Integer
|
3360
|
+
# @param WaveThresholdJson: 波动提醒
|
3361
|
+
# @type WaveThresholdJson: Array
|
3362
|
+
# @param BudgetNote: 预算备注
|
3363
|
+
# @type BudgetNote: String
|
3364
|
+
# @param SendDetail: 自定义发送对象信息
|
3365
|
+
# @type SendDetail: String
|
3366
|
+
# @param DefaultMode: 0:默认uin发送
|
3367
|
+
# @type DefaultMode: Integer
|
3368
|
+
# @param TemplateType: CUS 自定义预算,ZERO_COST 零支出预算模板,BY_MONTH 按月费用预算模板
|
3369
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3370
|
+
# @type TemplateType: String
|
3371
|
+
# @param MoneyStatus: (1, "未超支"),
|
3372
|
+
# (2, "超支")
|
3373
|
+
# @type MoneyStatus: Integer
|
3374
|
+
# @param RemindTimes: 提醒次数
|
3375
|
+
# @type RemindTimes: Integer
|
3376
|
+
# @param CreateTime: 创建预算时间
|
3377
|
+
# @type CreateTime: String
|
3378
|
+
# @param UpdateTime: 更新预算时间
|
3379
|
+
# @type UpdateTime: String
|
3380
|
+
# @param BudgetId: 预算关联Id
|
3381
|
+
# @type BudgetId: String
|
3382
|
+
# @param HasForecast: NO_FORECAST(没有设置预测),
|
3383
|
+
# FORECAST_NO_DATA(设置了预测,但是没有数据),
|
3384
|
+
# FORECAST_HAS_DATA(设置了预测,且有预测数据)
|
3385
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3386
|
+
# @type HasForecast: String
|
3387
|
+
# @param ForecastCost: 预测费用
|
3388
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3389
|
+
# @type ForecastCost: String
|
3390
|
+
# @param ForecastProgress: 预测进度
|
3391
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3392
|
+
# @type ForecastProgress: String
|
3393
|
+
# @param RealCost: 实际费用
|
3394
|
+
# @type RealCost: String
|
3395
|
+
# @param BudgetSendInfoForm: 自定义发送
|
3396
|
+
# @type BudgetSendInfoForm: Array
|
3397
|
+
# @param CurDateDesc: 当前周期
|
3398
|
+
# @type CurDateDesc: String
|
3399
|
+
# @param BudgetStatus: EXPIRED 已过期
|
3400
|
+
# ACTIVE 生效中
|
3401
|
+
# UNACTIVATED 已失效
|
3402
|
+
# ACTIVATED 待生效
|
3403
|
+
# @type BudgetStatus: String
|
3404
|
+
# @param DimensionsRange: 预算维度范围条件
|
3405
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3406
|
+
# @type DimensionsRange: :class:`Tencentcloud::Billing.v20180709.models.BudgetConditionsForm`
|
3407
|
+
# @param BudgetProgress: 预算进度
|
3408
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3409
|
+
# @type BudgetProgress: String
|
3410
|
+
# @param BudgetQuotaJson: 预算类型设置为计划预算时返回预算额度
|
3411
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3412
|
+
# @type BudgetQuotaJson: Array
|
3413
|
+
|
3414
|
+
attr_accessor :BudgetName, :BudgetQuota, :CycleType, :BillType, :FeeType, :PeriodBegin, :PeriodEnd, :Dimensions, :PlanType, :WarnJson, :PayerUin, :WaveThresholdJson, :BudgetNote, :SendDetail, :DefaultMode, :TemplateType, :MoneyStatus, :RemindTimes, :CreateTime, :UpdateTime, :BudgetId, :HasForecast, :ForecastCost, :ForecastProgress, :RealCost, :BudgetSendInfoForm, :CurDateDesc, :BudgetStatus, :DimensionsRange, :BudgetProgress, :BudgetQuotaJson
|
3415
|
+
|
3416
|
+
def initialize(budgetname=nil, budgetquota=nil, cycletype=nil, billtype=nil, feetype=nil, periodbegin=nil, periodend=nil, dimensions=nil, plantype=nil, warnjson=nil, payeruin=nil, wavethresholdjson=nil, budgetnote=nil, senddetail=nil, defaultmode=nil, templatetype=nil, moneystatus=nil, remindtimes=nil, createtime=nil, updatetime=nil, budgetid=nil, hasforecast=nil, forecastcost=nil, forecastprogress=nil, realcost=nil, budgetsendinfoform=nil, curdatedesc=nil, budgetstatus=nil, dimensionsrange=nil, budgetprogress=nil, budgetquotajson=nil)
|
3417
|
+
@BudgetName = budgetname
|
3418
|
+
@BudgetQuota = budgetquota
|
3419
|
+
@CycleType = cycletype
|
3420
|
+
@BillType = billtype
|
3421
|
+
@FeeType = feetype
|
3422
|
+
@PeriodBegin = periodbegin
|
3423
|
+
@PeriodEnd = periodend
|
3424
|
+
@Dimensions = dimensions
|
3425
|
+
@PlanType = plantype
|
3426
|
+
@WarnJson = warnjson
|
3427
|
+
@PayerUin = payeruin
|
3428
|
+
@WaveThresholdJson = wavethresholdjson
|
3429
|
+
@BudgetNote = budgetnote
|
3430
|
+
@SendDetail = senddetail
|
3431
|
+
@DefaultMode = defaultmode
|
3432
|
+
@TemplateType = templatetype
|
3433
|
+
@MoneyStatus = moneystatus
|
3434
|
+
@RemindTimes = remindtimes
|
3435
|
+
@CreateTime = createtime
|
3436
|
+
@UpdateTime = updatetime
|
3437
|
+
@BudgetId = budgetid
|
3438
|
+
@HasForecast = hasforecast
|
3439
|
+
@ForecastCost = forecastcost
|
3440
|
+
@ForecastProgress = forecastprogress
|
3441
|
+
@RealCost = realcost
|
3442
|
+
@BudgetSendInfoForm = budgetsendinfoform
|
3443
|
+
@CurDateDesc = curdatedesc
|
3444
|
+
@BudgetStatus = budgetstatus
|
3445
|
+
@DimensionsRange = dimensionsrange
|
3446
|
+
@BudgetProgress = budgetprogress
|
3447
|
+
@BudgetQuotaJson = budgetquotajson
|
3448
|
+
end
|
3449
|
+
|
3450
|
+
def deserialize(params)
|
3451
|
+
@BudgetName = params['BudgetName']
|
3452
|
+
@BudgetQuota = params['BudgetQuota']
|
3453
|
+
@CycleType = params['CycleType']
|
3454
|
+
@BillType = params['BillType']
|
3455
|
+
@FeeType = params['FeeType']
|
3456
|
+
@PeriodBegin = params['PeriodBegin']
|
3457
|
+
@PeriodEnd = params['PeriodEnd']
|
3458
|
+
@Dimensions = params['Dimensions']
|
3459
|
+
@PlanType = params['PlanType']
|
3460
|
+
unless params['WarnJson'].nil?
|
3461
|
+
@WarnJson = []
|
3462
|
+
params['WarnJson'].each do |i|
|
3463
|
+
budgetwarn_tmp = BudgetWarn.new
|
3464
|
+
budgetwarn_tmp.deserialize(i)
|
3465
|
+
@WarnJson << budgetwarn_tmp
|
3466
|
+
end
|
3467
|
+
end
|
3468
|
+
@PayerUin = params['PayerUin']
|
3469
|
+
unless params['WaveThresholdJson'].nil?
|
3470
|
+
@WaveThresholdJson = []
|
3471
|
+
params['WaveThresholdJson'].each do |i|
|
3472
|
+
wavethresholdform_tmp = WaveThresholdForm.new
|
3473
|
+
wavethresholdform_tmp.deserialize(i)
|
3474
|
+
@WaveThresholdJson << wavethresholdform_tmp
|
3475
|
+
end
|
3476
|
+
end
|
3477
|
+
@BudgetNote = params['BudgetNote']
|
3478
|
+
@SendDetail = params['SendDetail']
|
3479
|
+
@DefaultMode = params['DefaultMode']
|
3480
|
+
@TemplateType = params['TemplateType']
|
3481
|
+
@MoneyStatus = params['MoneyStatus']
|
3482
|
+
@RemindTimes = params['RemindTimes']
|
3483
|
+
@CreateTime = params['CreateTime']
|
3484
|
+
@UpdateTime = params['UpdateTime']
|
3485
|
+
@BudgetId = params['BudgetId']
|
3486
|
+
@HasForecast = params['HasForecast']
|
3487
|
+
@ForecastCost = params['ForecastCost']
|
3488
|
+
@ForecastProgress = params['ForecastProgress']
|
3489
|
+
@RealCost = params['RealCost']
|
3490
|
+
unless params['BudgetSendInfoForm'].nil?
|
3491
|
+
@BudgetSendInfoForm = []
|
3492
|
+
params['BudgetSendInfoForm'].each do |i|
|
3493
|
+
budgetsendinfodto_tmp = BudgetSendInfoDto.new
|
3494
|
+
budgetsendinfodto_tmp.deserialize(i)
|
3495
|
+
@BudgetSendInfoForm << budgetsendinfodto_tmp
|
3496
|
+
end
|
3497
|
+
end
|
3498
|
+
@CurDateDesc = params['CurDateDesc']
|
3499
|
+
@BudgetStatus = params['BudgetStatus']
|
3500
|
+
unless params['DimensionsRange'].nil?
|
3501
|
+
@DimensionsRange = BudgetConditionsForm.new
|
3502
|
+
@DimensionsRange.deserialize(params['DimensionsRange'])
|
3503
|
+
end
|
3504
|
+
@BudgetProgress = params['BudgetProgress']
|
3505
|
+
unless params['BudgetQuotaJson'].nil?
|
3506
|
+
@BudgetQuotaJson = []
|
3507
|
+
params['BudgetQuotaJson'].each do |i|
|
3508
|
+
budgetplan_tmp = BudgetPlan.new
|
3509
|
+
budgetplan_tmp.deserialize(i)
|
3510
|
+
@BudgetQuotaJson << budgetplan_tmp
|
3511
|
+
end
|
3512
|
+
end
|
3513
|
+
end
|
3514
|
+
end
|
3515
|
+
|
3516
|
+
# 预算操作后返回信息
|
3517
|
+
class BudgetInfoApiResponse < TencentCloud::Common::AbstractModel
|
3518
|
+
# @param BudgetId: 预算项目id
|
3519
|
+
# @type BudgetId: String
|
3520
|
+
# @param UpdateTime: 更新预算时间
|
3521
|
+
# @type UpdateTime: String
|
3522
|
+
|
3523
|
+
attr_accessor :BudgetId, :UpdateTime
|
3524
|
+
|
3525
|
+
def initialize(budgetid=nil, updatetime=nil)
|
3526
|
+
@BudgetId = budgetid
|
3527
|
+
@UpdateTime = updatetime
|
3528
|
+
end
|
3529
|
+
|
3530
|
+
def deserialize(params)
|
3531
|
+
@BudgetId = params['BudgetId']
|
3532
|
+
@UpdateTime = params['UpdateTime']
|
3533
|
+
end
|
3534
|
+
end
|
3535
|
+
|
3536
|
+
# 记录预算项目相关字段的变更信息
|
3537
|
+
class BudgetInfoDiffEntity < TencentCloud::Common::AbstractModel
|
3538
|
+
# @param Property: 变更属性
|
3539
|
+
# @type Property: String
|
3540
|
+
# @param Before: 变更前内容
|
3541
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3542
|
+
# @type Before: String
|
3543
|
+
# @param After: 变更后内容
|
3544
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3545
|
+
# @type After: String
|
3546
|
+
|
3547
|
+
attr_accessor :Property, :Before, :After
|
3548
|
+
|
3549
|
+
def initialize(property=nil, before=nil, after=nil)
|
3550
|
+
@Property = property
|
3551
|
+
@Before = before
|
3552
|
+
@After = after
|
3553
|
+
end
|
3554
|
+
|
3555
|
+
def deserialize(params)
|
3556
|
+
@Property = params['Property']
|
3557
|
+
@Before = params['Before']
|
3558
|
+
@After = params['After']
|
3559
|
+
end
|
3560
|
+
end
|
3561
|
+
|
3562
|
+
# 预算修改记录信息
|
3563
|
+
class BudgetOperationLogEntity < TencentCloud::Common::AbstractModel
|
3564
|
+
# @param PayerUin: Uin
|
3565
|
+
# @type PayerUin: Integer
|
3566
|
+
# @param OwnerUin: 主用户Uin
|
3567
|
+
# @type OwnerUin: Integer
|
3568
|
+
# @param OperateUin: 操作用户Uin
|
3569
|
+
# @type OperateUin: Integer
|
3570
|
+
# @param BillDay: 日期
|
3571
|
+
# @type BillDay: Integer
|
3572
|
+
# @param BillMonth: 月份
|
3573
|
+
# @type BillMonth: String
|
3574
|
+
# @param Action: 修改类型:ADD(新增)、UPDATE(更新)
|
3575
|
+
# @type Action: String
|
3576
|
+
# @param DiffValue: 变更信息
|
3577
|
+
# @type DiffValue: Array
|
3578
|
+
# @param CreateTime: 创建时间
|
3579
|
+
# @type CreateTime: String
|
3580
|
+
# @param UpdateTime: 修改时间
|
3581
|
+
# @type UpdateTime: String
|
3582
|
+
# @param OperationChannel: 修改渠道:官网修改/API修改
|
3583
|
+
# @type OperationChannel: String
|
3584
|
+
# @param BudgetId: 预算项目id
|
3585
|
+
# @type BudgetId: String
|
3586
|
+
|
3587
|
+
attr_accessor :PayerUin, :OwnerUin, :OperateUin, :BillDay, :BillMonth, :Action, :DiffValue, :CreateTime, :UpdateTime, :OperationChannel, :BudgetId
|
3588
|
+
|
3589
|
+
def initialize(payeruin=nil, owneruin=nil, operateuin=nil, billday=nil, billmonth=nil, action=nil, diffvalue=nil, createtime=nil, updatetime=nil, operationchannel=nil, budgetid=nil)
|
3590
|
+
@PayerUin = payeruin
|
3591
|
+
@OwnerUin = owneruin
|
3592
|
+
@OperateUin = operateuin
|
3593
|
+
@BillDay = billday
|
3594
|
+
@BillMonth = billmonth
|
3595
|
+
@Action = action
|
3596
|
+
@DiffValue = diffvalue
|
3597
|
+
@CreateTime = createtime
|
3598
|
+
@UpdateTime = updatetime
|
3599
|
+
@OperationChannel = operationchannel
|
3600
|
+
@BudgetId = budgetid
|
3601
|
+
end
|
3602
|
+
|
3603
|
+
def deserialize(params)
|
3604
|
+
@PayerUin = params['PayerUin']
|
3605
|
+
@OwnerUin = params['OwnerUin']
|
3606
|
+
@OperateUin = params['OperateUin']
|
3607
|
+
@BillDay = params['BillDay']
|
3608
|
+
@BillMonth = params['BillMonth']
|
3609
|
+
@Action = params['Action']
|
3610
|
+
unless params['DiffValue'].nil?
|
3611
|
+
@DiffValue = []
|
3612
|
+
params['DiffValue'].each do |i|
|
3613
|
+
budgetinfodiffentity_tmp = BudgetInfoDiffEntity.new
|
3614
|
+
budgetinfodiffentity_tmp.deserialize(i)
|
3615
|
+
@DiffValue << budgetinfodiffentity_tmp
|
3616
|
+
end
|
3617
|
+
end
|
3618
|
+
@CreateTime = params['CreateTime']
|
3619
|
+
@UpdateTime = params['UpdateTime']
|
3620
|
+
@OperationChannel = params['OperationChannel']
|
3621
|
+
@BudgetId = params['BudgetId']
|
3622
|
+
end
|
3623
|
+
end
|
3624
|
+
|
3625
|
+
# 预算计算复杂数据类型
|
3626
|
+
class BudgetPlan < TencentCloud::Common::AbstractModel
|
3627
|
+
# @param DateDesc: 前端页面日期显示
|
3628
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3629
|
+
# @type DateDesc: String
|
3630
|
+
# @param Quota: 预算额度
|
3631
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3632
|
+
# @type Quota: String
|
3633
|
+
|
3634
|
+
attr_accessor :DateDesc, :Quota
|
3635
|
+
|
3636
|
+
def initialize(datedesc=nil, quota=nil)
|
3637
|
+
@DateDesc = datedesc
|
3638
|
+
@Quota = quota
|
3639
|
+
end
|
3640
|
+
|
3641
|
+
def deserialize(params)
|
3642
|
+
@DateDesc = params['DateDesc']
|
3643
|
+
@Quota = params['Quota']
|
3644
|
+
end
|
3645
|
+
end
|
3646
|
+
|
3647
|
+
# 预算管理的分页数据
|
3648
|
+
class BudgetRemindRecordList < TencentCloud::Common::AbstractModel
|
3649
|
+
# @param OptimizeCountSql: 自动优化 COUNT SQL 如果遇到 jSqlParser 无法解析情况,设置该参数为 false
|
3650
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3651
|
+
# @type OptimizeCountSql: Boolean
|
3652
|
+
# @param Pages: 分页
|
3653
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3654
|
+
# @type Pages: Integer
|
3655
|
+
# @param Orders: 排序字段信息,允许前端传入的时候,注意 SQL 注入问题,可以使用 SqlInjectionUtils.check(...) 检查文本
|
3656
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3657
|
+
# @type Orders: Array
|
3658
|
+
# @param CountId: xml 自定义 count 查询的 statementId 也可以不用指定在分页 statementId 后面加上 _mpCount 例如分页 selectPageById 指定 count 的查询 statementId 设置为 selectPageById_mpCount 即可默认找到该 SQL 执行
|
3659
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3660
|
+
# @type CountId: String
|
3661
|
+
# @param Size: 分页大小
|
3662
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3663
|
+
# @type Size: Integer
|
3664
|
+
# @param Total: 总量
|
3665
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3666
|
+
# @type Total: Integer
|
3667
|
+
# @param MaxLimit: 单页分页条数限制
|
3668
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3669
|
+
# @type MaxLimit: String
|
3670
|
+
# @param Records: 查询数据列表
|
3671
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3672
|
+
# @type Records: Array
|
3673
|
+
# @param Current: 当前页
|
3674
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3675
|
+
# @type Current: Integer
|
3676
|
+
# @param SearchCount: 是否进行 count 查询,如果只想查询到列表不要查询总记录数,设置该参数为 false
|
3677
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3678
|
+
# @type SearchCount: Boolean
|
3679
|
+
|
3680
|
+
attr_accessor :OptimizeCountSql, :Pages, :Orders, :CountId, :Size, :Total, :MaxLimit, :Records, :Current, :SearchCount
|
3681
|
+
|
3682
|
+
def initialize(optimizecountsql=nil, pages=nil, orders=nil, countid=nil, size=nil, total=nil, maxlimit=nil, records=nil, current=nil, searchcount=nil)
|
3683
|
+
@OptimizeCountSql = optimizecountsql
|
3684
|
+
@Pages = pages
|
3685
|
+
@Orders = orders
|
3686
|
+
@CountId = countid
|
3687
|
+
@Size = size
|
3688
|
+
@Total = total
|
3689
|
+
@MaxLimit = maxlimit
|
3690
|
+
@Records = records
|
3691
|
+
@Current = current
|
3692
|
+
@SearchCount = searchcount
|
3693
|
+
end
|
3694
|
+
|
3695
|
+
def deserialize(params)
|
3696
|
+
@OptimizeCountSql = params['OptimizeCountSql']
|
3697
|
+
@Pages = params['Pages']
|
3698
|
+
unless params['Orders'].nil?
|
3699
|
+
@Orders = []
|
3700
|
+
params['Orders'].each do |i|
|
3701
|
+
orderdto_tmp = OrderDto.new
|
3702
|
+
orderdto_tmp.deserialize(i)
|
3703
|
+
@Orders << orderdto_tmp
|
3704
|
+
end
|
3705
|
+
end
|
3706
|
+
@CountId = params['CountId']
|
3707
|
+
@Size = params['Size']
|
3708
|
+
@Total = params['Total']
|
3709
|
+
@MaxLimit = params['MaxLimit']
|
3710
|
+
unless params['Records'].nil?
|
3711
|
+
@Records = []
|
3712
|
+
params['Records'].each do |i|
|
3713
|
+
budgetremindrecords_tmp = BudgetRemindRecords.new
|
3714
|
+
budgetremindrecords_tmp.deserialize(i)
|
3715
|
+
@Records << budgetremindrecords_tmp
|
3716
|
+
end
|
3717
|
+
end
|
3718
|
+
@Current = params['Current']
|
3719
|
+
@SearchCount = params['SearchCount']
|
3720
|
+
end
|
3721
|
+
end
|
3722
|
+
|
3723
|
+
# 预算历史详情
|
3724
|
+
class BudgetRemindRecords < TencentCloud::Common::AbstractModel
|
3725
|
+
# @param DateDesc: 预算周期
|
3726
|
+
# @type DateDesc: String
|
3727
|
+
# @param RealCost: 实际费用
|
3728
|
+
# @type RealCost: String
|
3729
|
+
# @param BudgetQuota: 预算值额度
|
3730
|
+
# @type BudgetQuota: String
|
3731
|
+
# @param AlarmType: 提醒类型。
|
3732
|
+
# 枚举值:
|
3733
|
+
# BUDGET 预算提醒,
|
3734
|
+
# WAVE 波动提醒.
|
3735
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3736
|
+
# @type AlarmType: String
|
3737
|
+
# @param MessageContent: 消息内容
|
3738
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3739
|
+
# @type MessageContent: String
|
3740
|
+
# @param SendTime: 发送时间
|
3741
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3742
|
+
# @type SendTime: Integer
|
3743
|
+
# @param CreateTime: 创建时间
|
3744
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3745
|
+
# @type CreateTime: Integer
|
3746
|
+
|
3747
|
+
attr_accessor :DateDesc, :RealCost, :BudgetQuota, :AlarmType, :MessageContent, :SendTime, :CreateTime
|
3748
|
+
|
3749
|
+
def initialize(datedesc=nil, realcost=nil, budgetquota=nil, alarmtype=nil, messagecontent=nil, sendtime=nil, createtime=nil)
|
3750
|
+
@DateDesc = datedesc
|
3751
|
+
@RealCost = realcost
|
3752
|
+
@BudgetQuota = budgetquota
|
3753
|
+
@AlarmType = alarmtype
|
3754
|
+
@MessageContent = messagecontent
|
3755
|
+
@SendTime = sendtime
|
3756
|
+
@CreateTime = createtime
|
3757
|
+
end
|
3758
|
+
|
3759
|
+
def deserialize(params)
|
3760
|
+
@DateDesc = params['DateDesc']
|
3761
|
+
@RealCost = params['RealCost']
|
3762
|
+
@BudgetQuota = params['BudgetQuota']
|
3763
|
+
@AlarmType = params['AlarmType']
|
3764
|
+
@MessageContent = params['MessageContent']
|
3765
|
+
@SendTime = params['SendTime']
|
3766
|
+
@CreateTime = params['CreateTime']
|
3767
|
+
end
|
3768
|
+
end
|
3769
|
+
|
3770
|
+
# 预算提醒
|
3771
|
+
class BudgetSendInfoDto < TencentCloud::Common::AbstractModel
|
3772
|
+
# @param WeekDays: 通知周期,逗号隔开。
|
3773
|
+
# 枚举值:
|
3774
|
+
# 周一:1,
|
3775
|
+
# 周二:2,
|
3776
|
+
# 周天:7
|
3777
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3778
|
+
# @type WeekDays: Array
|
3779
|
+
# @param ReceiverType: 接收类型。
|
3780
|
+
# 枚举值:
|
3781
|
+
# UIN 默认模式,
|
3782
|
+
# USER 用户,
|
3783
|
+
# GROUP 用户组。
|
3784
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3785
|
+
# @type ReceiverType: String
|
3786
|
+
# @param EndTime: 发送接收窗口HH:mm:ss
|
3787
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3788
|
+
# @type EndTime: String
|
3789
|
+
# @param BudgetId: 预算配置id(预算名称)
|
3790
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3791
|
+
# @type BudgetId: Integer
|
3792
|
+
# @param NoticeWays: 接收渠道,逗号隔开;
|
3793
|
+
# 枚举值:
|
3794
|
+
# TITLE 标题,
|
3795
|
+
# SITE 站内信,
|
3796
|
+
# EMAIL 邮件,
|
3797
|
+
# SMS 短信,
|
3798
|
+
# WECHAT 微信,
|
3799
|
+
# VOICE 语音,
|
3800
|
+
# QYWX 企业微信;
|
3801
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3802
|
+
# @type NoticeWays: Array
|
3803
|
+
# @param StartTime: 发送开始窗口HH:mm:ss
|
3804
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3805
|
+
# @type StartTime: String
|
3806
|
+
# @param Id: id
|
3807
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3808
|
+
# @type Id: String
|
3809
|
+
# @param ReceiverIds: 用户id,用户组id
|
3810
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3811
|
+
# @type ReceiverIds: Array
|
3812
|
+
|
3813
|
+
attr_accessor :WeekDays, :ReceiverType, :EndTime, :BudgetId, :NoticeWays, :StartTime, :Id, :ReceiverIds
|
3814
|
+
|
3815
|
+
def initialize(weekdays=nil, receivertype=nil, endtime=nil, budgetid=nil, noticeways=nil, starttime=nil, id=nil, receiverids=nil)
|
3816
|
+
@WeekDays = weekdays
|
3817
|
+
@ReceiverType = receivertype
|
3818
|
+
@EndTime = endtime
|
3819
|
+
@BudgetId = budgetid
|
3820
|
+
@NoticeWays = noticeways
|
3821
|
+
@StartTime = starttime
|
3822
|
+
@Id = id
|
3823
|
+
@ReceiverIds = receiverids
|
3824
|
+
end
|
3825
|
+
|
3826
|
+
def deserialize(params)
|
3827
|
+
@WeekDays = params['WeekDays']
|
3828
|
+
@ReceiverType = params['ReceiverType']
|
3829
|
+
@EndTime = params['EndTime']
|
3830
|
+
@BudgetId = params['BudgetId']
|
3831
|
+
@NoticeWays = params['NoticeWays']
|
3832
|
+
@StartTime = params['StartTime']
|
3833
|
+
@Id = params['Id']
|
3834
|
+
@ReceiverIds = params['ReceiverIds']
|
3835
|
+
end
|
3836
|
+
end
|
3837
|
+
|
3838
|
+
# 预算阈值提醒信息
|
3839
|
+
class BudgetWarn < TencentCloud::Common::AbstractModel
|
3840
|
+
# @param WarnType: ACTUAL 实际金额,
|
3841
|
+
# FORECAST 预测金额
|
3842
|
+
# @type WarnType: String
|
3843
|
+
# @param CalType: PERCENTAGE 预算金额的百分比,ABS 固定值
|
3844
|
+
# @type CalType: String
|
3845
|
+
# @param ThresholdValue: 阈值(大于等于0)
|
3846
|
+
# @type ThresholdValue: String
|
3847
|
+
|
3848
|
+
attr_accessor :WarnType, :CalType, :ThresholdValue
|
3849
|
+
|
3850
|
+
def initialize(warntype=nil, caltype=nil, thresholdvalue=nil)
|
3851
|
+
@WarnType = warntype
|
3852
|
+
@CalType = caltype
|
3853
|
+
@ThresholdValue = thresholdvalue
|
3854
|
+
end
|
3855
|
+
|
3856
|
+
def deserialize(params)
|
3857
|
+
@WarnType = params['WarnType']
|
3858
|
+
@CalType = params['CalType']
|
3859
|
+
@ThresholdValue = params['ThresholdValue']
|
3860
|
+
end
|
3861
|
+
end
|
3862
|
+
|
3252
3863
|
# 产品汇总信息
|
3253
3864
|
class BusinessSummaryInfo < TencentCloud::Common::AbstractModel
|
3254
3865
|
# @param BusinessCode: 产品编码
|
@@ -4286,6 +4897,116 @@ module TencentCloud
|
|
4286
4897
|
end
|
4287
4898
|
end
|
4288
4899
|
|
4900
|
+
# CreateBudget请求参数结构体
|
4901
|
+
class CreateBudgetRequest < TencentCloud::Common::AbstractModel
|
4902
|
+
# @param BudgetName: 预算名称
|
4903
|
+
# @type BudgetName: String
|
4904
|
+
# @param CycleType: DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度
|
4905
|
+
# @type CycleType: String
|
4906
|
+
# @param PeriodBegin: 有效期起始时间 2025-01-01(周期: 天) / 2025-01(周期: 月)
|
4907
|
+
# @type PeriodBegin: String
|
4908
|
+
# @param PeriodEnd: 有效期结束时间 2025-12-01(周期:天) / 2025-12(周期:月)
|
4909
|
+
# @type PeriodEnd: String
|
4910
|
+
# @param PlanType: FIX 固定预算,CYCLE 计划预算
|
4911
|
+
# @type PlanType: String
|
4912
|
+
# @param BudgetQuota: 预算值额度
|
4913
|
+
# 预算计划类型为FIX(固定预算)时传定值;
|
4914
|
+
# 预算计划类型为CYCLE(计划预算)时传[{"dateDesc":"2025-07","quota":"1000"},{"dateDesc":"2025-08","quota":"2000"}];
|
4915
|
+
# @type BudgetQuota: String
|
4916
|
+
# @param BillType: BILL 系统账单,CONSUMPTION 消耗账单
|
4917
|
+
# @type BillType: String
|
4918
|
+
# @param FeeType: COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)
|
4919
|
+
# @type FeeType: String
|
4920
|
+
# @param WarnJson: 阈值提醒
|
4921
|
+
# @type WarnJson: Array
|
4922
|
+
# @param BudgetNote: 预算备注
|
4923
|
+
# @type BudgetNote: String
|
4924
|
+
# @param DimensionsRange: 预算维度范围条件
|
4925
|
+
# @type DimensionsRange: :class:`Tencentcloud::Billing.v20180709.models.BudgetConditionsForm`
|
4926
|
+
# @param WaveThresholdJson: 波动提醒
|
4927
|
+
# @type WaveThresholdJson: Array
|
4928
|
+
|
4929
|
+
attr_accessor :BudgetName, :CycleType, :PeriodBegin, :PeriodEnd, :PlanType, :BudgetQuota, :BillType, :FeeType, :WarnJson, :BudgetNote, :DimensionsRange, :WaveThresholdJson
|
4930
|
+
|
4931
|
+
def initialize(budgetname=nil, cycletype=nil, periodbegin=nil, periodend=nil, plantype=nil, budgetquota=nil, billtype=nil, feetype=nil, warnjson=nil, budgetnote=nil, dimensionsrange=nil, wavethresholdjson=nil)
|
4932
|
+
@BudgetName = budgetname
|
4933
|
+
@CycleType = cycletype
|
4934
|
+
@PeriodBegin = periodbegin
|
4935
|
+
@PeriodEnd = periodend
|
4936
|
+
@PlanType = plantype
|
4937
|
+
@BudgetQuota = budgetquota
|
4938
|
+
@BillType = billtype
|
4939
|
+
@FeeType = feetype
|
4940
|
+
@WarnJson = warnjson
|
4941
|
+
@BudgetNote = budgetnote
|
4942
|
+
@DimensionsRange = dimensionsrange
|
4943
|
+
@WaveThresholdJson = wavethresholdjson
|
4944
|
+
end
|
4945
|
+
|
4946
|
+
def deserialize(params)
|
4947
|
+
@BudgetName = params['BudgetName']
|
4948
|
+
@CycleType = params['CycleType']
|
4949
|
+
@PeriodBegin = params['PeriodBegin']
|
4950
|
+
@PeriodEnd = params['PeriodEnd']
|
4951
|
+
@PlanType = params['PlanType']
|
4952
|
+
@BudgetQuota = params['BudgetQuota']
|
4953
|
+
@BillType = params['BillType']
|
4954
|
+
@FeeType = params['FeeType']
|
4955
|
+
unless params['WarnJson'].nil?
|
4956
|
+
@WarnJson = []
|
4957
|
+
params['WarnJson'].each do |i|
|
4958
|
+
budgetwarn_tmp = BudgetWarn.new
|
4959
|
+
budgetwarn_tmp.deserialize(i)
|
4960
|
+
@WarnJson << budgetwarn_tmp
|
4961
|
+
end
|
4962
|
+
end
|
4963
|
+
@BudgetNote = params['BudgetNote']
|
4964
|
+
unless params['DimensionsRange'].nil?
|
4965
|
+
@DimensionsRange = BudgetConditionsForm.new
|
4966
|
+
@DimensionsRange.deserialize(params['DimensionsRange'])
|
4967
|
+
end
|
4968
|
+
unless params['WaveThresholdJson'].nil?
|
4969
|
+
@WaveThresholdJson = []
|
4970
|
+
params['WaveThresholdJson'].each do |i|
|
4971
|
+
wavethresholdform_tmp = WaveThresholdForm.new
|
4972
|
+
wavethresholdform_tmp.deserialize(i)
|
4973
|
+
@WaveThresholdJson << wavethresholdform_tmp
|
4974
|
+
end
|
4975
|
+
end
|
4976
|
+
end
|
4977
|
+
end
|
4978
|
+
|
4979
|
+
# CreateBudget返回参数结构体
|
4980
|
+
class CreateBudgetResponse < TencentCloud::Common::AbstractModel
|
4981
|
+
# @param Data: 创建预算返回信息
|
4982
|
+
# @type Data: :class:`Tencentcloud::Billing.v20180709.models.BudgetInfoApiResponse`
|
4983
|
+
# @param Message: create success
|
4984
|
+
# @type Message: String
|
4985
|
+
# @param Code: 返回码
|
4986
|
+
# @type Code: Integer
|
4987
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4988
|
+
# @type RequestId: String
|
4989
|
+
|
4990
|
+
attr_accessor :Data, :Message, :Code, :RequestId
|
4991
|
+
|
4992
|
+
def initialize(data=nil, message=nil, code=nil, requestid=nil)
|
4993
|
+
@Data = data
|
4994
|
+
@Message = message
|
4995
|
+
@Code = code
|
4996
|
+
@RequestId = requestid
|
4997
|
+
end
|
4998
|
+
|
4999
|
+
def deserialize(params)
|
5000
|
+
unless params['Data'].nil?
|
5001
|
+
@Data = BudgetInfoApiResponse.new
|
5002
|
+
@Data.deserialize(params['Data'])
|
5003
|
+
end
|
5004
|
+
@Message = params['Message']
|
5005
|
+
@Code = params['Code']
|
5006
|
+
@RequestId = params['RequestId']
|
5007
|
+
end
|
5008
|
+
end
|
5009
|
+
|
4289
5010
|
# CreateGatherRule请求参数结构体
|
4290
5011
|
class CreateGatherRuleRequest < TencentCloud::Common::AbstractModel
|
4291
5012
|
# @param Id: 规则所属分账单元ID
|
@@ -4333,6 +5054,86 @@ module TencentCloud
|
|
4333
5054
|
end
|
4334
5055
|
end
|
4335
5056
|
|
5057
|
+
# 获取预算管理的基础信息分页数据
|
5058
|
+
class DataForBudgetInfoPage < TencentCloud::Common::AbstractModel
|
5059
|
+
# @param Pages: 分页
|
5060
|
+
# @type Pages: Integer
|
5061
|
+
# @param Size: 分页大小
|
5062
|
+
# @type Size: Integer
|
5063
|
+
# @param Total: 总量
|
5064
|
+
# @type Total: Integer
|
5065
|
+
# @param Records: 查询数据列表
|
5066
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5067
|
+
# @type Records: Array
|
5068
|
+
# @param Current: 当前页
|
5069
|
+
# @type Current: Integer
|
5070
|
+
|
5071
|
+
attr_accessor :Pages, :Size, :Total, :Records, :Current
|
5072
|
+
|
5073
|
+
def initialize(pages=nil, size=nil, total=nil, records=nil, current=nil)
|
5074
|
+
@Pages = pages
|
5075
|
+
@Size = size
|
5076
|
+
@Total = total
|
5077
|
+
@Records = records
|
5078
|
+
@Current = current
|
5079
|
+
end
|
5080
|
+
|
5081
|
+
def deserialize(params)
|
5082
|
+
@Pages = params['Pages']
|
5083
|
+
@Size = params['Size']
|
5084
|
+
@Total = params['Total']
|
5085
|
+
unless params['Records'].nil?
|
5086
|
+
@Records = []
|
5087
|
+
params['Records'].each do |i|
|
5088
|
+
budgetextend_tmp = BudgetExtend.new
|
5089
|
+
budgetextend_tmp.deserialize(i)
|
5090
|
+
@Records << budgetextend_tmp
|
5091
|
+
end
|
5092
|
+
end
|
5093
|
+
@Current = params['Current']
|
5094
|
+
end
|
5095
|
+
end
|
5096
|
+
|
5097
|
+
# 预算修改记录信息分页数据
|
5098
|
+
class DataForBudgetOperationLogPage < TencentCloud::Common::AbstractModel
|
5099
|
+
# @param Pages: 分页
|
5100
|
+
# @type Pages: Integer
|
5101
|
+
# @param Size: 分页大小
|
5102
|
+
# @type Size: Integer
|
5103
|
+
# @param Total: 总量
|
5104
|
+
# @type Total: Integer
|
5105
|
+
# @param Records: 查询数据列表
|
5106
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5107
|
+
# @type Records: Array
|
5108
|
+
# @param Current: 当前页
|
5109
|
+
# @type Current: Integer
|
5110
|
+
|
5111
|
+
attr_accessor :Pages, :Size, :Total, :Records, :Current
|
5112
|
+
|
5113
|
+
def initialize(pages=nil, size=nil, total=nil, records=nil, current=nil)
|
5114
|
+
@Pages = pages
|
5115
|
+
@Size = size
|
5116
|
+
@Total = total
|
5117
|
+
@Records = records
|
5118
|
+
@Current = current
|
5119
|
+
end
|
5120
|
+
|
5121
|
+
def deserialize(params)
|
5122
|
+
@Pages = params['Pages']
|
5123
|
+
@Size = params['Size']
|
5124
|
+
@Total = params['Total']
|
5125
|
+
unless params['Records'].nil?
|
5126
|
+
@Records = []
|
5127
|
+
params['Records'].each do |i|
|
5128
|
+
budgetoperationlogentity_tmp = BudgetOperationLogEntity.new
|
5129
|
+
budgetoperationlogentity_tmp.deserialize(i)
|
5130
|
+
@Records << budgetoperationlogentity_tmp
|
5131
|
+
end
|
5132
|
+
end
|
5133
|
+
@Current = params['Current']
|
5134
|
+
end
|
5135
|
+
end
|
5136
|
+
|
4336
5137
|
# 订单数据对象
|
4337
5138
|
class Deal < TencentCloud::Common::AbstractModel
|
4338
5139
|
# @param OrderId: 订单号
|
@@ -4573,6 +5374,50 @@ module TencentCloud
|
|
4573
5374
|
end
|
4574
5375
|
end
|
4575
5376
|
|
5377
|
+
# DeleteBudget请求参数结构体
|
5378
|
+
class DeleteBudgetRequest < TencentCloud::Common::AbstractModel
|
5379
|
+
# @param BudgetIds: 预算项目id
|
5380
|
+
# @type BudgetIds: Array
|
5381
|
+
|
5382
|
+
attr_accessor :BudgetIds
|
5383
|
+
|
5384
|
+
def initialize(budgetids=nil)
|
5385
|
+
@BudgetIds = budgetids
|
5386
|
+
end
|
5387
|
+
|
5388
|
+
def deserialize(params)
|
5389
|
+
@BudgetIds = params['BudgetIds']
|
5390
|
+
end
|
5391
|
+
end
|
5392
|
+
|
5393
|
+
# DeleteBudget返回参数结构体
|
5394
|
+
class DeleteBudgetResponse < TencentCloud::Common::AbstractModel
|
5395
|
+
# @param Data: 返回删除预算项目id
|
5396
|
+
# @type Data: Array
|
5397
|
+
# @param Message: 信息提示
|
5398
|
+
# @type Message: String
|
5399
|
+
# @param Code: 返回码
|
5400
|
+
# @type Code: Integer
|
5401
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5402
|
+
# @type RequestId: String
|
5403
|
+
|
5404
|
+
attr_accessor :Data, :Message, :Code, :RequestId
|
5405
|
+
|
5406
|
+
def initialize(data=nil, message=nil, code=nil, requestid=nil)
|
5407
|
+
@Data = data
|
5408
|
+
@Message = message
|
5409
|
+
@Code = code
|
5410
|
+
@RequestId = requestid
|
5411
|
+
end
|
5412
|
+
|
5413
|
+
def deserialize(params)
|
5414
|
+
@Data = params['Data']
|
5415
|
+
@Message = params['Message']
|
5416
|
+
@Code = params['Code']
|
5417
|
+
@RequestId = params['RequestId']
|
5418
|
+
end
|
5419
|
+
end
|
5420
|
+
|
4576
5421
|
# DeleteGatherRule请求参数结构体
|
4577
5422
|
class DeleteGatherRuleRequest < TencentCloud::Common::AbstractModel
|
4578
5423
|
# @param RuleId: 所删除归集规则ID
|
@@ -4653,10 +5498,10 @@ module TencentCloud
|
|
4653
5498
|
|
4654
5499
|
attr_accessor :Balance, :Uin, :RealBalance, :CashAccountBalance, :IncomeIntoAccountBalance, :PresentAccountBalance, :FreezeAmount, :OweAmount, :IsAllowArrears, :IsCreditLimited, :CreditAmount, :CreditBalance, :RealCreditBalance, :RequestId
|
4655
5500
|
extend Gem::Deprecate
|
4656
|
-
deprecate :IsAllowArrears, :none, 2025,
|
4657
|
-
deprecate :IsAllowArrears=, :none, 2025,
|
4658
|
-
deprecate :IsCreditLimited, :none, 2025,
|
4659
|
-
deprecate :IsCreditLimited=, :none, 2025,
|
5501
|
+
deprecate :IsAllowArrears, :none, 2025, 9
|
5502
|
+
deprecate :IsAllowArrears=, :none, 2025, 9
|
5503
|
+
deprecate :IsCreditLimited, :none, 2025, 9
|
5504
|
+
deprecate :IsCreditLimited=, :none, 2025, 9
|
4660
5505
|
|
4661
5506
|
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)
|
4662
5507
|
@Balance = balance
|
@@ -5594,8 +6439,8 @@ module TencentCloud
|
|
5594
6439
|
|
5595
6440
|
attr_accessor :Limit, :Offset, :Month, :PeriodType, :TreeNodeUniqKeys, :SortType, :Sort, :BillDates, :BusinessCodes, :SearchKey
|
5596
6441
|
extend Gem::Deprecate
|
5597
|
-
deprecate :SearchKey, :none, 2025,
|
5598
|
-
deprecate :SearchKey=, :none, 2025,
|
6442
|
+
deprecate :SearchKey, :none, 2025, 9
|
6443
|
+
deprecate :SearchKey=, :none, 2025, 9
|
5599
6444
|
|
5600
6445
|
def initialize(limit=nil, offset=nil, month=nil, periodtype=nil, treenodeuniqkeys=nil, sorttype=nil, sort=nil, billdates=nil, businesscodes=nil, searchkey=nil)
|
5601
6446
|
@Limit = limit
|
@@ -6279,8 +7124,8 @@ module TencentCloud
|
|
6279
7124
|
|
6280
7125
|
attr_accessor :Offset, :Limit, :PeriodType, :Month, :BeginTime, :EndTime, :NeedRecordNum, :PayMode, :ResourceId, :ActionType, :ProjectId, :BusinessCode, :Context
|
6281
7126
|
extend Gem::Deprecate
|
6282
|
-
deprecate :PeriodType, :none, 2025,
|
6283
|
-
deprecate :PeriodType=, :none, 2025,
|
7127
|
+
deprecate :PeriodType, :none, 2025, 9
|
7128
|
+
deprecate :PeriodType=, :none, 2025, 9
|
6284
7129
|
|
6285
7130
|
def initialize(offset=nil, limit=nil, periodtype=nil, month=nil, begintime=nil, endtime=nil, needrecordnum=nil, paymode=nil, resourceid=nil, actiontype=nil, projectid=nil, businesscode=nil, context=nil)
|
6286
7131
|
@Offset = offset
|
@@ -6416,10 +7261,10 @@ module TencentCloud
|
|
6416
7261
|
|
6417
7262
|
attr_accessor :Offset, :Limit, :PeriodType, :Month, :BeginTime, :EndTime, :NeedRecordNum, :ProductCode, :PayMode, :ResourceId, :ActionType, :ProjectId, :BusinessCode, :Context, :PayerUin
|
6418
7263
|
extend Gem::Deprecate
|
6419
|
-
deprecate :PeriodType, :none, 2025,
|
6420
|
-
deprecate :PeriodType=, :none, 2025,
|
6421
|
-
deprecate :ProductCode, :none, 2025,
|
6422
|
-
deprecate :ProductCode=, :none, 2025,
|
7264
|
+
deprecate :PeriodType, :none, 2025, 9
|
7265
|
+
deprecate :PeriodType=, :none, 2025, 9
|
7266
|
+
deprecate :ProductCode, :none, 2025, 9
|
7267
|
+
deprecate :ProductCode=, :none, 2025, 9
|
6423
7268
|
|
6424
7269
|
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, payeruin=nil)
|
6425
7270
|
@Offset = offset
|
@@ -6741,8 +7586,8 @@ module TencentCloud
|
|
6741
7586
|
|
6742
7587
|
attr_accessor :Offset, :Limit, :Month, :PeriodType, :NeedRecordNum, :ActionType, :ResourceId, :PayMode, :BusinessCode, :TagKey, :TagValue
|
6743
7588
|
extend Gem::Deprecate
|
6744
|
-
deprecate :PeriodType, :none, 2025,
|
6745
|
-
deprecate :PeriodType=, :none, 2025,
|
7589
|
+
deprecate :PeriodType, :none, 2025, 9
|
7590
|
+
deprecate :PeriodType=, :none, 2025, 9
|
6746
7591
|
|
6747
7592
|
def initialize(offset=nil, limit=nil, month=nil, periodtype=nil, needrecordnum=nil, actiontype=nil, resourceid=nil, paymode=nil, businesscode=nil, tagkey=nil, tagvalue=nil)
|
6748
7593
|
@Offset = offset
|
@@ -6865,8 +7710,8 @@ module TencentCloud
|
|
6865
7710
|
|
6866
7711
|
attr_accessor :Offset, :Limit, :Month, :PeriodType, :NeedRecordNum, :ActionType, :ResourceId, :PayMode, :BusinessCode, :PayerUin, :TagKey, :TagValue
|
6867
7712
|
extend Gem::Deprecate
|
6868
|
-
deprecate :PeriodType, :none, 2025,
|
6869
|
-
deprecate :PeriodType=, :none, 2025,
|
7713
|
+
deprecate :PeriodType, :none, 2025, 9
|
7714
|
+
deprecate :PeriodType=, :none, 2025, 9
|
6870
7715
|
|
6871
7716
|
def initialize(offset=nil, limit=nil, month=nil, periodtype=nil, needrecordnum=nil, actiontype=nil, resourceid=nil, paymode=nil, businesscode=nil, payeruin=nil, tagkey=nil, tagvalue=nil)
|
6872
7717
|
@Offset = offset
|
@@ -7354,6 +8199,185 @@ module TencentCloud
|
|
7354
8199
|
end
|
7355
8200
|
end
|
7356
8201
|
|
8202
|
+
# DescribeBudgetOperationLog请求参数结构体
|
8203
|
+
class DescribeBudgetOperationLogRequest < TencentCloud::Common::AbstractModel
|
8204
|
+
# @param PageNo: 页码
|
8205
|
+
# @type PageNo: Integer
|
8206
|
+
# @param PageSize: 每页数目
|
8207
|
+
# @type PageSize: Integer
|
8208
|
+
# @param BudgetId: 预算项目id
|
8209
|
+
# @type BudgetId: String
|
8210
|
+
|
8211
|
+
attr_accessor :PageNo, :PageSize, :BudgetId
|
8212
|
+
|
8213
|
+
def initialize(pageno=nil, pagesize=nil, budgetid=nil)
|
8214
|
+
@PageNo = pageno
|
8215
|
+
@PageSize = pagesize
|
8216
|
+
@BudgetId = budgetid
|
8217
|
+
end
|
8218
|
+
|
8219
|
+
def deserialize(params)
|
8220
|
+
@PageNo = params['PageNo']
|
8221
|
+
@PageSize = params['PageSize']
|
8222
|
+
@BudgetId = params['BudgetId']
|
8223
|
+
end
|
8224
|
+
end
|
8225
|
+
|
8226
|
+
# DescribeBudgetOperationLog返回参数结构体
|
8227
|
+
class DescribeBudgetOperationLogResponse < TencentCloud::Common::AbstractModel
|
8228
|
+
# @param Data: 预算修改记录详情
|
8229
|
+
# @type Data: :class:`Tencentcloud::Billing.v20180709.models.DataForBudgetOperationLogPage`
|
8230
|
+
# @param Message: 信息提示
|
8231
|
+
# @type Message: String
|
8232
|
+
# @param Code: 返回码
|
8233
|
+
# @type Code: Integer
|
8234
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8235
|
+
# @type RequestId: String
|
8236
|
+
|
8237
|
+
attr_accessor :Data, :Message, :Code, :RequestId
|
8238
|
+
|
8239
|
+
def initialize(data=nil, message=nil, code=nil, requestid=nil)
|
8240
|
+
@Data = data
|
8241
|
+
@Message = message
|
8242
|
+
@Code = code
|
8243
|
+
@RequestId = requestid
|
8244
|
+
end
|
8245
|
+
|
8246
|
+
def deserialize(params)
|
8247
|
+
unless params['Data'].nil?
|
8248
|
+
@Data = DataForBudgetOperationLogPage.new
|
8249
|
+
@Data.deserialize(params['Data'])
|
8250
|
+
end
|
8251
|
+
@Message = params['Message']
|
8252
|
+
@Code = params['Code']
|
8253
|
+
@RequestId = params['RequestId']
|
8254
|
+
end
|
8255
|
+
end
|
8256
|
+
|
8257
|
+
# DescribeBudgetRemindRecordList请求参数结构体
|
8258
|
+
class DescribeBudgetRemindRecordListRequest < TencentCloud::Common::AbstractModel
|
8259
|
+
# @param PageNo: 页码,整型
|
8260
|
+
# @type PageNo: Integer
|
8261
|
+
# @param PageSize: 每页数目,整型
|
8262
|
+
# @type PageSize: Integer
|
8263
|
+
# @param BudgetId: 预算基础信息关联id
|
8264
|
+
# @type BudgetId: String
|
8265
|
+
|
8266
|
+
attr_accessor :PageNo, :PageSize, :BudgetId
|
8267
|
+
|
8268
|
+
def initialize(pageno=nil, pagesize=nil, budgetid=nil)
|
8269
|
+
@PageNo = pageno
|
8270
|
+
@PageSize = pagesize
|
8271
|
+
@BudgetId = budgetid
|
8272
|
+
end
|
8273
|
+
|
8274
|
+
def deserialize(params)
|
8275
|
+
@PageNo = params['PageNo']
|
8276
|
+
@PageSize = params['PageSize']
|
8277
|
+
@BudgetId = params['BudgetId']
|
8278
|
+
end
|
8279
|
+
end
|
8280
|
+
|
8281
|
+
# DescribeBudgetRemindRecordList返回参数结构体
|
8282
|
+
class DescribeBudgetRemindRecordListResponse < TencentCloud::Common::AbstractModel
|
8283
|
+
# @param Data: 预算配置属性
|
8284
|
+
# @type Data: :class:`Tencentcloud::Billing.v20180709.models.BudgetRemindRecordList`
|
8285
|
+
# @param Message: 错误信息提示
|
8286
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8287
|
+
# @type Message: String
|
8288
|
+
# @param Code: 错误响应码
|
8289
|
+
# @type Code: Integer
|
8290
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8291
|
+
# @type RequestId: String
|
8292
|
+
|
8293
|
+
attr_accessor :Data, :Message, :Code, :RequestId
|
8294
|
+
|
8295
|
+
def initialize(data=nil, message=nil, code=nil, requestid=nil)
|
8296
|
+
@Data = data
|
8297
|
+
@Message = message
|
8298
|
+
@Code = code
|
8299
|
+
@RequestId = requestid
|
8300
|
+
end
|
8301
|
+
|
8302
|
+
def deserialize(params)
|
8303
|
+
unless params['Data'].nil?
|
8304
|
+
@Data = BudgetRemindRecordList.new
|
8305
|
+
@Data.deserialize(params['Data'])
|
8306
|
+
end
|
8307
|
+
@Message = params['Message']
|
8308
|
+
@Code = params['Code']
|
8309
|
+
@RequestId = params['RequestId']
|
8310
|
+
end
|
8311
|
+
end
|
8312
|
+
|
8313
|
+
# DescribeBudget请求参数结构体
|
8314
|
+
class DescribeBudgetRequest < TencentCloud::Common::AbstractModel
|
8315
|
+
# @param PageNo: 页码,整型
|
8316
|
+
# @type PageNo: Integer
|
8317
|
+
# @param PageSize: 每页数目,整型
|
8318
|
+
# @type PageSize: Integer
|
8319
|
+
# @param BudgetId: 预算项目id
|
8320
|
+
# @type BudgetId: String
|
8321
|
+
# @param BudgetName: 预算名称
|
8322
|
+
# @type BudgetName: String
|
8323
|
+
# @param BudgetStatus: EXPIRED失效,ACTIVE生效中, ACTIVATED待生效
|
8324
|
+
# @type BudgetStatus: String
|
8325
|
+
# @param CycleTypes: DAY天 MONTH月度 QUARTER季度 YEAR年度
|
8326
|
+
# @type CycleTypes: Array
|
8327
|
+
|
8328
|
+
attr_accessor :PageNo, :PageSize, :BudgetId, :BudgetName, :BudgetStatus, :CycleTypes
|
8329
|
+
|
8330
|
+
def initialize(pageno=nil, pagesize=nil, budgetid=nil, budgetname=nil, budgetstatus=nil, cycletypes=nil)
|
8331
|
+
@PageNo = pageno
|
8332
|
+
@PageSize = pagesize
|
8333
|
+
@BudgetId = budgetid
|
8334
|
+
@BudgetName = budgetname
|
8335
|
+
@BudgetStatus = budgetstatus
|
8336
|
+
@CycleTypes = cycletypes
|
8337
|
+
end
|
8338
|
+
|
8339
|
+
def deserialize(params)
|
8340
|
+
@PageNo = params['PageNo']
|
8341
|
+
@PageSize = params['PageSize']
|
8342
|
+
@BudgetId = params['BudgetId']
|
8343
|
+
@BudgetName = params['BudgetName']
|
8344
|
+
@BudgetStatus = params['BudgetStatus']
|
8345
|
+
@CycleTypes = params['CycleTypes']
|
8346
|
+
end
|
8347
|
+
end
|
8348
|
+
|
8349
|
+
# DescribeBudget返回参数结构体
|
8350
|
+
class DescribeBudgetResponse < TencentCloud::Common::AbstractModel
|
8351
|
+
# @param Data: 预算项目详情
|
8352
|
+
# @type Data: :class:`Tencentcloud::Billing.v20180709.models.DataForBudgetInfoPage`
|
8353
|
+
# @param Message: 信息提示
|
8354
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8355
|
+
# @type Message: String
|
8356
|
+
# @param Code: 返回码
|
8357
|
+
# @type Code: Integer
|
8358
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8359
|
+
# @type RequestId: String
|
8360
|
+
|
8361
|
+
attr_accessor :Data, :Message, :Code, :RequestId
|
8362
|
+
|
8363
|
+
def initialize(data=nil, message=nil, code=nil, requestid=nil)
|
8364
|
+
@Data = data
|
8365
|
+
@Message = message
|
8366
|
+
@Code = code
|
8367
|
+
@RequestId = requestid
|
8368
|
+
end
|
8369
|
+
|
8370
|
+
def deserialize(params)
|
8371
|
+
unless params['Data'].nil?
|
8372
|
+
@Data = DataForBudgetInfoPage.new
|
8373
|
+
@Data.deserialize(params['Data'])
|
8374
|
+
end
|
8375
|
+
@Message = params['Message']
|
8376
|
+
@Code = params['Code']
|
8377
|
+
@RequestId = params['RequestId']
|
8378
|
+
end
|
8379
|
+
end
|
8380
|
+
|
7357
8381
|
# DescribeCostDetail请求参数结构体
|
7358
8382
|
class DescribeCostDetailRequest < TencentCloud::Common::AbstractModel
|
7359
8383
|
# @param Limit: 数量,最大值为100
|
@@ -9103,10 +10127,10 @@ module TencentCloud
|
|
9103
10127
|
|
9104
10128
|
attr_accessor :PayerUin, :OwnerUin, :OperateUin, :InstanceType, :InstanceTypeName, :ResourceId, :ResourceName, :TreeNodeUniqKey, :TreeNodeUniqKeyName, :RuleId, :RuleName, :BusinessCode, :BusinessCodeName, :ItemCode, :ItemCodeName, :RegionId, :RegionName, :Tag, :RealTotalCost, :CashPayAmount, :VoucherPayAmount, :IncentivePayAmount, :TransferPayAmount, :AllocationType, :BelongTreeNodeUniqKey, :BelongRule, :OtherTreeNodeUniqKeys, :OtherRules, :ProjectId, :ProjectName, :ProductCode, :ProductCodeName, :PayMode, :PayModeName, :ActionType, :ActionTypeName, :SplitItemId, :SplitItemName
|
9105
10129
|
extend Gem::Deprecate
|
9106
|
-
deprecate :SplitItemId, :none, 2025,
|
9107
|
-
deprecate :SplitItemId=, :none, 2025,
|
9108
|
-
deprecate :SplitItemName, :none, 2025,
|
9109
|
-
deprecate :SplitItemName=, :none, 2025,
|
10130
|
+
deprecate :SplitItemId, :none, 2025, 9
|
10131
|
+
deprecate :SplitItemId=, :none, 2025, 9
|
10132
|
+
deprecate :SplitItemName, :none, 2025, 9
|
10133
|
+
deprecate :SplitItemName=, :none, 2025, 9
|
9110
10134
|
|
9111
10135
|
def initialize(payeruin=nil, owneruin=nil, operateuin=nil, instancetype=nil, instancetypename=nil, resourceid=nil, resourcename=nil, treenodeuniqkey=nil, treenodeuniqkeyname=nil, ruleid=nil, rulename=nil, businesscode=nil, businesscodename=nil, itemcode=nil, itemcodename=nil, regionid=nil, regionname=nil, tag=nil, realtotalcost=nil, cashpayamount=nil, voucherpayamount=nil, incentivepayamount=nil, transferpayamount=nil, allocationtype=nil, belongtreenodeuniqkey=nil, belongrule=nil, othertreenodeuniqkeys=nil, otherrules=nil, projectid=nil, projectname=nil, productcode=nil, productcodename=nil, paymode=nil, paymodename=nil, actiontype=nil, actiontypename=nil, splititemid=nil, splititemname=nil)
|
9112
10136
|
@PayerUin = payeruin
|
@@ -9371,6 +10395,121 @@ module TencentCloud
|
|
9371
10395
|
end
|
9372
10396
|
end
|
9373
10397
|
|
10398
|
+
# ModifyBudget请求参数结构体
|
10399
|
+
class ModifyBudgetRequest < TencentCloud::Common::AbstractModel
|
10400
|
+
# @param BudgetId: 预算项目id
|
10401
|
+
# @type BudgetId: String
|
10402
|
+
# @param BudgetName: 预算名称
|
10403
|
+
# @type BudgetName: String
|
10404
|
+
# @param CycleType: DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度
|
10405
|
+
# @type CycleType: String
|
10406
|
+
# @param PeriodBegin: 有效期起始时间 2025-01-01
|
10407
|
+
# @type PeriodBegin: String
|
10408
|
+
# @param PeriodEnd: 有效期结束时间 2025-12-01
|
10409
|
+
# @type PeriodEnd: String
|
10410
|
+
# @param PlanType: FIX 固定值,CYCLE 不同值
|
10411
|
+
# @type PlanType: String
|
10412
|
+
# @param BudgetQuota: 预算值额度
|
10413
|
+
# 预算计划类型固定预算时设为定值;
|
10414
|
+
# 预算计划类型为CYCLE(计划预算)时传[{"dateDesc":"2025-07","quota":"1000"},{"dateDesc":"2025-08","quota":"2000"}];
|
10415
|
+
# @type BudgetQuota: String
|
10416
|
+
# @param BillType: BILL 系统账单,CONSUMPTION 消耗账单
|
10417
|
+
# @type BillType: String
|
10418
|
+
# @param FeeType: COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)
|
10419
|
+
# @type FeeType: String
|
10420
|
+
# @param WarnJson: 阈值提醒
|
10421
|
+
# @type WarnJson: Array
|
10422
|
+
# @param BudgetNote: 预算备注
|
10423
|
+
# @type BudgetNote: String
|
10424
|
+
# @param DimensionsRange: 预算维度范围条件
|
10425
|
+
# @type DimensionsRange: :class:`Tencentcloud::Billing.v20180709.models.BudgetConditionsForm`
|
10426
|
+
# @param WaveThresholdJson: 波动提醒
|
10427
|
+
# @type WaveThresholdJson: Array
|
10428
|
+
|
10429
|
+
attr_accessor :BudgetId, :BudgetName, :CycleType, :PeriodBegin, :PeriodEnd, :PlanType, :BudgetQuota, :BillType, :FeeType, :WarnJson, :BudgetNote, :DimensionsRange, :WaveThresholdJson
|
10430
|
+
|
10431
|
+
def initialize(budgetid=nil, budgetname=nil, cycletype=nil, periodbegin=nil, periodend=nil, plantype=nil, budgetquota=nil, billtype=nil, feetype=nil, warnjson=nil, budgetnote=nil, dimensionsrange=nil, wavethresholdjson=nil)
|
10432
|
+
@BudgetId = budgetid
|
10433
|
+
@BudgetName = budgetname
|
10434
|
+
@CycleType = cycletype
|
10435
|
+
@PeriodBegin = periodbegin
|
10436
|
+
@PeriodEnd = periodend
|
10437
|
+
@PlanType = plantype
|
10438
|
+
@BudgetQuota = budgetquota
|
10439
|
+
@BillType = billtype
|
10440
|
+
@FeeType = feetype
|
10441
|
+
@WarnJson = warnjson
|
10442
|
+
@BudgetNote = budgetnote
|
10443
|
+
@DimensionsRange = dimensionsrange
|
10444
|
+
@WaveThresholdJson = wavethresholdjson
|
10445
|
+
end
|
10446
|
+
|
10447
|
+
def deserialize(params)
|
10448
|
+
@BudgetId = params['BudgetId']
|
10449
|
+
@BudgetName = params['BudgetName']
|
10450
|
+
@CycleType = params['CycleType']
|
10451
|
+
@PeriodBegin = params['PeriodBegin']
|
10452
|
+
@PeriodEnd = params['PeriodEnd']
|
10453
|
+
@PlanType = params['PlanType']
|
10454
|
+
@BudgetQuota = params['BudgetQuota']
|
10455
|
+
@BillType = params['BillType']
|
10456
|
+
@FeeType = params['FeeType']
|
10457
|
+
unless params['WarnJson'].nil?
|
10458
|
+
@WarnJson = []
|
10459
|
+
params['WarnJson'].each do |i|
|
10460
|
+
budgetwarn_tmp = BudgetWarn.new
|
10461
|
+
budgetwarn_tmp.deserialize(i)
|
10462
|
+
@WarnJson << budgetwarn_tmp
|
10463
|
+
end
|
10464
|
+
end
|
10465
|
+
@BudgetNote = params['BudgetNote']
|
10466
|
+
unless params['DimensionsRange'].nil?
|
10467
|
+
@DimensionsRange = BudgetConditionsForm.new
|
10468
|
+
@DimensionsRange.deserialize(params['DimensionsRange'])
|
10469
|
+
end
|
10470
|
+
unless params['WaveThresholdJson'].nil?
|
10471
|
+
@WaveThresholdJson = []
|
10472
|
+
params['WaveThresholdJson'].each do |i|
|
10473
|
+
wavethresholdform_tmp = WaveThresholdForm.new
|
10474
|
+
wavethresholdform_tmp.deserialize(i)
|
10475
|
+
@WaveThresholdJson << wavethresholdform_tmp
|
10476
|
+
end
|
10477
|
+
end
|
10478
|
+
end
|
10479
|
+
end
|
10480
|
+
|
10481
|
+
# ModifyBudget返回参数结构体
|
10482
|
+
class ModifyBudgetResponse < TencentCloud::Common::AbstractModel
|
10483
|
+
# @param Data: 更新预算返回信息
|
10484
|
+
# @type Data: :class:`Tencentcloud::Billing.v20180709.models.BudgetInfoApiResponse`
|
10485
|
+
# @param Message: update success
|
10486
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10487
|
+
# @type Message: String
|
10488
|
+
# @param Code: 返回码
|
10489
|
+
# @type Code: Integer
|
10490
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10491
|
+
# @type RequestId: String
|
10492
|
+
|
10493
|
+
attr_accessor :Data, :Message, :Code, :RequestId
|
10494
|
+
|
10495
|
+
def initialize(data=nil, message=nil, code=nil, requestid=nil)
|
10496
|
+
@Data = data
|
10497
|
+
@Message = message
|
10498
|
+
@Code = code
|
10499
|
+
@RequestId = requestid
|
10500
|
+
end
|
10501
|
+
|
10502
|
+
def deserialize(params)
|
10503
|
+
unless params['Data'].nil?
|
10504
|
+
@Data = BudgetInfoApiResponse.new
|
10505
|
+
@Data.deserialize(params['Data'])
|
10506
|
+
end
|
10507
|
+
@Message = params['Message']
|
10508
|
+
@Code = params['Code']
|
10509
|
+
@RequestId = params['RequestId']
|
10510
|
+
end
|
10511
|
+
end
|
10512
|
+
|
9374
10513
|
# ModifyGatherRule请求参数结构体
|
9375
10514
|
class ModifyGatherRuleRequest < TencentCloud::Common::AbstractModel
|
9376
10515
|
# @param Id: 所编辑归集规则ID
|
@@ -9414,6 +10553,28 @@ module TencentCloud
|
|
9414
10553
|
end
|
9415
10554
|
end
|
9416
10555
|
|
10556
|
+
# 字段排序
|
10557
|
+
class OrderDto < TencentCloud::Common::AbstractModel
|
10558
|
+
# @param Column: 字段
|
10559
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10560
|
+
# @type Column: String
|
10561
|
+
# @param Asc: 是否升序
|
10562
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10563
|
+
# @type Asc: Boolean
|
10564
|
+
|
10565
|
+
attr_accessor :Column, :Asc
|
10566
|
+
|
10567
|
+
def initialize(column=nil, asc=nil)
|
10568
|
+
@Column = column
|
10569
|
+
@Asc = asc
|
10570
|
+
end
|
10571
|
+
|
10572
|
+
def deserialize(params)
|
10573
|
+
@Column = params['Column']
|
10574
|
+
@Asc = params['Asc']
|
10575
|
+
end
|
10576
|
+
end
|
10577
|
+
|
9417
10578
|
# PayDeals请求参数结构体
|
9418
10579
|
class PayDealsRequest < TencentCloud::Common::AbstractModel
|
9419
10580
|
# @param OrderIds: 需要支付的一个或者多个子订单号,与BigDealIds字段两者必须且仅传一个参数
|
@@ -9804,6 +10965,28 @@ module TencentCloud
|
|
9804
10965
|
end
|
9805
10966
|
end
|
9806
10967
|
|
10968
|
+
# 预算管理自定义费用范围,tag 参数
|
10969
|
+
class TagsForm < TencentCloud::Common::AbstractModel
|
10970
|
+
# @param TagKey: key
|
10971
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10972
|
+
# @type TagKey: String
|
10973
|
+
# @param TagValue: value
|
10974
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10975
|
+
# @type TagValue: Array
|
10976
|
+
|
10977
|
+
attr_accessor :TagKey, :TagValue
|
10978
|
+
|
10979
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
10980
|
+
@TagKey = tagkey
|
10981
|
+
@TagValue = tagvalue
|
10982
|
+
end
|
10983
|
+
|
10984
|
+
def deserialize(params)
|
10985
|
+
@TagKey = params['TagKey']
|
10986
|
+
@TagValue = params['TagValue']
|
10987
|
+
end
|
10988
|
+
end
|
10989
|
+
|
9807
10990
|
# 购买商品信息
|
9808
10991
|
class UsageDetails < TencentCloud::Common::AbstractModel
|
9809
10992
|
# @param ProductName: 商品名
|
@@ -9977,6 +11160,40 @@ module TencentCloud
|
|
9977
11160
|
end
|
9978
11161
|
end
|
9979
11162
|
|
11163
|
+
# 阈值波动预警信息
|
11164
|
+
class WaveThresholdForm < TencentCloud::Common::AbstractModel
|
11165
|
+
# @param WarnType: ACTUAL 实际金额,FORECAST 预测金额
|
11166
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11167
|
+
# @type WarnType: String
|
11168
|
+
# @param Threshold: 波动阈值(大于等于0)
|
11169
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11170
|
+
# @type Threshold: String
|
11171
|
+
# @param MetaType: 告警类型:chain 环比,yoy 同比,fix 固定值
|
11172
|
+
# (支持类型:日环比 chain day,日同比周维度 chain weekday,日同比月维度 yoy day,日固定值 fix day,月环比 chain month,月固定值 fix month)
|
11173
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11174
|
+
# @type MetaType: String
|
11175
|
+
# @param PeriodType: 告警维度:day 日,month 月,weekday 周
|
11176
|
+
# (支持类型:日环比 chain day,日同比周维度 chain weekday,日同比月维度 yoy day,日固定值 fix day,月环比 chain month,月固定值 fix month)
|
11177
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11178
|
+
# @type PeriodType: String
|
11179
|
+
|
11180
|
+
attr_accessor :WarnType, :Threshold, :MetaType, :PeriodType
|
11181
|
+
|
11182
|
+
def initialize(warntype=nil, threshold=nil, metatype=nil, periodtype=nil)
|
11183
|
+
@WarnType = warntype
|
11184
|
+
@Threshold = threshold
|
11185
|
+
@MetaType = metatype
|
11186
|
+
@PeriodType = periodtype
|
11187
|
+
end
|
11188
|
+
|
11189
|
+
def deserialize(params)
|
11190
|
+
@WarnType = params['WarnType']
|
11191
|
+
@Threshold = params['Threshold']
|
11192
|
+
@MetaType = params['MetaType']
|
11193
|
+
@PeriodType = params['PeriodType']
|
11194
|
+
end
|
11195
|
+
end
|
11196
|
+
|
9980
11197
|
end
|
9981
11198
|
end
|
9982
11199
|
end
|