# FilterGroup

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

## Fields
- `logic` ([FilterLogic](https://devportal.demo.winkpg.io/docs/api/models/FilterLogic.md))
  Values:
  - `And`
  - `Or`
- `rules` (array<[FilterRule](https://devportal.demo.winkpg.io/docs/api/models/FilterRule.md)>): (nullable)
  Fields of each item:
  - `field` (string): (nullable)
  - `operator` ([DataFilterOperator](https://devportal.demo.winkpg.io/docs/api/models/DataFilterOperator.md)): Defines the set of supported operators used to build filter expressions for querying data.
    Values:
    - `Equals`
    - `NotEquals`
    - `Contains`
    - `StartsWith`
    - `EndsWith`
    - `GreaterThan`
    - `GreaterThanOrEqual`
    - `LessThan`
    - `LessThanOrEqual`
    - `IsNull`
    - `IsNotNull`
  - `value` (object): The value the rule compares against, coerced to the target column's type when the predicate is  built. Declared `object?` so one rule shape serves every column type. (nullable)
  - `caseInsensitive` (boolean): When true, string comparison operators (Equals, StartsWith, Contains, EndsWith)  compare case-insensitively. String comparisons are case-sensitive by default.
- `groups` (array<[FilterGroup](https://devportal.demo.winkpg.io/docs/api/models/FilterGroup.md)>): (nullable)

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
