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 classCodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.BuilderA builder for ImageOutput.
public final classCodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Image
-
Method Summary
Modifier and Type Method Description final CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Imageimage()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.BuildertoBuilder()final CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Builderbuilder()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()
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 CodeInterpreterToolCall.CodeInterpreter.Output.ImageOutput.Builder builder()
Returns a mutable builder for constructing an instance of ImageOutput.
The following fields are required:
.image()
-
-
-
-