Class ResponseInputItem.ProgramOutput.Builder
-
- All Implemented Interfaces:
public final class ResponseInputItem.ProgramOutput.BuilderA builder for ProgramOutput.
-
-
Method Summary
-
-
Method Detail
-
id
final ResponseInputItem.ProgramOutput.Builder id(String id)
The unique ID of this program output item.
-
id
final ResponseInputItem.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 ResponseInputItem.ProgramOutput.Builder callId(String callId)
The call ID of the program item.
-
callId
final ResponseInputItem.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 ResponseInputItem.ProgramOutput.Builder result(String result)
The result produced by the program item.
-
result
final ResponseInputItem.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 ResponseInputItem.ProgramOutput.Builder status(ResponseInputItem.ProgramOutput.Status status)
The terminal status of the program output.
-
status
final ResponseInputItem.ProgramOutput.Builder status(JsonField<ResponseInputItem.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 ResponseInputItem.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.
-
additionalProperties
final ResponseInputItem.ProgramOutput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseInputItem.ProgramOutput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseInputItem.ProgramOutput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseInputItem.ProgramOutput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseInputItem.ProgramOutput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseInputItem.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()
-
-
-
-