Class BetaClearToolUses20250919EditResponse
-
- All Implemented Interfaces:
public final class BetaClearToolUses20250919EditResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaClearToolUses20250919EditResponse.BuilderA builder for BetaClearToolUses20250919EditResponse.
-
Method Summary
Modifier and Type Method Description final LongclearedInputTokens()Number of input tokens cleared by this edit. final LongclearedToolUses()Number of tool uses that were cleared. final JsonValue_type()The type of context management edit applied. final JsonField<Long>_clearedInputTokens()Returns the raw JSON value of clearedInputTokens. final JsonField<Long>_clearedToolUses()Returns the raw JSON value of clearedToolUses. final Map<String, JsonValue>_additionalProperties()final BetaClearToolUses20250919EditResponse.BuildertoBuilder()final BetaClearToolUses20250919EditResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaClearToolUses20250919EditResponse.Builderbuilder()Returns a mutable builder for constructing an instance of BetaClearToolUses20250919EditResponse. -
-
Method Detail
-
clearedInputTokens
final Long clearedInputTokens()
Number of input tokens cleared by this edit.
-
clearedToolUses
final Long clearedToolUses()
Number of tool uses that were cleared.
-
_type
final JsonValue _type()
The type of context management edit applied.
Expected to always return the following:
JsonValue.from("clear_tool_uses_20250919")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_clearedInputTokens
final JsonField<Long> _clearedInputTokens()
Returns the raw JSON value of clearedInputTokens.
Unlike clearedInputTokens, this method doesn't throw if the JSON field has an unexpected type.
-
_clearedToolUses
final JsonField<Long> _clearedToolUses()
Returns the raw JSON value of clearedToolUses.
Unlike clearedToolUses, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaClearToolUses20250919EditResponse.Builder toBuilder()
-
validate
final BetaClearToolUses20250919EditResponse 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 BetaClearToolUses20250919EditResponse.Builder builder()
Returns a mutable builder for constructing an instance of BetaClearToolUses20250919EditResponse.
The following fields are required:
.clearedInputTokens() .clearedToolUses()
-
-
-
-