Class ResponseFunctionWebSearch.Action.Find
-
- All Implemented Interfaces:
public final class ResponseFunctionWebSearch.Action.FindAction type "find_in_page": Searches for a pattern within a loaded page.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseFunctionWebSearch.Action.Find.BuilderA builder for Find.
-
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 ResponseFunctionWebSearch.Action.Find.BuildertoBuilder()final ResponseFunctionWebSearch.Action.Findvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseFunctionWebSearch.Action.Find.Builderbuilder()Returns a mutable builder for constructing an instance of Find. -
-
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 ResponseFunctionWebSearch.Action.Find.Builder toBuilder()
-
validate
final ResponseFunctionWebSearch.Action.Find 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 ResponseFunctionWebSearch.Action.Find.Builder builder()
Returns a mutable builder for constructing an instance of Find.
The following fields are required:
.pattern() .url()
-
-
-
-