Class: TencentCloud::Cdb::V20170320::BackupSummaryItem

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

Overview

实例备份统计项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, autobackupcount = nil, autobackupvolume = nil, manualbackupcount = nil, manualbackupvolume = nil, databackupcount = nil, databackupvolume = nil, binlogbackupcount = nil, binlogbackupvolume = nil, backupvolume = nil) ⇒ BackupSummaryItem



1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
# File 'lib/v20170320/models.rb', line 1327

def initialize(instanceid=nil, autobackupcount=nil, autobackupvolume=nil, manualbackupcount=nil, manualbackupvolume=nil, databackupcount=nil, databackupvolume=nil, binlogbackupcount=nil, binlogbackupvolume=nil, backupvolume=nil)
  @InstanceId = instanceid
  @AutoBackupCount = autobackupcount
  @AutoBackupVolume = autobackupvolume
  @ManualBackupCount = manualbackupcount
  @ManualBackupVolume = manualbackupvolume
  @DataBackupCount = databackupcount
  @DataBackupVolume = databackupvolume
  @BinlogBackupCount = binlogbackupcount
  @BinlogBackupVolume = binlogbackupvolume
  @BackupVolume = backupvolume
end

Instance Attribute Details

#AutoBackupCountObject



1325
1326
1327
# File 'lib/v20170320/models.rb', line 1325

def AutoBackupCount
  @AutoBackupCount
end

#AutoBackupVolumeObject



1325
1326
1327
# File 'lib/v20170320/models.rb', line 1325

def AutoBackupVolume
  @AutoBackupVolume
end

#BackupVolumeObject



1325
1326
1327
# File 'lib/v20170320/models.rb', line 1325

def BackupVolume
  @BackupVolume
end

#BinlogBackupCountObject



1325
1326
1327
# File 'lib/v20170320/models.rb', line 1325

def BinlogBackupCount
  @BinlogBackupCount
end

#BinlogBackupVolumeObject



1325
1326
1327
# File 'lib/v20170320/models.rb', line 1325

def BinlogBackupVolume
  @BinlogBackupVolume
end

#DataBackupCountObject



1325
1326
1327
# File 'lib/v20170320/models.rb', line 1325

def DataBackupCount
  @DataBackupCount
end

#DataBackupVolumeObject



1325
1326
1327
# File 'lib/v20170320/models.rb', line 1325

def DataBackupVolume
  @DataBackupVolume
end

#InstanceIdObject



1325
1326
1327
# File 'lib/v20170320/models.rb', line 1325

def InstanceId
  @InstanceId
end

#ManualBackupCountObject



1325
1326
1327
# File 'lib/v20170320/models.rb', line 1325

def ManualBackupCount
  @ManualBackupCount
end

#ManualBackupVolumeObject



1325
1326
1327
# File 'lib/v20170320/models.rb', line 1325

def ManualBackupVolume
  @ManualBackupVolume
end

Instance Method Details

#deserialize(params) ⇒ Object



1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
# File 'lib/v20170320/models.rb', line 1340

def deserialize(params)
  @InstanceId = params['InstanceId']
  @AutoBackupCount = params['AutoBackupCount']
  @AutoBackupVolume = params['AutoBackupVolume']
  @ManualBackupCount = params['ManualBackupCount']
  @ManualBackupVolume = params['ManualBackupVolume']
  @DataBackupCount = params['DataBackupCount']
  @DataBackupVolume = params['DataBackupVolume']
  @BinlogBackupCount = params['BinlogBackupCount']
  @BinlogBackupVolume = params['BinlogBackupVolume']
  @BackupVolume = params['BackupVolume']
end