/** * 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 { FileHandle } from './FileHandle'; /** * Result of a FileHandleCopyRequest. * @export * @interface FileHandleCopyResult */ export interface FileHandleCopyResult { /** * * @type {FileHandle} * @memberof FileHandleCopyResult */ newFileHandle?: FileHandle; /** * The Id of the original FileHandle. * @type {string} * @memberof FileHandleCopyResult */ originalFileHandleId?: string; /** * Failure code for a files that cannot be copied. * @type {string} * @memberof FileHandleCopyResult */ failureCode?: FileHandleCopyResultFailureCodeEnum; } /** * @export */ export declare const FileHandleCopyResultFailureCodeEnum: { readonly NOT_FOUND: "NOT_FOUND"; readonly UNAUTHORIZED: "UNAUTHORIZED"; }; export type FileHandleCopyResultFailureCodeEnum = typeof FileHandleCopyResultFailureCodeEnum[keyof typeof FileHandleCopyResultFailureCodeEnum]; /** * Check if a given object implements the FileHandleCopyResult interface. */ export declare function instanceOfFileHandleCopyResult(value: object): value is FileHandleCopyResult; export declare function FileHandleCopyResultFromJSON(json: any): FileHandleCopyResult; export declare function FileHandleCopyResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileHandleCopyResult; export declare function FileHandleCopyResultToJSON(json: any): FileHandleCopyResult; export declare function FileHandleCopyResultToJSONTyped(value?: FileHandleCopyResult | null, ignoreDiscriminator?: boolean): any;