Class BetaResponseOutputItem.MultiAgentCall.Builder
-
- All Implemented Interfaces:
public final class BetaResponseOutputItem.MultiAgentCall.BuilderA builder for MultiAgentCall.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaResponseOutputItem.MultiAgentCall.Builder id(String id)
The unique ID of the multi-agent call item.
-
id
final BetaResponseOutputItem.MultiAgentCall.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
action
final BetaResponseOutputItem.MultiAgentCall.Builder action(BetaResponseOutputItem.MultiAgentCall.Action action)
The multi-agent action to execute.
-
action
final BetaResponseOutputItem.MultiAgentCall.Builder action(JsonField<BetaResponseOutputItem.MultiAgentCall.Action> action)
Sets Builder.action to an arbitrary JSON value.
You should usually call Builder.action with a well-typed Action value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
arguments
final BetaResponseOutputItem.MultiAgentCall.Builder arguments(String arguments)
The JSON string of arguments generated for the action.
-
arguments
final BetaResponseOutputItem.MultiAgentCall.Builder arguments(JsonField<String> arguments)
Sets Builder.arguments to an arbitrary JSON value.
You should usually call Builder.arguments with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
callId
final BetaResponseOutputItem.MultiAgentCall.Builder callId(String callId)
The unique ID linking this call to its output.
-
callId
final BetaResponseOutputItem.MultiAgentCall.Builder callId(JsonField<String> callId)
Sets Builder.callId to an arbitrary JSON value.
You should usually call Builder.callId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaResponseOutputItem.MultiAgentCall.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("multi_agent_call")This method is primarily for setting the field to an undocumented or not yet supported value.
-
agent
final BetaResponseOutputItem.MultiAgentCall.Builder agent(BetaResponseOutputItem.MultiAgentCall.Agent agent)
The agent that produced this item.
-
agent
final BetaResponseOutputItem.MultiAgentCall.Builder agent(JsonField<BetaResponseOutputItem.MultiAgentCall.Agent> agent)
Sets Builder.agent to an arbitrary JSON value.
You should usually call Builder.agent with a well-typed Agent value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaResponseOutputItem.MultiAgentCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaResponseOutputItem.MultiAgentCall.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaResponseOutputItem.MultiAgentCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaResponseOutputItem.MultiAgentCall.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaResponseOutputItem.MultiAgentCall.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaResponseOutputItem.MultiAgentCall build()
Returns an immutable instance of MultiAgentCall.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .action() .arguments() .callId()
-
-
-
-