/* 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 QuerySortDirectionEnum = {
    ASC: 'ASC',
    DESC: 'DESC'
};
/**
 * Check if a given object implements the QuerySort interface.
 */
export function instanceOfQuerySort(value) {
    return true;
}
export function QuerySortFromJSON(json) {
    return QuerySortFromJSONTyped(json, false);
}
export function QuerySortFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'columnName': json['columnName'] == null ? undefined : json['columnName'],
        'direction': json['direction'] == null ? undefined : json['direction'],
    };
}
export function QuerySortToJSON(json) {
    return QuerySortToJSONTyped(json, false);
}
export function QuerySortToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'columnName': value['columnName'],
        'direction': value['direction'],
    };
}
//# sourceMappingURL=QuerySort.js.map