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.
12381 12382 12383 12384 12385 12386 12387 12388 |
# File 'lib/v20180525/models.rb', line 12381 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 已取消
12379 12380 12381 |
# File 'lib/v20180525/models.rb', line 12379 def ClusterStatus @ClusterStatus end |
#Done ⇒ Object
process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消
12379 12380 12381 |
# File 'lib/v20180525/models.rb', line 12379 def Done @Done end |
#Instances ⇒ Object
process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消
12379 12380 12381 |
# File 'lib/v20180525/models.rb', line 12379 def Instances @Instances end |
#LifeState ⇒ Object
process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消
12379 12380 12381 |
# File 'lib/v20180525/models.rb', line 12379 def LifeState @LifeState end |
#RequestId ⇒ Object
process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消
12379 12380 12381 |
# File 'lib/v20180525/models.rb', line 12379 def RequestId @RequestId end |
#Total ⇒ Object
process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消
12379 12380 12381 |
# File 'lib/v20180525/models.rb', line 12379 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 |
# File 'lib/v20180525/models.rb', line 12390 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 |