Package com.openai.models
Class ImageFileContentBlock.Builder
-
- All Implemented Interfaces:
public final class ImageFileContentBlock.Builder
A builder for ImageFileContentBlock.
-
-
Method Summary
Modifier and Type Method Description final ImageFileContentBlock.Builder
imageFile(ImageFile imageFile)
final ImageFileContentBlock.Builder
imageFile(JsonField<ImageFile> imageFile)
final ImageFileContentBlock.Builder
type(JsonValue type)
Always image_file
.final ImageFileContentBlock.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final ImageFileContentBlock.Builder
putAdditionalProperty(String key, JsonValue value)
final ImageFileContentBlock.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final ImageFileContentBlock.Builder
removeAdditionalProperty(String key)
final ImageFileContentBlock.Builder
removeAllAdditionalProperties(Set<String> keys)
final ImageFileContentBlock
build()
-
-
Method Detail
-
imageFile
final ImageFileContentBlock.Builder imageFile(ImageFile imageFile)
-
imageFile
final ImageFileContentBlock.Builder imageFile(JsonField<ImageFile> imageFile)
-
type
final ImageFileContentBlock.Builder type(JsonValue type)
Always
image_file
.
-
additionalProperties
final ImageFileContentBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ImageFileContentBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ImageFileContentBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ImageFileContentBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ImageFileContentBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ImageFileContentBlock build()
-
-
-
-