Class: TencentCloud::Billing::V20180709::AnalyseHeaderDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::AnalyseHeaderDetail
- Defined in:
- lib/v20180709/models.rb
Overview
成本分析表头数据复杂类型
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(headdetail = nil, name = nil, total = nil) ⇒ AnalyseHeaderDetail
constructor
A new instance of AnalyseHeaderDetail.
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
#HeadDetail ⇒ Object
1942 1943 1944 |
# File 'lib/v20180709/models.rb', line 1942 def HeadDetail @HeadDetail end |
#Name ⇒ Object
1942 1943 1944 |
# File 'lib/v20180709/models.rb', line 1942 def Name @Name end |
#Total ⇒ Object
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 |