/* 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 { TypeDataFromJSON, TypeDataToJSON, } from './TypeData';
/**
 * @export
 */
export const BackupManifestAliasTypeEnum = {
    TABLE_NAME: 'TABLE_NAME',
    MIGRATION_TYPE_NAME: 'MIGRATION_TYPE_NAME'
};
/**
 * Check if a given object implements the BackupManifest interface.
 */
export function instanceOfBackupManifest(value) {
    return true;
}
export function BackupManifestFromJSON(json) {
    return BackupManifestFromJSONTyped(json, false);
}
export function BackupManifestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'primaryType': json['primaryType'] == null ? undefined : TypeDataFromJSON(json['primaryType']),
        'aliasType': json['aliasType'] == null ? undefined : json['aliasType'],
        'batchSize': json['batchSize'] == null ? undefined : json['batchSize'],
        'minimumId': json['minimumId'] == null ? undefined : json['minimumId'],
        'maximumId': json['maximumId'] == null ? undefined : json['maximumId'],
        'secondaryTypes': json['secondaryTypes'] == null ? undefined : (json['secondaryTypes'].map(TypeDataFromJSON)),
    };
}
export function BackupManifestToJSON(json) {
    return BackupManifestToJSONTyped(json, false);
}
export function BackupManifestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'primaryType': TypeDataToJSON(value['primaryType']),
        'aliasType': value['aliasType'],
        'batchSize': value['batchSize'],
        'minimumId': value['minimumId'],
        'maximumId': value['maximumId'],
        'secondaryTypes': value['secondaryTypes'] == null ? undefined : (value['secondaryTypes'].map(TypeDataToJSON)),
    };
}
//# sourceMappingURL=BackupManifest.js.map