Package com.anthropic.models.beta.models
Class BetaThinkingTypes
-
- All Implemented Interfaces:
public final class BetaThinkingTypesSupported thinking type configurations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaThinkingTypes.BuilderA builder for BetaThinkingTypes.
-
Method Summary
Modifier and Type Method Description final BetaCapabilitySupportadaptive()Whether the model supports thinking with type 'adaptive' (auto). final BetaCapabilitySupportenabled()Whether the model supports thinking with type 'enabled'. final JsonField<BetaCapabilitySupport>_adaptive()Returns the raw JSON value of adaptive. final JsonField<BetaCapabilitySupport>_enabled()Returns the raw JSON value of enabled. final Map<String, JsonValue>_additionalProperties()final BetaThinkingTypes.BuildertoBuilder()final BetaThinkingTypesvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaThinkingTypes.Builderbuilder()Returns a mutable builder for constructing an instance of BetaThinkingTypes. -
-
Method Detail
-
adaptive
final BetaCapabilitySupport adaptive()
Whether the model supports thinking with type 'adaptive' (auto).
-
enabled
final BetaCapabilitySupport enabled()
Whether the model supports thinking with type 'enabled'.
-
_adaptive
final JsonField<BetaCapabilitySupport> _adaptive()
Returns the raw JSON value of adaptive.
Unlike adaptive, this method doesn't throw if the JSON field has an unexpected type.
-
_enabled
final JsonField<BetaCapabilitySupport> _enabled()
Returns the raw JSON value of enabled.
Unlike enabled, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaThinkingTypes.Builder toBuilder()
-
validate
final BetaThinkingTypes 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 BetaThinkingTypes.Builder builder()
Returns a mutable builder for constructing an instance of BetaThinkingTypes.
The following fields are required:
.adaptive() .enabled()
-
-
-
-