Class: TencentCloud::Billing::V20180709::AllocationAverageData

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

Overview

分账账单趋势图平均值

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(beginmonth = nil, endmonth = nil, realtotalcost = nil) ⇒ AllocationAverageData

Returns a new instance of AllocationAverageData.



122
123
124
125
126
# File 'lib/v20180709/models.rb', line 122

def initialize(beginmonth=nil, endmonth=nil, realtotalcost=nil)
  @BeginMonth = beginmonth
  @EndMonth = endmonth
  @RealTotalCost = realtotalcost
end

Instance Attribute Details

#BeginMonthObject

Parameters:

  • BeginMonth:

    起始月份

  • EndMonth:

    结束月份

  • RealTotalCost:

    合计费用(折后总额)平均值



120
121
122
# File 'lib/v20180709/models.rb', line 120

def BeginMonth
  @BeginMonth
end

#EndMonthObject

Parameters:

  • BeginMonth:

    起始月份

  • EndMonth:

    结束月份

  • RealTotalCost:

    合计费用(折后总额)平均值



120
121
122
# File 'lib/v20180709/models.rb', line 120

def EndMonth
  @EndMonth
end

#RealTotalCostObject

Parameters:

  • BeginMonth:

    起始月份

  • EndMonth:

    结束月份

  • RealTotalCost:

    合计费用(折后总额)平均值



120
121
122
# File 'lib/v20180709/models.rb', line 120

def RealTotalCost
  @RealTotalCost
end

Instance Method Details

#deserialize(params) ⇒ Object



128
129
130
131
132
# File 'lib/v20180709/models.rb', line 128

def deserialize(params)
  @BeginMonth = params['BeginMonth']
  @EndMonth = params['EndMonth']
  @RealTotalCost = params['RealTotalCost']
end