Class BetaClearThinking20251015EditResponse
-
- All Implemented Interfaces:
public final class BetaClearThinking20251015EditResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaClearThinking20251015EditResponse.BuilderA builder for BetaClearThinking20251015EditResponse.
-
Method Summary
Modifier and Type Method Description final LongclearedInputTokens()Number of input tokens cleared by this edit. final LongclearedThinkingTurns()Number of thinking turns 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>_clearedThinkingTurns()Returns the raw JSON value of clearedThinkingTurns. final Map<String, JsonValue>_additionalProperties()final BetaClearThinking20251015EditResponse.BuildertoBuilder()final BetaClearThinking20251015EditResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaClearThinking20251015EditResponse.Builderbuilder()Returns a mutable builder for constructing an instance of BetaClearThinking20251015EditResponse. -
-
Method Detail
-
clearedInputTokens
final Long clearedInputTokens()
Number of input tokens cleared by this edit.
-
clearedThinkingTurns
final Long clearedThinkingTurns()
Number of thinking turns that were cleared.
-
_type
final JsonValue _type()
The type of context management edit applied.
Expected to always return the following:
JsonValue.from("clear_thinking_20251015")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.
-
_clearedThinkingTurns
final JsonField<Long> _clearedThinkingTurns()
Returns the raw JSON value of clearedThinkingTurns.
Unlike clearedThinkingTurns, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaClearThinking20251015EditResponse.Builder toBuilder()
-
validate
final BetaClearThinking20251015EditResponse 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 BetaClearThinking20251015EditResponse.Builder builder()
Returns a mutable builder for constructing an instance of BetaClearThinking20251015EditResponse.
The following fields are required:
.clearedInputTokens() .clearedThinkingTurns()
-
-
-
-