/* 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 { DownloadListItemFromJSON, DownloadListItemToJSON, } from './DownloadListItem';
/**
 * Check if a given object implements the AddBatchOfFilesToDownloadListRequest interface.
 */
export function instanceOfAddBatchOfFilesToDownloadListRequest(value) {
    return true;
}
export function AddBatchOfFilesToDownloadListRequestFromJSON(json) {
    return AddBatchOfFilesToDownloadListRequestFromJSONTyped(json, false);
}
export function AddBatchOfFilesToDownloadListRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'batchToAdd': json['batchToAdd'] == null ? undefined : (json['batchToAdd'].map(DownloadListItemFromJSON)),
    };
}
export function AddBatchOfFilesToDownloadListRequestToJSON(json) {
    return AddBatchOfFilesToDownloadListRequestToJSONTyped(json, false);
}
export function AddBatchOfFilesToDownloadListRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'batchToAdd': value['batchToAdd'] == null ? undefined : (value['batchToAdd'].map(DownloadListItemToJSON)),
    };
}
//# sourceMappingURL=AddBatchOfFilesToDownloadListRequest.js.map