Package com.openai.models.responses
Class ResponseCodeInterpreterToolCall.Output.Image
-
- All Implemented Interfaces:
public final class ResponseCodeInterpreterToolCall.Output.Image
The image output from the code interpreter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseCodeInterpreterToolCall.Output.Image.Builder
A builder for Image.
-
Method Summary
Modifier and Type Method Description final JsonValue
_type()
The type of the output. final String
url()
The URL of the image output from the code interpreter. final JsonField<String>
_url()
Returns the raw JSON value of url. final Map<String, JsonValue>
_additionalProperties()
final ResponseCodeInterpreterToolCall.Output.Image.Builder
toBuilder()
final ResponseCodeInterpreterToolCall.Output.Image
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseCodeInterpreterToolCall.Output.Image.Builder
builder()
Returns a mutable builder for constructing an instance of Image. -
-
Method Detail
-
_type
final JsonValue _type()
The type of the output. Always 'image'.
Expected to always return the following:
JsonValue.from("image")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseCodeInterpreterToolCall.Output.Image.Builder toBuilder()
-
validate
final ResponseCodeInterpreterToolCall.Output.Image validate()
-
builder
final static ResponseCodeInterpreterToolCall.Output.Image.Builder builder()
Returns a mutable builder for constructing an instance of Image.
The following fields are required:
.url()
-
-
-
-