Class WebFetchUrlSourceOnly
-
- All Implemented Interfaces:
public final class WebFetchUrlSourceOnlyThe tool filter variant under which only the named tools' results contribute.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWebFetchUrlSourceOnly.BuilderA builder for WebFetchUrlSourceOnly.
-
Method Summary
Modifier and Type Method Description final List<WebFetchUrlSourceToolReference>tools()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("only")final JsonField<List<WebFetchUrlSourceToolReference>>_tools()Returns the raw JSON value of tools. final Map<String, JsonValue>_additionalProperties()final WebFetchUrlSourceOnly.BuildertoBuilder()final WebFetchUrlSourceOnlyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static WebFetchUrlSourceOnly.Builderbuilder()Returns a mutable builder for constructing an instance of WebFetchUrlSourceOnly. final static WebFetchUrlSourceOnlyof(List<WebFetchUrlSourceToolReference> tools)Returns an immutable instance of WebFetchUrlSourceOnly with the required tools set to the given value. -
-
Method Detail
-
tools
final List<WebFetchUrlSourceToolReference> tools()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("only")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_tools
final JsonField<List<WebFetchUrlSourceToolReference>> _tools()
Returns the raw JSON value of tools.
Unlike tools, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final WebFetchUrlSourceOnly.Builder toBuilder()
-
validate
final WebFetchUrlSourceOnly 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 WebFetchUrlSourceOnly.Builder builder()
Returns a mutable builder for constructing an instance of WebFetchUrlSourceOnly.
The following fields are required:
.tools()
-
of
final static WebFetchUrlSourceOnly of(List<WebFetchUrlSourceToolReference> tools)
Returns an immutable instance of WebFetchUrlSourceOnly with the required tools set to the given value.
-
-
-
-