class TencentCloud::Emr::V20190103::DescribeYarnScheduleHistoryResponse

DescribeYarnScheduleHistory返回参数结构体

def deserialize(params)

def deserialize(params)
  unless params['Tasks'].nil?
    @Tasks = []
    params['Tasks'].each do |i|
      schedulertaskinfo_tmp = SchedulerTaskInfo.new
      schedulertaskinfo_tmp.deserialize(i)
      @Tasks << schedulertaskinfo_tmp
    end
  end
  @Total = params['Total']
  @SchedulerNameList = params['SchedulerNameList']
  @StateList = params['StateList']
  @RequestId = params['RequestId']
end

def initialize(tasks=nil, total=nil, schedulernamelist=nil, statelist=nil, requestid=nil)

def initialize(tasks=nil, total=nil, schedulernamelist=nil, statelist=nil, requestid=nil)
  @Tasks = tasks
  @Total = total
  @SchedulerNameList = schedulernamelist
  @StateList = statelist
  @RequestId = requestid
end