Class: TencentCloud::Keewidb::V20220308::InstanceProxySlowlogDetail

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

Overview

代理慢查询详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(duration = nil, client = nil, command = nil, commandline = nil, executetime = nil) ⇒ InstanceProxySlowlogDetail

Returns a new instance of InstanceProxySlowlogDetail.



2247
2248
2249
2250
2251
2252
2253
# File 'lib/v20220308/models.rb', line 2247

def initialize(duration=nil, client=nil, command=nil, commandline=nil, executetime=nil)
  @Duration = duration
  @Client = client
  @Command = command
  @CommandLine = commandline
  @ExecuteTime = executetime
end

Instance Attribute Details

#ClientObject

Parameters:

  • Duration:

    慢查询耗时

  • Client:

    客户端地址

  • Command:

    命令

  • CommandLine:

    详细命令行信息

  • ExecuteTime:

    执行时间



2245
2246
2247
# File 'lib/v20220308/models.rb', line 2245

def Client
  @Client
end

#CommandObject

Parameters:

  • Duration:

    慢查询耗时

  • Client:

    客户端地址

  • Command:

    命令

  • CommandLine:

    详细命令行信息

  • ExecuteTime:

    执行时间



2245
2246
2247
# File 'lib/v20220308/models.rb', line 2245

def Command
  @Command
end

#CommandLineObject

Parameters:

  • Duration:

    慢查询耗时

  • Client:

    客户端地址

  • Command:

    命令

  • CommandLine:

    详细命令行信息

  • ExecuteTime:

    执行时间



2245
2246
2247
# File 'lib/v20220308/models.rb', line 2245

def CommandLine
  @CommandLine
end

#DurationObject

Parameters:

  • Duration:

    慢查询耗时

  • Client:

    客户端地址

  • Command:

    命令

  • CommandLine:

    详细命令行信息

  • ExecuteTime:

    执行时间



2245
2246
2247
# File 'lib/v20220308/models.rb', line 2245

def Duration
  @Duration
end

#ExecuteTimeObject

Parameters:

  • Duration:

    慢查询耗时

  • Client:

    客户端地址

  • Command:

    命令

  • CommandLine:

    详细命令行信息

  • ExecuteTime:

    执行时间



2245
2246
2247
# File 'lib/v20220308/models.rb', line 2245

def ExecuteTime
  @ExecuteTime
end

Instance Method Details

#deserialize(params) ⇒ Object



2255
2256
2257
2258
2259
2260
2261
# File 'lib/v20220308/models.rb', line 2255

def deserialize(params)
  @Duration = params['Duration']
  @Client = params['Client']
  @Command = params['Command']
  @CommandLine = params['CommandLine']
  @ExecuteTime = params['ExecuteTime']
end