/** * 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. */ /** * In order to download a one or more files, the user will need to be granted the 'DOWNLOAD' permission. * @export * @interface RequestDownload */ export interface RequestDownload { /** * * @type {string} * @memberof RequestDownload */ concreteType: RequestDownloadConcreteTypeEnum; /** * The benefactor is the ID of the Entity with the ACL that controls access to one or more files. * @type {number} * @memberof RequestDownload */ benefactorId?: number; } /** * @export */ export declare const RequestDownloadConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_download_RequestDownload: "org.sagebionetworks.repo.model.download.RequestDownload"; }; export type RequestDownloadConcreteTypeEnum = typeof RequestDownloadConcreteTypeEnum[keyof typeof RequestDownloadConcreteTypeEnum]; /** * Check if a given object implements the RequestDownload interface. */ export declare function instanceOfRequestDownload(value: object): value is RequestDownload; export declare function RequestDownloadFromJSON(json: any): RequestDownload; export declare function RequestDownloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestDownload; export declare function RequestDownloadToJSON(json: any): RequestDownload; export declare function RequestDownloadToJSONTyped(value?: RequestDownload | null, ignoreDiscriminator?: boolean): any;