Class: TencentCloud::Cdb::V20170320::DescribeSlowLogDataResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeSlowLogDataResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeSlowLogData返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeSlowLogDataResponse
constructor
A new instance of DescribeSlowLogDataResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeSlowLogDataResponse
Returns a new instance of DescribeSlowLogDataResponse.
8302 8303 8304 8305 8306 |
# File 'lib/v20170320/models.rb', line 8302 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
8300 8301 8302 |
# File 'lib/v20170320/models.rb', line 8300 def Items @Items end |
#RequestId ⇒ Object
8300 8301 8302 |
# File 'lib/v20170320/models.rb', line 8300 def RequestId @RequestId end |
#TotalCount ⇒ Object
8300 8301 8302 |
# File 'lib/v20170320/models.rb', line 8300 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 |
# File 'lib/v20170320/models.rb', line 8308 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 |