/* 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 { RowReferenceFromJSON, RowReferenceToJSON, } from './RowReference';
import { TableSelectColumnFromJSON, TableSelectColumnToJSON, } from './TableSelectColumn';
/**
 * Check if a given object implements the RowReferenceSet interface.
 */
export function instanceOfRowReferenceSet(value) {
    return true;
}
export function RowReferenceSetFromJSON(json) {
    return RowReferenceSetFromJSONTyped(json, false);
}
export function RowReferenceSetFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'tableId': json['tableId'] == null ? undefined : json['tableId'],
        'etag': json['etag'] == null ? undefined : json['etag'],
        'headers': json['headers'] == null ? undefined : (json['headers'].map(TableSelectColumnFromJSON)),
        'rows': json['rows'] == null ? undefined : (json['rows'].map(RowReferenceFromJSON)),
    };
}
export function RowReferenceSetToJSON(json) {
    return RowReferenceSetToJSONTyped(json, false);
}
export function RowReferenceSetToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'tableId': value['tableId'],
        'etag': value['etag'],
        'headers': value['headers'] == null ? undefined : (value['headers'].map(TableSelectColumnToJSON)),
        'rows': value['rows'] == null ? undefined : (value['rows'].map(RowReferenceToJSON)),
    };
}
//# sourceMappingURL=RowReferenceSet.js.map