Class: TencentCloud::Dbbrain::V20210527::DescribeSlowLogsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::DescribeSlowLogsResponse
- Defined in:
- lib/v20210527/models.rb
Overview
DescribeSlowLogs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, rows = nil, requestid = nil) ⇒ DescribeSlowLogsResponse
constructor
A new instance of DescribeSlowLogsResponse.
Constructor Details
#initialize(totalcount = nil, rows = nil, requestid = nil) ⇒ DescribeSlowLogsResponse
Returns a new instance of DescribeSlowLogsResponse.
4631 4632 4633 4634 4635 |
# File 'lib/v20210527/models.rb', line 4631 def initialize(totalcount=nil, rows=nil, requestid=nil) @TotalCount = totalcount @Rows = rows @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4629 4630 4631 |
# File 'lib/v20210527/models.rb', line 4629 def RequestId @RequestId end |
#Rows ⇒ Object
4629 4630 4631 |
# File 'lib/v20210527/models.rb', line 4629 def Rows @Rows end |
#TotalCount ⇒ Object
4629 4630 4631 |
# File 'lib/v20210527/models.rb', line 4629 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 |
# File 'lib/v20210527/models.rb', line 4637 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Rows'].nil? @Rows = [] params['Rows'].each do |i| slowloginfoitem_tmp = SlowLogInfoItem.new slowloginfoitem_tmp.deserialize(i) @Rows << slowloginfoitem_tmp end end @RequestId = params['RequestId'] end |