/* tslint:disable */
/* eslint-disable */
/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { RenameDataFromJSON, RenameDataToJSON, } from './RenameData';
/**
 * Check if a given object implements the EntityMigration interface.
 */
export function instanceOfEntityMigration(value) {
    return true;
}
export function EntityMigrationFromJSON(json) {
    return EntityMigrationFromJSONTyped(json, false);
}
export function EntityMigrationFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'toRename': json['toRename'] == null ? undefined : (json['toRename'].map(RenameDataFromJSON)),
    };
}
export function EntityMigrationToJSON(json) {
    return EntityMigrationToJSONTyped(json, false);
}
export function EntityMigrationToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'toRename': value['toRename'] == null ? undefined : (value['toRename'].map(RenameDataToJSON)),
    };
}
//# sourceMappingURL=EntityMigration.js.map