Class: TencentCloud::Tke::V20180525::DescribeClusterNodePoolsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeClusterNodePoolsResponse
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeClusterNodePools返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nodepoolset = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterNodePoolsResponse
constructor
A new instance of DescribeClusterNodePoolsResponse.
Constructor Details
#initialize(nodepoolset = nil, totalcount = nil, requestid = nil) ⇒ DescribeClusterNodePoolsResponse
Returns a new instance of DescribeClusterNodePoolsResponse.
6815 6816 6817 6818 6819 |
# File 'lib/v20180525/models.rb', line 6815 def initialize(nodepoolset=nil, totalcount=nil, requestid=nil) @NodePoolSet = nodepoolset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#NodePoolSet ⇒ Object
6813 6814 6815 |
# File 'lib/v20180525/models.rb', line 6813 def NodePoolSet @NodePoolSet end |
#RequestId ⇒ Object
6813 6814 6815 |
# File 'lib/v20180525/models.rb', line 6813 def RequestId @RequestId end |
#TotalCount ⇒ Object
6813 6814 6815 |
# File 'lib/v20180525/models.rb', line 6813 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 |
# File 'lib/v20180525/models.rb', line 6821 def deserialize(params) unless params['NodePoolSet'].nil? @NodePoolSet = [] params['NodePoolSet'].each do |i| nodepool_tmp = NodePool.new nodepool_tmp.deserialize(i) @NodePoolSet << nodepool_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |