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