Class: TencentCloud::Billing::V20180709::DescribeAllocationOverviewResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::DescribeAllocationOverviewResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeAllocationOverview返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(recordnum = nil, total = nil, detail = nil, requestid = nil) ⇒ DescribeAllocationOverviewResponse
constructor
A new instance of DescribeAllocationOverviewResponse.
Constructor Details
#initialize(recordnum = nil, total = nil, detail = nil, requestid = nil) ⇒ DescribeAllocationOverviewResponse
Returns a new instance of DescribeAllocationOverviewResponse.
6230 6231 6232 6233 6234 6235 |
# File 'lib/v20180709/models.rb', line 6230 def initialize(recordnum=nil, total=nil, detail=nil, requestid=nil) @RecordNum = recordnum @Total = total @Detail = detail @RequestId = requestid end |
Instance Attribute Details
#Detail ⇒ Object
6228 6229 6230 |
# File 'lib/v20180709/models.rb', line 6228 def Detail @Detail end |
#RecordNum ⇒ Object
6228 6229 6230 |
# File 'lib/v20180709/models.rb', line 6228 def RecordNum @RecordNum end |
#RequestId ⇒ Object
6228 6229 6230 |
# File 'lib/v20180709/models.rb', line 6228 def RequestId @RequestId end |
#Total ⇒ Object
6228 6229 6230 |
# File 'lib/v20180709/models.rb', line 6228 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 |
# File 'lib/v20180709/models.rb', line 6237 def deserialize(params) @RecordNum = params['RecordNum'] unless params['Total'].nil? @Total = AllocationOverviewTotal.new @Total.deserialize(params['Total']) end unless params['Detail'].nil? @Detail = [] params['Detail'].each do |i| allocationoverviewdetail_tmp = AllocationOverviewDetail.new allocationoverviewdetail_tmp.deserialize(i) @Detail << allocationoverviewdetail_tmp end end @RequestId = params['RequestId'] end |