class TencentCloud::Sqlserver::V20180328::CreateMigrationRequest

def deserialize(params)

def deserialize(params)
  @MigrateName = params['MigrateName']
  @MigrateType = params['MigrateType']
  @SourceType = params['SourceType']
  unless params['Source'].nil?
    @Source = MigrateSource.new
    @Source.deserialize(params['Source'])
  end
  unless params['Target'].nil?
    @Target = MigrateTarget.new
    @Target.deserialize(params['Target'])
  end
  unless params['MigrateDBSet'].nil?
    @MigrateDBSet = []
    params['MigrateDBSet'].each do |i|
      migratedb_tmp = MigrateDB.new
      migratedb_tmp.deserialize(i)
      @MigrateDBSet << migratedb_tmp
    end
  end
  unless params['RenameRestore'].nil?
    @RenameRestore = []
    params['RenameRestore'].each do |i|
      renamerestoredatabase_tmp = RenameRestoreDatabase.new
      renamerestoredatabase_tmp.deserialize(i)
      @RenameRestore << renamerestoredatabase_tmp
    end
  end
end