Class: TencentCloud::Mongodb::V20180408::DescribeSlowLogResponse

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

Overview

DescribeSlowLog返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, slowloglist = nil, requestid = nil) ⇒ DescribeSlowLogResponse

Returns a new instance of DescribeSlowLogResponse.



463
464
465
466
467
# File 'lib/v20180408/models.rb', line 463

def initialize(totalcount=nil, slowloglist=nil, requestid=nil)
  @TotalCount = totalcount
  @SlowLogList = slowloglist
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    符合查询条件的慢查询日志总数。

  • SlowLogList:

    符合查询条件的慢查询日志详情。

  • RequestId:

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



461
462
463
# File 'lib/v20180408/models.rb', line 461

def RequestId
  @RequestId
end

#SlowLogListObject

Parameters:

  • TotalCount:

    符合查询条件的慢查询日志总数。

  • SlowLogList:

    符合查询条件的慢查询日志详情。

  • RequestId:

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



461
462
463
# File 'lib/v20180408/models.rb', line 461

def SlowLogList
  @SlowLogList
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合查询条件的慢查询日志总数。

  • SlowLogList:

    符合查询条件的慢查询日志详情。

  • RequestId:

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



461
462
463
# File 'lib/v20180408/models.rb', line 461

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



469
470
471
472
473
# File 'lib/v20180408/models.rb', line 469

def deserialize(params)
  @TotalCount = params['TotalCount']
  @SlowLogList = params['SlowLogList']
  @RequestId = params['RequestId']
end