Package com.openai.models.beta.responses
Class BetaResponseFunctionWebSearch.Action.OpenPage
-
- All Implemented Interfaces:
public final class BetaResponseFunctionWebSearch.Action.OpenPageAction type "open_page" - Opens a specific URL from search results.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseFunctionWebSearch.Action.OpenPage.BuilderA builder for OpenPage.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The action type. final Optional<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 BetaResponseFunctionWebSearch.Action.OpenPage.BuildertoBuilder()final BetaResponseFunctionWebSearch.Action.OpenPagevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaResponseFunctionWebSearch.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 BetaResponseFunctionWebSearch.Action.OpenPage.Builder toBuilder()
-
validate
final BetaResponseFunctionWebSearch.Action.OpenPage validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaResponseFunctionWebSearch.Action.OpenPage.Builder builder()
Returns a mutable builder for constructing an instance of OpenPage.
-
-
-
-