Class BetaResponseFunctionWebSearch.Action.FindInPage
-
- All Implemented Interfaces:
public final class BetaResponseFunctionWebSearch.Action.FindInPageAction type "find_in_page": Searches for a pattern within a loaded page.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseFunctionWebSearch.Action.FindInPage.BuilderA builder for FindInPage.
-
Method Summary
Modifier and Type Method Description final Stringpattern()The pattern or text to search for within the page. final JsonValue_type()The action type. final Stringurl()The URL of the page searched for the pattern. final JsonField<String>_pattern()Returns the raw JSON value of pattern. final JsonField<String>_url()Returns the raw JSON value of url. final Map<String, JsonValue>_additionalProperties()final BetaResponseFunctionWebSearch.Action.FindInPage.BuildertoBuilder()final BetaResponseFunctionWebSearch.Action.FindInPagevalidate()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.FindInPage.Builderbuilder()Returns a mutable builder for constructing an instance of FindInPage. -
-
Method Detail
-
_type
final JsonValue _type()
The action type.
Expected to always return the following:
JsonValue.from("find_in_page")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_pattern
final JsonField<String> _pattern()
Returns the raw JSON value of pattern.
Unlike pattern, this method doesn't throw if the JSON field has an unexpected type.
-
_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.FindInPage.Builder toBuilder()
-
validate
final BetaResponseFunctionWebSearch.Action.FindInPage 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.FindInPage.Builder builder()
Returns a mutable builder for constructing an instance of FindInPage.
The following fields are required:
.pattern() .url()
-
-
-
-