Class BetaClearToolUses20250919EditResponse.Builder
-
- All Implemented Interfaces:
public final class BetaClearToolUses20250919EditResponse.BuilderA builder for BetaClearToolUses20250919EditResponse.
-
-
Method Summary
-
-
Method Detail
-
clearedInputTokens
final BetaClearToolUses20250919EditResponse.Builder clearedInputTokens(Long clearedInputTokens)
Number of input tokens cleared by this edit.
-
clearedInputTokens
final BetaClearToolUses20250919EditResponse.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.
-
clearedToolUses
final BetaClearToolUses20250919EditResponse.Builder clearedToolUses(Long clearedToolUses)
Number of tool uses that were cleared.
-
clearedToolUses
final BetaClearToolUses20250919EditResponse.Builder clearedToolUses(JsonField<Long> clearedToolUses)
Sets Builder.clearedToolUses to an arbitrary JSON value.
You should usually call Builder.clearedToolUses 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 BetaClearToolUses20250919EditResponse.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_tool_uses_20250919")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaClearToolUses20250919EditResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaClearToolUses20250919EditResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaClearToolUses20250919EditResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaClearToolUses20250919EditResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaClearToolUses20250919EditResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaClearToolUses20250919EditResponse build()
Returns an immutable instance of BetaClearToolUses20250919EditResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.clearedInputTokens() .clearedToolUses()
-
-
-
-