Class: TencentCloud::Sqlserver::V20180328::DBRenameRes

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

Overview

数据库重命名返回参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(newname = nil, oldname = nil) ⇒ DBRenameRes

Returns a new instance of DBRenameRes.



2527
2528
2529
2530
# File 'lib/v20180328/models.rb', line 2527

def initialize(newname=nil, oldname=nil)
  @NewName = newname
  @OldName = oldname
end

Instance Attribute Details

#NewNameObject

Parameters:

  • NewName:

    新数据库名称

  • OldName:

    老数据库名称



2525
2526
2527
# File 'lib/v20180328/models.rb', line 2525

def NewName
  @NewName
end

#OldNameObject

Parameters:

  • NewName:

    新数据库名称

  • OldName:

    老数据库名称



2525
2526
2527
# File 'lib/v20180328/models.rb', line 2525

def OldName
  @OldName
end

Instance Method Details

#deserialize(params) ⇒ Object



2532
2533
2534
2535
# File 'lib/v20180328/models.rb', line 2532

def deserialize(params)
  @NewName = params['NewName']
  @OldName = params['OldName']
end