Class CodeInterpreterOutputImage.Builder
-
- All Implemented Interfaces:
public final class CodeInterpreterOutputImage.Builder
A builder for CodeInterpreterOutputImage.
-
-
Method Summary
-
-
Method Detail
-
index
final CodeInterpreterOutputImage.Builder index(Long index)
The index of the output in the outputs array.
-
index
final CodeInterpreterOutputImage.Builder index(JsonField<Long> index)
Sets Builder.index to an arbitrary JSON value.
You should usually call Builder.index with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final CodeInterpreterOutputImage.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("image")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
image
final CodeInterpreterOutputImage.Builder image(CodeInterpreterOutputImage.Image image)
-
image
final CodeInterpreterOutputImage.Builder image(JsonField<CodeInterpreterOutputImage.Image> image)
Sets Builder.image to an arbitrary JSON value.
You should usually call Builder.image with a well-typed Image value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final CodeInterpreterOutputImage.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CodeInterpreterOutputImage.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CodeInterpreterOutputImage.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CodeInterpreterOutputImage.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CodeInterpreterOutputImage.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CodeInterpreterOutputImage build()
Returns an immutable instance of CodeInterpreterOutputImage.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.index()
-
-
-
-