Class: TencentCloud::Tke::V20180525::InstanceUpgradePreCheckResult

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

Overview

某个节点升级前检查结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(checkpass = nil, items = nil, singlepods = nil) ⇒ InstanceUpgradePreCheckResult

Returns a new instance of InstanceUpgradePreCheckResult.



12996
12997
12998
12999
13000
# File 'lib/v20180525/models.rb', line 12996

def initialize(checkpass=nil, items=nil, singlepods=nil)
  @CheckPass = checkpass
  @Items = items
  @SinglePods = singlepods
end

Instance Attribute Details

#CheckPassObject

Parameters:

  • CheckPass:

    检查是否通过

  • Items:

    检查项数组

  • SinglePods:

    本节点独立pod列表



12994
12995
12996
# File 'lib/v20180525/models.rb', line 12994

def CheckPass
  @CheckPass
end

#ItemsObject

Parameters:

  • CheckPass:

    检查是否通过

  • Items:

    检查项数组

  • SinglePods:

    本节点独立pod列表



12994
12995
12996
# File 'lib/v20180525/models.rb', line 12994

def Items
  @Items
end

#SinglePodsObject

Parameters:

  • CheckPass:

    检查是否通过

  • Items:

    检查项数组

  • SinglePods:

    本节点独立pod列表



12994
12995
12996
# File 'lib/v20180525/models.rb', line 12994

def SinglePods
  @SinglePods
end

Instance Method Details

#deserialize(params) ⇒ Object



13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
# File 'lib/v20180525/models.rb', line 13002

def deserialize(params)
  @CheckPass = params['CheckPass']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      instanceupgradeprecheckresultitem_tmp = InstanceUpgradePreCheckResultItem.new
      instanceupgradeprecheckresultitem_tmp.deserialize(i)
      @Items << instanceupgradeprecheckresultitem_tmp
    end
  end
  @SinglePods = params['SinglePods']
end