Class: TencentCloud::Cdb::V20170320::DescribeSlowLogsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeSlowLogsResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeSlowLogs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeSlowLogsResponse
constructor
A new instance of DescribeSlowLogsResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeSlowLogsResponse
Returns a new instance of DescribeSlowLogsResponse.
8345 8346 8347 8348 8349 |
# File 'lib/v20170320/models.rb', line 8345 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
8343 8344 8345 |
# File 'lib/v20170320/models.rb', line 8343 def Items @Items end |
#RequestId ⇒ Object
8343 8344 8345 |
# File 'lib/v20170320/models.rb', line 8343 def RequestId @RequestId end |
#TotalCount ⇒ Object
8343 8344 8345 |
# File 'lib/v20170320/models.rb', line 8343 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 |
# File 'lib/v20170320/models.rb', line 8351 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 |