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.
229 230 231 232 233 234 235 236 237 238 239 240 |
# File 'lib/v20190823/models.rb', line 229 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
227 228 229 |
# File 'lib/v20190823/models.rb', line 227 def AppId @AppId end |
#BackupBatchTime ⇒ Object
227 228 229 |
# File 'lib/v20190823/models.rb', line 227 def BackupBatchTime @BackupBatchTime end |
#BackupExpireTime ⇒ Object
227 228 229 |
# File 'lib/v20190823/models.rb', line 227 def BackupExpireTime @BackupExpireTime end |
#BackupFileSize ⇒ Object
227 228 229 |
# File 'lib/v20190823/models.rb', line 227 def BackupFileSize @BackupFileSize end |
#BackupSuccRate ⇒ Object
227 228 229 |
# File 'lib/v20190823/models.rb', line 227 def BackupSuccRate @BackupSuccRate end |
#BackupType ⇒ Object
227 228 229 |
# File 'lib/v20190823/models.rb', line 227 def BackupType @BackupType end |
#FileTag ⇒ Object
227 228 229 |
# File 'lib/v20190823/models.rb', line 227 def FileTag @FileTag end |
#ShardCount ⇒ Object
227 228 229 |
# File 'lib/v20190823/models.rb', line 227 def ShardCount @ShardCount end |
#TableName ⇒ Object
227 228 229 |
# File 'lib/v20190823/models.rb', line 227 def TableName @TableName end |
#ZoneId ⇒ Object
227 228 229 |
# File 'lib/v20190823/models.rb', line 227 def ZoneId @ZoneId end |
Instance Method Details
#deserialize(params) ⇒ Object
242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'lib/v20190823/models.rb', line 242 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 |