Class: TencentCloud::Dbbrain::V20210527::DescribeSlowLogTopSqlsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::DescribeSlowLogTopSqlsRequest
- Defined in:
- lib/v20210527/models.rb
Overview
DescribeSlowLogTopSqls请求参数结构体
Instance Attribute Summary collapse
- #EndTime ⇒ Object
- #InstanceId ⇒ Object
- #Limit ⇒ Object
- #Offset ⇒ Object
- #OrderBy ⇒ Object
- #Product ⇒ Object
- #SchemaList ⇒ Object
- #SortBy ⇒ Object
- #StartTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, starttime = nil, endtime = nil, sortby = nil, orderby = nil, limit = nil, offset = nil, schemalist = nil, product = nil) ⇒ DescribeSlowLogTopSqlsRequest
constructor
A new instance of DescribeSlowLogTopSqlsRequest.
Constructor Details
#initialize(instanceid = nil, starttime = nil, endtime = nil, sortby = nil, orderby = nil, limit = nil, offset = nil, schemalist = nil, product = nil) ⇒ DescribeSlowLogTopSqlsRequest
Returns a new instance of DescribeSlowLogTopSqlsRequest.
4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 |
# File 'lib/v20210527/models.rb', line 4355 def initialize(instanceid=nil, starttime=nil, endtime=nil, sortby=nil, orderby=nil, limit=nil, offset=nil, schemalist=nil, product=nil) @InstanceId = instanceid @StartTime = starttime @EndTime = endtime @SortBy = sortby @OrderBy = orderby @Limit = limit @Offset = offset @SchemaList = schemalist @Product = product end |
Instance Attribute Details
#EndTime ⇒ Object
4353 4354 4355 |
# File 'lib/v20210527/models.rb', line 4353 def EndTime @EndTime end |
#InstanceId ⇒ Object
4353 4354 4355 |
# File 'lib/v20210527/models.rb', line 4353 def InstanceId @InstanceId end |
#Limit ⇒ Object
4353 4354 4355 |
# File 'lib/v20210527/models.rb', line 4353 def Limit @Limit end |
#Offset ⇒ Object
4353 4354 4355 |
# File 'lib/v20210527/models.rb', line 4353 def Offset @Offset end |
#OrderBy ⇒ Object
4353 4354 4355 |
# File 'lib/v20210527/models.rb', line 4353 def OrderBy @OrderBy end |
#Product ⇒ Object
4353 4354 4355 |
# File 'lib/v20210527/models.rb', line 4353 def Product @Product end |
#SchemaList ⇒ Object
4353 4354 4355 |
# File 'lib/v20210527/models.rb', line 4353 def SchemaList @SchemaList end |
#SortBy ⇒ Object
4353 4354 4355 |
# File 'lib/v20210527/models.rb', line 4353 def SortBy @SortBy end |
#StartTime ⇒ Object
4353 4354 4355 |
# File 'lib/v20210527/models.rb', line 4353 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 |
# File 'lib/v20210527/models.rb', line 4367 def deserialize(params) @InstanceId = params['InstanceId'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @SortBy = params['SortBy'] @OrderBy = params['OrderBy'] @Limit = params['Limit'] @Offset = params['Offset'] unless params['SchemaList'].nil? @SchemaList = [] params['SchemaList'].each do |i| schemaitem_tmp = SchemaItem.new schemaitem_tmp.deserialize(i) @SchemaList << schemaitem_tmp end end @Product = params['Product'] end |