class TencentCloud::Tke::V20180525::ModifyClusterVirtualNodePoolRequest
ModifyClusterVirtualNodePool请求参数结构体
def deserialize(params)
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
def initialize(clusterid=nil, nodepoolid=nil, name=nil, securitygroupids=nil, labels=nil, taints=nil, deletionprotection=nil)
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