Class BetaResponseInputItem.MultiAgentCall
-
- All Implemented Interfaces:
public final class BetaResponseInputItem.MultiAgentCall
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseInputItem.MultiAgentCall.BuilderA builder for MultiAgentCall.
public final classBetaResponseInputItem.MultiAgentCall.ActionThe multi-agent action that was executed.
public final classBetaResponseInputItem.MultiAgentCall.AgentThe agent that produced this item.
-
Method Summary
Modifier and Type Method Description final BetaResponseInputItem.MultiAgentCall.Actionaction()The multi-agent action that was executed. final Stringarguments()The action arguments as a JSON string. final StringcallId()The unique ID linking this call to its output. final JsonValue_type()The item type. final Optional<String>id()The unique ID of this multi-agent call. final Optional<BetaResponseInputItem.MultiAgentCall.Agent>agent()The agent that produced this item. final JsonField<BetaResponseInputItem.MultiAgentCall.Action>_action()Returns the raw JSON value of action. final JsonField<String>_arguments()Returns the raw JSON value of arguments. final JsonField<String>_callId()Returns the raw JSON value of callId. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<BetaResponseInputItem.MultiAgentCall.Agent>_agent()Returns the raw JSON value of agent. final Map<String, JsonValue>_additionalProperties()final BetaResponseInputItem.MultiAgentCall.BuildertoBuilder()final BetaResponseInputItem.MultiAgentCallvalidate()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.MultiAgentCall.Builderbuilder()Returns a mutable builder for constructing an instance of MultiAgentCall. -
-
Method Detail
-
action
final BetaResponseInputItem.MultiAgentCall.Action action()
The multi-agent action that was executed.
-
_type
final JsonValue _type()
The item type. Always
multi_agent_call.Expected to always return the following:
JsonValue.from("multi_agent_call")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
agent
final Optional<BetaResponseInputItem.MultiAgentCall.Agent> agent()
The agent that produced this item.
-
_action
final JsonField<BetaResponseInputItem.MultiAgentCall.Action> _action()
Returns the raw JSON value of action.
Unlike action, this method doesn't throw if the JSON field has an unexpected type.
-
_arguments
final JsonField<String> _arguments()
Returns the raw JSON value of arguments.
Unlike arguments, 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.
-
_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.MultiAgentCall.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.MultiAgentCall.Builder toBuilder()
-
validate
final BetaResponseInputItem.MultiAgentCall 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.MultiAgentCall.Builder builder()
Returns a mutable builder for constructing an instance of MultiAgentCall.
The following fields are required:
.action() .arguments() .callId()
-
-
-
-