Package com.openai.models.responses
Class ResponseFunctionWebSearch.Action.Search.Builder
-
- All Implemented Interfaces:
public final class ResponseFunctionWebSearch.Action.Search.Builder
A builder for Search.
-
-
Method Summary
-
-
Method Detail
-
query
final ResponseFunctionWebSearch.Action.Search.Builder query(String query)
The search query.
-
query
final ResponseFunctionWebSearch.Action.Search.Builder query(JsonField<String> query)
Sets Builder.query to an arbitrary JSON value.
You should usually call Builder.query with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ResponseFunctionWebSearch.Action.Search.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("search")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseFunctionWebSearch.Action.Search.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseFunctionWebSearch.Action.Search.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseFunctionWebSearch.Action.Search.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseFunctionWebSearch.Action.Search.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseFunctionWebSearch.Action.Search.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseFunctionWebSearch.Action.Search build()
Returns an immutable instance of Search.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.query()
-
-
-
-