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