/** * 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'; /** * The upload destination contains information to start an upload to the default Synapse storage location that exists on Amazon S3. This destination is mapped from an S3StorageLocationSetting. * @export * @interface S3UploadDestination */ export interface S3UploadDestination { /** * Indicates which implementation this object represents. * @type {string} * @memberof S3UploadDestination */ concreteType: S3UploadDestinationConcreteTypeEnum; /** * the unique id for the storage location, that points to the StorageLocationSetting * @type {number} * @memberof S3UploadDestination */ storageLocationId?: number; /** * The enumeration of possible upload types. * @type {string} * @memberof S3UploadDestination */ uploadType?: S3UploadDestinationUploadTypeEnum; /** * If set, the client should show this banner every time an upload is initiated * @type {string} * @memberof S3UploadDestination */ banner?: string; /** * The ID of the project where this file will be uploaded. * @type {string} * @memberof S3UploadDestination */ destinationProjectId?: string; /** * * @type {ProjectStorageLocationUsage} * @memberof S3UploadDestination */ projectStorageLocationUsage?: ProjectStorageLocationUsage; /** * the optional base key, which acts as a prefix or a base folder * @type {string} * @memberof S3UploadDestination */ baseKey?: string; /** * Enables STS on this Storage Location * @type {boolean} * @memberof S3UploadDestination */ stsEnabled?: boolean; } /** * @export */ export declare const S3UploadDestinationConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_file_S3UploadDestination: "org.sagebionetworks.repo.model.file.S3UploadDestination"; }; export type S3UploadDestinationConcreteTypeEnum = typeof S3UploadDestinationConcreteTypeEnum[keyof typeof S3UploadDestinationConcreteTypeEnum]; /** * @export */ export declare const S3UploadDestinationUploadTypeEnum: { readonly S3: "S3"; readonly GOOGLECLOUDSTORAGE: "GOOGLECLOUDSTORAGE"; readonly SFTP: "SFTP"; readonly HTTPS: "HTTPS"; readonly PROXYLOCAL: "PROXYLOCAL"; readonly NONE: "NONE"; }; export type S3UploadDestinationUploadTypeEnum = typeof S3UploadDestinationUploadTypeEnum[keyof typeof S3UploadDestinationUploadTypeEnum]; /** * Check if a given object implements the S3UploadDestination interface. */ export declare function instanceOfS3UploadDestination(value: object): value is S3UploadDestination; export declare function S3UploadDestinationFromJSON(json: any): S3UploadDestination; export declare function S3UploadDestinationFromJSONTyped(json: any, ignoreDiscriminator: boolean): S3UploadDestination; export declare function S3UploadDestinationToJSON(json: any): S3UploadDestination; export declare function S3UploadDestinationToJSONTyped(value?: S3UploadDestination | null, ignoreDiscriminator?: boolean): any;