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.



38513
38514
38515
38516
38517
38518
38519
38520
38521
38522
# File 'lib/v20180228/models.rb', line 38513

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:

  • 检索名称

  • 检索索引类型

  • 检索语句

  • 时间范围

  • 转换的检索语句内容

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

  • 展示数据

  • 规则ID



38511
38512
38513
# File 'lib/v20180228/models.rb', line 38511

def Condition
  @Condition
end

#DisplayDataObject

Parameters:

  • 检索名称

  • 检索索引类型

  • 检索语句

  • 时间范围

  • 转换的检索语句内容

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

  • 展示数据

  • 规则ID



38511
38512
38513
# File 'lib/v20180228/models.rb', line 38511

def DisplayData
  @DisplayData
end

#FlagObject

Parameters:

  • 检索名称

  • 检索索引类型

  • 检索语句

  • 时间范围

  • 转换的检索语句内容

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

  • 展示数据

  • 规则ID



38511
38512
38513
# File 'lib/v20180228/models.rb', line 38511

def Flag
  @Flag
end

#IdObject

Parameters:

  • 检索名称

  • 检索索引类型

  • 检索语句

  • 时间范围

  • 转换的检索语句内容

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

  • 展示数据

  • 规则ID



38511
38512
38513
# File 'lib/v20180228/models.rb', line 38511

def Id
  @Id
end

#LogTypeObject

Parameters:

  • 检索名称

  • 检索索引类型

  • 检索语句

  • 时间范围

  • 转换的检索语句内容

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

  • 展示数据

  • 规则ID



38511
38512
38513
# File 'lib/v20180228/models.rb', line 38511

def LogType
  @LogType
end

#NameObject

Parameters:

  • 检索名称

  • 检索索引类型

  • 检索语句

  • 时间范围

  • 转换的检索语句内容

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

  • 展示数据

  • 规则ID



38511
38512
38513
# File 'lib/v20180228/models.rb', line 38511

def Name
  @Name
end

#QueryObject

Parameters:

  • 检索名称

  • 检索索引类型

  • 检索语句

  • 时间范围

  • 转换的检索语句内容

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

  • 展示数据

  • 规则ID



38511
38512
38513
# File 'lib/v20180228/models.rb', line 38511

def Query
  @Query
end

#TimeRangeObject

Parameters:

  • 检索名称

  • 检索索引类型

  • 检索语句

  • 时间范围

  • 转换的检索语句内容

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

  • 展示数据

  • 规则ID



38511
38512
38513
# File 'lib/v20180228/models.rb', line 38511

def TimeRange
  @TimeRange
end

Instance Method Details

#deserialize(params) ⇒ Object



38524
38525
38526
38527
38528
38529
38530
38531
38532
38533
# File 'lib/v20180228/models.rb', line 38524

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