/* 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 { UpdateFromJSON, UpdateToJSON, } from './Update';
/**
 * Check if a given object implements the UpdateBatch interface.
 */
export function instanceOfUpdateBatch(value) {
    return true;
}
export function UpdateBatchFromJSON(json) {
    return UpdateBatchFromJSONTyped(json, false);
}
export function UpdateBatchFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'batch': json['batch'] == null ? undefined : (json['batch'].map(UpdateFromJSON)),
    };
}
export function UpdateBatchToJSON(json) {
    return UpdateBatchToJSONTyped(json, false);
}
export function UpdateBatchToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'batch': value['batch'] == null ? undefined : (value['batch'].map(UpdateToJSON)),
    };
}
//# sourceMappingURL=UpdateBatch.js.map