Class BetaManagedAgentsAdvisor
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAdvisorPlatform advisor roster entry: a model the session's primary thread may consult mid-turn.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAdvisor.BuilderA builder for BetaManagedAgentsAdvisor.
-
Method Summary
Modifier and Type Method Description final Stringmodel()The advisor 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 BetaManagedAgentsAdvisor.BuildertoBuilder()final BetaManagedAgentsAdvisorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAdvisor.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAdvisor. final static BetaManagedAgentsAdvisorof(String model)Returns an immutable instance of BetaManagedAgentsAdvisor with the required model set to the given value. -
-
Method Detail
-
_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 BetaManagedAgentsAdvisor.Builder toBuilder()
-
validate
final BetaManagedAgentsAdvisor 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 BetaManagedAgentsAdvisor.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAdvisor.
The following fields are required:
.model()
-
of
final static BetaManagedAgentsAdvisor of(String model)
Returns an immutable instance of BetaManagedAgentsAdvisor with the required model set to the given value.
-
-
-
-