/* 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 { ReferenceFromJSON, ReferenceToJSON, } from './Reference';
/**
 * Check if a given object implements the ReferenceList interface.
 */
export function instanceOfReferenceList(value) {
    return true;
}
export function ReferenceListFromJSON(json) {
    return ReferenceListFromJSONTyped(json, false);
}
export function ReferenceListFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'references': json['references'] == null ? undefined : (json['references'].map(ReferenceFromJSON)),
    };
}
export function ReferenceListToJSON(json) {
    return ReferenceListToJSONTyped(json, false);
}
export function ReferenceListToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'references': value['references'] == null ? undefined : (value['references'].map(ReferenceToJSON)),
    };
}
//# sourceMappingURL=ReferenceList.js.map