Class: TencentCloud::Cdb::V20170320::DescribeSlowLogDataResponse

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

Overview

DescribeSlowLogData返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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



8176
8177
8178
8179
8180
# File 'lib/v20170320/models.rb', line 8176

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

Instance Attribute Details

#ItemsObject



8174
8175
8176
# File 'lib/v20170320/models.rb', line 8174

def Items
  @Items
end

#RequestIdObject



8174
8175
8176
# File 'lib/v20170320/models.rb', line 8174

def RequestId
  @RequestId
end

#TotalCountObject



8174
8175
8176
# File 'lib/v20170320/models.rb', line 8174

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
# File 'lib/v20170320/models.rb', line 8182

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