/* 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 { TableUpdateResponseFromJSON, TableUpdateResponseToJSON, } from './TableUpdateResponse';
/**
 * @export
 */
export const TableUpdateTransactionResponseConcreteTypeEnum = {
    org_sagebionetworks_repo_model_table_TableUpdateTransactionResponse: 'org.sagebionetworks.repo.model.table.TableUpdateTransactionResponse'
};
/**
 * Check if a given object implements the TableUpdateTransactionResponse interface.
 */
export function instanceOfTableUpdateTransactionResponse(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(TableUpdateTransactionResponseConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function TableUpdateTransactionResponseFromJSON(json) {
    return TableUpdateTransactionResponseFromJSONTyped(json, false);
}
export function TableUpdateTransactionResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'results': json['results'] == null ? undefined : (json['results'].map(TableUpdateResponseFromJSON)),
        'snapshotVersionNumber': json['snapshotVersionNumber'] == null ? undefined : json['snapshotVersionNumber'],
    };
}
export function TableUpdateTransactionResponseToJSON(json) {
    return TableUpdateTransactionResponseToJSONTyped(json, false);
}
export function TableUpdateTransactionResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'results': value['results'] == null ? undefined : (value['results'].map(TableUpdateResponseToJSON)),
        'snapshotVersionNumber': value['snapshotVersionNumber'],
    };
}
//# sourceMappingURL=TableUpdateTransactionResponse.js.map