Class: TencentCloud::Dbbrain::V20191016::SlowLogHost
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20191016::SlowLogHost
- Defined in:
- lib/v20191016/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.
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
#Count ⇒ Object
2720 2721 2722 |
# File 'lib/v20191016/models.rb', line 2720 def Count @Count end |
#Ratio ⇒ Object
2720 2721 2722 |
# File 'lib/v20191016/models.rb', line 2720 def Ratio @Ratio end |
#UserHost ⇒ Object
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 |