Class BetaClearThinking20251015Edit
-
- All Implemented Interfaces:
public final class BetaClearThinking20251015Edit
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaClearThinking20251015Edit.BuilderA builder for BetaClearThinking20251015Edit.
public final classBetaClearThinking20251015Edit.KeepNumber of most recent assistant turns to keep thinking blocks for. Older turns will have their thinking blocks removed.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("clear_thinking_20251015")final Optional<BetaClearThinking20251015Edit.Keep>keep()Number of most recent assistant turns to keep thinking blocks for. final JsonField<BetaClearThinking20251015Edit.Keep>_keep()Returns the raw JSON value of keep. final Map<String, JsonValue>_additionalProperties()final BetaClearThinking20251015Edit.BuildertoBuilder()final BetaClearThinking20251015Editvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaClearThinking20251015Edit.Builderbuilder()Returns a mutable builder for constructing an instance of BetaClearThinking20251015Edit. -
-
Method Detail
-
_type
final JsonValue _type()
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).
-
keep
final Optional<BetaClearThinking20251015Edit.Keep> keep()
Number of most recent assistant turns to keep thinking blocks for. Older turns will have their thinking blocks removed.
-
_keep
final JsonField<BetaClearThinking20251015Edit.Keep> _keep()
Returns the raw JSON value of keep.
Unlike keep, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaClearThinking20251015Edit.Builder toBuilder()
-
validate
final BetaClearThinking20251015Edit validate()
-
builder
final static BetaClearThinking20251015Edit.Builder builder()
Returns a mutable builder for constructing an instance of BetaClearThinking20251015Edit.
-
-
-
-