/* 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 RowValidationResultFilterConcreteTypeEnum = {
    org_sagebionetworks_repo_model_grid_query_RowValidationResultFilter: 'org.sagebionetworks.repo.model.grid.query.RowValidationResultFilter'
};
/**
 * @export
 */
export const RowValidationResultFilterOperatorEnum = {
    LIKE: 'LIKE',
    NOT_LIKE: 'NOT_LIKE'
};
/**
 * Check if a given object implements the RowValidationResultFilter interface.
 */
export function instanceOfRowValidationResultFilter(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(RowValidationResultFilterConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function RowValidationResultFilterFromJSON(json) {
    return RowValidationResultFilterFromJSONTyped(json, false);
}
export function RowValidationResultFilterFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'operator': json['operator'] == null ? undefined : json['operator'],
        'validationResultValue': json['validationResultValue'] == null ? undefined : json['validationResultValue'],
    };
}
export function RowValidationResultFilterToJSON(json) {
    return RowValidationResultFilterToJSONTyped(json, false);
}
export function RowValidationResultFilterToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'operator': value['operator'],
        'validationResultValue': value['validationResultValue'],
    };
}
//# sourceMappingURL=RowValidationResultFilter.js.map