Class: TencentCloud::Postgres::V20170312::BackupPlan
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::BackupPlan
- Defined in:
- lib/v20170312/models.rb
Overview
备份计划
Instance Attribute Summary collapse
- #BackupPeriod ⇒ Object
- #BackupPeriodType ⇒ Object
- #BaseBackupRetentionPeriod ⇒ Object
- #CreatedTime ⇒ Object
- #LogBackupRetentionPeriod ⇒ Object
- #MaxBackupStartTime ⇒ Object
- #MinBackupStartTime ⇒ Object
- #PlanId ⇒ Object
- #PlanName ⇒ Object
- #PlanType ⇒ Object
- #UpdatedTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(backupperiod = nil, basebackupretentionperiod = nil, minbackupstarttime = nil, maxbackupstarttime = nil, planid = nil, planname = nil, logbackupretentionperiod = nil, createdtime = nil, updatedtime = nil, plantype = nil, backupperiodtype = nil) ⇒ BackupPlan
constructor
A new instance of BackupPlan.
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
Returns a new instance of 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
#BackupPeriod ⇒ Object
236 237 238 |
# File 'lib/v20170312/models.rb', line 236 def BackupPeriod @BackupPeriod end |
#BackupPeriodType ⇒ Object
236 237 238 |
# File 'lib/v20170312/models.rb', line 236 def BackupPeriodType @BackupPeriodType end |
#BaseBackupRetentionPeriod ⇒ Object
236 237 238 |
# File 'lib/v20170312/models.rb', line 236 def BaseBackupRetentionPeriod @BaseBackupRetentionPeriod end |
#CreatedTime ⇒ Object
236 237 238 |
# File 'lib/v20170312/models.rb', line 236 def CreatedTime @CreatedTime end |
#LogBackupRetentionPeriod ⇒ Object
236 237 238 |
# File 'lib/v20170312/models.rb', line 236 def LogBackupRetentionPeriod @LogBackupRetentionPeriod end |
#MaxBackupStartTime ⇒ Object
236 237 238 |
# File 'lib/v20170312/models.rb', line 236 def MaxBackupStartTime @MaxBackupStartTime end |
#MinBackupStartTime ⇒ Object
236 237 238 |
# File 'lib/v20170312/models.rb', line 236 def MinBackupStartTime @MinBackupStartTime end |
#PlanId ⇒ Object
236 237 238 |
# File 'lib/v20170312/models.rb', line 236 def PlanId @PlanId end |
#PlanName ⇒ Object
236 237 238 |
# File 'lib/v20170312/models.rb', line 236 def PlanName @PlanName end |
#PlanType ⇒ Object
236 237 238 |
# File 'lib/v20170312/models.rb', line 236 def PlanType @PlanType end |
#UpdatedTime ⇒ Object
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 |