Class: TencentCloud::Dbbrain::V20210527::SlowLogUser
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::SlowLogUser
- Defined in:
- lib/v20210527/models.rb
Overview
慢日志来源用户详情。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(username = nil, ratio = nil, count = nil) ⇒ SlowLogUser
constructor
A new instance of SlowLogUser.
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
#Count ⇒ Object
7564 7565 7566 |
# File 'lib/v20210527/models.rb', line 7564 def Count @Count end |
#Ratio ⇒ Object
7564 7565 7566 |
# File 'lib/v20210527/models.rb', line 7564 def Ratio @Ratio end |
#UserName ⇒ Object
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 |