/** * 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 { ExternalS3UploadDestination } from './ExternalS3UploadDestination'; import type { S3UploadDestination } from './S3UploadDestination'; /** * @type BaseKeyUploadDestination * An upload destination with an optional base key * @export */ export type BaseKeyUploadDestination = { concreteType: 'org.sagebionetworks.repo.model.file.ExternalGoogleCloudUploadDestination'; } & ExternalGoogleCloudUploadDestination | { concreteType: 'org.sagebionetworks.repo.model.file.ExternalS3UploadDestination'; } & ExternalS3UploadDestination | { concreteType: 'org.sagebionetworks.repo.model.file.S3UploadDestination'; } & S3UploadDestination; export declare function BaseKeyUploadDestinationFromJSON(json: any): BaseKeyUploadDestination; export declare function BaseKeyUploadDestinationFromJSONTyped(json: any, ignoreDiscriminator: boolean): BaseKeyUploadDestination; export declare function BaseKeyUploadDestinationToJSON(json: any): any; export declare function BaseKeyUploadDestinationToJSONTyped(value?: BaseKeyUploadDestination | null, ignoreDiscriminator?: boolean): any;