Class: TencentCloud::Sqlserver::V20180328::DescribeSlowlogsResponse

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20180328/models.rb

Overview

DescribeSlowlogs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, slowlogs = nil, requestid = nil) ⇒ DescribeSlowlogsResponse

Returns a new instance of DescribeSlowlogsResponse.



6825
6826
6827
6828
6829
# File 'lib/v20180328/models.rb', line 6825

def initialize(totalcount=nil, slowlogs=nil, requestid=nil)
  @TotalCount = totalcount
  @SlowLogs = slowlogs
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    查询总数

  • Slowlogs:

    慢查询日志信息列表

  • SlowLogs:

    慢查询日志信息列表

  • RequestId:

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



6820
6821
6822
# File 'lib/v20180328/models.rb', line 6820

def RequestId
  @RequestId
end

#SlowlogsObject

Parameters:

  • TotalCount:

    查询总数

  • Slowlogs:

    慢查询日志信息列表

  • SlowLogs:

    慢查询日志信息列表

  • RequestId:

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



6820
6821
6822
# File 'lib/v20180328/models.rb', line 6820

def Slowlogs
  @Slowlogs
end

#SlowLogsObject

Parameters:

  • TotalCount:

    查询总数

  • Slowlogs:

    慢查询日志信息列表

  • SlowLogs:

    慢查询日志信息列表

  • RequestId:

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



6820
6821
6822
# File 'lib/v20180328/models.rb', line 6820

def SlowLogs
  @SlowLogs
end

#TotalCountObject

Parameters:

  • TotalCount:

    查询总数

  • Slowlogs:

    慢查询日志信息列表

  • SlowLogs:

    慢查询日志信息列表

  • RequestId:

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



6820
6821
6822
# File 'lib/v20180328/models.rb', line 6820

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
# File 'lib/v20180328/models.rb', line 6831

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['SlowLogs'].nil?
    @SlowLogs = []
    params['SlowLogs'].each do |i|
      slowlog_tmp = SlowLog.new
      slowlog_tmp.deserialize(i)
      @SlowLogs << slowlog_tmp
    end
  end
  @RequestId = params['RequestId']
end