Class CodeInterpreterOutputImage
-
- All Implemented Interfaces:
public final class CodeInterpreterOutputImage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCodeInterpreterOutputImage.BuilderA builder for CodeInterpreterOutputImage.
public final classCodeInterpreterOutputImage.Image
-
Method Summary
Modifier and Type Method Description final Longindex()The index of the output in the outputs array. final JsonValue_type()Always image.final Optional<CodeInterpreterOutputImage.Image>image()final JsonField<Long>_index()Returns the raw JSON value of index. final JsonField<CodeInterpreterOutputImage.Image>_image()Returns the raw JSON value of image. final Map<String, JsonValue>_additionalProperties()final CodeInterpreterOutputImage.BuildertoBuilder()final CodeInterpreterOutputImagevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CodeInterpreterOutputImage.Builderbuilder()Returns a mutable builder for constructing an instance of CodeInterpreterOutputImage. -
-
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 Optional<CodeInterpreterOutputImage.Image> image()
-
_index
final JsonField<Long> _index()
Returns the raw JSON value of index.
Unlike index, this method doesn't throw if the JSON field has an unexpected type.
-
_image
final JsonField<CodeInterpreterOutputImage.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 CodeInterpreterOutputImage.Builder toBuilder()
-
validate
final CodeInterpreterOutputImage validate()
-
builder
final static CodeInterpreterOutputImage.Builder builder()
Returns a mutable builder for constructing an instance of CodeInterpreterOutputImage.
The following fields are required:
.index()
-
-
-
-