Package com.openai.models.responses
Class ResponseFunctionWebSearch.Action.OpenPage
-
- All Implemented Interfaces:
public final class ResponseFunctionWebSearch.Action.OpenPage
Action type "open_page" - Opens a specific URL from search results.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseFunctionWebSearch.Action.OpenPage.Builder
A builder for OpenPage.
-
Method Summary
Modifier and Type Method Description final JsonValue
_type()
The action type. final String
url()
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.Builder
toBuilder()
final ResponseFunctionWebSearch.Action.OpenPage
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseFunctionWebSearch.Action.OpenPage.Builder
builder()
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()
-
-
-
-