Class ChatCompletionContentPartImage.Builder
-
- All Implemented Interfaces:
public final class ChatCompletionContentPartImage.Builder
A builder for ChatCompletionContentPartImage.
-
-
Method Summary
-
-
Method Detail
-
imageUrl
final ChatCompletionContentPartImage.Builder imageUrl(ChatCompletionContentPartImage.ImageUrl imageUrl)
-
imageUrl
final ChatCompletionContentPartImage.Builder imageUrl(JsonField<ChatCompletionContentPartImage.ImageUrl> imageUrl)
Sets Builder.imageUrl to an arbitrary JSON value.
You should usually call Builder.imageUrl with a well-typed ImageUrl value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ChatCompletionContentPartImage.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_url")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ChatCompletionContentPartImage.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ChatCompletionContentPartImage.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ChatCompletionContentPartImage.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ChatCompletionContentPartImage.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ChatCompletionContentPartImage.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ChatCompletionContentPartImage build()
Returns an immutable instance of ChatCompletionContentPartImage.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.imageUrl()
-
-
-
-