All Bundles

ImageQuery

Image query

Operations

New

Constructor

New(query:String, image_url:Url)
Parameters
NameTypeDescription
queryStringtext query
image_urlUrlURL to image

Constructor

New(query:String, image:Byte[], mime_type:ImageQuery->MimeType)
Parameters
NameTypeDescription
queryStringtext query
imageByte[]binary image
mime_typeImageQuery->MimeTypeimag MIME type

GetImage

Get the image URL

method : public : GetImage() ~ Byte[]
Return
TypeDescription
Byte[]image bytes

GetImageUrl

Get the image URL

method : public : GetImageUrl() ~ Url
Return
TypeDescription
Urlimage URL

GetMimeType

Get the image mime type

method : public : GetMimeType() ~ String
Return
TypeDescription
Stringimage mime type

GetQuery

Get the text query

method : public : GetQuery() ~ String
Return
TypeDescription
Stringtext query

ToString

String representation of the object

method : public : ToString() ~ String
Return
TypeDescription
Stringstring representation