Class: TencentCloud::Mongodb::V20190725::DescribeSlowLogPatternsResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190725/models.rb

Overview

DescribeSlowLogPatterns返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CountObject

Parameters:

  • Count:

    慢日志统计信息总数

  • SlowLogPatterns:

    慢日志统计信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3089
3090
3091
# File 'lib/v20190725/models.rb', line 3089

def Count
  @Count
end

#RequestIdObject

Parameters:

  • Count:

    慢日志统计信息总数

  • SlowLogPatterns:

    慢日志统计信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3089
3090
3091
# File 'lib/v20190725/models.rb', line 3089

def RequestId
  @RequestId
end

#SlowLogPatternsObject

Parameters:

  • Count:

    慢日志统计信息总数

  • SlowLogPatterns:

    慢日志统计信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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