Class: TencentCloud::Mongodb::V20190725::DescribeSlowLogPatternsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::DescribeSlowLogPatternsResponse
- Defined in:
- lib/v20190725/models.rb
Overview
DescribeSlowLogPatterns返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(count = nil, slowlogpatterns = nil, requestid = nil) ⇒ DescribeSlowLogPatternsResponse
constructor
A new instance of DescribeSlowLogPatternsResponse.
Constructor Details
#initialize(count = nil, slowlogpatterns = nil, requestid = nil) ⇒ DescribeSlowLogPatternsResponse
Returns a new instance of DescribeSlowLogPatternsResponse.
3091 3092 3093 3094 3095 |
# File 'lib/v20190725/models.rb', line 3091 def initialize(count=nil, slowlogpatterns=nil, requestid=nil) @Count = count @SlowLogPatterns = slowlogpatterns @RequestId = requestid end |
Instance Attribute Details
#Count ⇒ Object
3089 3090 3091 |
# File 'lib/v20190725/models.rb', line 3089 def Count @Count end |
#RequestId ⇒ Object
3089 3090 3091 |
# File 'lib/v20190725/models.rb', line 3089 def RequestId @RequestId end |
#SlowLogPatterns ⇒ Object
3089 3090 3091 |
# File 'lib/v20190725/models.rb', line 3089 def SlowLogPatterns @SlowLogPatterns end |
Instance Method Details
#deserialize(params) ⇒ Object
3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 |
# File 'lib/v20190725/models.rb', line 3097 def deserialize(params) @Count = params['Count'] unless params['SlowLogPatterns'].nil? @SlowLogPatterns = [] params['SlowLogPatterns'].each do |i| slowlogpattern_tmp = SlowLogPattern.new slowlogpattern_tmp.deserialize(i) @SlowLogPatterns << slowlogpattern_tmp end end @RequestId = params['RequestId'] end |