Class: TencentCloud::Waf::V20180125::DescribeAccessHistogramRequest

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

Overview

DescribeAccessHistogram请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topicid = nil, from = nil, to = nil, query = nil, interval = nil) ⇒ DescribeAccessHistogramRequest

Returns a new instance of DescribeAccessHistogramRequest.



2835
2836
2837
2838
2839
2840
2841
# File 'lib/v20180125/models.rb', line 2835

def initialize(topicid=nil, from=nil, to=nil, query=nil, interval=nil)
  @TopicId = topicid
  @From = from
  @To = to
  @Query = query
  @Interval = interval
end

Instance Attribute Details

#FromObject

Parameters:

  • TopicId:

    老版本查询的日志主题ID,新版本传空字符串即可

  • From:

    要查询的日志的起始时间,Unix时间戳,单位ms

  • To:

    要查询的日志的结束时间,Unix时间戳,单位ms

  • Query:

    查询语句,语句长度最大为4096

  • Interval:

    柱状图间隔时间差,单位ms



2833
2834
2835
# File 'lib/v20180125/models.rb', line 2833

def From
  @From
end

#IntervalObject

Parameters:

  • TopicId:

    老版本查询的日志主题ID,新版本传空字符串即可

  • From:

    要查询的日志的起始时间,Unix时间戳,单位ms

  • To:

    要查询的日志的结束时间,Unix时间戳,单位ms

  • Query:

    查询语句,语句长度最大为4096

  • Interval:

    柱状图间隔时间差,单位ms



2833
2834
2835
# File 'lib/v20180125/models.rb', line 2833

def Interval
  @Interval
end

#QueryObject

Parameters:

  • TopicId:

    老版本查询的日志主题ID,新版本传空字符串即可

  • From:

    要查询的日志的起始时间,Unix时间戳,单位ms

  • To:

    要查询的日志的结束时间,Unix时间戳,单位ms

  • Query:

    查询语句,语句长度最大为4096

  • Interval:

    柱状图间隔时间差,单位ms



2833
2834
2835
# File 'lib/v20180125/models.rb', line 2833

def Query
  @Query
end

#ToObject

Parameters:

  • TopicId:

    老版本查询的日志主题ID,新版本传空字符串即可

  • From:

    要查询的日志的起始时间,Unix时间戳,单位ms

  • To:

    要查询的日志的结束时间,Unix时间戳,单位ms

  • Query:

    查询语句,语句长度最大为4096

  • Interval:

    柱状图间隔时间差,单位ms



2833
2834
2835
# File 'lib/v20180125/models.rb', line 2833

def To
  @To
end

#TopicIdObject

Parameters:

  • TopicId:

    老版本查询的日志主题ID,新版本传空字符串即可

  • From:

    要查询的日志的起始时间,Unix时间戳,单位ms

  • To:

    要查询的日志的结束时间,Unix时间戳,单位ms

  • Query:

    查询语句,语句长度最大为4096

  • Interval:

    柱状图间隔时间差,单位ms



2833
2834
2835
# File 'lib/v20180125/models.rb', line 2833

def TopicId
  @TopicId
end

Instance Method Details

#deserialize(params) ⇒ Object



2843
2844
2845
2846
2847
2848
2849
# File 'lib/v20180125/models.rb', line 2843

def deserialize(params)
  @TopicId = params['TopicId']
  @From = params['From']
  @To = params['To']
  @Query = params['Query']
  @Interval = params['Interval']
end