Class: TencentCloud::Postgres::V20170312::BackupPlan

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

Overview

备份计划

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(backupperiod = nil, basebackupretentionperiod = nil, minbackupstarttime = nil, maxbackupstarttime = nil, planid = nil, planname = nil, logbackupretentionperiod = nil, createdtime = nil, updatedtime = nil, plantype = nil, backupperiodtype = nil) ⇒ BackupPlan



238
239
240
241
242
243
244
245
246
247
248
249
250
# File 'lib/v20170312/models.rb', line 238

def initialize(backupperiod=nil, basebackupretentionperiod=nil, minbackupstarttime=nil, maxbackupstarttime=nil, planid=nil, planname=nil, logbackupretentionperiod=nil, createdtime=nil, updatedtime=nil, plantype=nil, backupperiodtype=nil)
  @BackupPeriod = backupperiod
  @BaseBackupRetentionPeriod = basebackupretentionperiod
  @MinBackupStartTime = minbackupstarttime
  @MaxBackupStartTime = maxbackupstarttime
  @PlanId = planid
  @PlanName = planname
  @LogBackupRetentionPeriod = logbackupretentionperiod
  @CreatedTime = createdtime
  @UpdatedTime = updatedtime
  @PlanType = plantype
  @BackupPeriodType = backupperiodtype
end

Instance Attribute Details

#BackupPeriodObject



236
237
238
# File 'lib/v20170312/models.rb', line 236

def BackupPeriod
  @BackupPeriod
end

#BackupPeriodTypeObject



236
237
238
# File 'lib/v20170312/models.rb', line 236

def BackupPeriodType
  @BackupPeriodType
end

#BaseBackupRetentionPeriodObject



236
237
238
# File 'lib/v20170312/models.rb', line 236

def BaseBackupRetentionPeriod
  @BaseBackupRetentionPeriod
end

#CreatedTimeObject



236
237
238
# File 'lib/v20170312/models.rb', line 236

def CreatedTime
  @CreatedTime
end

#LogBackupRetentionPeriodObject



236
237
238
# File 'lib/v20170312/models.rb', line 236

def LogBackupRetentionPeriod
  @LogBackupRetentionPeriod
end

#MaxBackupStartTimeObject



236
237
238
# File 'lib/v20170312/models.rb', line 236

def MaxBackupStartTime
  @MaxBackupStartTime
end

#MinBackupStartTimeObject



236
237
238
# File 'lib/v20170312/models.rb', line 236

def MinBackupStartTime
  @MinBackupStartTime
end

#PlanIdObject



236
237
238
# File 'lib/v20170312/models.rb', line 236

def PlanId
  @PlanId
end

#PlanNameObject



236
237
238
# File 'lib/v20170312/models.rb', line 236

def PlanName
  @PlanName
end

#PlanTypeObject



236
237
238
# File 'lib/v20170312/models.rb', line 236

def PlanType
  @PlanType
end

#UpdatedTimeObject



236
237
238
# File 'lib/v20170312/models.rb', line 236

def UpdatedTime
  @UpdatedTime
end

Instance Method Details

#deserialize(params) ⇒ Object



252
253
254
255
256
257
258
259
260
261
262
263
264
# File 'lib/v20170312/models.rb', line 252

def deserialize(params)
  @BackupPeriod = params['BackupPeriod']
  @BaseBackupRetentionPeriod = params['BaseBackupRetentionPeriod']
  @MinBackupStartTime = params['MinBackupStartTime']
  @MaxBackupStartTime = params['MaxBackupStartTime']
  @PlanId = params['PlanId']
  @PlanName = params['PlanName']
  @LogBackupRetentionPeriod = params['LogBackupRetentionPeriod']
  @CreatedTime = params['CreatedTime']
  @UpdatedTime = params['UpdatedTime']
  @PlanType = params['PlanType']
  @BackupPeriodType = params['BackupPeriodType']
end