public class ImageSearchResponseImpl extends Object implements ImageSearchResponse, io.vrap.rmf.base.client.ModelBase
Response format from image search endpoint.
| Constructor and Description |
|---|
ImageSearchResponseImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getCount()
The maximum number of results to return from a query.
|
Double |
getOffset()
Number of elements skipped.
|
List<ResultItem> |
getResults()
An array of image URLs of images that are similar to the query image.
|
Integer |
getTotal()
The total number of product images that were have been analyzed.
|
int |
hashCode() |
void |
setCount(Integer count) |
void |
setOffset(Double offset) |
void |
setResults(List<ResultItem> results) |
void |
setResults(ResultItem... results) |
void |
setTotal(Integer total) |
getClass, notify, notifyAll, toString, wait, wait, waitbuilder, builder, of, of, typeReference, withImageSearchResponsepublic ImageSearchResponseImpl()
public Integer getCount()
The maximum number of results to return from a query.
getCount in interface ImageSearchResponsepublic Double getOffset()
Number of elements skipped.
getOffset in interface ImageSearchResponsepublic Integer getTotal()
The total number of product images that were have been analyzed.
getTotal in interface ImageSearchResponsepublic List<ResultItem> getResults()
An array of image URLs of images that are similar to the query image. If no matching images are found, results is empty.
getResults in interface ImageSearchResponsepublic void setCount(Integer count)
setCount in interface ImageSearchResponsepublic void setOffset(Double offset)
setOffset in interface ImageSearchResponsepublic void setTotal(Integer total)
setTotal in interface ImageSearchResponsepublic void setResults(ResultItem... results)
setResults in interface ImageSearchResponsepublic void setResults(List<ResultItem> results)
setResults in interface ImageSearchResponse