/* 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 { S3FileHandleFromJSON, S3FileHandleToJSON, } from './S3FileHandle';
/**
 * Check if a given object implements the RemoteFilePreviewGenerationRequest interface.
 */
export function instanceOfRemoteFilePreviewGenerationRequest(value) {
    return true;
}
export function RemoteFilePreviewGenerationRequestFromJSON(json) {
    return RemoteFilePreviewGenerationRequestFromJSONTyped(json, false);
}
export function RemoteFilePreviewGenerationRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'source': json['source'] == null ? undefined : S3FileHandleFromJSON(json['source']),
        'destination': json['destination'] == null ? undefined : S3FileHandleFromJSON(json['destination']),
    };
}
export function RemoteFilePreviewGenerationRequestToJSON(json) {
    return RemoteFilePreviewGenerationRequestToJSONTyped(json, false);
}
export function RemoteFilePreviewGenerationRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'source': S3FileHandleToJSON(value['source']),
        'destination': S3FileHandleToJSON(value['destination']),
    };
}
//# sourceMappingURL=RemoteFilePreviewGenerationRequest.js.map