Class BetaWebFetchUrlSourceOnly
-
- All Implemented Interfaces:
public final class BetaWebFetchUrlSourceOnlyThe tool filter variant under which only the named tools' results contribute.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaWebFetchUrlSourceOnly.BuilderA builder for BetaWebFetchUrlSourceOnly.
-
Method Summary
Modifier and Type Method Description final List<BetaWebFetchUrlSourceToolReference>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<BetaWebFetchUrlSourceToolReference>>_tools()Returns the raw JSON value of tools. final Map<String, JsonValue>_additionalProperties()final BetaWebFetchUrlSourceOnly.BuildertoBuilder()final BetaWebFetchUrlSourceOnlyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaWebFetchUrlSourceOnly.Builderbuilder()Returns a mutable builder for constructing an instance of BetaWebFetchUrlSourceOnly. final static BetaWebFetchUrlSourceOnlyof(List<BetaWebFetchUrlSourceToolReference> tools)Returns an immutable instance of BetaWebFetchUrlSourceOnly with the required tools set to the given value. -
-
Method Detail
-
tools
final List<BetaWebFetchUrlSourceToolReference> 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<BetaWebFetchUrlSourceToolReference>> _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 BetaWebFetchUrlSourceOnly.Builder toBuilder()
-
validate
final BetaWebFetchUrlSourceOnly 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 BetaWebFetchUrlSourceOnly.Builder builder()
Returns a mutable builder for constructing an instance of BetaWebFetchUrlSourceOnly.
The following fields are required:
.tools()
-
of
final static BetaWebFetchUrlSourceOnly of(List<BetaWebFetchUrlSourceToolReference> tools)
Returns an immutable instance of BetaWebFetchUrlSourceOnly with the required tools set to the given value.
-
-
-
-