/* 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 FuzzyFieldOptions interface.
 */
export function instanceOfFuzzyFieldOptions(value) {
    return true;
}
export function FuzzyFieldOptionsFromJSON(json) {
    return FuzzyFieldOptionsFromJSONTyped(json, false);
}
export function FuzzyFieldOptionsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'boost': json['boost'] == null ? undefined : json['boost'],
        '_name': json['_name'] == null ? undefined : json['_name'],
        'value': json['value'] == null ? undefined : json['value'],
        'fuzziness': json['fuzziness'] == null ? undefined : json['fuzziness'],
        'max_expansions': json['max_expansions'] == null ? undefined : json['max_expansions'],
        'prefix_length': json['prefix_length'] == null ? undefined : json['prefix_length'],
        'transpositions': json['transpositions'] == null ? undefined : json['transpositions'],
        'rewrite': json['rewrite'] == null ? undefined : json['rewrite'],
    };
}
export function FuzzyFieldOptionsToJSON(json) {
    return FuzzyFieldOptionsToJSONTyped(json, false);
}
export function FuzzyFieldOptionsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'boost': value['boost'],
        '_name': value['_name'],
        'value': value['value'],
        'fuzziness': value['fuzziness'],
        'max_expansions': value['max_expansions'],
        'prefix_length': value['prefix_length'],
        'transpositions': value['transpositions'],
        'rewrite': value['rewrite'],
    };
}
//# sourceMappingURL=FuzzyFieldOptions.js.map