Class: TencentCloud::Mongodb::V20190725::DescribeDetailedSlowLogsResponse

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

Overview

DescribeDetailedSlowLogs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, detailedslowlogs = nil, requestid = nil) ⇒ DescribeDetailedSlowLogsResponse

Returns a new instance of DescribeDetailedSlowLogsResponse.



2650
2651
2652
2653
2654
# File 'lib/v20190725/models.rb', line 2650

def initialize(totalcount=nil, detailedslowlogs=nil, requestid=nil)
  @TotalCount = totalcount
  @DetailedSlowLogs = detailedslowlogs
  @RequestId = requestid
end

Instance Attribute Details

#DetailedSlowLogsObject

Parameters:

  • TotalCount:

    满足条件的慢日志数量。

  • DetailedSlowLogs:

    慢日志详情。

  • RequestId:

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



2648
2649
2650
# File 'lib/v20190725/models.rb', line 2648

def DetailedSlowLogs
  @DetailedSlowLogs
end

#RequestIdObject

Parameters:

  • TotalCount:

    满足条件的慢日志数量。

  • DetailedSlowLogs:

    慢日志详情。

  • RequestId:

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



2648
2649
2650
# File 'lib/v20190725/models.rb', line 2648

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    满足条件的慢日志数量。

  • DetailedSlowLogs:

    慢日志详情。

  • RequestId:

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



2648
2649
2650
# File 'lib/v20190725/models.rb', line 2648

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
# File 'lib/v20190725/models.rb', line 2656

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['DetailedSlowLogs'].nil?
    @DetailedSlowLogs = []
    params['DetailedSlowLogs'].each do |i|
      slowlogitem_tmp = SlowLogItem.new
      slowlogitem_tmp.deserialize(i)
      @DetailedSlowLogs << slowlogitem_tmp
    end
  end
  @RequestId = params['RequestId']
end