Class CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput
-
- All Implemented Interfaces:
public final class CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Builder
A builder for ImageOutput.
public final class
CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Image
-
Method Summary
Modifier and Type Method Description final CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Image
image()
final JsonValue
_type()
Always image
.final JsonField<CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Image>
_image()
Returns the raw JSON value of image. final Map<String, JsonValue>
_additionalProperties()
final CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Builder
toBuilder()
final CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Builder
builder()
Returns a mutable builder for constructing an instance of ImageOutput. -
-
Method Detail
-
_type
final JsonValue _type()
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).
-
_image
final JsonField<CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Image> _image()
Returns the raw JSON value of image.
Unlike image, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Builder toBuilder()
-
validate
final CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput validate()
-
builder
final static CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Builder builder()
Returns a mutable builder for constructing an instance of ImageOutput.
The following fields are required:
.image()
-
-
-
-