/* 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 CellValueFilterConcreteTypeEnum = {
    org_sagebionetworks_repo_model_grid_query_CellValueFilter: 'org.sagebionetworks.repo.model.grid.query.CellValueFilter'
};
/**
 * @export
 */
export const CellValueFilterOperatorEnum = {
    EQUALS: 'EQUALS',
    NOT_EQUALS: 'NOT_EQUALS',
    GREATER_THAN: 'GREATER_THAN',
    LESS_THAN: 'LESS_THAN',
    GREATER_THAN_OR_EQUALS: 'GREATER_THAN_OR_EQUALS',
    LESS_THAN_OR_EQUALS: 'LESS_THAN_OR_EQUALS',
    IN: 'IN',
    NOT_IN: 'NOT_IN',
    LIKE: 'LIKE',
    NOT_LIKE: 'NOT_LIKE',
    IS_NULL: 'IS_NULL',
    IS_NOT_NULL: 'IS_NOT_NULL',
    IS_UNDEFINED: 'IS_UNDEFINED',
    IS_DEFINED: 'IS_DEFINED'
};
/**
 * Check if a given object implements the CellValueFilter interface.
 */
export function instanceOfCellValueFilter(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(CellValueFilterConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function CellValueFilterFromJSON(json) {
    return CellValueFilterFromJSONTyped(json, false);
}
export function CellValueFilterFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'columnName': json['columnName'] == null ? undefined : json['columnName'],
        'operator': json['operator'] == null ? undefined : json['operator'],
        'value': json['value'] == null ? undefined : json['value'],
    };
}
export function CellValueFilterToJSON(json) {
    return CellValueFilterToJSONTyped(json, false);
}
export function CellValueFilterToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'columnName': value['columnName'],
        'operator': value['operator'],
        'value': value['value'],
    };
}
//# sourceMappingURL=CellValueFilter.js.map