Class: TencentCloud::Billing::V20180709::DescribeAllocationBillDetailResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::DescribeAllocationBillDetailResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeAllocationBillDetail返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(recordnum = nil, total = nil, detail = nil, requestid = nil) ⇒ DescribeAllocationBillDetailResponse
constructor
A new instance of DescribeAllocationBillDetailResponse.
Constructor Details
#initialize(recordnum = nil, total = nil, detail = nil, requestid = nil) ⇒ DescribeAllocationBillDetailResponse
Returns a new instance of DescribeAllocationBillDetailResponse.
6078 6079 6080 6081 6082 6083 |
# File 'lib/v20180709/models.rb', line 6078 def initialize(recordnum=nil, total=nil, detail=nil, requestid=nil) @RecordNum = recordnum @Total = total @Detail = detail @RequestId = requestid end |
Instance Attribute Details
#Detail ⇒ Object
6076 6077 6078 |
# File 'lib/v20180709/models.rb', line 6076 def Detail @Detail end |
#RecordNum ⇒ Object
6076 6077 6078 |
# File 'lib/v20180709/models.rb', line 6076 def RecordNum @RecordNum end |
#RequestId ⇒ Object
6076 6077 6078 |
# File 'lib/v20180709/models.rb', line 6076 def RequestId @RequestId end |
#Total ⇒ Object
6076 6077 6078 |
# File 'lib/v20180709/models.rb', line 6076 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 |
# File 'lib/v20180709/models.rb', line 6085 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| allocationdetail_tmp = AllocationDetail.new allocationdetail_tmp.deserialize(i) @Detail << allocationdetail_tmp end end @RequestId = params['RequestId'] end |