/* 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 BatchFileRequest interface.
 */
export function instanceOfBatchFileRequest(value) {
    return true;
}
export function BatchFileRequestFromJSON(json) {
    return BatchFileRequestFromJSONTyped(json, false);
}
export function BatchFileRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'requestedFiles': json['requestedFiles'] == null ? undefined : (json['requestedFiles'].map(FileHandleAssociationFromJSON)),
        'includePreSignedURLs': json['includePreSignedURLs'] == null ? undefined : json['includePreSignedURLs'],
        'includeFileHandles': json['includeFileHandles'] == null ? undefined : json['includeFileHandles'],
        'includePreviewPreSignedURLs': json['includePreviewPreSignedURLs'] == null ? undefined : json['includePreviewPreSignedURLs'],
    };
}
export function BatchFileRequestToJSON(json) {
    return BatchFileRequestToJSONTyped(json, false);
}
export function BatchFileRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'requestedFiles': value['requestedFiles'] == null ? undefined : (value['requestedFiles'].map(FileHandleAssociationToJSON)),
        'includePreSignedURLs': value['includePreSignedURLs'],
        'includeFileHandles': value['includeFileHandles'],
        'includePreviewPreSignedURLs': value['includePreviewPreSignedURLs'],
    };
}
//# sourceMappingURL=BatchFileRequest.js.map