/* 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 TermFieldOptions interface.
 */
export function instanceOfTermFieldOptions(value) {
    return true;
}
export function TermFieldOptionsFromJSON(json) {
    return TermFieldOptionsFromJSONTyped(json, false);
}
export function TermFieldOptionsFromJSONTyped(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'],
        'case_insensitive': json['case_insensitive'] == null ? undefined : json['case_insensitive'],
    };
}
export function TermFieldOptionsToJSON(json) {
    return TermFieldOptionsToJSONTyped(json, false);
}
export function TermFieldOptionsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'boost': value['boost'],
        '_name': value['_name'],
        'value': value['value'],
        'case_insensitive': value['case_insensitive'],
    };
}
//# sourceMappingURL=TermFieldOptions.js.map