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.
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
#Items ⇒ Object
8229 8230 8231 |
# File 'lib/v20170320/models.rb', line 8229 def Items @Items end |
#RequestId ⇒ Object
8229 8230 8231 |
# File 'lib/v20170320/models.rb', line 8229 def RequestId @RequestId end |
#TotalCount ⇒ Object
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 |