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