Class ImageUrl
-
- All Implemented Interfaces:
public final class ImageUrl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classImageUrl.BuilderA builder for ImageUrl.
public final classImageUrl.DetailSpecifies the detail level of the image.
lowuses fewer tokens, you can opt in to high resolution usinghigh. Default value isauto
-
Method Summary
Modifier and Type Method Description final Stringurl()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.BuildertoBuilder()final ImageUrlvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ImageUrl.Builderbuilder()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.
lowuses 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()
-
-
-
-