Class ImageUrl
-
- All Implemented Interfaces:
public final class ImageUrl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ImageUrl.Builder
A builder for ImageUrl.
public final class
ImageUrl.Detail
Specifies the detail level of the image.
low
uses fewer tokens, you can opt in to high resolution usinghigh
. Default value isauto
-
Method Summary
Modifier and Type Method Description final String
url()
The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp. final Optional<ImageUrl.Detail>
detail()
Specifies the detail level of the image. final JsonField<String>
_url()
Returns the raw JSON value of url. final JsonField<ImageUrl.Detail>
_detail()
Returns the raw JSON value of detail. final Map<String, JsonValue>
_additionalProperties()
final ImageUrl.Builder
toBuilder()
final ImageUrl
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ImageUrl.Builder
builder()
Returns a mutable builder for constructing an instance of ImageUrl. -
-
Method Detail
-
url
final String url()
The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.
-
detail
final Optional<ImageUrl.Detail> detail()
Specifies the detail level of the image.
low
uses fewer tokens, you can opt in to high resolution usinghigh
. Default value isauto
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_detail
final JsonField<ImageUrl.Detail> _detail()
Returns the raw JSON value of detail.
Unlike detail, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ImageUrl.Builder toBuilder()
-
builder
final static ImageUrl.Builder builder()
Returns a mutable builder for constructing an instance of ImageUrl.
The following fields are required:
.url()
-
-
-
-