/** * 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 type { CellValueFilter } from './CellValueFilter'; import type { RowIdFilter } from './RowIdFilter'; import type { RowIsValidFilter } from './RowIsValidFilter'; import type { RowSelectionFilter } from './RowSelectionFilter'; import type { RowValidationResultFilter } from './RowValidationResultFilter'; /** * @type Filter * There are five different types of filters that can be applied to a grid query. For example, a filter to find all rows where column named: 'someInt' has a value greater than 12, the following filter would be used:[{"concreteType":"org.sagebionetworks.repo.model.grid.query.CellValueFilter","columnName":"someInt","operator":"GREATER_THAN","value":[12]}]. In order to find all rows with a JSON schema validation error use the following filter: [{"concreteType":"org.sagebionetworks.repo.model.grid.query.RowIsValidFilter","value":false}]. In order to find all rows with JSON schema validation error message that indicates the wrong type was provided, you could use the filter: [{"concreteType":"org.sagebionetworks.repo.model.grid.query.RowValidationResultFilter","operator":"LIKE","validationResultValue":"%expected type%"}]. In order to find all rows that are currently selected by the user, you would use the following filter: [{"concreteType":"org.sagebionetworks.repo.model.grid.query.RowSelectionFilter","isSelected":true}]. * @export */ export type Filter = { concreteType: 'org.sagebionetworks.repo.model.grid.query.CellValueFilter'; } & CellValueFilter | { concreteType: 'org.sagebionetworks.repo.model.grid.query.RowIdFilter'; } & RowIdFilter | { concreteType: 'org.sagebionetworks.repo.model.grid.query.RowIsValidFilter'; } & RowIsValidFilter | { concreteType: 'org.sagebionetworks.repo.model.grid.query.RowSelectionFilter'; } & RowSelectionFilter | { concreteType: 'org.sagebionetworks.repo.model.grid.query.RowValidationResultFilter'; } & RowValidationResultFilter; export declare function FilterFromJSON(json: any): Filter; export declare function FilterFromJSONTyped(json: any, ignoreDiscriminator: boolean): Filter; export declare function FilterToJSON(json: any): any; export declare function FilterToJSONTyped(value?: Filter | null, ignoreDiscriminator?: boolean): any;