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.



13859
13860
13861
13862
13863
# File 'lib/v20180525/models.rb', line 13859

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

Instance Attribute Details

#CheckPassObject

Parameters:

  • CheckPass:

    检查是否通过

  • Items:

    检查项数组

  • SinglePods:

    本节点独立pod列表



13857
13858
13859
# File 'lib/v20180525/models.rb', line 13857

def CheckPass
  @CheckPass
end

#ItemsObject

Parameters:

  • CheckPass:

    检查是否通过

  • Items:

    检查项数组

  • SinglePods:

    本节点独立pod列表



13857
13858
13859
# File 'lib/v20180525/models.rb', line 13857

def Items
  @Items
end

#SinglePodsObject

Parameters:

  • CheckPass:

    检查是否通过

  • Items:

    检查项数组

  • SinglePods:

    本节点独立pod列表



13857
13858
13859
# File 'lib/v20180525/models.rb', line 13857

def SinglePods
  @SinglePods
end

Instance Method Details

#deserialize(params) ⇒ Object



13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
# File 'lib/v20180525/models.rb', line 13865

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