/* 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.
 */
/**
 * Check if a given object implements the SearchHighlight interface.
 */
export function instanceOfSearchHighlight(value) {
    return true;
}
export function SearchHighlightFromJSON(json) {
    return SearchHighlightFromJSONTyped(json, false);
}
export function SearchHighlightFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'snippets': json['snippets'] == null ? undefined : json['snippets'],
    };
}
export function SearchHighlightToJSON(json) {
    return SearchHighlightToJSONTyped(json, false);
}
export function SearchHighlightToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'snippets': value['snippets'],
    };
}
//# sourceMappingURL=SearchHighlight.js.map