Class: TencentCloud::Billing::V20180709::ModifyBudgetRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180709/models.rb

Overview

ModifyBudget请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#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) ⇒ ModifyBudgetRequest

Returns a new instance of ModifyBudgetRequest.



10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
# File 'lib/v20180709/models.rb', line 10435

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)
  @BudgetId = budgetid
  @BudgetName = budgetname
  @CycleType = cycletype
  @PeriodBegin = periodbegin
  @PeriodEnd = periodend
  @PlanType = plantype
  @BudgetQuota = budgetquota
  @BillType = billtype
  @FeeType = feetype
  @WarnJson = warnjson
  @BudgetNote = budgetnote
  @DimensionsRange = dimensionsrange
  @WaveThresholdJson = wavethresholdjson
end

Instance Attribute Details

#BillTypeObject

Parameters:

  • BudgetId:

    预算项目id

  • BudgetName:

    预算名称

  • CycleType:

    DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度

  • PeriodBegin:

    有效期起始时间 2025-01-01

  • PeriodEnd:

    有效期结束时间 2025-12-01

  • PlanType:

    FIX 固定值,CYCLE 不同值

  • BudgetQuota:

    预算值额度

  • BillType:

    BILL 系统账单,CONSUMPTION 消耗账单

  • FeeType:

    COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)

  • WarnJson:

    阈值提醒

  • BudgetNote:

    预算备注

  • DimensionsRange:

    预算维度范围条件

  • WaveThresholdJson:

    波动提醒



10433
10434
10435
# File 'lib/v20180709/models.rb', line 10433

def BillType
  @BillType
end

#BudgetIdObject

Parameters:

  • BudgetId:

    预算项目id

  • BudgetName:

    预算名称

  • CycleType:

    DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度

  • PeriodBegin:

    有效期起始时间 2025-01-01

  • PeriodEnd:

    有效期结束时间 2025-12-01

  • PlanType:

    FIX 固定值,CYCLE 不同值

  • BudgetQuota:

    预算值额度

  • BillType:

    BILL 系统账单,CONSUMPTION 消耗账单

  • FeeType:

    COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)

  • WarnJson:

    阈值提醒

  • BudgetNote:

    预算备注

  • DimensionsRange:

    预算维度范围条件

  • WaveThresholdJson:

    波动提醒



10433
10434
10435
# File 'lib/v20180709/models.rb', line 10433

def BudgetId
  @BudgetId
end

#BudgetNameObject

Parameters:

  • BudgetId:

    预算项目id

  • BudgetName:

    预算名称

  • CycleType:

    DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度

  • PeriodBegin:

    有效期起始时间 2025-01-01

  • PeriodEnd:

    有效期结束时间 2025-12-01

  • PlanType:

    FIX 固定值,CYCLE 不同值

  • BudgetQuota:

    预算值额度

  • BillType:

    BILL 系统账单,CONSUMPTION 消耗账单

  • FeeType:

    COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)

  • WarnJson:

    阈值提醒

  • BudgetNote:

    预算备注

  • DimensionsRange:

    预算维度范围条件

  • WaveThresholdJson:

    波动提醒



10433
10434
10435
# File 'lib/v20180709/models.rb', line 10433

def BudgetName
  @BudgetName
end

#BudgetNoteObject

Parameters:

  • BudgetId:

    预算项目id

  • BudgetName:

    预算名称

  • CycleType:

    DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度

  • PeriodBegin:

    有效期起始时间 2025-01-01

  • PeriodEnd:

    有效期结束时间 2025-12-01

  • PlanType:

    FIX 固定值,CYCLE 不同值

  • BudgetQuota:

    预算值额度

  • BillType:

    BILL 系统账单,CONSUMPTION 消耗账单

  • FeeType:

    COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)

  • WarnJson:

    阈值提醒

  • BudgetNote:

    预算备注

  • DimensionsRange:

    预算维度范围条件

  • WaveThresholdJson:

    波动提醒



10433
10434
10435
# File 'lib/v20180709/models.rb', line 10433

def BudgetNote
  @BudgetNote
end

#BudgetQuotaObject

