Class: TencentCloud::Clb::V20180317::DescribeClusterResourcesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeClusterResourcesResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeClusterResources返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterresourceset = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterResourcesResponse
constructor
A new instance of DescribeClusterResourcesResponse.
Constructor Details
#initialize(clusterresourceset = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterResourcesResponse
Returns a new instance of DescribeClusterResourcesResponse.
2836 2837 2838 2839 2840 |
# File 'lib/v20180317/models.rb', line 2836 def initialize(clusterresourceset=nil, totalcount=nil, requestid=nil) @ClusterResourceSet = clusterresourceset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ClusterResourceSet ⇒ Object
2834 2835 2836 |
# File 'lib/v20180317/models.rb', line 2834 def ClusterResourceSet @ClusterResourceSet end |
#RequestId ⇒ Object
2834 2835 2836 |
# File 'lib/v20180317/models.rb', line 2834 def RequestId @RequestId end |
#TotalCount ⇒ Object
2834 2835 2836 |
# File 'lib/v20180317/models.rb', line 2834 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 |
# File 'lib/v20180317/models.rb', line 2842 def deserialize(params) unless params['ClusterResourceSet'].nil? @ClusterResourceSet = [] params['ClusterResourceSet'].each do |i| clusterresource_tmp = ClusterResource.new clusterresource_tmp.deserialize(i) @ClusterResourceSet << clusterresource_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |