/* 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 { FileResultFromJSON, FileResultToJSON, } from './FileResult';
/**
 * Check if a given object implements the BatchFileResult interface.
 */
export function instanceOfBatchFileResult(value) {
    return true;
}
export function BatchFileResultFromJSON(json) {
    return BatchFileResultFromJSONTyped(json, false);
}
export function BatchFileResultFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'requestedFiles': json['requestedFiles'] == null ? undefined : (json['requestedFiles'].map(FileResultFromJSON)),
    };
}
export function BatchFileResultToJSON(json) {
    return BatchFileResultToJSONTyped(json, false);
}
export function BatchFileResultToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'requestedFiles': value['requestedFiles'] == null ? undefined : (value['requestedFiles'].map(FileResultToJSON)),
    };
}
//# sourceMappingURL=BatchFileResult.js.map