class TencentCloud::Sqlserver::V20180328::RestoreInstanceRequest
RestoreInstance请求参数结构体
def deserialize(params)
def deserialize(params) @InstanceId = params['InstanceId'] @BackupId = params['BackupId'] @TargetInstanceId = params['TargetInstanceId'] unless params['RenameRestore'].nil? @RenameRestore = [] params['RenameRestore'].each do |i| renamerestoredatabase_tmp = RenameRestoreDatabase.new renamerestoredatabase_tmp.deserialize(i) @RenameRestore << renamerestoredatabase_tmp end end @GroupId = params['GroupId'] end
def initialize(instanceid=nil, backupid=nil, targetinstanceid=nil, renamerestore=nil, groupid=nil)
def initialize(instanceid=nil, backupid=nil, targetinstanceid=nil, renamerestore=nil, groupid=nil) @InstanceId = instanceid @BackupId = backupid @TargetInstanceId = targetinstanceid @RenameRestore = renamerestore @GroupId = groupid end