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(int limit)
add additional limit query parameter
|
ByProjectKeyImageSearchPost |
addLimit(List<Integer> limit)
add additional limit query parameters
|
ByProjectKeyImageSearchPost |
addOffset(int offset)
add additional offset query parameter
|
ByProjectKeyImageSearchPost |
addOffset(List<Integer> offset)
add additional offset query parameters
|
io.vrap.rmf.base.client.ApiHttpRequest |
createHttpRequest() |
boolean |
equals(Object o) |
CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<ImageSearchResponse>> |
execute(io.vrap.rmf.base.client.ApiHttpClient client) |
io.vrap.rmf.base.client.ApiHttpResponse<ImageSearchResponse> |
executeBlocking(io.vrap.rmf.base.client.ApiHttpClient client,
Duration timeout) |
List<String> |
getLimit() |
List<String> |
getOffset() |
String |
getProjectKey() |
int |
hashCode() |
void |
setProjectKey(String projectKey) |
ByProjectKeyImageSearchPost |
withLimit(int limit)
set limit with the specificied value
|
ByProjectKeyImageSearchPost |
withLimit(List<Integer> limit)
set limit with the specificied values
|
ByProjectKeyImageSearchPost |
withOffset(int offset)
set offset with the specificied value
|
ByProjectKeyImageSearchPost |
withOffset(List<Integer> offset)
set offset with the specificied values
|
addHeader, addQueryParam, addQueryParams, contentType, execute, executeBlocking, executeBlocking, executeBlocking, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, getQueryParamUriString, 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(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout)
executeBlocking in interface io.vrap.rmf.base.client.ClientRequestCommand<ImageSearchResponse>executeBlocking in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeyImageSearchPost,ImageSearchResponse>public CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<ImageSearchResponse>> execute(io.vrap.rmf.base.client.ApiHttpClient client)
execute in interface io.vrap.rmf.base.client.ClientRequestCommand<ImageSearchResponse>execute in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeyImageSearchPost,ImageSearchResponse>public String getProjectKey()
public void setProjectKey(String projectKey)
public ByProjectKeyImageSearchPost withLimit(int limit)
public ByProjectKeyImageSearchPost addLimit(int limit)
public ByProjectKeyImageSearchPost withLimit(List<Integer> limit)
public ByProjectKeyImageSearchPost addLimit(List<Integer> limit)
public ByProjectKeyImageSearchPost withOffset(int offset)
public ByProjectKeyImageSearchPost addOffset(int offset)
public ByProjectKeyImageSearchPost withOffset(List<Integer> offset)
public ByProjectKeyImageSearchPost addOffset(List<Integer> offset)
public boolean equals(Object o)
public int hashCode()