Class: TencentCloud::Dbbrain::V20210527::SlowLogHost
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::SlowLogHost
- Defined in:
- lib/v20210527/models.rb
Overview
慢日志来源地址详情。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(userhost = nil, ratio = nil, count = nil) ⇒ SlowLogHost
constructor
A new instance of SlowLogHost.
Constructor Details
#initialize(userhost = nil, ratio = nil, count = nil) ⇒ SlowLogHost
Returns a new instance of SlowLogHost.
7382 7383 7384 7385 7386 |
# File 'lib/v20210527/models.rb', line 7382 def initialize(userhost=nil, ratio=nil, count=nil) @UserHost = userhost @Ratio = ratio @Count = count end |
Instance Attribute Details
#Count ⇒ Object
7380 7381 7382 |
# File 'lib/v20210527/models.rb', line 7380 def Count @Count end |
#Ratio ⇒ Object
7380 7381 7382 |
# File 'lib/v20210527/models.rb', line 7380 def Ratio @Ratio end |
#UserHost ⇒ Object
7380 7381 7382 |
# File 'lib/v20210527/models.rb', line 7380 def UserHost @UserHost end |
Instance Method Details
#deserialize(params) ⇒ Object
7388 7389 7390 7391 7392 |
# File 'lib/v20210527/models.rb', line 7388 def deserialize(params) @UserHost = params['UserHost'] @Ratio = params['Ratio'] @Count = params['Count'] end |