Class: TencentCloud::Tke::V20180525::ModifyClusterVirtualNodePoolRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyClusterVirtualNodePoolRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyClusterVirtualNodePool请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #DeletionProtection ⇒ Object
- #Labels ⇒ Object
- #Name ⇒ Object
- #NodePoolId ⇒ Object
- #SecurityGroupIds ⇒ Object
- #Taints ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, nodepoolid = nil, name = nil, securitygroupids = nil, labels = nil, taints = nil, deletionprotection = nil) ⇒ ModifyClusterVirtualNodePoolRequest
constructor
A new instance of ModifyClusterVirtualNodePoolRequest.
Constructor Details
#initialize(clusterid = nil, nodepoolid = nil, name = nil, securitygroupids = nil, labels = nil, taints = nil, deletionprotection = nil) ⇒ ModifyClusterVirtualNodePoolRequest
Returns a new instance of ModifyClusterVirtualNodePoolRequest.
14493 14494 14495 14496 14497 14498 14499 14500 14501 |
# File 'lib/v20180525/models.rb', line 14493 def initialize(clusterid=nil, nodepoolid=nil, name=nil, securitygroupids=nil, labels=nil, taints=nil, deletionprotection=nil) @ClusterId = clusterid @NodePoolId = nodepoolid @Name = name @SecurityGroupIds = securitygroupids @Labels = labels @Taints = taints @DeletionProtection = deletionprotection end |
Instance Attribute Details
#ClusterId ⇒ Object
14491 14492 14493 |
# File 'lib/v20180525/models.rb', line 14491 def ClusterId @ClusterId end |
#DeletionProtection ⇒ Object
14491 14492 14493 |
# File 'lib/v20180525/models.rb', line 14491 def DeletionProtection @DeletionProtection end |
#Labels ⇒ Object
14491 14492 14493 |
# File 'lib/v20180525/models.rb', line 14491 def Labels @Labels end |
#Name ⇒ Object
14491 14492 14493 |
# File 'lib/v20180525/models.rb', line 14491 def Name @Name end |
#NodePoolId ⇒ Object
14491 14492 14493 |
# File 'lib/v20180525/models.rb', line 14491 def NodePoolId @NodePoolId end |
#SecurityGroupIds ⇒ Object
14491 14492 14493 |
# File 'lib/v20180525/models.rb', line 14491 def SecurityGroupIds @SecurityGroupIds end |
#Taints ⇒ Object
14491 14492 14493 |
# File 'lib/v20180525/models.rb', line 14491 def Taints @Taints end |
Instance Method Details
#deserialize(params) ⇒ Object
14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 |
# File 'lib/v20180525/models.rb', line 14503 def deserialize(params) @ClusterId = params['ClusterId'] @NodePoolId = params['NodePoolId'] @Name = params['Name'] @SecurityGroupIds = params['SecurityGroupIds'] unless params['Labels'].nil? @Labels = [] params['Labels'].each do |i| label_tmp = Label.new label_tmp.deserialize(i) @Labels << label_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'] end |