Class ChatCompletionContentPartImage.ImageUrl.Builder
-
- All Implemented Interfaces:
public final class ChatCompletionContentPartImage.ImageUrl.Builder
A builder for ImageUrl.
-
-
Method Summary
-
-
Method Detail
-
url
final ChatCompletionContentPartImage.ImageUrl.Builder url(String url)
Either a URL of the image or the base64 encoded image data.
-
url
final ChatCompletionContentPartImage.ImageUrl.Builder url(JsonField<String> url)
Sets Builder.url to an arbitrary JSON value.
You should usually call Builder.url with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
detail
final ChatCompletionContentPartImage.ImageUrl.Builder detail(ChatCompletionContentPartImage.ImageUrl.Detail detail)
Specifies the detail level of the image. Learn more in the Vision guide.
-
detail
final ChatCompletionContentPartImage.ImageUrl.Builder detail(JsonField<ChatCompletionContentPartImage.ImageUrl.Detail> detail)
Sets Builder.detail to an arbitrary JSON value.
You should usually call Builder.detail with a well-typed Detail value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ChatCompletionContentPartImage.ImageUrl.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ChatCompletionContentPartImage.ImageUrl.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ChatCompletionContentPartImage.ImageUrl.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ChatCompletionContentPartImage.ImageUrl.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ChatCompletionContentPartImage.ImageUrl.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ChatCompletionContentPartImage.ImageUrl build()
Returns an immutable instance of ImageUrl.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.url()
-
-
-
-