Package com.commercetools.api.client
Class ByProjectKeyGet
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyGet,Project>
com.commercetools.api.client.ByProjectKeyGet
- All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyGet>
,ErrorableTrait<ByProjectKeyGet>
,io.vrap.rmf.base.client.ClientRequestCommand<Project>
,io.vrap.rmf.base.client.RequestCommand<Project>
public class ByProjectKeyGet
extends io.vrap.rmf.base.client.ApiMethod<ByProjectKeyGet,Project>
implements ErrorableTrait<ByProjectKeyGet>, Deprecatable200Trait<ByProjectKeyGet>
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.project.Project>> result = apiRoot
.withProjectKey("{projectKey}")
.get()
.execute()
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionByProjectKeyGet
(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey) -
Method Summary
Modifier and TypeMethodDescriptionboolean
CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<Project>>
execute
(io.vrap.rmf.base.client.ApiHttpClient client) io.vrap.rmf.base.client.ApiHttpResponse<Project>
executeBlocking
(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout) int
hashCode()
int
void
setProjectKey
(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, executeBlocking, executeBlocking, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, getQueryParamUriString, getQueryParamUriStrings, send, sendBlocking, sendBlocking, with, with, withHeader, withHeaders, withHttpRequest, withoutHeader, withoutQueryParam, withQueryParam, withQueryParams
Methods inherited from interface com.commercetools.api.client.Deprecatable200Trait
asDeprecatable200Trait, asDeprecatable200TraitToBaseType
Methods inherited from interface com.commercetools.api.client.ErrorableTrait
asErrorableTrait, asErrorableTraitToBaseType
-
Constructor Details
-
ByProjectKeyGet
-
ByProjectKeyGet
-
-
Method Details
-
executeBlocking
public io.vrap.rmf.base.client.ApiHttpResponse<Project> executeBlocking(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout) - Specified by:
executeBlocking
in interfaceio.vrap.rmf.base.client.ClientRequestCommand<Project>
- Specified by:
executeBlocking
in classio.vrap.rmf.base.client.ApiMethod<ByProjectKeyGet,
Project>
-
execute
public CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<Project>> execute(io.vrap.rmf.base.client.ApiHttpClient client) - Specified by:
execute
in interfaceio.vrap.rmf.base.client.ClientRequestCommand<Project>
- Specified by:
execute
in classio.vrap.rmf.base.client.ApiMethod<ByProjectKeyGet,
Project>
-
getProjectKey
-
setProjectKey
-
equals
-
hashCode
-
toString
-
reflectionHashCode
public int reflectionHashCode()
-