/** * 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 { ProjectStorageLocationUsage } from './ProjectStorageLocationUsage'; /** * This upload destination contains information to start an upload to an SFTP or HTTPS destination. The destination is mapped from an ExternalStorageLocationSetting. * @export * @interface ExternalUploadDestination */ export interface ExternalUploadDestination { /** * Indicates which implementation this object represents. * @type {string} * @memberof ExternalUploadDestination */ concreteType: ExternalUploadDestinationConcreteTypeEnum; /** * the unique id for the storage location, that points to the StorageLocationSetting * @type {number} * @memberof ExternalUploadDestination */ storageLocationId?: number; /** * The enumeration of possible upload types. * @type {string} * @memberof ExternalUploadDestination */ uploadType?: ExternalUploadDestinationUploadTypeEnum; /** * If set, the client should show this banner every time an upload is initiated * @type {string} * @memberof ExternalUploadDestination */ banner?: string; /** * The ID of the project where this file will be uploaded. * @type {string} * @memberof ExternalUploadDestination */ destinationProjectId?: string; /** * * @type {ProjectStorageLocationUsage} * @memberof ExternalUploadDestination */ projectStorageLocationUsage?: ProjectStorageLocationUsage; /** * the generated file URL for uploading to the external destination * @type {string} * @memberof ExternalUploadDestination */ url?: string; } /** * @export */ export declare const ExternalUploadDestinationConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_file_ExternalUploadDestination: "org.sagebionetworks.repo.model.file.ExternalUploadDestination"; }; export type ExternalUploadDestinationConcreteTypeEnum = typeof ExternalUploadDestinationConcreteTypeEnum[keyof typeof ExternalUploadDestinationConcreteTypeEnum]; /** * @export */ export declare const ExternalUploadDestinationUploadTypeEnum: { readonly S3: "S3"; readonly GOOGLECLOUDSTORAGE: "GOOGLECLOUDSTORAGE"; readonly SFTP: "SFTP"; readonly HTTPS: "HTTPS"; readonly PROXYLOCAL: "PROXYLOCAL"; readonly NONE: "NONE"; }; export type ExternalUploadDestinationUploadTypeEnum = typeof ExternalUploadDestinationUploadTypeEnum[keyof typeof ExternalUploadDestinationUploadTypeEnum]; /** * Check if a given object implements the ExternalUploadDestination interface. */ export declare function instanceOfExternalUploadDestination(value: object): value is ExternalUploadDestination; export declare function ExternalUploadDestinationFromJSON(json: any): ExternalUploadDestination; export declare function ExternalUploadDestinationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExternalUploadDestination; export declare function ExternalUploadDestinationToJSON(json: any): ExternalUploadDestination; export declare function ExternalUploadDestinationToJSONTyped(value?: ExternalUploadDestination | null, ignoreDiscriminator?: boolean): any;