Class ResponseFunctionWebSearch.Builder
-
- All Implemented Interfaces:
public final class ResponseFunctionWebSearch.Builder
A builder for ResponseFunctionWebSearch.
-
-
Method Summary
-
-
Method Detail
-
id
final ResponseFunctionWebSearch.Builder id(String id)
The unique ID of the web search tool call.
-
id
final ResponseFunctionWebSearch.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final ResponseFunctionWebSearch.Builder status(ResponseFunctionWebSearch.Status status)
The status of the web search tool call.
-
status
final ResponseFunctionWebSearch.Builder status(JsonField<ResponseFunctionWebSearch.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ResponseFunctionWebSearch.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("web_search_call")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseFunctionWebSearch.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseFunctionWebSearch.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseFunctionWebSearch.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseFunctionWebSearch.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseFunctionWebSearch.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseFunctionWebSearch build()
Returns an immutable instance of ResponseFunctionWebSearch.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .status()
-
-
-
-