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