/* 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 { UpdateBatchFromJSON, UpdateBatchToJSON, } from './UpdateBatch';
/**
 * Check if a given object implements the GridUpdateRequest interface.
 */
export function instanceOfGridUpdateRequest(value) {
    return true;
}
export function GridUpdateRequestFromJSON(json) {
    return GridUpdateRequestFromJSONTyped(json, false);
}
export function GridUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'update': json['update'] == null ? undefined : UpdateBatchFromJSON(json['update']),
    };
}
export function GridUpdateRequestToJSON(json) {
    return GridUpdateRequestToJSONTyped(json, false);
}
export function GridUpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'update': UpdateBatchToJSON(value['update']),
    };
}
//# sourceMappingURL=GridUpdateRequest.js.map