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.
4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 |
# File 'lib/v20210527/models.rb', line 4282 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
4280 4281 4282 |
# File 'lib/v20210527/models.rb', line 4280 def EndTime @EndTime end |
#InstanceId ⇒ Object
4280 4281 4282 |
# File 'lib/v20210527/models.rb', line 4280 def InstanceId @InstanceId end |
#Limit ⇒ Object
4280 4281 4282 |
# File 'lib/v20210527/models.rb', line 4280 def Limit @Limit end |
#Offset ⇒ Object
4280 4281 4282 |
# File 'lib/v20210527/models.rb', line 4280 def Offset @Offset end |
#OrderBy ⇒ Object
4280 4281 4282 |
# File 'lib/v20210527/models.rb', line 4280 def OrderBy @OrderBy end |
#Product ⇒ Object
4280 4281 4282 |
# File 'lib/v20210527/models.rb', line 4280 def Product @Product end |
#SchemaList ⇒ Object
4280 4281 4282 |
# File 'lib/v20210527/models.rb', line 4280 def SchemaList @SchemaList end |
#SortBy ⇒ Object
4280 4281 4282 |
# File 'lib/v20210527/models.rb', line 4280 def SortBy @SortBy end |
#StartTime ⇒ Object
4280 4281 4282 |
# File 'lib/v20210527/models.rb', line 4280 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 |
# File 'lib/v20210527/models.rb', line 4294 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 |