Package com.openai.models.responses
Class ResponseCodeInterpreterToolCall.Result.Logs
-
- All Implemented Interfaces:
public final class ResponseCodeInterpreterToolCall.Result.Logs
The output of a code interpreter tool call that is text.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseCodeInterpreterToolCall.Result.Logs.Builder
A builder for Logs.
-
Method Summary
Modifier and Type Method Description final String
logs()
The logs of the code interpreter tool call. final JsonValue
_type()
The type of the code interpreter text output. final JsonField<String>
_logs()
Returns the raw JSON value of logs. final Map<String, JsonValue>
_additionalProperties()
final ResponseCodeInterpreterToolCall.Result.Logs.Builder
toBuilder()
final ResponseCodeInterpreterToolCall.Result.Logs
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseCodeInterpreterToolCall.Result.Logs.Builder
builder()
Returns a mutable builder for constructing an instance of Logs. -
-
Method Detail
-
_type
final JsonValue _type()
The type of the code interpreter text output. 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 ResponseCodeInterpreterToolCall.Result.Logs.Builder toBuilder()
-
validate
final ResponseCodeInterpreterToolCall.Result.Logs validate()
-
builder
final static ResponseCodeInterpreterToolCall.Result.Logs.Builder builder()
Returns a mutable builder for constructing an instance of Logs.
The following fields are required:
.logs()
-
-
-
-