Class BetaResponseInputItem.MultiAgentCall.Builder
-
- All Implemented Interfaces:
public final class BetaResponseInputItem.MultiAgentCall.BuilderA builder for MultiAgentCall.
-
-
Method Summary
-
-
Method Detail
-
action
final BetaResponseInputItem.MultiAgentCall.Builder action(BetaResponseInputItem.MultiAgentCall.Action action)
The multi-agent action that was executed.
-
action
final BetaResponseInputItem.MultiAgentCall.Builder action(JsonField<BetaResponseInputItem.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 BetaResponseInputItem.MultiAgentCall.Builder arguments(String arguments)
The action arguments as a JSON string.
-
arguments
final BetaResponseInputItem.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 BetaResponseInputItem.MultiAgentCall.Builder callId(String callId)
The unique ID linking this call to its output.
-
callId
final BetaResponseInputItem.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 BetaResponseInputItem.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.
-
id
final BetaResponseInputItem.MultiAgentCall.Builder id(String id)
The unique ID of this multi-agent call.
-
id
final BetaResponseInputItem.MultiAgentCall.Builder id(Optional<String> id)
Alias for calling Builder.id with
id.orElse(null).
-
id
final BetaResponseInputItem.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.
-
agent
final BetaResponseInputItem.MultiAgentCall.Builder agent(BetaResponseInputItem.MultiAgentCall.Agent agent)
The agent that produced this item.
-
agent
final BetaResponseInputItem.MultiAgentCall.Builder agent(Optional<BetaResponseInputItem.MultiAgentCall.Agent> agent)
Alias for calling Builder.agent with
agent.orElse(null).
-
agent
final BetaResponseInputItem.MultiAgentCall.Builder agent(JsonField<BetaResponseInputItem.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 BetaResponseInputItem.MultiAgentCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaResponseInputItem.MultiAgentCall.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaResponseInputItem.MultiAgentCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaResponseInputItem.MultiAgentCall.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaResponseInputItem.MultiAgentCall.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaResponseInputItem.MultiAgentCall build()
Returns an immutable instance of MultiAgentCall.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.action() .arguments() .callId()
-
-
-
-