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
ConstructorDescriptionByProjectKeyPost
(ApiHttpClient apiHttpClient, String projectKey, ProjectUpdate projectUpdate) -
Method Summary
Modifier and TypeMethodDescriptionboolean
execute
(ApiHttpClient client) executeBlocking
(ApiHttpClient client, Duration timeout) getBody()
int
hashCode()
int
com.fasterxml.jackson.core.type.TypeReference<Project>
void
setProjectKey
(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, withQueryParams
Methods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand
executeBlocking
Methods inherited from interface com.commercetools.api.client.ConflictingTrait
asConflictingTrait, asConflictingTraitToBaseType
Methods inherited from interface io.vrap.rmf.base.client.CreateHttpRequestCommand
createHttpRequest
Methods 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:
resultType
in interfaceHttpRequestCommand<Project>
-
executeBlocking
- Specified by:
executeBlocking
in interfaceClientRequestCommand<Project>
- Specified by:
executeBlocking
in classApiMethod<ByProjectKeyPost,
Project>
-
execute
- Specified by:
execute
in interfaceClientRequestCommand<Project>
- Specified by:
execute
in classApiMethod<ByProjectKeyPost,
Project>
-
getProjectKey
-
setProjectKey
-
getBody
- Overrides:
getBody
in classTypeBodyApiMethod<ByProjectKeyPost,
Project, ProjectUpdate>
-
withBody
- Overrides:
withBody
in classTypeBodyApiMethod<ByProjectKeyPost,
Project, ProjectUpdate>
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-