Parameters:

  • BudgetId:

    预算项目id

  • BudgetName:

    预算名称

  • CycleType:

    DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度

  • PeriodBegin:

    有效期起始时间 2025-01-01

  • PeriodEnd:

    有效期结束时间 2025-12-01

  • PlanType:

    FIX 固定值,CYCLE 不同值

  • BudgetQuota:

    预算值额度

  • BillType:

    BILL 系统账单,CONSUMPTION 消耗账单

  • FeeType:

    COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)

  • WarnJson:

    阈值提醒

  • BudgetNote:

    预算备注

  • DimensionsRange:

    预算维度范围条件

  • WaveThresholdJson:

    波动提醒



10433
10434
10435
# File 'lib/v20180709/models.rb', line 10433

def BudgetQuota
  @BudgetQuota
end

#CycleTypeObject

Parameters:

  • BudgetId:

    预算项目id

  • BudgetName:

    预算名称

  • CycleType:

    DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度

  • PeriodBegin:

    有效期起始时间 2025-01-01

  • PeriodEnd:

    有效期结束时间 2025-12-01

  • PlanType:

    FIX 固定值,CYCLE 不同值

  • BudgetQuota:

    预算值额度

  • BillType:

    BILL 系统账单,CONSUMPTION 消耗账单

  • FeeType:

    COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)

  • WarnJson:

    阈值提醒

  • BudgetNote:

    预算备注

  • DimensionsRange:

    预算维度范围条件

  • WaveThresholdJson:

    波动提醒



10433
10434
10435
# File 'lib/v20180709/models.rb', line 10433

def CycleType
  @CycleType
end

#DimensionsRangeObject

Parameters:

  • BudgetId:

    预算项目id

  • BudgetName:

    预算名称

  • CycleType:

    DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度

  • PeriodBegin:

    有效期起始时间 2025-01-01

  • PeriodEnd:

    有效期结束时间 2025-12-01

  • PlanType:

    FIX 固定值,CYCLE 不同值

  • BudgetQuota:

    预算值额度

  • BillType:

    BILL 系统账单,CONSUMPTION 消耗账单

  • FeeType:

    COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)

  • WarnJson:

    阈值提醒

  • BudgetNote:

    预算备注

  • DimensionsRange:

    预算维度范围条件

  • WaveThresholdJson:

    波动提醒



10433
10434
10435
# File 'lib/v20180709/models.rb', line 10433

def DimensionsRange
  @DimensionsRange
end

#FeeTypeObject

Parameters:

  • BudgetId:

    预算项目id

  • BudgetName:

    预算名称

  • CycleType:

    DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度

  • PeriodBegin:

    有效期起始时间 2025-01-01

  • PeriodEnd:

    有效期结束时间 2025-12-01

  • PlanType:

    FIX 固定值,CYCLE 不同值

  • BudgetQuota:

    预算值额度

  • BillType:

    BILL 系统账单,CONSUMPTION 消耗账单

  • FeeType:

    COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)

  • WarnJson:

    阈值提醒

  • BudgetNote:

    预算备注

  • DimensionsRange:

    预算维度范围条件

  • WaveThresholdJson:

    波动提醒



10433
10434
10435
# File 'lib/v20180709/models.rb', line 10433

def FeeType
  @FeeType
end

#PeriodBeginObject

Parameters:

  • BudgetId:

    预算项目id

  • BudgetName:

    预算名称

  • CycleType:

    DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度

  • PeriodBegin:

    有效期起始时间 2025-01-01

  • PeriodEnd:

    有效期结束时间 2025-12-01

  • PlanType:

    FIX 固定值,CYCLE 不同值

  • BudgetQuota:

    预算值额度

  • BillType:

    BILL 系统账单,CONSUMPTION 消耗账单

  • FeeType:

    COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)

  • WarnJson:

    阈值提醒

  • BudgetNote:

    预算备注

  • DimensionsRange:

    预算维度范围条件

  • WaveThresholdJson:

    波动提醒



10433
10434
10435
# File 'lib/v20180709/models.rb', line 10433

def PeriodBegin
  @PeriodBegin
end

#PeriodEndObject

Parameters:

  • BudgetId:

    预算项目id

  • BudgetName:

    预算名称

  • CycleType:

    DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度

  • PeriodBegin:

    有效期起始时间 2025-01-01

  • PeriodEnd:

    有效期结束时间 2025-12-01

  • PlanType:

    FIX 固定值,CYCLE 不同值

  • BudgetQuota:

    预算值额度

  • BillType:

    BILL 系统账单,CONSUMPTION 消耗账单

  • FeeType:

    COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)

  • WarnJson:

    阈值提醒

  • BudgetNote:

    预算备注

  • DimensionsRange:

    预算维度范围条件

  • WaveThresholdJson:

    波动提醒



