Image query
OperationsConstructor
New(query:String, image_url:Url)
Name | Type | Description |
---|---|---|
query | String | text query |
image_url | Url | URL to image |
Constructor
New(query:String, image:Byte[], mime_type:ImageQuery->MimeType)
Name | Type | Description |
---|---|---|
query | String | text query |
image | Byte[] | binary image |
mime_type | ImageQuery->MimeType | imag MIME type |
Get the image URL
method : public : GetImage() ~ Byte[]
Type | Description |
---|---|
Byte[] | image bytes |
Get the image URL
method : public : GetImageUrl() ~ Url
Type | Description |
---|---|
Url | image URL |
Get the image mime type
method : public : GetMimeType() ~ String
Type | Description |
---|---|
String | image mime type |
Get the text query
method : public : GetQuery() ~ String
Type | Description |
---|---|
String | text query |
String representation of the object
method : public : ToString() ~ String
Type | Description |
---|---|
String | string representation |