Class: TencentCloud::Waf::V20180125::AccessFieldValueRatioInfo

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

Overview

DescribeAccessFastAnalysis接口的出参

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(count = nil, ratio = nil, value = nil) ⇒ AccessFieldValueRatioInfo

Returns a new instance of AccessFieldValueRatioInfo.



31
32
33
34
35
# File 'lib/v20180125/models.rb', line 31

def initialize(count=nil, ratio=nil, value=nil)
  @Count = count
  @Ratio = ratio
  @Value = value
end

Instance Attribute Details

#CountObject

Parameters:

  • Count:

    日志条数

  • Ratio:

    对应的Value值的百分比

  • Value:

    字段对应的值



29
30
31
# File 'lib/v20180125/models.rb', line 29

def Count
  @Count
end

#RatioObject

Parameters:

  • Count:

    日志条数

  • Ratio:

    对应的Value值的百分比

  • Value:

    字段对应的值



29
30
31
# File 'lib/v20180125/models.rb', line 29

def Ratio
  @Ratio
end

#ValueObject

Parameters:

  • Count:

    日志条数

  • Ratio:

    对应的Value值的百分比

  • Value:

    字段对应的值



29
30
31
# File 'lib/v20180125/models.rb', line 29

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



37
38
39
40
41
# File 'lib/v20180125/models.rb', line 37

def deserialize(params)
  @Count = params['Count']
  @Ratio = params['Ratio']
  @Value = params['Value']
end