Class CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput
-
- All Implemented Interfaces:
public final class CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutputText 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 classCodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput.BuilderA builder for LogsOutput.
-
Method Summary
Modifier and Type Method Description final Stringlogs()The text output from the Code Interpreter tool call. final JsonValue_type()Always logs.final JsonField<String>_logs()Returns the raw JSON value of logs. final Map<String, JsonValue>_additionalProperties()final CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput.BuildertoBuilder()final CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput.Builderbuilder()Returns a mutable builder for constructing an instance of LogsOutput. -
-
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).
-
_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 CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput.Builder toBuilder()
-
validate
final CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput 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 CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput.Builder builder()
Returns a mutable builder for constructing an instance of LogsOutput.
The following fields are required:
.logs()
-
-
-
-