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.
6334 6335 6336 6337 6338 |
# File 'lib/v20180525/models.rb', line 6334 def initialize(nodepoolset=nil, totalcount=nil, requestid=nil) @NodePoolSet = nodepoolset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#NodePoolSet ⇒ Object
6332 6333 6334 |
# File 'lib/v20180525/models.rb', line 6332 def NodePoolSet @NodePoolSet end |
#RequestId ⇒ Object
6332 6333 6334 |
# File 'lib/v20180525/models.rb', line 6332 def RequestId @RequestId end |
#TotalCount ⇒ Object
6332 6333 6334 |
# File 'lib/v20180525/models.rb', line 6332 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 |
# File 'lib/v20180525/models.rb', line 6340 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 |