/* 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 SortItemDirectionEnum = {
    ASC: 'ASC',
    DESC: 'DESC'
};
/**
 * Check if a given object implements the SortItem interface.
 */
export function instanceOfSortItem(value) {
    return true;
}
export function SortItemFromJSON(json) {
    return SortItemFromJSONTyped(json, false);
}
export function SortItemFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'column': json['column'] == null ? undefined : json['column'],
        'direction': json['direction'] == null ? undefined : json['direction'],
    };
}
export function SortItemToJSON(json) {
    return SortItemToJSONTyped(json, false);
}
export function SortItemToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'column': value['column'],
        'direction': value['direction'],
    };
}
//# sourceMappingURL=SortItem.js.map