Class BetaContextManagementResponse.Builder
-
- All Implemented Interfaces:
public final class BetaContextManagementResponse.BuilderA builder for BetaContextManagementResponse.
-
-
Method Summary
-
-
Method Detail
-
appliedEdits
final BetaContextManagementResponse.Builder appliedEdits(List<BetaClearToolUses20250919EditResponse> appliedEdits)
List of context management edits that were applied.
-
appliedEdits
final BetaContextManagementResponse.Builder appliedEdits(JsonField<List<BetaClearToolUses20250919EditResponse>> appliedEdits)
Sets Builder.appliedEdits to an arbitrary JSON value.
You should usually call Builder.appliedEdits with a well-typed
List<BetaClearToolUses20250919EditResponse>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAppliedEdit
final BetaContextManagementResponse.Builder addAppliedEdit(BetaClearToolUses20250919EditResponse appliedEdit)
Adds a single BetaClearToolUses20250919EditResponse to appliedEdits.
-
additionalProperties
final BetaContextManagementResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaContextManagementResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaContextManagementResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaContextManagementResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaContextManagementResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaContextManagementResponse build()
Returns an immutable instance of BetaContextManagementResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.appliedEdits()
-
-
-
-