Class SessionUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class SessionUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
agent
final SessionUpdateParams.Body.Builder agent(BetaManagedAgentsSessionAgentUpdate agent)
Mid-session agent configuration update. Only
toolsandmcp_serversare updatable. Full replacement: the provided array becomes the new value. To preserve existing entries, GET the session, modify the array, and POST it back.
-
agent
final SessionUpdateParams.Body.Builder agent(JsonField<BetaManagedAgentsSessionAgentUpdate> agent)
Sets Builder.agent to an arbitrary JSON value.
You should usually call Builder.agent with a well-typed BetaManagedAgentsSessionAgentUpdate value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final SessionUpdateParams.Body.Builder metadata(SessionUpdateParams.Metadata metadata)
Metadata patch. Set a key to a string to upsert it, or to null to delete it. Omit the field to preserve.
-
metadata
final SessionUpdateParams.Body.Builder metadata(Optional<SessionUpdateParams.Metadata> metadata)
Alias for calling Builder.metadata with
metadata.orElse(null).
-
metadata
final SessionUpdateParams.Body.Builder metadata(JsonField<SessionUpdateParams.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
title
final SessionUpdateParams.Body.Builder title(String title)
Human-readable session title.
-
title
final SessionUpdateParams.Body.Builder title(Optional<String> title)
Alias for calling Builder.title with
title.orElse(null).
-
title
final SessionUpdateParams.Body.Builder title(JsonField<String> title)
Sets Builder.title to an arbitrary JSON value.
You should usually call Builder.title with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
vaultIds
final SessionUpdateParams.Body.Builder vaultIds(List<String> vaultIds)
Vault IDs (
vlt_*) to attach to the session. Not yet supported; requests setting this field are rejected. Reserved for future use.
-
vaultIds
final SessionUpdateParams.Body.Builder vaultIds(JsonField<List<String>> vaultIds)
Sets Builder.vaultIds to an arbitrary JSON value.
You should usually call Builder.vaultIds with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addVaultId
final SessionUpdateParams.Body.Builder addVaultId(String vaultId)
-
additionalProperties
final SessionUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SessionUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SessionUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SessionUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SessionUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SessionUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-