/** * 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 { ExternalGoogleCloudUploadDestination } from './ExternalGoogleCloudUploadDestination'; import type { ExternalObjectStoreUploadDestination } from './ExternalObjectStoreUploadDestination'; import type { ExternalS3UploadDestination } from './ExternalS3UploadDestination'; import type { ExternalUploadDestination } from './ExternalUploadDestination'; import type { S3UploadDestination } from './S3UploadDestination'; /** * @type UploadDestination * The upload destination contains information to start an upload of a file generated according to the underlying StorageLocationSetting. * @export */ export type UploadDestination = { concreteType: 'org.sagebionetworks.repo.model.file.ExternalGoogleCloudUploadDestination'; } & ExternalGoogleCloudUploadDestination | { concreteType: 'org.sagebionetworks.repo.model.file.ExternalObjectStoreUploadDestination'; } & ExternalObjectStoreUploadDestination | { concreteType: 'org.sagebionetworks.repo.model.file.ExternalS3UploadDestination'; } & ExternalS3UploadDestination | { concreteType: 'org.sagebionetworks.repo.model.file.ExternalUploadDestination'; } & ExternalUploadDestination | { concreteType: 'org.sagebionetworks.repo.model.file.S3UploadDestination'; } & S3UploadDestination; export declare function UploadDestinationFromJSON(json: any): UploadDestination; export declare function UploadDestinationFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadDestination; export declare function UploadDestinationToJSON(json: any): any; export declare function UploadDestinationToJSONTyped(value?: UploadDestination | null, ignoreDiscriminator?: boolean): any;