/* 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 { SuggestionListFromJSON, SuggestionListToJSON, } from './SuggestionList';
/**
 * Check if a given object implements the SuggestionResults interface.
 */
export function instanceOfSuggestionResults(value) {
    return true;
}
export function SuggestionResultsFromJSON(json) {
    return SuggestionResultsFromJSONTyped(json, false);
}
export function SuggestionResultsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'suggestions': json['suggestions'] == null ? undefined : (json['suggestions'].map(SuggestionListFromJSON)),
    };
}
export function SuggestionResultsToJSON(json) {
    return SuggestionResultsToJSONTyped(json, false);
}
export function SuggestionResultsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'suggestions': value['suggestions'] == null ? undefined : (value['suggestions'].map(SuggestionListToJSON)),
    };
}
//# sourceMappingURL=SuggestionResults.js.map