Class BetaManagedAgentsAdvisorParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAdvisorParamsPlatform advisor roster entry: a model the session's primary thread may consult mid-turn. At most one per roster; the entry occupies the roster name
anthropic.advisor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAdvisorParams.BuilderA builder for BetaManagedAgentsAdvisorParams.
-
Method Summary
Modifier and Type Method Description final Stringmodel()A Claude model id. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("advisor")final JsonField<String>_model()Returns the raw JSON value of model. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsAdvisorParams.BuildertoBuilder()final BetaManagedAgentsAdvisorParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAdvisorParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAdvisorParams. final static BetaManagedAgentsAdvisorParamsof(String model)Returns an immutable instance of BetaManagedAgentsAdvisorParams with the required model set to the given value. -
-
Method Detail
-
model
final String model()
A Claude model id. The model must be permitted as an advisor for this agent's model.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("advisor")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_model
final JsonField<String> _model()
Returns the raw JSON value of model.
Unlike model, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsAdvisorParams.Builder toBuilder()
-
validate
final BetaManagedAgentsAdvisorParams 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 BetaManagedAgentsAdvisorParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAdvisorParams.
The following fields are required:
.model()
-
of
final static BetaManagedAgentsAdvisorParams of(String model)
Returns an immutable instance of BetaManagedAgentsAdvisorParams with the required model set to the given value.
-
-
-
-