Class: TencentCloud::Mongodb::V20190725::SlowLogPattern
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::SlowLogPattern
- Defined in:
- lib/v20190725/models.rb
Overview
用于描述MongoDB数据库慢日志统计信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pattern = nil, queryhash = nil, maxtime = nil, averagetime = nil, total = nil) ⇒ SlowLogPattern
constructor
A new instance of SlowLogPattern.
Constructor Details
#initialize(pattern = nil, queryhash = nil, maxtime = nil, averagetime = nil, total = nil) ⇒ SlowLogPattern
Returns a new instance of SlowLogPattern.
6041 6042 6043 6044 6045 6046 6047 |
# File 'lib/v20190725/models.rb', line 6041 def initialize(pattern=nil, queryhash=nil, maxtime=nil, averagetime=nil, total=nil) @Pattern = pattern @QueryHash = queryhash @MaxTime = maxtime @AverageTime = averagetime @Total = total end |
Instance Attribute Details
#AverageTime ⇒ Object
6039 6040 6041 |
# File 'lib/v20190725/models.rb', line 6039 def AverageTime @AverageTime end |
#MaxTime ⇒ Object
6039 6040 6041 |
# File 'lib/v20190725/models.rb', line 6039 def MaxTime @MaxTime end |
#Pattern ⇒ Object
6039 6040 6041 |
# File 'lib/v20190725/models.rb', line 6039 def Pattern @Pattern end |
#QueryHash ⇒ Object
6039 6040 6041 |
# File 'lib/v20190725/models.rb', line 6039 def QueryHash @QueryHash end |
#Total ⇒ Object
6039 6040 6041 |
# File 'lib/v20190725/models.rb', line 6039 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6049 6050 6051 6052 6053 6054 6055 |
# File 'lib/v20190725/models.rb', line 6049 def deserialize(params) @Pattern = params['Pattern'] @QueryHash = params['QueryHash'] @MaxTime = params['MaxTime'] @AverageTime = params['AverageTime'] @Total = params['Total'] end |