Class: TencentCloud::Billing::V20180709::ConsumptionSummaryTrend

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

Overview

消耗费用趋势

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, value = nil) ⇒ ConsumptionSummaryTrend

Returns a new instance of ConsumptionSummaryTrend.



4583
4584
4585
4586
# File 'lib/v20180709/models.rb', line 4583

def initialize(type=nil, value=nil)
  @Type = type
  @Value = value
end

Instance Attribute Details

#TypeObject

Parameters:

  • Type:

    趋势类型,upward上升/downward下降/none无

  • Value:

    趋势值,Type为none是该字段值为null



4581
4582
4583
# File 'lib/v20180709/models.rb', line 4581

def Type
  @Type
end

#ValueObject

Parameters:

  • Type:

    趋势类型,upward上升/downward下降/none无

  • Value:

    趋势值,Type为none是该字段值为null



4581
4582
4583
# File 'lib/v20180709/models.rb', line 4581

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4588
4589
4590
4591
# File 'lib/v20180709/models.rb', line 4588

def deserialize(params)
  @Type = params['Type']
  @Value = params['Value']
end