Class CodeInterpreterLogs
-
- All Implemented Interfaces:
public final class CodeInterpreterLogs
Text output from the Code Interpreter tool call as part of a run step.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
CodeInterpreterLogs.Builder
A builder for CodeInterpreterLogs.
-
Method Summary
Modifier and Type Method Description final Long
index()
The index of the output in the outputs array. final JsonValue
_type()
Always logs
.final Optional<String>
logs()
The text output from the Code Interpreter tool call. final JsonField<Long>
_index()
Returns the raw JSON value of index. final JsonField<String>
_logs()
Returns the raw JSON value of logs. final Map<String, JsonValue>
_additionalProperties()
final CodeInterpreterLogs.Builder
toBuilder()
final CodeInterpreterLogs
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static CodeInterpreterLogs.Builder
builder()
Returns a mutable builder for constructing an instance of CodeInterpreterLogs. -
-
Method Detail
-
_type
final JsonValue _type()
Always
logs
.Expected to always return the following:
JsonValue.from("logs")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_index
final JsonField<Long> _index()
Returns the raw JSON value of index.
Unlike index, this method doesn't throw if the JSON field has an unexpected type.
-
_logs
final JsonField<String> _logs()
Returns the raw JSON value of logs.
Unlike logs, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CodeInterpreterLogs.Builder toBuilder()
-
validate
final CodeInterpreterLogs validate()
-
builder
final static CodeInterpreterLogs.Builder builder()
Returns a mutable builder for constructing an instance of CodeInterpreterLogs.
The following fields are required:
.index()
-
-
-
-