Class BetaResponseInputItem.MultiAgentCallOutput
-
- All Implemented Interfaces:
public final class BetaResponseInputItem.MultiAgentCallOutput
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseInputItem.MultiAgentCallOutput.BuilderA builder for MultiAgentCallOutput.
public final classBetaResponseInputItem.MultiAgentCallOutput.ActionThe multi-agent action that produced this result.
public final classBetaResponseInputItem.MultiAgentCallOutput.Outputpublic final classBetaResponseInputItem.MultiAgentCallOutput.AgentThe agent that produced this item.
-
Method Summary
Modifier and Type Method Description final BetaResponseInputItem.MultiAgentCallOutput.Actionaction()The multi-agent action that produced this result. final StringcallId()The unique ID of the multi-agent call. final List<BetaResponseInputItem.MultiAgentCallOutput.Output>output()Text output returned by the multi-agent action. final JsonValue_type()The item type. final Optional<String>id()The unique ID of this multi-agent call output. final Optional<BetaResponseInputItem.MultiAgentCallOutput.Agent>agent()The agent that produced this item. final JsonField<BetaResponseInputItem.MultiAgentCallOutput.Action>_action()Returns the raw JSON value of action. final JsonField<String>_callId()Returns the raw JSON value of callId. final JsonField<List<BetaResponseInputItem.MultiAgentCallOutput.Output>>_output()Returns the raw JSON value of output. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<BetaResponseInputItem.MultiAgentCallOutput.Agent>_agent()Returns the raw JSON value of agent. final Map<String, JsonValue>_additionalProperties()final BetaResponseInputItem.MultiAgentCallOutput.BuildertoBuilder()final BetaResponseInputItem.MultiAgentCallOutputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaResponseInputItem.MultiAgentCallOutput.Builderbuilder()Returns a mutable builder for constructing an instance of MultiAgentCallOutput. -
-
Method Detail
-
action
final BetaResponseInputItem.MultiAgentCallOutput.Action action()
The multi-agent action that produced this result.
-
output
final List<BetaResponseInputItem.MultiAgentCallOutput.Output> output()
Text output returned by the multi-agent action.
-
_type
final JsonValue _type()
The item type. Always
multi_agent_call_output.Expected to always return the following:
JsonValue.from("multi_agent_call_output")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
agent
final Optional<BetaResponseInputItem.MultiAgentCallOutput.Agent> agent()
The agent that produced this item.
-
_action
final JsonField<BetaResponseInputItem.MultiAgentCallOutput.Action> _action()
Returns the raw JSON value of action.
Unlike action, this method doesn't throw if the JSON field has an unexpected type.
-
_callId
final JsonField<String> _callId()
Returns the raw JSON value of callId.
Unlike callId, this method doesn't throw if the JSON field has an unexpected type.
-
_output
final JsonField<List<BetaResponseInputItem.MultiAgentCallOutput.Output>> _output()
Returns the raw JSON value of output.
Unlike output, this method doesn't throw if the JSON field has an unexpected type.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_agent
final JsonField<BetaResponseInputItem.MultiAgentCallOutput.Agent> _agent()
Returns the raw JSON value of agent.
Unlike agent, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaResponseInputItem.MultiAgentCallOutput.Builder toBuilder()
-
validate
final BetaResponseInputItem.MultiAgentCallOutput validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaResponseInputItem.MultiAgentCallOutput.Builder builder()
Returns a mutable builder for constructing an instance of MultiAgentCallOutput.
The following fields are required:
.action() .callId() .output()
-
-
-
-