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
-
#NodePoolSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
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.
6225 6226 6227 6228 6229 |
# File 'lib/v20180525/models.rb', line 6225 def initialize(nodepoolset=nil, totalcount=nil, requestid=nil) @NodePoolSet = nodepoolset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#NodePoolSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6223 6224 6225 |
# File 'lib/v20180525/models.rb', line 6223 def NodePoolSet @NodePoolSet end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6223 6224 6225 |
# File 'lib/v20180525/models.rb', line 6223 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6223 6224 6225 |
# File 'lib/v20180525/models.rb', line 6223 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 |
# File 'lib/v20180525/models.rb', line 6231 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 |