10433
10434
10435
# File 'lib/v20180709/models.rb', line 10433

def PeriodEnd
  @PeriodEnd
end

#PlanTypeObject

Parameters:

  • BudgetId:

    预算项目id

  • BudgetName:

    预算名称

  • CycleType:

    DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度

  • PeriodBegin:

    有效期起始时间 2025-01-01

  • PeriodEnd:

    有效期结束时间 2025-12-01

  • PlanType:

    FIX 固定值,CYCLE 不同值

  • BudgetQuota:

    预算值额度

  • BillType:

    BILL 系统账单,CONSUMPTION 消耗账单

  • FeeType:

    COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)

  • WarnJson:

    阈值提醒

  • BudgetNote:

    预算备注

  • DimensionsRange:

    预算维度范围条件

  • WaveThresholdJson:

    波动提醒



10433
10434
10435
# File 'lib/v20180709/models.rb', line 10433

def PlanType
  @PlanType
end

#WarnJsonObject

Parameters:

  • BudgetId:

    预算项目id

  • BudgetName:

    预算名称

  • CycleType:

    DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度

  • PeriodBegin:

    有效期起始时间 2025-01-01

  • PeriodEnd:

    有效期结束时间 2025-12-01

  • PlanType:

    FIX 固定值,CYCLE 不同值

  • BudgetQuota:

    预算值额度

  • BillType:

    BILL 系统账单,CONSUMPTION 消耗账单

  • FeeType:

    COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)

  • WarnJson:

    阈值提醒

  • BudgetNote:

    预算备注

  • DimensionsRange:

    预算维度范围条件

  • WaveThresholdJson:

    波动提醒



10433
10434
10435
# File 'lib/v20180709/models.rb', line 10433

def WarnJson
  @WarnJson
end

#WaveThresholdJsonObject

Parameters:

  • BudgetId:

    预算项目id

  • BudgetName:

    预算名称

  • CycleType:

    DAY 天,MONTH 月度,QUARTER 季度 ,YEAR 年度

  • PeriodBegin:

    有效期起始时间 2025-01-01

  • PeriodEnd:

    有效期结束时间 2025-12-01

  • PlanType:

    FIX 固定值,CYCLE 不同值

  • BudgetQuota:

    预算值额度

  • BillType:

    BILL 系统账单,CONSUMPTION 消耗账单

  • FeeType:

    COST 原价,REAL_COST 实际费用,CASH 现金,INCENTIVE 赠送金,VOUCHER 代金券,TRANSFER 分成金,TAX 税,AMOUNT_BEFORE_TAX 现金支付(税前)

  • WarnJson:

    阈值提醒

  • BudgetNote:

    预算备注

  • DimensionsRange:

    预算维度范围条件

  • WaveThresholdJson:

    波动提醒



10433
10434
10435
# File 'lib/v20180709/models.rb', line 10433

def WaveThresholdJson
  @WaveThresholdJson
end

Instance Method Details

#deserialize(params) ⇒ Object



10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
# File 'lib/v20180709/models.rb', line 10451

def deserialize(params)
  @BudgetId = params['BudgetId']
  @BudgetName = params['BudgetName']
  @CycleType = params['CycleType']
  @PeriodBegin = params['PeriodBegin']
  @PeriodEnd = params['PeriodEnd']
  @PlanType = params['PlanType']
  @BudgetQuota = params['BudgetQuota']
  @BillType = params['BillType']
  @FeeType = params['FeeType']
  unless params['WarnJson'].nil?
    @WarnJson = []
    params['WarnJson'].each do |i|
      budgetwarn_tmp = BudgetWarn.new
      budgetwarn_tmp.deserialize(i)
      @WarnJson << budgetwarn_tmp
    end
  end
  @BudgetNote = params['BudgetNote']
  unless params['DimensionsRange'].nil?
    @DimensionsRange = BudgetConditionsForm.new
    @DimensionsRange.deserialize(params['DimensionsRange'])
  end
  unless params['WaveThresholdJson'].nil?
    @WaveThresholdJson = []
    params['WaveThresholdJson'].each do |i|
      wavethresholdform_tmp = WaveThresholdForm.new
      wavethresholdform_tmp.deserialize(i)
      @WaveThresholdJson << wavethresholdform_tmp
    end
  end
end