Class ChatCompletionContentPartImage.ImageUrl
-
- All Implemented Interfaces:
public final class ChatCompletionContentPartImage.ImageUrl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionContentPartImage.ImageUrl.BuilderA builder for ImageUrl.
public final classChatCompletionContentPartImage.ImageUrl.DetailSpecifies the detail level of the image. Learn more in the Vision guide.
-
Method Summary
Modifier and Type Method Description final Stringurl()Either a URL of the image or the base64 encoded image data. final Optional<ChatCompletionContentPartImage.ImageUrl.Detail>detail()Specifies the detail level of the image. final JsonField<String>_url()Either a URL of the image or the base64 encoded image data. final JsonField<ChatCompletionContentPartImage.ImageUrl.Detail>_detail()Specifies the detail level of the image. final Map<String, JsonValue>_additionalProperties()final ChatCompletionContentPartImage.ImageUrlvalidate()final ChatCompletionContentPartImage.ImageUrl.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionContentPartImage.ImageUrl.Builderbuilder()Returns a mutable builder for constructing an instance of ImageUrl. -
-
Method Detail
-
detail
final Optional<ChatCompletionContentPartImage.ImageUrl.Detail> detail()
Specifies the detail level of the image. Learn more in the Vision guide.
-
_detail
final JsonField<ChatCompletionContentPartImage.ImageUrl.Detail> _detail()
Specifies the detail level of the image. Learn more in the Vision guide.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionContentPartImage.ImageUrl validate()
-
toBuilder
final ChatCompletionContentPartImage.ImageUrl.Builder toBuilder()
-
builder
final static ChatCompletionContentPartImage.ImageUrl.Builder builder()
Returns a mutable builder for constructing an instance of ImageUrl.
The following fields are required:
.url()
-
-
-
-