Class: TencentCloud::Oceanus::V20190422::DescribeSystemResourcesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Oceanus::V20190422::DescribeSystemResourcesResponse
- Defined in:
- lib/v20190422/models.rb
Overview
DescribeSystemResources返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resourceset = nil, totalcount = nil, requestid = nil) ⇒ DescribeSystemResourcesResponse
constructor
A new instance of DescribeSystemResourcesResponse.
Constructor Details
#initialize(resourceset = nil, totalcount = nil, requestid = nil) ⇒ DescribeSystemResourcesResponse
Returns a new instance of DescribeSystemResourcesResponse.
2716 2717 2718 2719 2720 |
# File 'lib/v20190422/models.rb', line 2716 def initialize(resourceset=nil, totalcount=nil, requestid=nil) @ResourceSet = resourceset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2714 2715 2716 |
# File 'lib/v20190422/models.rb', line 2714 def RequestId @RequestId end |
#ResourceSet ⇒ Object
2714 2715 2716 |
# File 'lib/v20190422/models.rb', line 2714 def ResourceSet @ResourceSet end |
#TotalCount ⇒ Object
2714 2715 2716 |
# File 'lib/v20190422/models.rb', line 2714 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 |
# File 'lib/v20190422/models.rb', line 2722 def deserialize(params) unless params['ResourceSet'].nil? @ResourceSet = [] params['ResourceSet'].each do |i| systemresourceitem_tmp = SystemResourceItem.new systemresourceitem_tmp.deserialize(i) @ResourceSet << systemresourceitem_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |