/* 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 { EntityHeaderFromJSON, EntityHeaderToJSON, } from './EntityHeader';
/**
 * Check if a given object implements the EntityPath interface.
 */
export function instanceOfEntityPath(value) {
    return true;
}
export function EntityPathFromJSON(json) {
    return EntityPathFromJSONTyped(json, false);
}
export function EntityPathFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'path': json['path'] == null ? undefined : (json['path'].map(EntityHeaderFromJSON)),
    };
}
export function EntityPathToJSON(json) {
    return EntityPathToJSONTyped(json, false);
}
export function EntityPathToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'path': value['path'] == null ? undefined : (value['path'].map(EntityHeaderToJSON)),
    };
}
//# sourceMappingURL=EntityPath.js.map