Class BetaContextManagementCapability
-
- All Implemented Interfaces:
public final class BetaContextManagementCapabilityContext management capability details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaContextManagementCapability.BuilderA builder for BetaContextManagementCapability.
-
Method Summary
Modifier and Type Method Description final Optional<BetaCapabilitySupport>clearThinking20251015()Indicates whether a capability is supported. final Optional<BetaCapabilitySupport>clearToolUses20250919()Indicates whether a capability is supported. final Optional<BetaCapabilitySupport>compact20260112()Indicates whether a capability is supported. final Booleansupported()Whether this capability is supported by the model. final JsonField<BetaCapabilitySupport>_clearThinking20251015()Returns the raw JSON value of clearThinking20251015. final JsonField<BetaCapabilitySupport>_clearToolUses20250919()Returns the raw JSON value of clearToolUses20250919. final JsonField<BetaCapabilitySupport>_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 BetaContextManagementCapability.BuildertoBuilder()final BetaContextManagementCapabilityvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaContextManagementCapability.Builderbuilder()Returns a mutable builder for constructing an instance of BetaContextManagementCapability. -
-
Method Detail
-
clearThinking20251015
final Optional<BetaCapabilitySupport> clearThinking20251015()
Indicates whether a capability is supported.
-
clearToolUses20250919
final Optional<BetaCapabilitySupport> clearToolUses20250919()
Indicates whether a capability is supported.
-
compact20260112
final Optional<BetaCapabilitySupport> compact20260112()
Indicates whether a capability is supported.
-
_clearThinking20251015
final JsonField<BetaCapabilitySupport> _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<BetaCapabilitySupport> _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<BetaCapabilitySupport> _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 BetaContextManagementCapability.Builder toBuilder()
-
validate
final BetaContextManagementCapability 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 BetaContextManagementCapability.Builder builder()
Returns a mutable builder for constructing an instance of BetaContextManagementCapability.
The following fields are required:
.clearThinking20251015() .clearToolUses20250919() .compact20260112() .supported()
-
-
-
-