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.
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
#CheckPass ⇒ Object
13857 13858 13859 |
# File 'lib/v20180525/models.rb', line 13857 def CheckPass @CheckPass end |
#Items ⇒ Object
13857 13858 13859 |
# File 'lib/v20180525/models.rb', line 13857 def Items @Items end |
#SinglePods ⇒ Object
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 |