Class BetaFileSearchTool.Filters.CompoundFilter.Builder
-
- All Implemented Interfaces:
public final class BetaFileSearchTool.Filters.CompoundFilter.BuilderA builder for CompoundFilter.
-
-
Method Summary
-
-
Method Detail
-
filters
final BetaFileSearchTool.Filters.CompoundFilter.Builder filters(List<BetaFileSearchTool.Filters.CompoundFilter.Filter> filters)
Array of filters to combine. Items can be
ComparisonFilterorCompoundFilter.
-
filters
final BetaFileSearchTool.Filters.CompoundFilter.Builder filters(JsonField<List<BetaFileSearchTool.Filters.CompoundFilter.Filter>> filters)
Sets Builder.filters to an arbitrary JSON value.
You should usually call Builder.filters with a well-typed
List<Filter>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addFilter
final BetaFileSearchTool.Filters.CompoundFilter.Builder addFilter(BetaFileSearchTool.Filters.CompoundFilter.Filter filter)
-
addFilter
final BetaFileSearchTool.Filters.CompoundFilter.Builder addFilter(BetaFileSearchTool.Filters.CompoundFilter.Filter.ComparisonFilter comparison)
Alias for calling addFilter with
Filter.ofComparison(comparison).
-
addFilter
final BetaFileSearchTool.Filters.CompoundFilter.Builder addFilter(JsonValue jsonValue)
Alias for calling addFilter with
Filter.ofJsonValue(jsonValue).
-
type
final BetaFileSearchTool.Filters.CompoundFilter.Builder type(BetaFileSearchTool.Filters.CompoundFilter.Type type)
Type of operation:
andoror.
-
type
final BetaFileSearchTool.Filters.CompoundFilter.Builder type(JsonField<BetaFileSearchTool.Filters.CompoundFilter.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaFileSearchTool.Filters.CompoundFilter.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaFileSearchTool.Filters.CompoundFilter.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaFileSearchTool.Filters.CompoundFilter.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaFileSearchTool.Filters.CompoundFilter.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaFileSearchTool.Filters.CompoundFilter.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaFileSearchTool.Filters.CompoundFilter build()
Returns an immutable instance of CompoundFilter.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.filters() .type()
-
-
-
-