Package com.openai.models.responses
Class ResponseFunctionWebSearch.Action.OpenPage
-
- All Implemented Interfaces:
public final class ResponseFunctionWebSearch.Action.OpenPageAction type "open_page" - Opens a specific URL from search results.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseFunctionWebSearch.Action.OpenPage.BuilderA builder for OpenPage.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The action type. final Stringurl()The URL opened by the model. final JsonField<String>_url()Returns the raw JSON value of url. final Map<String, JsonValue>_additionalProperties()final ResponseFunctionWebSearch.Action.OpenPage.BuildertoBuilder()final ResponseFunctionWebSearch.Action.OpenPagevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseFunctionWebSearch.Action.OpenPage.Builderbuilder()Returns a mutable builder for constructing an instance of OpenPage. -
-
Method Detail
-
_type
final JsonValue _type()
The action type.
Expected to always return the following:
JsonValue.from("open_page")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseFunctionWebSearch.Action.OpenPage.Builder toBuilder()
-
validate
final ResponseFunctionWebSearch.Action.OpenPage validate()
-
builder
final static ResponseFunctionWebSearch.Action.OpenPage.Builder builder()
Returns a mutable builder for constructing an instance of OpenPage.
The following fields are required:
.url()
-
-
-
-