/* 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 CardinalityAggregation interface.
 */
export function instanceOfCardinalityAggregation(value) {
    return true;
}
export function CardinalityAggregationFromJSON(json) {
    return CardinalityAggregationFromJSONTyped(json, false);
}
export function CardinalityAggregationFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'missing': json['missing'] == null ? undefined : json['missing'],
        'field': json['field'] == null ? undefined : json['field'],
        'precision_threshold': json['precision_threshold'] == null ? undefined : json['precision_threshold'],
        'execution_hint': json['execution_hint'] == null ? undefined : json['execution_hint'],
    };
}
export function CardinalityAggregationToJSON(json) {
    return CardinalityAggregationToJSONTyped(json, false);
}
export function CardinalityAggregationToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'missing': value['missing'],
        'field': value['field'],
        'precision_threshold': value['precision_threshold'],
        'execution_hint': value['execution_hint'],
    };
}
//# sourceMappingURL=CardinalityAggregation.js.map