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
pending 还未开始 process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消.
-
#Done ⇒ Object
pending 还未开始 process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消.
-
#Instances ⇒ Object
pending 还未开始 process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消.
-
#LifeState ⇒ Object
pending 还未开始 process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消.
-
#RequestId ⇒ Object
pending 还未开始 process 运行中 paused 已停止 pauing 正在停止 done 已完成 timeout 已超时 aborted 已取消.
-
#Total ⇒ Object
pending 还未开始 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
13180 13181 13182 13183 13184 13185 13186 13187 |
# File 'lib/v20180525/models.rb', line 13180 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
pending 还未开始process 运行中paused 已停止pauing 正在停止done 已完成timeout 已超时aborted 已取消
13178 13179 13180 |
# File 'lib/v20180525/models.rb', line 13178 def ClusterStatus @ClusterStatus end |
#Done ⇒ Object
pending 还未开始process 运行中paused 已停止pauing 正在停止done 已完成timeout 已超时aborted 已取消
13178 13179 13180 |
# File 'lib/v20180525/models.rb', line 13178 def Done @Done end |
#Instances ⇒ Object
pending 还未开始process 运行中paused 已停止pauing 正在停止done 已完成timeout 已超时aborted 已取消
13178 13179 13180 |
# File 'lib/v20180525/models.rb', line 13178 def Instances @Instances end |
#LifeState ⇒ Object
pending 还未开始process 运行中paused 已停止pauing 正在停止done 已完成timeout 已超时aborted 已取消
13178 13179 13180 |
# File 'lib/v20180525/models.rb', line 13178 def LifeState @LifeState end |
#RequestId ⇒ Object
pending 还未开始process 运行中paused 已停止pauing 正在停止done 已完成timeout 已超时aborted 已取消
13178 13179 13180 |
# File 'lib/v20180525/models.rb', line 13178 def RequestId @RequestId end |
#Total ⇒ Object
pending 还未开始process 运行中paused 已停止pauing 正在停止done 已完成timeout 已超时aborted 已取消
13178 13179 13180 |
# File 'lib/v20180525/models.rb', line 13178 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 |
# File 'lib/v20180525/models.rb', line 13189 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 |