/* 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 { SparseRowDtoFromJSON, SparseRowDtoToJSON, } from './SparseRowDto';
/**
 * Check if a given object implements the SparseChangeSetDto interface.
 */
export function instanceOfSparseChangeSetDto(value) {
    return true;
}
export function SparseChangeSetDtoFromJSON(json) {
    return SparseChangeSetDtoFromJSONTyped(json, false);
}
export function SparseChangeSetDtoFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'tableId': json['tableId'] == null ? undefined : json['tableId'],
        'etag': json['etag'] == null ? undefined : json['etag'],
        'columnIds': json['columnIds'] == null ? undefined : json['columnIds'],
        'rows': json['rows'] == null ? undefined : (json['rows'].map(SparseRowDtoFromJSON)),
    };
}
export function SparseChangeSetDtoToJSON(json) {
    return SparseChangeSetDtoToJSONTyped(json, false);
}
export function SparseChangeSetDtoToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'tableId': value['tableId'],
        'etag': value['etag'],
        'columnIds': value['columnIds'],
        'rows': value['rows'] == null ? undefined : (value['rows'].map(SparseRowDtoToJSON)),
    };
}
//# sourceMappingURL=SparseChangeSetDto.js.map