/* 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 ExistsQuery interface.
 */
export function instanceOfExistsQuery(value) {
    return true;
}
export function ExistsQueryFromJSON(json) {
    return ExistsQueryFromJSONTyped(json, false);
}
export function ExistsQueryFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'boost': json['boost'] == null ? undefined : json['boost'],
        '_name': json['_name'] == null ? undefined : json['_name'],
        'field': json['field'] == null ? undefined : json['field'],
    };
}
export function ExistsQueryToJSON(json) {
    return ExistsQueryToJSONTyped(json, false);
}
export function ExistsQueryToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'boost': value['boost'],
        '_name': value['_name'],
        'field': value['field'],
    };
}
//# sourceMappingURL=ExistsQuery.js.map