Class: TencentCloud::Cdb::V20170320::RollbackDBName

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(databasename = nil, newdatabasename = nil) ⇒ RollbackDBName

Returns a new instance of RollbackDBName.



13088
13089
13090
13091
# File 'lib/v20170320/models.rb', line 13088

def initialize(databasename=nil, newdatabasename=nil)
  @DatabaseName = databasename
  @NewDatabaseName = newdatabasename
end

Instance Attribute Details

#DatabaseNameObject

Parameters:

  • DatabaseName:

    回档前的原数据库名

  • NewDatabaseName:

    回档后的新数据库名



13086
13087
13088
# File 'lib/v20170320/models.rb', line 13086

def DatabaseName
  @DatabaseName
end

#NewDatabaseNameObject

Parameters:

  • DatabaseName:

    回档前的原数据库名

  • NewDatabaseName:

    回档后的新数据库名



13086
13087
13088
# File 'lib/v20170320/models.rb', line 13086

def NewDatabaseName
  @NewDatabaseName
end

Instance Method Details

#deserialize(params) ⇒ Object



13093
13094
13095
13096
# File 'lib/v20170320/models.rb', line 13093

def deserialize(params)
  @DatabaseName = params['DatabaseName']
  @NewDatabaseName = params['NewDatabaseName']
end