/* 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 { EntityTypeMigrationSpecFromJSON, EntityTypeMigrationSpecToJSON, } from './EntityTypeMigrationSpec';
/**
 * Check if a given object implements the MigrationSpec interface.
 */
export function instanceOfMigrationSpec(value) {
    return true;
}
export function MigrationSpecFromJSON(json) {
    return MigrationSpecFromJSONTyped(json, false);
}
export function MigrationSpecFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'migrationMetadata': json['migrationMetadata'] == null ? undefined : (json['migrationMetadata'].map(EntityTypeMigrationSpecFromJSON)),
    };
}
export function MigrationSpecToJSON(json) {
    return MigrationSpecToJSONTyped(json, false);
}
export function MigrationSpecToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'migrationMetadata': value['migrationMetadata'] == null ? undefined : (value['migrationMetadata'].map(EntityTypeMigrationSpecToJSON)),
    };
}
//# sourceMappingURL=MigrationSpec.js.map