Class: TencentCloud::Billing::V20180709::DescribeBillResourceSummaryResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::DescribeBillResourceSummaryResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeBillResourceSummary返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ResourceSummarySet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resourcesummaryset = nil, total = nil, requestid = nil) ⇒ DescribeBillResourceSummaryResponse
constructor
A new instance of DescribeBillResourceSummaryResponse.
Constructor Details
#initialize(resourcesummaryset = nil, total = nil, requestid = nil) ⇒ DescribeBillResourceSummaryResponse
Returns a new instance of DescribeBillResourceSummaryResponse.
7759 7760 7761 7762 7763 |
# File 'lib/v20180709/models.rb', line 7759 def initialize(resourcesummaryset=nil, total=nil, requestid=nil) @ResourceSummarySet = resourcesummaryset @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7757 7758 7759 |
# File 'lib/v20180709/models.rb', line 7757 def RequestId @RequestId end |
#ResourceSummarySet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7757 7758 7759 |
# File 'lib/v20180709/models.rb', line 7757 def ResourceSummarySet @ResourceSummarySet end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
7757 7758 7759 |
# File 'lib/v20180709/models.rb', line 7757 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 |
# File 'lib/v20180709/models.rb', line 7765 def deserialize(params) unless params['ResourceSummarySet'].nil? @ResourceSummarySet = [] params['ResourceSummarySet'].each do |i| billresourcesummary_tmp = BillResourceSummary.new billresourcesummary_tmp.deserialize(i) @ResourceSummarySet << billresourcesummary_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |