Class: TencentCloud::Cdn::V20180606::ClsSearchLogs

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180606/models.rb

Overview

Cls日志搜索结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(context = nil, listover = nil, results = nil) ⇒ ClsSearchLogs

Returns a new instance of ClsSearchLogs.



2685
2686
2687
2688
2689
# File 'lib/v20180606/models.rb', line 2685

def initialize(context=nil, listover=nil, results=nil)
  @Context = context
  @Listover = listover
  @Results = results
end

Instance Attribute Details

#ContextObject

Parameters:

  • Context:

    获取更多检索结果的游标

  • Listover:

    搜索结果是否已经全部返回

  • Results:

    日志内容信息



2683
2684
2685
# File 'lib/v20180606/models.rb', line 2683

def Context
  @Context
end

#ListoverObject

Parameters:

  • Context:

    获取更多检索结果的游标

  • Listover:

    搜索结果是否已经全部返回

  • Results:

    日志内容信息



2683
2684
2685
# File 'lib/v20180606/models.rb', line 2683

def Listover
  @Listover
end

#ResultsObject

Parameters:

  • Context:

    获取更多检索结果的游标

  • Listover:

    搜索结果是否已经全部返回

  • Results:

    日志内容信息



2683
2684
2685
# File 'lib/v20180606/models.rb', line 2683

def Results
  @Results
end

Instance Method Details

#deserialize(params) ⇒ Object



2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'lib/v20180606/models.rb', line 2691

def deserialize(params)
  @Context = params['Context']
  @Listover = params['Listover']
  unless params['Results'].nil?
    @Results = []
    params['Results'].each do |i|
      clslogobject_tmp = ClsLogObject.new
      clslogobject_tmp.deserialize(i)
      @Results << clslogobject_tmp
    end
  end
end