Class: TencentCloud::Billing::V20180709::AnalyseHeaderDetail

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

Overview

成本分析表头数据复杂类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(headdetail = nil, name = nil, total = nil) ⇒ AnalyseHeaderDetail

Returns a new instance of AnalyseHeaderDetail.



1944
1945
1946
1947
1948
# File 'lib/v20180709/models.rb', line 1944

def initialize(headdetail=nil, name=nil, total=nil)
  @HeadDetail = headdetail
  @Name = name
  @Total = total
end

Instance Attribute Details

#HeadDetailObject

Parameters:

  • HeadDetail:

    表头日期

  • Name:

    时间

  • Total:

    总计



1942
1943
1944
# File 'lib/v20180709/models.rb', line 1942

def HeadDetail
  @HeadDetail
end

#NameObject

Parameters:

  • HeadDetail:

    表头日期

  • Name:

    时间

  • Total:

    总计



1942
1943
1944
# File 'lib/v20180709/models.rb', line 1942

def Name
  @Name
end

#TotalObject

Parameters:

  • HeadDetail:

    表头日期

  • Name:

    时间

  • Total:

    总计



1942
1943
1944
# File 'lib/v20180709/models.rb', line 1942

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
# File 'lib/v20180709/models.rb', line 1950

def deserialize(params)
  unless params['HeadDetail'].nil?
    @HeadDetail = []
    params['HeadDetail'].each do |i|
      analyseheadertimedetail_tmp = AnalyseHeaderTimeDetail.new
      analyseheadertimedetail_tmp.deserialize(i)
      @HeadDetail << analyseheadertimedetail_tmp
    end
  end
  @Name = params['Name']
  @Total = params['Total']
end