Class ResponseCodeInterpreterCallInProgressEvent
-
- All Implemented Interfaces:
public final class ResponseCodeInterpreterCallInProgressEvent
Emitted when a code interpreter call is in progress.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseCodeInterpreterCallInProgressEvent.Builder
A builder for ResponseCodeInterpreterCallInProgressEvent.
-
Method Summary
Modifier and Type Method Description final ResponseCodeInterpreterToolCall
codeInterpreterCall()
A tool call to run code. final Long
outputIndex()
The index of the output item that the code interpreter call is in progress. final JsonValue
_type()
The type of the event. final JsonField<ResponseCodeInterpreterToolCall>
_codeInterpreterCall()
Returns the raw JSON value of codeInterpreterCall. final JsonField<Long>
_outputIndex()
Returns the raw JSON value of outputIndex. final Map<String, JsonValue>
_additionalProperties()
final ResponseCodeInterpreterCallInProgressEvent.Builder
toBuilder()
final ResponseCodeInterpreterCallInProgressEvent
validate()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseCodeInterpreterCallInProgressEvent.Builder
builder()
Returns a mutable builder for constructing an instance of ResponseCodeInterpreterCallInProgressEvent. -
-
Method Detail
-
codeInterpreterCall
final ResponseCodeInterpreterToolCall codeInterpreterCall()
A tool call to run code.
-
outputIndex
final Long outputIndex()
The index of the output item that the code interpreter call is in progress.
-
_type
final JsonValue _type()
The type of the event. Always
response.code_interpreter_call.in_progress
.Expected to always return the following:
JsonValue.from("response.code_interpreter_call.in_progress")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_codeInterpreterCall
final JsonField<ResponseCodeInterpreterToolCall> _codeInterpreterCall()
Returns the raw JSON value of codeInterpreterCall.
Unlike codeInterpreterCall, this method doesn't throw if the JSON field has an unexpected type.
-
_outputIndex
final JsonField<Long> _outputIndex()
Returns the raw JSON value of outputIndex.
Unlike outputIndex, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseCodeInterpreterCallInProgressEvent.Builder toBuilder()
-
validate
final ResponseCodeInterpreterCallInProgressEvent validate()
-
builder
final static ResponseCodeInterpreterCallInProgressEvent.Builder builder()
Returns a mutable builder for constructing an instance of ResponseCodeInterpreterCallInProgressEvent.
The following fields are required:
.codeInterpreterCall() .outputIndex()
-
-
-
-