Class: TencentCloud::Tke::V20180525::GetUpgradeInstanceProgressResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::GetUpgradeInstanceProgressResponse
- Defined in:
- lib/v20180525/models.rb
Overview
GetUpgradeInstanceProgress返回参数结构体
Instance Attribute Summary collapse
-
#ClusterStatus ⇒ Object
process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消.
-
#Done ⇒ Object
process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消.
-
#Instances ⇒ Object
process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消.
-
#LifeState ⇒ Object
process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消.
-
#RequestId ⇒ Object
process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消.
-
#Total ⇒ Object
process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, done = nil, lifestate = nil, instances = nil, clusterstatus = nil, requestid = nil) ⇒ GetUpgradeInstanceProgressResponse
constructor
A new instance of GetUpgradeInstanceProgressResponse.
Constructor Details
#initialize(total = nil, done = nil, lifestate = nil, instances = nil, clusterstatus = nil, requestid = nil) ⇒ GetUpgradeInstanceProgressResponse
Returns a new instance of GetUpgradeInstanceProgressResponse.
12293 12294 12295 12296 12297 12298 12299 12300 |
# File 'lib/v20180525/models.rb', line 12293 def initialize(total=nil, done=nil, lifestate=nil, instances=nil, clusterstatus=nil, requestid=nil) @Total = total @Done = done @LifeState = lifestate @Instances = instances @ClusterStatus = clusterstatus @RequestId = requestid end |
Instance Attribute Details
#ClusterStatus ⇒ Object
process 运行中paused 已停止pauing 正在停止done 已完成timeout 已超时aborted 已取消
12291 12292 12293 |
# File 'lib/v20180525/models.rb', line 12291 def ClusterStatus @ClusterStatus end |
#Done ⇒ Object
process 运行中paused 已停止pauing 正在停止done 已完成timeout 已超时aborted 已取消
12291 12292 12293 |
# File 'lib/v20180525/models.rb', line 12291 def Done @Done end |
#Instances ⇒ Object
process 运行中paused 已停止pauing 正在停止done 已完成timeout 已超时aborted 已取消
12291 12292 12293 |
# File 'lib/v20180525/models.rb', line 12291 def Instances @Instances end |
#LifeState ⇒ Object
process 运行中paused 已停止pauing 正在停止done 已完成timeout 已超时aborted 已取消
12291 12292 12293 |
# File 'lib/v20180525/models.rb', line 12291 def LifeState @LifeState end |
#RequestId ⇒ Object
process 运行中paused 已停止pauing 正在停止done 已完成timeout 已超时aborted 已取消
12291 12292 12293 |
# File 'lib/v20180525/models.rb', line 12291 def RequestId @RequestId end |
#Total ⇒ Object
process 运行中paused 已停止pauing 正在停止done 已完成timeout 已超时aborted 已取消
12291 12292 12293 |
# File 'lib/v20180525/models.rb', line 12291 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 |
# File 'lib/v20180525/models.rb', line 12302 def deserialize(params) @Total = params['Total'] @Done = params['Done'] @LifeState = params['LifeState'] unless params['Instances'].nil? @Instances = [] params['Instances'].each do |i| instanceupgradeprogressitem_tmp = InstanceUpgradeProgressItem.new instanceupgradeprogressitem_tmp.deserialize(i) @Instances << instanceupgradeprogressitem_tmp end end unless params['ClusterStatus'].nil? @ClusterStatus = InstanceUpgradeClusterStatus.new @ClusterStatus.deserialize(params['ClusterStatus']) end @RequestId = params['RequestId'] end |