Package com.commercetools.api.client
Class ByProjectKeyPost
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<ByProjectKeyPost,Project,ProjectUpdate>
com.commercetools.api.client.ByProjectKeyPost
- All Implemented Interfaces:
ConflictingTrait<ByProjectKeyPost>,ClientRequestCommand<Project>,CreateHttpRequestCommand,HttpRequestCommand<Project>,RequestCommand<Project>
public class ByProjectKeyPost
extends TypeBodyApiMethod<ByProjectKeyPost,Project,ProjectUpdate>
implements ConflictingTrait<ByProjectKeyPost>
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.project.Project>> result = apiRoot
.withProjectKey("{projectKey}")
.post(null)
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,V> -
Constructor Summary
ConstructorsConstructorDescriptionByProjectKeyPost(ApiHttpClient apiHttpClient, String projectKey, ProjectUpdate projectUpdate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(ApiHttpClient client) executeBlocking(ApiHttpClient client, Duration timeout) getBody()inthashCode()intcom.fasterxml.jackson.core.type.TypeReference<Project>voidsetProjectKey(String projectKey) toString()withBody(ProjectUpdate projectUpdate) 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 com.commercetools.api.client.ConflictingTrait
asConflictingTrait, asConflictingTraitToBaseTypeMethods inherited from interface io.vrap.rmf.base.client.CreateHttpRequestCommand
createHttpRequestMethods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlocking
-
Constructor Details
-
ByProjectKeyPost
public ByProjectKeyPost(ApiHttpClient apiHttpClient, String projectKey, ProjectUpdate projectUpdate) -
ByProjectKeyPost
-
-
Method Details
-
resultType
- Specified by:
resultTypein interfaceHttpRequestCommand<Project>
-
executeBlocking
- Specified by:
executeBlockingin interfaceClientRequestCommand<Project>- Specified by:
executeBlockingin classApiMethod<ByProjectKeyPost,Project>
-
execute
- Specified by:
executein interfaceClientRequestCommand<Project>- Specified by:
executein classApiMethod<ByProjectKeyPost,Project>
-
getProjectKey
-
setProjectKey
-
getBody
- Overrides:
getBodyin classTypeBodyApiMethod<ByProjectKeyPost,Project, ProjectUpdate>
-
withBody
- Overrides:
withBodyin classTypeBodyApiMethod<ByProjectKeyPost,Project, ProjectUpdate>
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-