/** * 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. */ /** * The list of access methods that can be used to fetch the DrsObject. Required for single blobs and bundles have no access method. * @export * @interface AccessMethod */ export interface AccessMethod { /** * Type of the access method e.g https,ftp,gs etc.Currently only https is supported. * @type {string} * @memberof AccessMethod */ type?: AccessMethodTypeEnum; /** * The string to be passed to the /access method to get an AccessURL. This string must be unique within the scope of a single object. Note that at least one of access_url and access_id must be provided. When using a Synapse ID to fetch a DrsObject, access_id is generated by FileHandleAssociationType, syn_id and filehandle_id and concatenating them by '-'. e.g FileEntity_syn123.1_56789345. When using a file handle id to fetch a DrsObject, access_id is the file handle id. e.g 56789345 * @type {string} * @memberof AccessMethod */ access_id?: string; } /** * @export */ export declare const AccessMethodTypeEnum: { readonly https: "https"; }; export type AccessMethodTypeEnum = typeof AccessMethodTypeEnum[keyof typeof AccessMethodTypeEnum]; /** * Check if a given object implements the AccessMethod interface. */ export declare function instanceOfAccessMethod(value: object): value is AccessMethod; export declare function AccessMethodFromJSON(json: any): AccessMethod; export declare function AccessMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessMethod; export declare function AccessMethodToJSON(json: any): AccessMethod; export declare function AccessMethodToJSONTyped(value?: AccessMethod | null, ignoreDiscriminator?: boolean): any;