Class: TencentCloud::Postgres::V20170312::ModifyBackupPlanRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::ModifyBackupPlanRequest
- Defined in:
- lib/v20170312/models.rb
Overview
ModifyBackupPlan请求参数结构体
Instance Attribute Summary collapse
- #BackupPeriod ⇒ Object
- #BaseBackupRetentionPeriod ⇒ Object
- #DBInstanceId ⇒ Object
- #LogBackupRetentionPeriod ⇒ Object
- #MaxBackupStartTime ⇒ Object
- #MinBackupStartTime ⇒ Object
- #PlanId ⇒ Object
- #PlanName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dbinstanceid = nil, minbackupstarttime = nil, maxbackupstarttime = nil, basebackupretentionperiod = nil, backupperiod = nil, logbackupretentionperiod = nil, planid = nil, planname = nil) ⇒ ModifyBackupPlanRequest
constructor
A new instance of ModifyBackupPlanRequest.
Constructor Details
#initialize(dbinstanceid = nil, minbackupstarttime = nil, maxbackupstarttime = nil, basebackupretentionperiod = nil, backupperiod = nil, logbackupretentionperiod = nil, planid = nil, planname = nil) ⇒ ModifyBackupPlanRequest
Returns a new instance of ModifyBackupPlanRequest.
5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 |
# File 'lib/v20170312/models.rb', line 5369 def initialize(dbinstanceid=nil, minbackupstarttime=nil, maxbackupstarttime=nil, basebackupretentionperiod=nil, backupperiod=nil, logbackupretentionperiod=nil, planid=nil, planname=nil) @DBInstanceId = dbinstanceid @MinBackupStartTime = minbackupstarttime @MaxBackupStartTime = maxbackupstarttime @BaseBackupRetentionPeriod = basebackupretentionperiod @BackupPeriod = backupperiod @LogBackupRetentionPeriod = logbackupretentionperiod @PlanId = planid @PlanName = planname end |
Instance Attribute Details
#BackupPeriod ⇒ Object
5367 5368 5369 |
# File 'lib/v20170312/models.rb', line 5367 def BackupPeriod @BackupPeriod end |
#BaseBackupRetentionPeriod ⇒ Object
5367 5368 5369 |
# File 'lib/v20170312/models.rb', line 5367 def BaseBackupRetentionPeriod @BaseBackupRetentionPeriod end |
#DBInstanceId ⇒ Object
5367 5368 5369 |
# File 'lib/v20170312/models.rb', line 5367 def DBInstanceId @DBInstanceId end |
#LogBackupRetentionPeriod ⇒ Object
5367 5368 5369 |
# File 'lib/v20170312/models.rb', line 5367 def LogBackupRetentionPeriod @LogBackupRetentionPeriod end |
#MaxBackupStartTime ⇒ Object
5367 5368 5369 |
# File 'lib/v20170312/models.rb', line 5367 def MaxBackupStartTime @MaxBackupStartTime end |
#MinBackupStartTime ⇒ Object
5367 5368 5369 |
# File 'lib/v20170312/models.rb', line 5367 def MinBackupStartTime @MinBackupStartTime end |
#PlanId ⇒ Object
5367 5368 5369 |
# File 'lib/v20170312/models.rb', line 5367 def PlanId @PlanId end |
#PlanName ⇒ Object
5367 5368 5369 |
# File 'lib/v20170312/models.rb', line 5367 def PlanName @PlanName end |
Instance Method Details
#deserialize(params) ⇒ Object
5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 |
# File 'lib/v20170312/models.rb', line 5380 def deserialize(params) @DBInstanceId = params['DBInstanceId'] @MinBackupStartTime = params['MinBackupStartTime'] @MaxBackupStartTime = params['MaxBackupStartTime'] @BaseBackupRetentionPeriod = params['BaseBackupRetentionPeriod'] @BackupPeriod = params['BackupPeriod'] @LogBackupRetentionPeriod = params['LogBackupRetentionPeriod'] @PlanId = params['PlanId'] @PlanName = params['PlanName'] end |