/* 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 RowSelectionFilterConcreteTypeEnum = {
    org_sagebionetworks_repo_model_grid_query_RowSelectionFilter: 'org.sagebionetworks.repo.model.grid.query.RowSelectionFilter'
};
/**
 * Check if a given object implements the RowSelectionFilter interface.
 */
export function instanceOfRowSelectionFilter(value) {
    if (!('concreteType' in value) || value['concreteType'] === undefined)
        return false;
    if (!Object.values(RowSelectionFilterConcreteTypeEnum).includes(value["concreteType"])) {
        return false;
    }
    return true;
}
export function RowSelectionFilterFromJSON(json) {
    return RowSelectionFilterFromJSONTyped(json, false);
}
export function RowSelectionFilterFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'concreteType': json['concreteType'],
        'isSelected': json['isSelected'] == null ? undefined : json['isSelected'],
    };
}
export function RowSelectionFilterToJSON(json) {
    return RowSelectionFilterToJSONTyped(json, false);
}
export function RowSelectionFilterToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'concreteType': value['concreteType'],
        'isSelected': value['isSelected'],
    };
}
//# sourceMappingURL=RowSelectionFilter.js.map