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.
8364 8365 8366 8367 8368 |
# File 'lib/v20170320/models.rb', line 8364 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
8362 8363 8364 |
# File 'lib/v20170320/models.rb', line 8362 def Items @Items end |
#RequestId ⇒ Object
8362 8363 8364 |
# File 'lib/v20170320/models.rb', line 8362 def RequestId @RequestId end |
#TotalCount ⇒ Object
8362 8363 8364 |
# File 'lib/v20170320/models.rb', line 8362 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 |
# File 'lib/v20170320/models.rb', line 8370 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 |