/* 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.
 */
/**
 * @export
 */
export const FacetColumnSortConfigPropertyEnum = {
    FREQUENCY: 'FREQUENCY',
    VALUE: 'VALUE'
};
/**
 * @export
 */
export const FacetColumnSortConfigDirectionEnum = {
    DESC: 'DESC',
    ASC: 'ASC'
};
/**
 * Check if a given object implements the FacetColumnSortConfig interface.
 */
export function instanceOfFacetColumnSortConfig(value) {
    return true;
}
export function FacetColumnSortConfigFromJSON(json) {
    return FacetColumnSortConfigFromJSONTyped(json, false);
}
export function FacetColumnSortConfigFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'property': json['property'] == null ? undefined : json['property'],
        'direction': json['direction'] == null ? undefined : json['direction'],
    };
}
export function FacetColumnSortConfigToJSON(json) {
    return FacetColumnSortConfigToJSONTyped(json, false);
}
export function FacetColumnSortConfigToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'property': value['property'],
        'direction': value['direction'],
    };
}
//# sourceMappingURL=FacetColumnSortConfig.js.map