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.
14180 14181 14182 14183 14184 14185 14186 14187 14188 |
# File 'lib/v20180525/models.rb', line 14180 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
14178 14179 14180 |
# File 'lib/v20180525/models.rb', line 14178 def ClusterId @ClusterId end |
#DeletionProtection ⇒ Object
14178 14179 14180 |
# File 'lib/v20180525/models.rb', line 14178 def DeletionProtection @DeletionProtection end |
#Labels ⇒ Object
14178 14179 14180 |
# File 'lib/v20180525/models.rb', line 14178 def Labels @Labels end |
#Name ⇒ Object
14178 14179 14180 |
# File 'lib/v20180525/models.rb', line 14178 def Name @Name end |
#NodePoolId ⇒ Object
14178 14179 14180 |
# File 'lib/v20180525/models.rb', line 14178 def NodePoolId @NodePoolId end |
#SecurityGroupIds ⇒ Object
14178 14179 14180 |
# File 'lib/v20180525/models.rb', line 14178 def SecurityGroupIds @SecurityGroupIds end |
#Taints ⇒ Object
14178 14179 14180 |
# File 'lib/v20180525/models.rb', line 14178 def Taints @Taints end |
Instance Method Details
#deserialize(params) ⇒ Object
14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 |
# File 'lib/v20180525/models.rb', line 14190 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 |