Class BetaManagedAgentsWebFetchUrlSourceToolReference
-
- All Implemented Interfaces:
public final class BetaManagedAgentsWebFetchUrlSourceToolReferenceNames one tool in an only or except list.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsWebFetchUrlSourceToolReference.BuilderA builder for BetaManagedAgentsWebFetchUrlSourceToolReference.
-
Method Summary
Modifier and Type Method Description final Stringname()Name of the tool. final JsonValue_type()Must be "tool_reference". final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsWebFetchUrlSourceToolReference.BuildertoBuilder()final BetaManagedAgentsWebFetchUrlSourceToolReferencevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsWebFetchUrlSourceToolReference.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsWebFetchUrlSourceToolReference. final static BetaManagedAgentsWebFetchUrlSourceToolReferenceof(String name)Returns an immutable instance of BetaManagedAgentsWebFetchUrlSourceToolReference with the required name set to the given value. -
-
Method Detail
-
name
final String name()
Name of the tool. Compared exactly, so upper and lower case letters are different.
-
_type
final JsonValue _type()
Must be "tool_reference".
Expected to always return the following:
JsonValue.from("tool_reference")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsWebFetchUrlSourceToolReference.Builder toBuilder()
-
validate
final BetaManagedAgentsWebFetchUrlSourceToolReference 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 BetaManagedAgentsWebFetchUrlSourceToolReference.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsWebFetchUrlSourceToolReference.
The following fields are required:
.name()
-
of
final static BetaManagedAgentsWebFetchUrlSourceToolReference of(String name)
Returns an immutable instance of BetaManagedAgentsWebFetchUrlSourceToolReference with the required name set to the given value.
-
-
-
-