Class: TencentCloud::Scf::V20180416::LogSearchContext

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

Overview

日志搜索上下文

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(offset = nil, limit = nil, keyword = nil, type = nil) ⇒ LogSearchContext

Returns a new instance of LogSearchContext.



3706
3707
3708
3709
3710
3711
# File 'lib/v20180416/models.rb', line 3706

def initialize(offset=nil, limit=nil, keyword=nil, type=nil)
  @Offset = offset
  @Limit = limit
  @Keyword = keyword
  @Type = type
end

Instance Attribute Details

#Keyword ⇒ Object

Parameters:

  • Offset: —

    偏移量

  • Limit: —

    日志条数

  • Keyword: —

    日志关键词

  • Type: —

    日志类型,支持Application和Platform,默认为Application



3704
3705
3706
# File 'lib/v20180416/models.rb', line 3704

def Keyword
  @Keyword
end

#Limit ⇒ Object

Parameters:

  • Offset: —

    偏移量

  • Limit: —

    日志条数

  • Keyword: —

    日志关键词

  • Type: —

    日志类型,支持Application和Platform,默认为Application



3704
3705
3706
# File 'lib/v20180416/models.rb', line 3704

def Limit
  @Limit
end

#Offset ⇒ Object

Parameters:

  • Offset: —

    偏移量

  • Limit: —

    日志条数

  • Keyword: —

    日志关键词

  • Type: —

    日志类型,支持Application和Platform,默认为Application



3704
3705
3706
# File 'lib/v20180416/models.rb', line 3704

def Offset
  @Offset
end

#Type ⇒ Object

Parameters:

  • Offset: —

    偏移量

  • Limit: —

    日志条数

  • Keyword: —

    日志关键词

  • Type: —

    日志类型,支持Application和Platform,默认为Application



3704
3705
3706
# File 'lib/v20180416/models.rb', line 3704

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



3713
3714
3715
3716
3717
3718
# File 'lib/v20180416/models.rb', line 3713

def deserialize(params)
  @Offset = params['Offset']
  @Limit = params['Limit']
  @Keyword = params['Keyword']
  @Type = params['Type']
end