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.



6070
6071
6072
6073
6074
6075
# File 'lib/v20210331/models.rb', line 6070

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:

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



6068
6069
6070
# File 'lib/v20210331/models.rb', line 6068

def GrowthRate
  @GrowthRate
end

#IdObject

Parameters:

  • Id:

    记录ID。

  • Month:

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

  • TotalCost:

    消耗金额,单元:元。

  • GrowthRate:

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



6068
6069
6070
# File 'lib/v20210331/models.rb', line 6068

def Id
  @Id
end

#MonthObject

Parameters:

  • Id:

    记录ID。

  • Month:

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

  • TotalCost:

    消耗金额,单元:元。

  • GrowthRate:

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



6068
6069
6070
# File 'lib/v20210331/models.rb', line 6068

def Month
  @Month
end

#TotalCostObject

Parameters:

  • Id:

    记录ID。

  • Month:

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

  • TotalCost:

    消耗金额,单元:元。

  • GrowthRate:

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



6068
6069
6070
# File 'lib/v20210331/models.rb', line 6068

def TotalCost
  @TotalCost
end

Instance Method Details

#deserialize(params) ⇒ Object



6077
6078
6079
6080
6081
6082
# File 'lib/v20210331/models.rb', line 6077

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