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.
14292 14293 14294 14295 14296 14297 14298 14299 14300 |
# File 'lib/v20180525/models.rb', line 14292 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
14290 14291 14292 |
# File 'lib/v20180525/models.rb', line 14290 def ClusterId @ClusterId end |
#DeletionProtection ⇒ Object
14290 14291 14292 |
# File 'lib/v20180525/models.rb', line 14290 def DeletionProtection @DeletionProtection end |
#Labels ⇒ Object
14290 14291 14292 |
# File 'lib/v20180525/models.rb', line 14290 def Labels @Labels end |
#Name ⇒ Object
14290 14291 14292 |
# File 'lib/v20180525/models.rb', line 14290 def Name @Name end |
#NodePoolId ⇒ Object
14290 14291 14292 |
# File 'lib/v20180525/models.rb', line 14290 def NodePoolId @NodePoolId end |
#SecurityGroupIds ⇒ Object
14290 14291 14292 |
# File 'lib/v20180525/models.rb', line 14290 def SecurityGroupIds @SecurityGroupIds end |
#Taints ⇒ Object
14290 14291 14292 |
# File 'lib/v20180525/models.rb', line 14290 def Taints @Taints end |
Instance Method Details
#deserialize(params) ⇒ Object
14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 |
# File 'lib/v20180525/models.rb', line 14302 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 |