Package com.anthropic.models.beta.agents
Class BetaManagedAgentsAgentReference
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAgentReferenceA resolved agent reference with a concrete version.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAgentReference.BuilderA builder for BetaManagedAgentsAgentReference.
public final classBetaManagedAgentsAgentReference.Type
-
Method Summary
Modifier and Type Method Description final Stringid()final BetaManagedAgentsAgentReference.Typetype()final Integerversion()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<BetaManagedAgentsAgentReference.Type>_type()Returns the raw JSON value of type. final JsonField<Integer>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsAgentReference.BuildertoBuilder()final BetaManagedAgentsAgentReferencevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAgentReference.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentReference. -
-
Method Detail
-
type
final BetaManagedAgentsAgentReference.Type type()
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<BetaManagedAgentsAgentReference.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<Integer> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsAgentReference.Builder toBuilder()
-
validate
final BetaManagedAgentsAgentReference 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 BetaManagedAgentsAgentReference.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentReference.
The following fields are required:
.id() .type() .version()
-
-
-
-