Class: TencentCloud::Dbbrain::V20210527::SlowLogUser

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210527/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.



7566
7567
7568
7569
7570
# File 'lib/v20210527/models.rb', line 7566

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

Instance Attribute Details

#CountObject

Parameters:

  • UserName:

    来源用户名。

  • Ratio:

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

  • Count:

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



7564
7565
7566
# File 'lib/v20210527/models.rb', line 7564

def Count
  @Count
end

#RatioObject

Parameters:

  • UserName:

    来源用户名。

  • Ratio:

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

  • Count:

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



7564
7565
7566
# File 'lib/v20210527/models.rb', line 7564

def Ratio
  @Ratio
end

#UserNameObject

Parameters:

  • UserName:

    来源用户名。

  • Ratio:

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

  • Count:

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



7564
7565
7566
# File 'lib/v20210527/models.rb', line 7564

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



7572
7573
7574
7575
7576
# File 'lib/v20210527/models.rb', line 7572

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