/** * 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 { EnableTwoFa } from './EnableTwoFa'; import type { MeetAccessRequirement } from './MeetAccessRequirement'; import type { RequestDownload } from './RequestDownload'; /** * @type Action * An action that the user must take in order to download a file. * @export */ export type Action = { concreteType: 'org.sagebionetworks.repo.model.download.EnableTwoFa'; } & EnableTwoFa | { concreteType: 'org.sagebionetworks.repo.model.download.MeetAccessRequirement'; } & MeetAccessRequirement | { concreteType: 'org.sagebionetworks.repo.model.download.RequestDownload'; } & RequestDownload; export declare function ActionFromJSON(json: any): Action; export declare function ActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Action; export declare function ActionToJSON(json: any): any; export declare function ActionToJSONTyped(value?: Action | null, ignoreDiscriminator?: boolean): any;