public class ByProjectKeyImageSearchPost extends io.vrap.rmf.base.client.ApiMethod<ByProjectKeyImageSearchPost,ImageSearchResponse>
Accepts an image file and returns similar products from product catalogue.
| Constructor and Description |
|---|
ByProjectKeyImageSearchPost(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient,
String projectKey,
File file) |
ByProjectKeyImageSearchPost(ByProjectKeyImageSearchPost t) |
| Modifier and Type | Method and Description |
|---|---|
ByProjectKeyImageSearchPost |
addLimit(Integer limit) |
ByProjectKeyImageSearchPost |
addOffset(Integer offset) |
io.vrap.rmf.base.client.ApiHttpRequest |
createHttpRequest() |
CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<ImageSearchResponse>> |
execute() |
io.vrap.rmf.base.client.ApiHttpResponse<ImageSearchResponse> |
executeBlocking(Duration timeout) |
List<String> |
getLimit() |
List<String> |
getOffset() |
String |
getProjectKey() |
void |
setProjectKey(String projectKey) |
ByProjectKeyImageSearchPost |
withLimit(Integer limit) |
ByProjectKeyImageSearchPost |
withOffset(Integer offset) |
addHeader, addQueryParam, executeBlocking, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, getQueryParamUriStrings, send, sendBlocking, sendBlocking, withHeader, withHeaders, withoutHeader, withoutQueryParam, withQueryParam, withQueryParamspublic ByProjectKeyImageSearchPost(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient,
String projectKey,
File file)
public ByProjectKeyImageSearchPost(ByProjectKeyImageSearchPost t)
public io.vrap.rmf.base.client.ApiHttpRequest createHttpRequest()
createHttpRequest in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeyImageSearchPost,ImageSearchResponse>public io.vrap.rmf.base.client.ApiHttpResponse<ImageSearchResponse> executeBlocking(Duration timeout)
executeBlocking in interface io.vrap.rmf.base.client.RequestCommand<ImageSearchResponse>executeBlocking in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeyImageSearchPost,ImageSearchResponse>public CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<ImageSearchResponse>> execute()
execute in interface io.vrap.rmf.base.client.RequestCommand<ImageSearchResponse>execute in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeyImageSearchPost,ImageSearchResponse>public String getProjectKey()
public void setProjectKey(String projectKey)
public ByProjectKeyImageSearchPost withLimit(Integer limit)
public ByProjectKeyImageSearchPost addLimit(Integer limit)
public ByProjectKeyImageSearchPost withOffset(Integer offset)
public ByProjectKeyImageSearchPost addOffset(Integer offset)