/** * 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. */ import type { TableQuery } from './TableQuery'; /** * Request to add either the children of a folder or the files of a view query to the user's download list. * @export * @interface AddFileToDownloadListRequest */ export interface AddFileToDownloadListRequest { /** * * @type {string} * @memberof AddFileToDownloadListRequest */ concreteType: AddFileToDownloadListRequestConcreteTypeEnum; /** * The ID of the folder containing the files to add to the user's download list. Note: Only the files in this folder will be added to the download list, files in sub-folders will not be added. Should be null if setting a 'query'. * @type {string} * @memberof AddFileToDownloadListRequest */ folderId?: string; /** * * @type {TableQuery} * @memberof AddFileToDownloadListRequest */ query?: TableQuery; } /** * @export */ export declare const AddFileToDownloadListRequestConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_file_AddFileToDownloadListRequest: "org.sagebionetworks.repo.model.file.AddFileToDownloadListRequest"; }; export type AddFileToDownloadListRequestConcreteTypeEnum = typeof AddFileToDownloadListRequestConcreteTypeEnum[keyof typeof AddFileToDownloadListRequestConcreteTypeEnum]; /** * Check if a given object implements the AddFileToDownloadListRequest interface. */ export declare function instanceOfAddFileToDownloadListRequest(value: object): value is AddFileToDownloadListRequest; export declare function AddFileToDownloadListRequestFromJSON(json: any): AddFileToDownloadListRequest; export declare function AddFileToDownloadListRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddFileToDownloadListRequest; export declare function AddFileToDownloadListRequestToJSON(json: any): AddFileToDownloadListRequest; export declare function AddFileToDownloadListRequestToJSONTyped(value?: AddFileToDownloadListRequest | null, ignoreDiscriminator?: boolean): any;