Class: TencentCloud::Dbbrain::V20210527::DescribeRedisSlowLogTopSqlsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::DescribeRedisSlowLogTopSqlsResponse
- Defined in:
- lib/v20210527/models.rb
Overview
DescribeRedisSlowLogTopSqls返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, rows = nil, requestid = nil) ⇒ DescribeRedisSlowLogTopSqlsResponse
constructor
A new instance of DescribeRedisSlowLogTopSqlsResponse.
Constructor Details
#initialize(totalcount = nil, rows = nil, requestid = nil) ⇒ DescribeRedisSlowLogTopSqlsResponse
Returns a new instance of DescribeRedisSlowLogTopSqlsResponse.
3789 3790 3791 3792 3793 |
# File 'lib/v20210527/models.rb', line 3789 def initialize(totalcount=nil, rows=nil, requestid=nil) @TotalCount = totalcount @Rows = rows @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
3787 3788 3789 |
# File 'lib/v20210527/models.rb', line 3787 def RequestId @RequestId end |
#Rows ⇒ Object
3787 3788 3789 |
# File 'lib/v20210527/models.rb', line 3787 def Rows @Rows end |
#TotalCount ⇒ Object
3787 3788 3789 |
# File 'lib/v20210527/models.rb', line 3787 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 |
# File 'lib/v20210527/models.rb', line 3795 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Rows'].nil? @Rows = [] params['Rows'].each do |i| slowlogagg_tmp = SlowLogAgg.new slowlogagg_tmp.deserialize(i) @Rows << slowlogagg_tmp end end @RequestId = params['RequestId'] end |