/* 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.
 */
import { FileHandleAssociationFromJSON, FileHandleAssociationToJSON, } from './FileHandleAssociation';
/**
 * Check if a given object implements the FileHandleCopyRequest interface.
 */
export function instanceOfFileHandleCopyRequest(value) {
    return true;
}
export function FileHandleCopyRequestFromJSON(json) {
    return FileHandleCopyRequestFromJSONTyped(json, false);
}
export function FileHandleCopyRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'originalFile': json['originalFile'] == null ? undefined : FileHandleAssociationFromJSON(json['originalFile']),
        'newFileName': json['newFileName'] == null ? undefined : json['newFileName'],
        'newContentType': json['newContentType'] == null ? undefined : json['newContentType'],
    };
}
export function FileHandleCopyRequestToJSON(json) {
    return FileHandleCopyRequestToJSONTyped(json, false);
}
export function FileHandleCopyRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'originalFile': FileHandleAssociationToJSON(value['originalFile']),
        'newFileName': value['newFileName'],
        'newContentType': value['newContentType'],
    };
}
//# sourceMappingURL=FileHandleCopyRequest.js.map