/** * 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. */ /** * Identifies both the field and direction for a single sort operation * @export * @interface DownloadSort */ export interface DownloadSort { /** * Enumeration of the fields of a user's download list that can be used for sorting. * @type {string} * @memberof DownloadSort */ field?: DownloadSortFieldEnum; /** * Direction of a sort. * @type {string} * @memberof DownloadSort */ direction?: DownloadSortDirectionEnum; } /** * @export */ export declare const DownloadSortFieldEnum: { readonly fileName: "fileName"; readonly projectName: "projectName"; readonly synId: "synId"; readonly versionNumber: "versionNumber"; readonly addedOn: "addedOn"; readonly createdBy: "createdBy"; readonly createdOn: "createdOn"; readonly fileSize: "fileSize"; readonly isEligibleForPackaging: "isEligibleForPackaging"; }; export type DownloadSortFieldEnum = typeof DownloadSortFieldEnum[keyof typeof DownloadSortFieldEnum]; /** * @export */ export declare const DownloadSortDirectionEnum: { readonly ASC: "ASC"; readonly DESC: "DESC"; }; export type DownloadSortDirectionEnum = typeof DownloadSortDirectionEnum[keyof typeof DownloadSortDirectionEnum]; /** * Check if a given object implements the DownloadSort interface. */ export declare function instanceOfDownloadSort(value: object): value is DownloadSort; export declare function DownloadSortFromJSON(json: any): DownloadSort; export declare function DownloadSortFromJSONTyped(json: any, ignoreDiscriminator: boolean): DownloadSort; export declare function DownloadSortToJSON(json: any): DownloadSort; export declare function DownloadSortToJSONTyped(value?: DownloadSort | null, ignoreDiscriminator?: boolean): any;