Package com.commercetools.ml.client
Class ByProjectKeyImageSearchConfigPostString
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,TBody>
io.vrap.rmf.base.client.TypeBodyApiMethod<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyImageSearchConfigPostString,ImageSearchConfigResponse>
com.commercetools.ml.client.ByProjectKeyImageSearchConfigPostString
- All Implemented Interfaces:
ClientRequestCommand<ImageSearchConfigResponse>,CreateHttpRequestCommand,HttpRequestCommand<ImageSearchConfigResponse>,RequestCommand<ImageSearchConfigResponse>
public class ByProjectKeyImageSearchConfigPostString
extends StringBodyApiMethod<ByProjectKeyImageSearchConfigPostString,ImageSearchConfigResponse>
Endpoint to update the image search config.
CompletableFuture<ApiHttpResponse<com.commercetools.ml.models.image_search_config.ImageSearchConfigResponse>> result = apiRoot
.withProjectKey("{projectKey}")
.imageSearch()
.config()
.post("")
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,V> -
Constructor Summary
ConstructorsConstructorDescriptionByProjectKeyImageSearchConfigPostString(ApiHttpClient apiHttpClient, String projectKey, String imageSearchConfigRequest) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(ApiHttpClient client) executeBlocking(ApiHttpClient client, Duration timeout) getBody()inthashCode()intcom.fasterxml.jackson.core.type.TypeReference<ImageSearchConfigResponse>voidsetProjectKey(String projectKey) toString()Methods inherited from class io.vrap.rmf.base.client.ApiMethod
addHeader, addQueryParam, addQueryParams, contentType, createHttpRequest, execute, execute, execute, execute, execute, execute, execute, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, executeBlocking, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, getQueryParamUriString, getQueryParamUriStrings, send, sendBlocking, sendBlocking, with, with, withHeader, withHeaders, withHttpRequest, withoutHeader, withoutQueryParam, withQueryParam, withQueryParamsMethods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand
executeBlockingMethods inherited from interface io.vrap.rmf.base.client.CreateHttpRequestCommand
createHttpRequestMethods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlocking
-
Constructor Details
-
ByProjectKeyImageSearchConfigPostString
public ByProjectKeyImageSearchConfigPostString(ApiHttpClient apiHttpClient, String projectKey, String imageSearchConfigRequest) -
ByProjectKeyImageSearchConfigPostString
-
-
Method Details
-
resultType
-
executeBlocking
public ApiHttpResponse<ImageSearchConfigResponse> executeBlocking(ApiHttpClient client, Duration timeout) - Specified by:
executeBlockingin interfaceClientRequestCommand<ImageSearchConfigResponse>- Specified by:
executeBlockingin classApiMethod<ByProjectKeyImageSearchConfigPostString,ImageSearchConfigResponse>
-
execute
- Specified by:
executein interfaceClientRequestCommand<ImageSearchConfigResponse>- Specified by:
executein classApiMethod<ByProjectKeyImageSearchConfigPostString,ImageSearchConfigResponse>
-
getProjectKey
-
setProjectKey
-
getBody
- Overrides:
getBodyin classStringBodyApiMethod<ByProjectKeyImageSearchConfigPostString,ImageSearchConfigResponse>
-
withBody
- Overrides:
withBodyin classStringBodyApiMethod<ByProjectKeyImageSearchConfigPostString,ImageSearchConfigResponse>
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-