/* tslint:disable */
/* eslint-disable */
/**
 * 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.
 */
/**
 * @export
 */
export const FileHandleRestoreResultStatusEnum = {
    NOT_FOUND: 'NOT_FOUND',
    UNAUTHORIZED: 'UNAUTHORIZED',
    FAILED: 'FAILED',
    NO_ACTION: 'NO_ACTION',
    RESTORED: 'RESTORED',
    RESTORING: 'RESTORING'
};
/**
 * Check if a given object implements the FileHandleRestoreResult interface.
 */
export function instanceOfFileHandleRestoreResult(value) {
    return true;
}
export function FileHandleRestoreResultFromJSON(json) {
    return FileHandleRestoreResultFromJSONTyped(json, false);
}
export function FileHandleRestoreResultFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'fileHandleId': json['fileHandleId'] == null ? undefined : json['fileHandleId'],
        'status': json['status'] == null ? undefined : json['status'],
        'statusMessage': json['statusMessage'] == null ? undefined : json['statusMessage'],
    };
}
export function FileHandleRestoreResultToJSON(json) {
    return FileHandleRestoreResultToJSONTyped(json, false);
}
export function FileHandleRestoreResultToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'fileHandleId': value['fileHandleId'],
        'status': value['status'],
        'statusMessage': value['statusMessage'],
    };
}
//# sourceMappingURL=FileHandleRestoreResult.js.map