Class: TencentCloud::Postgres::V20170312::DescribeSlowQueryListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::DescribeSlowQueryListResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeSlowQueryList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, durationanalysis = nil, rawslowquerylist = nil, requestid = nil) ⇒ DescribeSlowQueryListResponse
constructor
A new instance of DescribeSlowQueryListResponse.
Constructor Details
#initialize(totalcount = nil, durationanalysis = nil, rawslowquerylist = nil, requestid = nil) ⇒ DescribeSlowQueryListResponse
Returns a new instance of DescribeSlowQueryListResponse.
4454 4455 4456 4457 4458 4459 |
# File 'lib/v20170312/models.rb', line 4454 def initialize(totalcount=nil, durationanalysis=nil, rawslowquerylist=nil, requestid=nil) @TotalCount = totalcount @DurationAnalysis = durationanalysis @RawSlowQueryList = rawslowquerylist @RequestId = requestid end |
Instance Attribute Details
#DurationAnalysis ⇒ Object
4452 4453 4454 |
# File 'lib/v20170312/models.rb', line 4452 def DurationAnalysis @DurationAnalysis end |
#RawSlowQueryList ⇒ Object
4452 4453 4454 |
# File 'lib/v20170312/models.rb', line 4452 def RawSlowQueryList @RawSlowQueryList end |
#RequestId ⇒ Object
4452 4453 4454 |
# File 'lib/v20170312/models.rb', line 4452 def RequestId @RequestId end |
#TotalCount ⇒ Object
4452 4453 4454 |
# File 'lib/v20170312/models.rb', line 4452 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 |
# File 'lib/v20170312/models.rb', line 4461 def deserialize(params) @TotalCount = params['TotalCount'] unless params['DurationAnalysis'].nil? @DurationAnalysis = [] params['DurationAnalysis'].each do |i| durationanalysis_tmp = DurationAnalysis.new durationanalysis_tmp.deserialize(i) @DurationAnalysis << durationanalysis_tmp end end unless params['RawSlowQueryList'].nil? @RawSlowQueryList = [] params['RawSlowQueryList'].each do |i| rawslowquery_tmp = RawSlowQuery.new rawslowquery_tmp.deserialize(i) @RawSlowQueryList << rawslowquery_tmp end end @RequestId = params['RequestId'] end |