Package com.openai.models.responses
Class ResponseCodeInterpreterToolCall.Output.Image
-
- All Implemented Interfaces:
public final class ResponseCodeInterpreterToolCall.Output.ImageThe image output from the code interpreter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseCodeInterpreterToolCall.Output.Image.BuilderA builder for Image.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()The type of the output. final Stringurl()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.BuildertoBuilder()final ResponseCodeInterpreterToolCall.Output.Imagevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseCodeInterpreterToolCall.Output.Image.Builderbuilder()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()
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 ResponseCodeInterpreterToolCall.Output.Image.Builder builder()
Returns a mutable builder for constructing an instance of Image.
The following fields are required:
.url()
-
-
-
-