Class: TencentCloud::Tke::V20180525::InstanceUpgradePreCheckResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::InstanceUpgradePreCheckResult
- Defined in:
- lib/v20180525/models.rb
Overview
某个节点升级前检查结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(checkpass = nil, items = nil, singlepods = nil) ⇒ InstanceUpgradePreCheckResult
constructor
A new instance of InstanceUpgradePreCheckResult.
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
#CheckPass ⇒ Object
12994 12995 12996 |
# File 'lib/v20180525/models.rb', line 12994 def CheckPass @CheckPass end |
#Items ⇒ Object
12994 12995 12996 |
# File 'lib/v20180525/models.rb', line 12994 def Items @Items end |
#SinglePods ⇒ Object
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 |