/** * 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. */ /** * This class refers only to the default Synapse storage location(s) that exist on Amazon S3. To create a storage location that refers to a private S3 bucket, see ExternalS3StorageLocationSetting. * @export * @interface S3StorageLocationSetting */ export interface S3StorageLocationSetting { /** * Indicates which implementation this object represents. * @type {string} * @memberof S3StorageLocationSetting */ concreteType: S3StorageLocationSettingConcreteTypeEnum; /** * The unique ID for this storage location * @type {number} * @memberof S3StorageLocationSetting */ storageLocationId?: number; /** * The enumeration of possible upload types. * @type {string} * @memberof S3StorageLocationSetting */ uploadType?: S3StorageLocationSettingUploadTypeEnum; /** * The banner text to display to a user every time a file is uploaded. This field is optional. * @type {string} * @memberof S3StorageLocationSetting */ banner?: string; /** * A description of the storage location. This description is shown when a user has to choose which upload destination to use. * @type {string} * @memberof S3StorageLocationSetting */ description?: string; /** * Synapse employs an Optimistic Concurrency Control (OCC) scheme to handle concurrent updates. Since the E-Tag changes every time a Project Setting is updated it is used to detect when a client's current representation of a Project Setting is out-of-date. * @type {string} * @memberof S3StorageLocationSetting */ etag?: string; /** * The date this storage location setting was created. * @type {string} * @memberof S3StorageLocationSetting */ createdOn?: string; /** * The ID of the user that created this storage location setting. * @type {number} * @memberof S3StorageLocationSetting */ createdBy?: number; /** * the optional base key, which acts as a prefix or a base folder * @type {string} * @memberof S3StorageLocationSetting */ baseKey?: string; /** * Enables STS on this Storage Location * @type {boolean} * @memberof S3StorageLocationSetting */ stsEnabled?: boolean; } /** * @export */ export declare const S3StorageLocationSettingConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_project_S3StorageLocationSetting: "org.sagebionetworks.repo.model.project.S3StorageLocationSetting"; }; export type S3StorageLocationSettingConcreteTypeEnum = typeof S3StorageLocationSettingConcreteTypeEnum[keyof typeof S3StorageLocationSettingConcreteTypeEnum]; /** * @export */ export declare const S3StorageLocationSettingUploadTypeEnum: { readonly S3: "S3"; readonly GOOGLECLOUDSTORAGE: "GOOGLECLOUDSTORAGE"; readonly SFTP: "SFTP"; readonly HTTPS: "HTTPS"; readonly PROXYLOCAL: "PROXYLOCAL"; readonly NONE: "NONE"; }; export type S3StorageLocationSettingUploadTypeEnum = typeof S3StorageLocationSettingUploadTypeEnum[keyof typeof S3StorageLocationSettingUploadTypeEnum]; /** * Check if a given object implements the S3StorageLocationSetting interface. */ export declare function instanceOfS3StorageLocationSetting(value: object): value is S3StorageLocationSetting; export declare function S3StorageLocationSettingFromJSON(json: any): S3StorageLocationSetting; export declare function S3StorageLocationSettingFromJSONTyped(json: any, ignoreDiscriminator: boolean): S3StorageLocationSetting; export declare function S3StorageLocationSettingToJSON(json: any): S3StorageLocationSetting; export declare function S3StorageLocationSettingToJSONTyped(value?: S3StorageLocationSetting | null, ignoreDiscriminator?: boolean): any;