/* 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 BoostingQuery interface.
 */
export function instanceOfBoostingQuery(value) {
    return true;
}
export function BoostingQueryFromJSON(json) {
    return BoostingQueryFromJSONTyped(json, false);
}
export function BoostingQueryFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'positive': json['positive'] == null ? undefined : BoostingQueryFromJSON(json['positive']),
        'negative': json['negative'] == null ? undefined : BoostingQueryFromJSON(json['negative']),
        'negative_boost': json['negative_boost'] == null ? undefined : json['negative_boost'],
        'boost': json['boost'] == null ? undefined : json['boost'],
        '_name': json['_name'] == null ? undefined : json['_name'],
    };
}
export function BoostingQueryToJSON(json) {
    return BoostingQueryToJSONTyped(json, false);
}
export function BoostingQueryToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'positive': BoostingQueryToJSON(value['positive']),
        'negative': BoostingQueryToJSON(value['negative']),
        'negative_boost': value['negative_boost'],
        'boost': value['boost'],
        '_name': value['_name'],
    };
}
//# sourceMappingURL=BoostingQuery.js.map