Skip to content

FilterParameter

class in JsonApiToolkit.Models.Querying.Filtering

Single filter condition with field, operator, and value.

public class FilterParameter

Constructors

FilterParameter()

Properties

Field : string

Field to filter on.

Operator : FilterOperator

Comparison operator.

Value : string

Value to compare against.

IsIncludeFilter : bool

Indicates if this filter should be applied to included relationships (filtered includes) rather than filtering the primary resource. When true: filters what gets included (e.g., filter[rel][field][op]=value bracket syntax) When false: filters the primary resource, optionally navigating through relationships (dot notation)