Class BetaClearThinking20251015EditResponse.Builder
-
- All Implemented Interfaces:
public final class BetaClearThinking20251015EditResponse.BuilderA builder for BetaClearThinking20251015EditResponse.
-
-
Method Summary
-
-
Method Detail
-
clearedInputTokens
final BetaClearThinking20251015EditResponse.Builder clearedInputTokens(Long clearedInputTokens)
Number of input tokens cleared by this edit.
-
clearedInputTokens
final BetaClearThinking20251015EditResponse.Builder clearedInputTokens(JsonField<Long> clearedInputTokens)
Sets Builder.clearedInputTokens to an arbitrary JSON value.
You should usually call Builder.clearedInputTokens with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
clearedThinkingTurns
final BetaClearThinking20251015EditResponse.Builder clearedThinkingTurns(Long clearedThinkingTurns)
Number of thinking turns that were cleared.
-
clearedThinkingTurns
final BetaClearThinking20251015EditResponse.Builder clearedThinkingTurns(JsonField<Long> clearedThinkingTurns)
Sets Builder.clearedThinkingTurns to an arbitrary JSON value.
You should usually call Builder.clearedThinkingTurns with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaClearThinking20251015EditResponse.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("clear_thinking_20251015")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaClearThinking20251015EditResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaClearThinking20251015EditResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaClearThinking20251015EditResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaClearThinking20251015EditResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaClearThinking20251015EditResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaClearThinking20251015EditResponse build()
Returns an immutable instance of BetaClearThinking20251015EditResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.clearedInputTokens() .clearedThinkingTurns()
-
-
-
-