Class: TencentCloud::Billing::V20180709::DescribeAllocationMonthOverviewResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::DescribeAllocationMonthOverviewResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeAllocationMonthOverview返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(detail = nil, total = nil, requestid = nil) ⇒ DescribeAllocationMonthOverviewResponse
constructor
A new instance of DescribeAllocationMonthOverviewResponse.
Constructor Details
#initialize(detail = nil, total = nil, requestid = nil) ⇒ DescribeAllocationMonthOverviewResponse
Returns a new instance of DescribeAllocationMonthOverviewResponse.
6130 6131 6132 6133 6134 |
# File 'lib/v20180709/models.rb', line 6130 def initialize(detail=nil, total=nil, requestid=nil) @Detail = detail @Total = total @RequestId = requestid end |
Instance Attribute Details
#Detail ⇒ Object
6128 6129 6130 |
# File 'lib/v20180709/models.rb', line 6128 def Detail @Detail end |
#RequestId ⇒ Object
6128 6129 6130 |
# File 'lib/v20180709/models.rb', line 6128 def RequestId @RequestId end |
#Total ⇒ Object
6128 6129 6130 |
# File 'lib/v20180709/models.rb', line 6128 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 |
# File 'lib/v20180709/models.rb', line 6136 def deserialize(params) unless params['Detail'].nil? @Detail = [] params['Detail'].each do |i| allocationoverviewnode_tmp = AllocationOverviewNode.new allocationoverviewnode_tmp.deserialize(i) @Detail << allocationoverviewnode_tmp end end unless params['Total'].nil? @Total = AllocationOverviewTotal.new @Total.deserialize(params['Total']) end @RequestId = params['RequestId'] end |