Package com.anthropic.models.models
Class ThinkingTypes
-
- All Implemented Interfaces:
public final class ThinkingTypesSupported thinking type configurations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThinkingTypes.BuilderA builder for ThinkingTypes.
-
Method Summary
Modifier and Type Method Description final CapabilitySupportadaptive()Whether the model supports thinking with type 'adaptive' (auto). final CapabilitySupportenabled()Whether the model supports thinking with type 'enabled'. final JsonField<CapabilitySupport>_adaptive()Returns the raw JSON value of adaptive. final JsonField<CapabilitySupport>_enabled()Returns the raw JSON value of enabled. final Map<String, JsonValue>_additionalProperties()final ThinkingTypes.BuildertoBuilder()final ThinkingTypesvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ThinkingTypes.Builderbuilder()Returns a mutable builder for constructing an instance of ThinkingTypes. -
-
Method Detail
-
adaptive
final CapabilitySupport adaptive()
Whether the model supports thinking with type 'adaptive' (auto).
-
enabled
final CapabilitySupport enabled()
Whether the model supports thinking with type 'enabled'.
-
_adaptive
final JsonField<CapabilitySupport> _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<CapabilitySupport> _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 ThinkingTypes.Builder toBuilder()
-
validate
final ThinkingTypes validate()
-
builder
final static ThinkingTypes.Builder builder()
Returns a mutable builder for constructing an instance of ThinkingTypes.
The following fields are required:
.adaptive() .enabled()
-
-
-
-