/* 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 TableSearchChangeRequestConcreteTypeEnum = {
    org_sagebionetworks_repo_model_table_TableSearchChangeRequest: 'org.sagebionetworks.repo.model.table.TableSearchChangeRequest'
};
/**
 * Check if a given object implements the TableSearchChangeRequest interface.
 */
export function instanceOfTableSearchChangeRequest(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(TableSearchChangeRequestConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function TableSearchChangeRequestFromJSON(json) {
    return TableSearchChangeRequestFromJSONTyped(json, false);
}
export function TableSearchChangeRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'entityId': json['entityId'] == null ? undefined : json['entityId'],
        'searchEnabled': json['searchEnabled'] == null ? undefined : json['searchEnabled'],
    };
}
export function TableSearchChangeRequestToJSON(json) {
    return TableSearchChangeRequestToJSONTyped(json, false);
}
export function TableSearchChangeRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'entityId': value['entityId'],
        'searchEnabled': value['searchEnabled'],
    };
}
//# sourceMappingURL=TableSearchChangeRequest.js.map