/* 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.
 */
/**
 * Check if a given object implements the FileHandleUpdateRequest interface.
 */
export function instanceOfFileHandleUpdateRequest(value) {
    return true;
}
export function FileHandleUpdateRequestFromJSON(json) {
    return FileHandleUpdateRequestFromJSONTyped(json, false);
}
export function FileHandleUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'oldFileHandleId': json['oldFileHandleId'] == null ? undefined : json['oldFileHandleId'],
        'newFileHandleId': json['newFileHandleId'] == null ? undefined : json['newFileHandleId'],
    };
}
export function FileHandleUpdateRequestToJSON(json) {
    return FileHandleUpdateRequestToJSONTyped(json, false);
}
export function FileHandleUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'oldFileHandleId': value['oldFileHandleId'],
        'newFileHandleId': value['newFileHandleId'],
    };
}
//# sourceMappingURL=FileHandleUpdateRequest.js.map