/* 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 DownloadSortFieldEnum = {
    fileName: 'fileName',
    projectName: 'projectName',
    synId: 'synId',
    versionNumber: 'versionNumber',
    addedOn: 'addedOn',
    createdBy: 'createdBy',
    createdOn: 'createdOn',
    fileSize: 'fileSize',
    isEligibleForPackaging: 'isEligibleForPackaging'
};
/**
 * @export
 */
export const DownloadSortDirectionEnum = {
    ASC: 'ASC',
    DESC: 'DESC'
};
/**
 * Check if a given object implements the DownloadSort interface.
 */
export function instanceOfDownloadSort(value) {
    return true;
}
export function DownloadSortFromJSON(json) {
    return DownloadSortFromJSONTyped(json, false);
}
export function DownloadSortFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'field': json['field'] == null ? undefined : json['field'],
        'direction': json['direction'] == null ? undefined : json['direction'],
    };
}
export function DownloadSortToJSON(json) {
    return DownloadSortToJSONTyped(json, false);
}
export function DownloadSortToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'field': value['field'],
        'direction': value['direction'],
    };
}
//# sourceMappingURL=DownloadSort.js.map