Package com.openai.models
Class CompoundFilter
-
- All Implemented Interfaces:
public final class CompoundFilter
Combine multiple filters using
and
oror
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
CompoundFilter.Builder
A builder for CompoundFilter.
public final class
CompoundFilter.Filter
A filter used to compare a specified attribute key to a given value using a defined comparison operation.
public final class
CompoundFilter.Type
Type of operation:
and
oror
.
-
Method Summary
Modifier and Type Method Description final List<CompoundFilter.Filter>
filters()
Array of filters to combine. final CompoundFilter.Type
type()
Type of operation: and
oror
.final JsonField<List<CompoundFilter.Filter>>
_filters()
Returns the raw JSON value of filters. final JsonField<CompoundFilter.Type>
_type()
Returns the raw JSON value of type. final Map<String, JsonValue>
_additionalProperties()
final CompoundFilter.Builder
toBuilder()
final CompoundFilter
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static CompoundFilter.Builder
builder()
Returns a mutable builder for constructing an instance of CompoundFilter. -
-
Method Detail
-
filters
final List<CompoundFilter.Filter> filters()
Array of filters to combine. Items can be
ComparisonFilter
orCompoundFilter
.
-
type
final CompoundFilter.Type type()
Type of operation:
and
oror
.
-
_filters
final JsonField<List<CompoundFilter.Filter>> _filters()
Returns the raw JSON value of filters.
Unlike filters, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<CompoundFilter.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CompoundFilter.Builder toBuilder()
-
validate
final CompoundFilter validate()
-
builder
final static CompoundFilter.Builder builder()
Returns a mutable builder for constructing an instance of CompoundFilter.
The following fields are required:
.filters() .type()
-
-
-
-