Class: TencentCloud::Tke::V20220501::NodePool

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220501/models.rb

Overview

节点池信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, nodepoolid = nil, tags = nil, taints = nil, deletionprotection = nil, unschedulable = nil, type = nil, labels = nil, lifestate = nil, createdat = nil, name = nil, native = nil, annotations = nil, _super = nil, regular = nil, external = nil) ⇒ NodePool

Returns a new instance of NodePool.



2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
# File 'lib/v20220501/models.rb', line 2271

def initialize(clusterid=nil, nodepoolid=nil, tags=nil, taints=nil, deletionprotection=nil, unschedulable=nil, type=nil, labels=nil, lifestate=nil, createdat=nil, name=nil, native=nil, annotations=nil, _super=nil, regular=nil, external=nil)
  @ClusterId = clusterid
  @NodePoolId = nodepoolid
  @Tags = tags
  @Taints = taints
  @DeletionProtection = deletionprotection
  @Unschedulable = unschedulable
  @Type = type
  @Labels = labels
  @LifeState = lifestate
  @CreatedAt = createdat
  @Name = name
  @Native = native
  @Annotations = annotations
  @Super = _super
  @Regular = regular
  @External = external
end

Instance Attribute Details

#AnnotationsObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def Annotations
  @Annotations
end

#ClusterIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def ClusterId
  @ClusterId
end

#CreatedAtObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def CreatedAt
  @CreatedAt
end

#DeletionProtectionObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def DeletionProtection
  @DeletionProtection
end

#ExternalObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def External
  @External
end

#LabelsObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def Labels
  @Labels
end

#LifeStateObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def LifeState
  @LifeState
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def Name
  @Name
end

#NativeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def Native
  @Native
end

#NodePoolIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def NodePoolId
  @NodePoolId
end

#RegularObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def Regular
  @Regular
end

#SuperObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def Super
  @Super
end

#TagsObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def Tags
  @Tags
end

#TaintsObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def Taints
  @Taints
end

#TypeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def Type
  @Type
end

#UnschedulableObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ClusterId:

    集群 ID

  • NodePoolId:

    节点池 ID

  • Tags:

    节点标签

  • Taints:

    节点污点

  • DeletionProtection:

    是否开启删除保护

  • Unschedulable:

    节点是否不可调度

  • Type:

    节点池类型

  • Labels:

    节点 Labels

  • LifeState:

    节点池状态

  • CreatedAt:

    创建时间

  • Name:

    节点池名称

  • Native:

    原生节点池参数

  • Annotations:

    节点 Annotation 列表

  • Super:

    超级节点池参数,在Type等于Super该字段才有值

  • Regular:

    普通节点池参数,在Type等于Regular该字段才有值

  • External:

    第三方节点池参数,在Type等于External该字段才有值



2269
2270
2271
# File 'lib/v20220501/models.rb', line 2269

def Unschedulable
  @Unschedulable
end

Instance Method Details

#deserialize(params) ⇒ Object



2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
# File 'lib/v20220501/models.rb', line 2290

def deserialize(params)
  @ClusterId = params['ClusterId']
  @NodePoolId = params['NodePoolId']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tagspecification_tmp = TagSpecification.new
      tagspecification_tmp.deserialize(i)
      @Tags << tagspecification_tmp
    end
  end
  unless params['Taints'].nil?
    @Taints = []
    params['Taints'].each do |i|
      taint_tmp = Taint.new
      taint_tmp.deserialize(i)
      @Taints << taint_tmp
    end
  end
  @DeletionProtection = params['DeletionProtection']
  @Unschedulable = params['Unschedulable']
  @Type = params['Type']
  unless params['Labels'].nil?
    @Labels = []
    params['Labels'].each do |i|
      label_tmp = Label.new
      label_tmp.deserialize(i)
      @Labels << label_tmp
    end
  end
  @LifeState = params['LifeState']
  @CreatedAt = params['CreatedAt']
  @Name = params['Name']
  unless params['Native'].nil?
    @Native = NativeNodePoolInfo.new
    @Native.deserialize(params['Native'])
  end
  unless params['Annotations'].nil?
    @Annotations = []
    params['Annotations'].each do |i|
      annotation_tmp = Annotation.new
      annotation_tmp.deserialize(i)
      @Annotations << annotation_tmp
    end
  end
  unless params['Super'].nil?
    @Super = SuperNodePoolInfo.new
    @Super.deserialize(params['Super'])
  end
  unless params['Regular'].nil?
    @Regular = RegularNodePoolInfo.new
    @Regular.deserialize(params['Regular'])
  end
  unless params['External'].nil?
    @External = ExternalNodePoolInfo.new
    @External.deserialize(params['External'])
  end
end