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