/* 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 { ColumnModelFromJSON, ColumnModelToJSON, } from './ColumnModel';
/**
 * Check if a given object implements the TableBundle interface.
 */
export function instanceOfTableBundle(value) {
    return true;
}
export function TableBundleFromJSON(json) {
    return TableBundleFromJSONTyped(json, false);
}
export function TableBundleFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'columnModels': json['columnModels'] == null ? undefined : (json['columnModels'].map(ColumnModelFromJSON)),
        'maxRowsPerPage': json['maxRowsPerPage'] == null ? undefined : json['maxRowsPerPage'],
    };
}
export function TableBundleToJSON(json) {
    return TableBundleToJSONTyped(json, false);
}
export function TableBundleToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'columnModels': value['columnModels'] == null ? undefined : (value['columnModels'].map(ColumnModelToJSON)),
        'maxRowsPerPage': value['maxRowsPerPage'],
    };
}
//# sourceMappingURL=TableBundle.js.map