Class: TencentCloud::Tcaplusdb::V20190823::BackupRecords
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::BackupRecords
- Defined in:
- lib/v20190823/models.rb
Overview
备份记录 作为出参时,每个字段都会填充 作为入参时, 原封不动将每个字段填回结构体, 注意只有FIleTag=OSDATA才可以调用此接口
Instance Attribute Summary collapse
- #AppId ⇒ Object
- #BackupBatchTime ⇒ Object
- #BackupExpireTime ⇒ Object
- #BackupFileSize ⇒ Object
- #BackupSuccRate ⇒ Object
- #BackupType ⇒ Object
- #FileTag ⇒ Object
- #ShardCount ⇒ Object
- #TableName ⇒ Object
- #ZoneId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zoneid = nil, tablename = nil, backuptype = nil, filetag = nil, shardcount = nil, backupbatchtime = nil, backupfilesize = nil, backupsuccrate = nil, backupexpiretime = nil, appid = nil) ⇒ BackupRecords
constructor
A new instance of BackupRecords.
Constructor Details
#initialize(zoneid = nil, tablename = nil, backuptype = nil, filetag = nil, shardcount = nil, backupbatchtime = nil, backupfilesize = nil, backupsuccrate = nil, backupexpiretime = nil, appid = nil) ⇒ BackupRecords
Returns a new instance of BackupRecords.
239 240 241 242 243 244 245 246 247 248 249 250 |
# File 'lib/v20190823/models.rb', line 239 def initialize(zoneid=nil, tablename=nil, backuptype=nil, filetag=nil, shardcount=nil, backupbatchtime=nil, backupfilesize=nil, backupsuccrate=nil, backupexpiretime=nil, appid=nil) @ZoneId = zoneid @TableName = tablename @BackupType = backuptype @FileTag = filetag @ShardCount = shardcount @BackupBatchTime = backupbatchtime @BackupFileSize = backupfilesize @BackupSuccRate = backupsuccrate @BackupExpireTime = backupexpiretime @AppId = appid end |
Instance Attribute Details
#AppId ⇒ Object
237 238 239 |
# File 'lib/v20190823/models.rb', line 237 def AppId @AppId end |
#BackupBatchTime ⇒ Object
237 238 239 |
# File 'lib/v20190823/models.rb', line 237 def BackupBatchTime @BackupBatchTime end |
#BackupExpireTime ⇒ Object
237 238 239 |
# File 'lib/v20190823/models.rb', line 237 def BackupExpireTime @BackupExpireTime end |
#BackupFileSize ⇒ Object
237 238 239 |
# File 'lib/v20190823/models.rb', line 237 def BackupFileSize @BackupFileSize end |
#BackupSuccRate ⇒ Object
237 238 239 |
# File 'lib/v20190823/models.rb', line 237 def BackupSuccRate @BackupSuccRate end |
#BackupType ⇒ Object
237 238 239 |
# File 'lib/v20190823/models.rb', line 237 def BackupType @BackupType end |
#FileTag ⇒ Object
237 238 239 |
# File 'lib/v20190823/models.rb', line 237 def FileTag @FileTag end |
#ShardCount ⇒ Object
237 238 239 |
# File 'lib/v20190823/models.rb', line 237 def ShardCount @ShardCount end |
#TableName ⇒ Object
237 238 239 |
# File 'lib/v20190823/models.rb', line 237 def TableName @TableName end |
#ZoneId ⇒ Object
237 238 239 |
# File 'lib/v20190823/models.rb', line 237 def ZoneId @ZoneId end |
Instance Method Details
#deserialize(params) ⇒ Object
252 253 254 255 256 257 258 259 260 261 262 263 |
# File 'lib/v20190823/models.rb', line 252 def deserialize(params) @ZoneId = params['ZoneId'] @TableName = params['TableName'] @BackupType = params['BackupType'] @FileTag = params['FileTag'] @ShardCount = params['ShardCount'] @BackupBatchTime = params['BackupBatchTime'] @BackupFileSize = params['BackupFileSize'] @BackupSuccRate = params['BackupSuccRate'] @BackupExpireTime = params['BackupExpireTime'] @AppId = params['AppId'] end |