Class ContextManagementCapability
-
- All Implemented Interfaces:
public final class ContextManagementCapabilityContext management capability details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContextManagementCapability.BuilderA builder for ContextManagementCapability.
-
Method Summary
Modifier and Type Method Description final Optional<CapabilitySupport>clearThinking20251015()Indicates whether a capability is supported. final Optional<CapabilitySupport>clearToolUses20250919()Indicates whether a capability is supported. final Optional<CapabilitySupport>compact20260112()Indicates whether a capability is supported. final Booleansupported()Whether this capability is supported by the model. final JsonField<CapabilitySupport>_clearThinking20251015()Returns the raw JSON value of clearThinking20251015. final JsonField<CapabilitySupport>_clearToolUses20250919()Returns the raw JSON value of clearToolUses20250919. final JsonField<CapabilitySupport>_compact20260112()Returns the raw JSON value of compact20260112. final JsonField<Boolean>_supported()Returns the raw JSON value of supported. final Map<String, JsonValue>_additionalProperties()final ContextManagementCapability.BuildertoBuilder()final ContextManagementCapabilityvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ContextManagementCapability.Builderbuilder()Returns a mutable builder for constructing an instance of ContextManagementCapability. -
-
Method Detail
-
clearThinking20251015
final Optional<CapabilitySupport> clearThinking20251015()
Indicates whether a capability is supported.
-
clearToolUses20250919
final Optional<CapabilitySupport> clearToolUses20250919()
Indicates whether a capability is supported.
-
compact20260112
final Optional<CapabilitySupport> compact20260112()
Indicates whether a capability is supported.
-
_clearThinking20251015
final JsonField<CapabilitySupport> _clearThinking20251015()
Returns the raw JSON value of clearThinking20251015.
Unlike clearThinking20251015, this method doesn't throw if the JSON field has an unexpected type.
-
_clearToolUses20250919
final JsonField<CapabilitySupport> _clearToolUses20250919()
Returns the raw JSON value of clearToolUses20250919.
Unlike clearToolUses20250919, this method doesn't throw if the JSON field has an unexpected type.
-
_compact20260112
final JsonField<CapabilitySupport> _compact20260112()
Returns the raw JSON value of compact20260112.
Unlike compact20260112, this method doesn't throw if the JSON field has an unexpected type.
-
_supported
final JsonField<Boolean> _supported()
Returns the raw JSON value of supported.
Unlike supported, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ContextManagementCapability.Builder toBuilder()
-
validate
final ContextManagementCapability 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 ContextManagementCapability.Builder builder()
Returns a mutable builder for constructing an instance of ContextManagementCapability.
The following fields are required:
.clearThinking20251015() .clearToolUses20250919() .compact20260112() .supported()
-
-
-
-