Class: TencentCloud::Cwp::V20180228::SearchTemplate

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

Overview

快速搜索模板

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, logtype = nil, condition = nil, timerange = nil, query = nil, flag = nil, displaydata = nil, id = nil) ⇒ SearchTemplate

Returns a new instance of SearchTemplate.



38899
38900
38901
38902
38903
38904
38905
38906
38907
38908
# File 'lib/v20180228/models.rb', line 38899

def initialize(name=nil, logtype=nil, condition=nil, timerange=nil, query=nil, flag=nil, displaydata=nil, id=nil)
  @Name = name
  @LogType = logtype
  @Condition = condition
  @TimeRange = timerange
  @Query = query
  @Flag = flag
  @DisplayData = displaydata
  @Id = id
end

Instance Attribute Details

#ConditionObject

Parameters:

  • Name:

    检索名称

  • LogType:

    检索索引类型

  • Condition:

    检索语句

  • TimeRange:

    时间范围

  • Query:

    转换的检索语句内容

  • Flag:

    检索方式。输入框检索:standard,过滤,检索:simple

  • DisplayData:

    展示数据

  • Id:

    规则ID



38897
38898
38899
# File 'lib/v20180228/models.rb', line 38897

def Condition
  @Condition
end

#DisplayDataObject

Parameters:

  • Name:

    检索名称

  • LogType:

    检索索引类型

  • Condition:

    检索语句

  • TimeRange:

    时间范围

  • Query:

    转换的检索语句内容

  • Flag:

    检索方式。输入框检索:standard,过滤,检索:simple

  • DisplayData:

    展示数据

  • Id:

    规则ID



38897
38898
38899
# File 'lib/v20180228/models.rb', line 38897

def DisplayData
  @DisplayData
end

#FlagObject

Parameters:

  • Name:

    检索名称

  • LogType:

    检索索引类型

  • Condition:

    检索语句

  • TimeRange:

    时间范围

  • Query:

    转换的检索语句内容

  • Flag:

    检索方式。输入框检索:standard,过滤,检索:simple

  • DisplayData:

    展示数据

  • Id:

    规则ID



38897
38898
38899
# File 'lib/v20180228/models.rb', line 38897

def Flag
  @Flag
end

#IdObject

Parameters:

  • Name:

    检索名称

  • LogType:

    检索索引类型

  • Condition:

    检索语句

  • TimeRange:

    时间范围

  • Query:

    转换的检索语句内容

  • Flag:

    检索方式。输入框检索:standard,过滤,检索:simple

  • DisplayData:

    展示数据

  • Id:

    规则ID



38897
38898
38899
# File 'lib/v20180228/models.rb', line 38897

def Id
  @Id
end

#LogTypeObject

Parameters:

  • Name:

    检索名称

  • LogType:

    检索索引类型

  • Condition:

    检索语句

  • TimeRange:

    时间范围

  • Query:

    转换的检索语句内容

  • Flag:

    检索方式。输入框检索:standard,过滤,检索:simple

  • DisplayData:

    展示数据

  • Id:

    规则ID



38897
38898
38899
# File 'lib/v20180228/models.rb', line 38897

def LogType
  @LogType
end

#NameObject

Parameters:

  • Name:

    检索名称

  • LogType:

    检索索引类型

  • Condition:

    检索语句

  • TimeRange:

    时间范围

  • Query:

    转换的检索语句内容

  • Flag:

    检索方式。输入框检索:standard,过滤,检索:simple

  • DisplayData:

    展示数据

  • Id:

    规则ID



38897
38898
38899
# File 'lib/v20180228/models.rb', line 38897

def Name
  @Name
end

#QueryObject

Parameters:

  • Name:

    检索名称

  • LogType:

    检索索引类型

  • Condition:

    检索语句

  • TimeRange:

    时间范围

  • Query:

    转换的检索语句内容

  • Flag:

    检索方式。输入框检索:standard,过滤,检索:simple

  • DisplayData:

    展示数据

  • Id:

    规则ID



38897
38898
38899
# File 'lib/v20180228/models.rb', line 38897

def Query
  @Query
end

#TimeRangeObject

Parameters:

  • Name:

    检索名称

  • LogType:

    检索索引类型

  • Condition:

    检索语句

  • TimeRange:

    时间范围

  • Query:

    转换的检索语句内容

  • Flag:

    检索方式。输入框检索:standard,过滤,检索:simple

  • DisplayData:

    展示数据

  • Id:

    规则ID



38897
38898
38899
# File 'lib/v20180228/models.rb', line 38897

def TimeRange
  @TimeRange
end

Instance Method Details

#deserialize(params) ⇒ Object



38910
38911
38912
38913
38914
38915
38916
38917
38918
38919
# File 'lib/v20180228/models.rb', line 38910

def deserialize(params)
  @Name = params['Name']
  @LogType = params['LogType']
  @Condition = params['Condition']
  @TimeRange = params['TimeRange']
  @Query = params['Query']
  @Flag = params['Flag']
  @DisplayData = params['DisplayData']
  @Id = params['Id']
end