Class: TencentCloud::Billing::V20180709::DescribeCostExplorerSummaryResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::DescribeCostExplorerSummaryResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeCostExplorerSummary返回参数结构体
Instance Attribute Summary collapse
- #ConditionValue ⇒ Object
- #Detail ⇒ Object
- #Header ⇒ Object
- #RequestId ⇒ Object
- #Total ⇒ Object
- #TotalDetail ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, header = nil, detail = nil, totaldetail = nil, conditionvalue = nil, requestid = nil) ⇒ DescribeCostExplorerSummaryResponse
constructor
A new instance of DescribeCostExplorerSummaryResponse.
Constructor Details
#initialize(total = nil, header = nil, detail = nil, totaldetail = nil, conditionvalue = nil, requestid = nil) ⇒ DescribeCostExplorerSummaryResponse
Returns a new instance of DescribeCostExplorerSummaryResponse.
8555 8556 8557 8558 8559 8560 8561 8562 |
# File 'lib/v20180709/models.rb', line 8555 def initialize(total=nil, header=nil, detail=nil, totaldetail=nil, conditionvalue=nil, requestid=nil) @Total = total @Header = header @Detail = detail @TotalDetail = totaldetail @ConditionValue = conditionvalue @RequestId = requestid end |
Instance Attribute Details
#ConditionValue ⇒ Object
8553 8554 8555 |
# File 'lib/v20180709/models.rb', line 8553 def ConditionValue @ConditionValue end |
#Detail ⇒ Object
8553 8554 8555 |
# File 'lib/v20180709/models.rb', line 8553 def Detail @Detail end |
#Header ⇒ Object
8553 8554 8555 |
# File 'lib/v20180709/models.rb', line 8553 def Header @Header end |
#RequestId ⇒ Object
8553 8554 8555 |
# File 'lib/v20180709/models.rb', line 8553 def RequestId @RequestId end |
#Total ⇒ Object
8553 8554 8555 |
# File 'lib/v20180709/models.rb', line 8553 def Total @Total end |
#TotalDetail ⇒ Object
8553 8554 8555 |
# File 'lib/v20180709/models.rb', line 8553 def TotalDetail @TotalDetail end |
Instance Method Details
#deserialize(params) ⇒ Object
8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 |
# File 'lib/v20180709/models.rb', line 8564 def deserialize(params) @Total = params['Total'] unless params['Header'].nil? @Header = AnalyseHeaderDetail.new @Header.deserialize(params['Header']) end unless params['Detail'].nil? @Detail = [] params['Detail'].each do |i| analysedetail_tmp = AnalyseDetail.new analysedetail_tmp.deserialize(i) @Detail << analysedetail_tmp end end unless params['TotalDetail'].nil? @TotalDetail = AnalyseDetail.new @TotalDetail.deserialize(params['TotalDetail']) end unless params['ConditionValue'].nil? @ConditionValue = AnalyseConditionDetail.new @ConditionValue.deserialize(params['ConditionValue']) end @RequestId = params['RequestId'] end |