Package com.commercetools.api.client
Class ByProjectKeyMeDelete
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyMeDelete,Customer>
com.commercetools.api.client.ByProjectKeyMeDelete
- All Implemented Interfaces:
ConflictingTrait<ByProjectKeyMeDelete>
,Deprecatable200Trait<ByProjectKeyMeDelete>
,ErrorableTrait<ByProjectKeyMeDelete>
,VersionedTrait<ByProjectKeyMeDelete>
,io.vrap.rmf.base.client.ClientRequestCommand<Customer>
,io.vrap.rmf.base.client.CreateHttpRequestCommand
,io.vrap.rmf.base.client.RequestCommand<Customer>
public class ByProjectKeyMeDelete
extends io.vrap.rmf.base.client.ApiMethod<ByProjectKeyMeDelete,Customer>
implements VersionedTrait<ByProjectKeyMeDelete>, ConflictingTrait<ByProjectKeyMeDelete>, ErrorableTrait<ByProjectKeyMeDelete>, Deprecatable200Trait<ByProjectKeyMeDelete>
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.customer.Customer>> result = apiRoot
.withProjectKey("{projectKey}")
.me()
.delete()
.withVersion(version)
.execute()
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionByProjectKeyMeDelete
(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey) -
Method Summary
Modifier and TypeMethodDescription<TValue> ByProjectKeyMeDelete
addVersion
(Collection<TValue> version) add additional version query parametersadd additional version query parameteraddVersion
(Supplier<Long> supplier) add additional version query parameter<TValue> ByProjectKeyMeDelete
addVersion
(TValue version) add additional version query parameterboolean
CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<Customer>>
execute
(io.vrap.rmf.base.client.ApiHttpClient client) io.vrap.rmf.base.client.ApiHttpResponse<Customer>
executeBlocking
(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout) int
hashCode()
int
void
setProjectKey
(String projectKey) toString()
<TValue> ByProjectKeyMeDelete
withVersion
(Collection<TValue> version) set version with the specified valuesset version with the specified valuewithVersion
(Supplier<Long> supplier) set version with the specified value<TValue> ByProjectKeyMeDelete
withVersion
(TValue version) set version with the specified valueMethods 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 com.commercetools.api.client.Deprecatable200Trait
asDeprecatable200Trait, asDeprecatable200TraitToBaseType
Methods inherited from interface com.commercetools.api.client.ErrorableTrait
asErrorableTrait, asErrorableTraitToBaseType
Methods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlocking
Methods inherited from interface com.commercetools.api.client.VersionedTrait
asVersionedTrait, asVersionedTraitToBaseType
-
Constructor Details
-
ByProjectKeyMeDelete
-
ByProjectKeyMeDelete
-
-
Method Details
-
executeBlocking
public io.vrap.rmf.base.client.ApiHttpResponse<Customer> executeBlocking(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout) - Specified by:
executeBlocking
in interfaceio.vrap.rmf.base.client.ClientRequestCommand<Customer>
- Specified by:
executeBlocking
in classio.vrap.rmf.base.client.ApiMethod<ByProjectKeyMeDelete,
Customer>
-
execute
public CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<Customer>> execute(io.vrap.rmf.base.client.ApiHttpClient client) - Specified by:
execute
in interfaceio.vrap.rmf.base.client.ClientRequestCommand<Customer>
- Specified by:
execute
in classio.vrap.rmf.base.client.ApiMethod<ByProjectKeyMeDelete,
Customer>
-
getProjectKey
-
getVersion
- Specified by:
getVersion
in interfaceVersionedTrait<ByProjectKeyMeDelete>
-
setProjectKey
-
withVersion
set version with the specified value- Specified by:
withVersion
in interfaceVersionedTrait<ByProjectKeyMeDelete>
- Type Parameters:
TValue
- value type- Parameters:
version
- value to be set- Returns:
- ByProjectKeyMeDelete
-
addVersion
add additional version query parameter- Specified by:
addVersion
in interfaceVersionedTrait<ByProjectKeyMeDelete>
- Type Parameters:
TValue
- value type- Parameters:
version
- value to be added- Returns:
- ByProjectKeyMeDelete
-
withVersion
set version with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyMeDelete
-
addVersion
add additional version query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyMeDelete
-
withVersion
set version with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyMeDelete
-
addVersion
add additional version query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyMeDelete
-
withVersion
set version with the specified values- Type Parameters:
TValue
- value type- Parameters:
version
- values to be set- Returns:
- ByProjectKeyMeDelete
-
addVersion
add additional version query parameters- Type Parameters:
TValue
- value type- Parameters:
version
- values to be added- Returns:
- ByProjectKeyMeDelete
-
equals
-
hashCode
-
toString
-
reflectionHashCode
public int reflectionHashCode()
-