Class CodeInterpreterLogs
-
- All Implemented Interfaces:
public final class CodeInterpreterLogsText 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 classCodeInterpreterLogs.BuilderA builder for CodeInterpreterLogs.
-
Method Summary
Modifier and Type Method Description final Longindex()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.BuildertoBuilder()final CodeInterpreterLogsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CodeInterpreterLogs.Builderbuilder()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()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static CodeInterpreterLogs.Builder builder()
Returns a mutable builder for constructing an instance of CodeInterpreterLogs.
The following fields are required:
.index()
-
-
-
-