Class: TencentCloud::Organization::V20210331::OrgFinancialByMonth

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

Overview

按月获取组织财务信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, month = nil, totalcost = nil, growthrate = nil) ⇒ OrgFinancialByMonth

Returns a new instance of OrgFinancialByMonth.



5932
5933
5934
5935
5936
5937
# File 'lib/v20210331/models.rb', line 5932

def initialize(id=nil, month=nil, totalcost=nil, growthrate=nil)
  @Id = id
  @Month = month
  @TotalCost = totalcost
  @GrowthRate = growthrate
end

Instance Attribute Details

#GrowthRateObject

Parameters:

  • Id:

    记录ID。

  • Month:

    月份,格式:yyyy-mm,示例:2021-01。

  • TotalCost:

    消耗金额,单元:元。

  • GrowthRate:

    比上月增长率%。正数增长,负数下降,空值无法统计。



5930
5931
5932
# File 'lib/v20210331/models.rb', line 5930

def GrowthRate
  @GrowthRate
end

#IdObject

Parameters:

  • Id:

    记录ID。

  • Month:

    月份,格式:yyyy-mm,示例:2021-01。

  • TotalCost:

    消耗金额,单元:元。

  • GrowthRate:

    比上月增长率%。正数增长,负数下降,空值无法统计。



5930
5931
5932
# File 'lib/v20210331/models.rb', line 5930

def Id
  @Id
end

#MonthObject

Parameters:

  • Id:

    记录ID。

  • Month:

    月份,格式:yyyy-mm,示例:2021-01。

  • TotalCost:

    消耗金额,单元:元。

  • GrowthRate:

    比上月增长率%。正数增长,负数下降,空值无法统计。



5930
5931
5932
# File 'lib/v20210331/models.rb', line 5930

def Month
  @Month
end

#TotalCostObject

Parameters:

  • Id:

    记录ID。

  • Month:

    月份,格式:yyyy-mm,示例:2021-01。

  • TotalCost:

    消耗金额,单元:元。

  • GrowthRate:

    比上月增长率%。正数增长,负数下降,空值无法统计。



5930
5931
5932
# File 'lib/v20210331/models.rb', line 5930

def TotalCost
  @TotalCost
end

Instance Method Details

#deserialize(params) ⇒ Object



5939
5940
5941
5942
5943
5944
# File 'lib/v20210331/models.rb', line 5939

def deserialize(params)
  @Id = params['Id']
  @Month = params['Month']
  @TotalCost = params['TotalCost']
  @GrowthRate = params['GrowthRate']
end