Class: TencentCloud::Cdb::V20170320::DescribeSlowLogsResponse

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

Overview

DescribeSlowLogs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeSlowLogsResponse



8231
8232
8233
8234
8235
# File 'lib/v20170320/models.rb', line 8231

def initialize(totalcount=nil, items=nil, requestid=nil)
  @TotalCount = totalcount
  @Items = items
  @RequestId = requestid
end

Instance Attribute Details

#ItemsObject



8229
8230
8231
# File 'lib/v20170320/models.rb', line 8229

def Items
  @Items
end

#RequestIdObject



8229
8230
8231
# File 'lib/v20170320/models.rb', line 8229

def RequestId
  @RequestId
end

#TotalCountObject



8229
8230
8231
# File 'lib/v20170320/models.rb', line 8229

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
# File 'lib/v20170320/models.rb', line 8237

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      slowloginfo_tmp = SlowLogInfo.new
      slowloginfo_tmp.deserialize(i)
      @Items << slowloginfo_tmp
    end
  end
  @RequestId = params['RequestId']
end