Class ImageUrl
java.lang.Object
co.elastic.clients.elasticsearch.inference.ImageUrl
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ImageUrl>Json deserializer forImageUrl -
Method Summary
Modifier and TypeMethodDescriptionfinal ImageUrlDetaildetail()Specifies the detail level of the imagestatic ImageUrlrebuild()voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final Stringurl()Required - The base64 encoded image data as a data URI
-
Field Details
-
_DESERIALIZER
Json deserializer forImageUrl
-
-
Method Details
-
of
-
url
Required - The base64 encoded image data as a data URIAPI name:
url -
detail
Specifies the detail level of the imageAPI name:
detail -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
rebuild
- Returns:
- New
ImageUrl.Builderinitialized with field values of this instance
-
setupImageUrlDeserializer
-