Class: TencentCloud::Dbbrain::V20191016::SlowLogUser

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

Overview

慢日志来源用户详情。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username = nil, ratio = nil, count = nil) ⇒ SlowLogUser

Returns a new instance of SlowLogUser.



2858
2859
2860
2861
2862
# File 'lib/v20191016/models.rb', line 2858

def initialize(username=nil, ratio=nil, count=nil)
  @UserName = username
  @Ratio = ratio
  @Count = count
end

Instance Attribute Details

#CountObject

Parameters:

  • UserName:

    来源用户名。

  • Ratio:

    该来源用户名的慢日志数目占总数目的比例,单位%。

  • Count:

    该来源用户名的慢日志数目。



2856
2857
2858
# File 'lib/v20191016/models.rb', line 2856

def Count
  @Count
end

#RatioObject

Parameters:

  • UserName:

    来源用户名。

  • Ratio:

    该来源用户名的慢日志数目占总数目的比例,单位%。

  • Count:

    该来源用户名的慢日志数目。



2856
2857
2858
# File 'lib/v20191016/models.rb', line 2856

def Ratio
  @Ratio
end

#UserNameObject

Parameters:

  • UserName:

    来源用户名。

  • Ratio:

    该来源用户名的慢日志数目占总数目的比例,单位%。

  • Count:

    该来源用户名的慢日志数目。



2856
2857
2858
# File 'lib/v20191016/models.rb', line 2856

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



2864
2865
2866
2867
2868
# File 'lib/v20191016/models.rb', line 2864

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