Class FilterConfig
-
- All Implemented Interfaces:
public final class FilterConfigA filter rule that can be either a single condition (with path/value) or a nested group (with filters array). Use comparison operators (EQ, GT, etc.) for single conditions, and logical operators (AND, OR) for nested groups.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFilterConfig.BuilderA builder for FilterConfig.
-
Method Summary
Modifier and Type Method Description final Stringoperator()The operator for this filter. final Optional<List<FilterConfig>>filters()Nested filter rules to combine with AND/OR. final Optional<String>path()The attribute path from the user profile to filter on. final Optional<String>value()The value to compare against. final JsonField<String>_operator()Returns the raw JSON value of operator. final JsonField<List<FilterConfig>>_filters()Returns the raw JSON value of filters. final JsonField<String>_path()Returns the raw JSON value of path. final JsonField<String>_value()Returns the raw JSON value of value. final Map<String, JsonValue>_additionalProperties()final FilterConfig.BuildertoBuilder()final FilterConfigvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FilterConfig.Builderbuilder()Returns a mutable builder for constructing an instance of FilterConfig. -
-
Method Detail
-
operator
final String operator()
The operator for this filter. Use comparison operators (EQ, GT, LT, GTE, LTE, NEQ, EXISTS, INCLUDES, STARTS_WITH, ENDS_WITH, IS_BEFORE, IS_AFTER, OMIT) for single conditions, or logical operators (AND, OR) for nested filter groups.
-
filters
final Optional<List<FilterConfig>> filters()
Nested filter rules to combine with AND/OR. Required for nested filter groups, not used for single filter conditions.
-
path
final Optional<String> path()
The attribute path from the user profile to filter on. Required for single filter conditions, not used for nested filter groups.
-
value
final Optional<String> value()
The value to compare against. Required for single filter conditions, not used for nested filter groups.
-
_operator
final JsonField<String> _operator()
Returns the raw JSON value of operator.
Unlike operator, this method doesn't throw if the JSON field has an unexpected type.
-
_filters
final JsonField<List<FilterConfig>> _filters()
Returns the raw JSON value of filters.
Unlike filters, this method doesn't throw if the JSON field has an unexpected type.
-
_path
final JsonField<String> _path()
Returns the raw JSON value of path.
Unlike path, this method doesn't throw if the JSON field has an unexpected type.
-
_value
final JsonField<String> _value()
Returns the raw JSON value of value.
Unlike value, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FilterConfig.Builder toBuilder()
-
validate
final FilterConfig validate()
-
builder
final static FilterConfig.Builder builder()
Returns a mutable builder for constructing an instance of FilterConfig.
The following fields are required:
.operator()
-
-
-
-