/* 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 ConstantScoreQuery interface.
 */
export function instanceOfConstantScoreQuery(value) {
    return true;
}
export function ConstantScoreQueryFromJSON(json) {
    return ConstantScoreQueryFromJSONTyped(json, false);
}
export function ConstantScoreQueryFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'filter': json['filter'] == null ? undefined : ConstantScoreQueryFromJSON(json['filter']),
        'boost': json['boost'] == null ? undefined : json['boost'],
        '_name': json['_name'] == null ? undefined : json['_name'],
    };
}
export function ConstantScoreQueryToJSON(json) {
    return ConstantScoreQueryToJSONTyped(json, false);
}
export function ConstantScoreQueryToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'filter': ConstantScoreQueryToJSON(value['filter']),
        'boost': value['boost'],
        '_name': value['_name'],
    };
}
//# sourceMappingURL=ConstantScoreQuery.js.map