Package com.openai.models.beta.responses
Class BetaResponseCodeInterpreterToolCall.Output.Image
-
- All Implemented Interfaces:
public final class BetaResponseCodeInterpreterToolCall.Output.ImageThe image output from the code interpreter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseCodeInterpreterToolCall.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 BetaResponseCodeInterpreterToolCall.Output.Image.BuildertoBuilder()final BetaResponseCodeInterpreterToolCall.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 BetaResponseCodeInterpreterToolCall.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 BetaResponseCodeInterpreterToolCall.Output.Image.Builder toBuilder()
-
validate
final BetaResponseCodeInterpreterToolCall.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 BetaResponseCodeInterpreterToolCall.Output.Image.Builder builder()
Returns a mutable builder for constructing an instance of Image.
The following fields are required:
.url()
-
-
-
-