/* 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.
 */
/**
 * @export
 */
export const TableRowChangeChangeTypeEnum = {
    ROW: 'ROW',
    COLUMN: 'COLUMN',
    SEARCH: 'SEARCH'
};
/**
 * Check if a given object implements the TableRowChange interface.
 */
export function instanceOfTableRowChange(value) {
    return true;
}
export function TableRowChangeFromJSON(json) {
    return TableRowChangeFromJSONTyped(json, false);
}
export function TableRowChangeFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'tableId': json['tableId'] == null ? undefined : json['tableId'],
        'rowVersion': json['rowVersion'] == null ? undefined : json['rowVersion'],
        'etag': json['etag'] == null ? undefined : json['etag'],
        'createdOn': json['createdOn'] == null ? undefined : json['createdOn'],
        'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
        'bucket': json['bucket'] == null ? undefined : json['bucket'],
        'keyNew': json['keyNew'] == null ? undefined : json['keyNew'],
        'rowCount': json['rowCount'] == null ? undefined : json['rowCount'],
        'changeType': json['changeType'] == null ? undefined : json['changeType'],
        'transactionId': json['transactionId'] == null ? undefined : json['transactionId'],
        'hasFileRefs': json['hasFileRefs'] == null ? undefined : json['hasFileRefs'],
        'isSearchEnabled': json['isSearchEnabled'] == null ? undefined : json['isSearchEnabled'],
    };
}
export function TableRowChangeToJSON(json) {
    return TableRowChangeToJSONTyped(json, false);
}
export function TableRowChangeToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'tableId': value['tableId'],
        'rowVersion': value['rowVersion'],
        'etag': value['etag'],
        'createdOn': value['createdOn'],
        'createdBy': value['createdBy'],
        'bucket': value['bucket'],
        'keyNew': value['keyNew'],
        'rowCount': value['rowCount'],
        'changeType': value['changeType'],
        'transactionId': value['transactionId'],
        'hasFileRefs': value['hasFileRefs'],
        'isSearchEnabled': value['isSearchEnabled'],
    };
}
//# sourceMappingURL=TableRowChange.js.map