Class: TencentCloud::Dbbrain::V20210527::Aggregation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::Aggregation
- Defined in:
- lib/v20210527/models.rb
Overview
mongodb慢查模板概览明细
Instance Attribute Summary collapse
- #AvgDocsExamined ⇒ Object
- #AvgExecTime ⇒ Object
- #SlowLogCount ⇒ Object
- #SlowLogs ⇒ Object
- #SortCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(avgexectime = nil, avgdocsexamined = nil, slowlogcount = nil, sortcount = nil, slowlogs = nil) ⇒ Aggregation
constructor
A new instance of Aggregation.
Constructor Details
#initialize(avgexectime = nil, avgdocsexamined = nil, slowlogcount = nil, sortcount = nil, slowlogs = nil) ⇒ Aggregation
Returns a new instance of Aggregation.
79 80 81 82 83 84 85 |
# File 'lib/v20210527/models.rb', line 79 def initialize(avgexectime=nil, avgdocsexamined=nil, slowlogcount=nil, sortcount=nil, slowlogs=nil) @AvgExecTime = avgexectime @AvgDocsExamined = avgdocsexamined @SlowLogCount = slowlogcount @SortCount = sortcount @SlowLogs = slowlogs end |
Instance Attribute Details
#AvgDocsExamined ⇒ Object
77 78 79 |
# File 'lib/v20210527/models.rb', line 77 def AvgDocsExamined @AvgDocsExamined end |
#AvgExecTime ⇒ Object
77 78 79 |
# File 'lib/v20210527/models.rb', line 77 def AvgExecTime @AvgExecTime end |
#SlowLogCount ⇒ Object
77 78 79 |
# File 'lib/v20210527/models.rb', line 77 def SlowLogCount @SlowLogCount end |
#SlowLogs ⇒ Object
77 78 79 |
# File 'lib/v20210527/models.rb', line 77 def SlowLogs @SlowLogs end |
#SortCount ⇒ Object
77 78 79 |
# File 'lib/v20210527/models.rb', line 77 def SortCount @SortCount end |
Instance Method Details
#deserialize(params) ⇒ Object
87 88 89 90 91 92 93 |
# File 'lib/v20210527/models.rb', line 87 def deserialize(params) @AvgExecTime = params['AvgExecTime'] @AvgDocsExamined = params['AvgDocsExamined'] @SlowLogCount = params['SlowLogCount'] @SortCount = params['SortCount'] @SlowLogs = params['SlowLogs'] end |