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.
6202 6203 6204 6205 6206 |
# File 'lib/v20180525/models.rb', line 6202 def initialize(nodepoolset=nil, totalcount=nil, requestid=nil) @NodePoolSet = nodepoolset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#NodePoolSet ⇒ Object
6200 6201 6202 |
# File 'lib/v20180525/models.rb', line 6200 def NodePoolSet @NodePoolSet end |
#RequestId ⇒ Object
6200 6201 6202 |
# File 'lib/v20180525/models.rb', line 6200 def RequestId @RequestId end |
#TotalCount ⇒ Object
6200 6201 6202 |
# File 'lib/v20180525/models.rb', line 6200 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 |
# File 'lib/v20180525/models.rb', line 6208 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 |