Class ResponseCodeInterpreterCallCodeDoneEvent.Builder
-
- All Implemented Interfaces:
public final class ResponseCodeInterpreterCallCodeDoneEvent.Builder
A builder for ResponseCodeInterpreterCallCodeDoneEvent.
-
-
Method Summary
-
-
Method Detail
-
code
final ResponseCodeInterpreterCallCodeDoneEvent.Builder code(String code)
The final code snippet output by the code interpreter.
-
code
final ResponseCodeInterpreterCallCodeDoneEvent.Builder code(JsonField<String> code)
Sets Builder.code to an arbitrary JSON value.
You should usually call Builder.code with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
outputIndex
final ResponseCodeInterpreterCallCodeDoneEvent.Builder outputIndex(Long outputIndex)
The index of the output item that the code interpreter call is in progress.
-
outputIndex
final ResponseCodeInterpreterCallCodeDoneEvent.Builder outputIndex(JsonField<Long> outputIndex)
Sets Builder.outputIndex to an arbitrary JSON value.
You should usually call Builder.outputIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ResponseCodeInterpreterCallCodeDoneEvent.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("response.code_interpreter_call.code.done")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseCodeInterpreterCallCodeDoneEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseCodeInterpreterCallCodeDoneEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseCodeInterpreterCallCodeDoneEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseCodeInterpreterCallCodeDoneEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseCodeInterpreterCallCodeDoneEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseCodeInterpreterCallCodeDoneEvent build()
Returns an immutable instance of ResponseCodeInterpreterCallCodeDoneEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.code() .outputIndex()
-
-
-
-