Class: TencentCloud::Cdb::V20170320::DescribeBackupSummariesRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170320/models.rb

Overview

DescribeBackupSummaries请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(product = nil, offset = nil, limit = nil, orderby = nil, orderdirection = nil) ⇒ DescribeBackupSummariesRequest

Returns a new instance of DescribeBackupSummariesRequest.



5330
5331
5332
5333
5334
5335
5336
# File 'lib/v20170320/models.rb', line 5330

def initialize(product=nil, offset=nil, limit=nil, orderby=nil, orderdirection=nil)
  @Product = product
  @Offset = offset
  @Limit = limit
  @OrderBy = orderby
  @OrderDirection = orderdirection
end

Instance Attribute Details

#LimitObject

Parameters:

  • Product:

    需要查询的云数据库产品类型,目前仅支持 “mysql”。

  • Offset:

    分页查询数据的偏移量,默认为0。

  • Limit:

    分页查询数据的条目限制,默认值为20。最小值为1,最大值为100。

  • OrderBy:

    指定按某一项排序,可选值包括: BackupVolume: 备份容量, DataBackupVolume: 数据备份容量, BinlogBackupVolume: 日志备份容量, AutoBackupVolume: 自动备份容量, ManualBackupVolume: 手动备份容量。默认按照BackupVolume排序。

  • OrderDirection:

    指定排序方向,可选值包括: ASC: 正序, DESC: 逆序。默认值为 ASC。



5328
5329
5330
# File 'lib/v20170320/models.rb', line 5328

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Product:

    需要查询的云数据库产品类型,目前仅支持 “mysql”。

  • Offset:

    分页查询数据的偏移量,默认为0。

  • Limit:

    分页查询数据的条目限制,默认值为20。最小值为1,最大值为100。

  • OrderBy:

    指定按某一项排序,可选值包括: BackupVolume: 备份容量, DataBackupVolume: 数据备份容量, BinlogBackupVolume: 日志备份容量, AutoBackupVolume: 自动备份容量, ManualBackupVolume: 手动备份容量。默认按照BackupVolume排序。

  • OrderDirection:

    指定排序方向,可选值包括: ASC: 正序, DESC: 逆序。默认值为 ASC。



5328
5329
5330
# File 'lib/v20170320/models.rb', line 5328

def Offset
  @Offset
end

#OrderByObject

Parameters:

  • Product:

    需要查询的云数据库产品类型,目前仅支持 “mysql”。

  • Offset:

    分页查询数据的偏移量,默认为0。

  • Limit:

    分页查询数据的条目限制,默认值为20。最小值为1,最大值为100。

  • OrderBy:

    指定按某一项排序,可选值包括: BackupVolume: 备份容量, DataBackupVolume: 数据备份容量, BinlogBackupVolume: 日志备份容量, AutoBackupVolume: 自动备份容量, ManualBackupVolume: 手动备份容量。默认按照BackupVolume排序。

  • OrderDirection:

    指定排序方向,可选值包括: ASC: 正序, DESC: 逆序。默认值为 ASC。



5328
5329
5330
# File 'lib/v20170320/models.rb', line 5328

def OrderBy
  @OrderBy
end

#OrderDirectionObject

Parameters:

  • Product:

    需要查询的云数据库产品类型,目前仅支持 “mysql”。

  • Offset:

    分页查询数据的偏移量,默认为0。

  • Limit:

    分页查询数据的条目限制,默认值为20。最小值为1,最大值为100。

  • OrderBy:

    指定按某一项排序,可选值包括: BackupVolume: 备份容量, DataBackupVolume: 数据备份容量, BinlogBackupVolume: 日志备份容量, AutoBackupVolume: 自动备份容量, ManualBackupVolume: 手动备份容量。默认按照BackupVolume排序。

  • OrderDirection:

    指定排序方向,可选值包括: ASC: 正序, DESC: 逆序。默认值为 ASC。



5328
5329
5330
# File 'lib/v20170320/models.rb', line 5328

def OrderDirection
  @OrderDirection
end

#ProductObject

Parameters:

  • Product:

    需要查询的云数据库产品类型,目前仅支持 “mysql”。

  • Offset:

    分页查询数据的偏移量,默认为0。

  • Limit:

    分页查询数据的条目限制,默认值为20。最小值为1,最大值为100。

  • OrderBy:

    指定按某一项排序,可选值包括: BackupVolume: 备份容量, DataBackupVolume: 数据备份容量, BinlogBackupVolume: 日志备份容量, AutoBackupVolume: 自动备份容量, ManualBackupVolume: 手动备份容量。默认按照BackupVolume排序。

  • OrderDirection:

    指定排序方向,可选值包括: ASC: 正序, DESC: 逆序。默认值为 ASC。



5328
5329
5330
# File 'lib/v20170320/models.rb', line 5328

def Product
  @Product
end

Instance Method Details

#deserialize(params) ⇒ Object



5338
5339
5340
5341
5342
5343
5344
# File 'lib/v20170320/models.rb', line 5338

def deserialize(params)
  @Product = params['Product']
  @Offset = params['Offset']
  @Limit = params['Limit']
  @OrderBy = params['OrderBy']
  @OrderDirection = params['OrderDirection']
end