Package com.commercetools.ml.client
Class ByProjectKeyImageSearchConfigPost
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<ByProjectKeyImageSearchConfigPost,ImageSearchConfigResponse,ImageSearchConfigRequest>
com.commercetools.ml.client.ByProjectKeyImageSearchConfigPost
- All Implemented Interfaces:
ClientRequestCommand<ImageSearchConfigResponse>,CreateHttpRequestCommand,HttpRequestCommand<ImageSearchConfigResponse>,RequestCommand<ImageSearchConfigResponse>
public class ByProjectKeyImageSearchConfigPost
extends TypeBodyApiMethod<ByProjectKeyImageSearchConfigPost,ImageSearchConfigResponse,ImageSearchConfigRequest>
Endpoint to update the image search config.
CompletableFuture<ApiHttpResponse<com.commercetools.ml.models.image_search_config.ImageSearchConfigResponse>> result = apiRoot
.withProjectKey("{projectKey}")
.imageSearch()
.config()
.post(null)
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,V> -
Constructor Summary
ConstructorsConstructorDescriptionByProjectKeyImageSearchConfigPost(ApiHttpClient apiHttpClient, String projectKey, ImageSearchConfigRequest 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()withBody(ImageSearchConfigRequest imageSearchConfigRequest) 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
-
ByProjectKeyImageSearchConfigPost
public ByProjectKeyImageSearchConfigPost(ApiHttpClient apiHttpClient, String projectKey, ImageSearchConfigRequest imageSearchConfigRequest) -
ByProjectKeyImageSearchConfigPost
-
-
Method Details
-
resultType
-
executeBlocking
public ApiHttpResponse<ImageSearchConfigResponse> executeBlocking(ApiHttpClient client, Duration timeout) - Specified by:
executeBlockingin interfaceClientRequestCommand<ImageSearchConfigResponse>- Specified by:
executeBlockingin classApiMethod<ByProjectKeyImageSearchConfigPost,ImageSearchConfigResponse>
-
execute
- Specified by:
executein interfaceClientRequestCommand<ImageSearchConfigResponse>- Specified by:
executein classApiMethod<ByProjectKeyImageSearchConfigPost,ImageSearchConfigResponse>
-
getProjectKey
-
setProjectKey
-
getBody
-
withBody
public ByProjectKeyImageSearchConfigPost withBody(ImageSearchConfigRequest imageSearchConfigRequest) -
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-