Class: TencentCloud::Tke::V20220501::DescribeNodePoolsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::DescribeNodePoolsResponse
- Defined in:
- lib/v20220501/models.rb
Overview
DescribeNodePools返回参数结构体
Instance Attribute Summary collapse
-
#NodePools ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nodepools = nil, totalcount = nil, requestid = nil) ⇒ DescribeNodePoolsResponse
constructor
A new instance of DescribeNodePoolsResponse.
Constructor Details
#initialize(nodepools = nil, totalcount = nil, requestid = nil) ⇒ DescribeNodePoolsResponse
Returns a new instance of DescribeNodePoolsResponse.
820 821 822 823 824 |
# File 'lib/v20220501/models.rb', line 820 def initialize(nodepools=nil, totalcount=nil, requestid=nil) @NodePools = nodepools @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#NodePools ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
818 819 820 |
# File 'lib/v20220501/models.rb', line 818 def NodePools @NodePools end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
818 819 820 |
# File 'lib/v20220501/models.rb', line 818 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
818 819 820 |
# File 'lib/v20220501/models.rb', line 818 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
826 827 828 829 830 831 832 833 834 835 836 837 |
# File 'lib/v20220501/models.rb', line 826 def deserialize(params) unless params['NodePools'].nil? @NodePools = [] params['NodePools'].each do |i| nodepool_tmp = NodePool.new nodepool_tmp.deserialize(i) @NodePools << nodepool_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |