class TencentCloud::Tke::V20180525::GetUpgradeInstanceProgressResponse

GetUpgradeInstanceProgress返回参数结构体

def deserialize(params)

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

def initialize(total=nil, done=nil, lifestate=nil, instances=nil, clusterstatus=nil, requestid=nil)

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