Class: TencentCloud::Dbbrain::V20191016::SlowLogHost

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

Overview

慢日志来源地址详情。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(userhost = nil, ratio = nil, count = nil) ⇒ SlowLogHost

Returns a new instance of SlowLogHost.



2722
2723
2724
2725
2726
# File 'lib/v20191016/models.rb', line 2722

def initialize(userhost=nil, ratio=nil, count=nil)
  @UserHost = userhost
  @Ratio = ratio
  @Count = count
end

Instance Attribute Details

#CountObject

Parameters:

  • UserHost:

    来源地址。

  • Ratio:

    该来源地址的慢日志数目占总数目的比例,单位%。

  • Count:

    该来源地址的慢日志数目。



2720
2721
2722
# File 'lib/v20191016/models.rb', line 2720

def Count
  @Count
end

#RatioObject

Parameters:

  • UserHost:

    来源地址。

  • Ratio:

    该来源地址的慢日志数目占总数目的比例,单位%。

  • Count:

    该来源地址的慢日志数目。



2720
2721
2722
# File 'lib/v20191016/models.rb', line 2720

def Ratio
  @Ratio
end

#UserHostObject

Parameters:

  • UserHost:

    来源地址。

  • Ratio:

    该来源地址的慢日志数目占总数目的比例,单位%。

  • Count:

    该来源地址的慢日志数目。



2720
2721
2722
# File 'lib/v20191016/models.rb', line 2720

def UserHost
  @UserHost
end

Instance Method Details

#deserialize(params) ⇒ Object



2728
2729
2730
2731
2732
# File 'lib/v20191016/models.rb', line 2728

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