class TencentCloud::Tke::V20180525::GetUpgradeInstanceProgressResponse

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