class TencentCloud::Yunsou::V20191115::SearchResult

搜索结果

def deserialize(params)

def deserialize(params)
  @CostTime = params['CostTime']
  @DisplayNum = params['DisplayNum']
  @Echo = params['Echo']
  @EResultNum = params['EResultNum']
  @ResultNum = params['ResultNum']
  unless params['ResultList'].nil?
    @ResultList = []
    params['ResultList'].each do |i|
      searchresultitem_tmp = SearchResultItem.new
      searchresultitem_tmp.deserialize(i)
      @ResultList << searchresultitem_tmp
    end
  end
  unless params['SegList'].nil?
    @SegList = []
    params['SegList'].each do |i|
      searchresultseg_tmp = SearchResultSeg.new
      searchresultseg_tmp.deserialize(i)
      @SegList << searchresultseg_tmp
    end
  end
end

def initialize(costtime=nil, displaynum=nil, echo=nil, eresultnum=nil, resultnum=nil, resultlist=nil, seglist=nil)

def initialize(costtime=nil, displaynum=nil, echo=nil, eresultnum=nil, resultnum=nil, resultlist=nil, seglist=nil)
  @CostTime = costtime
  @DisplayNum = displaynum
  @Echo = echo
  @EResultNum = eresultnum
  @ResultNum = resultnum
  @ResultList = resultlist
  @SegList = seglist
end