Package com.commercetools.api.client
Class ByProjectKeySubscriptionsByIDDelete
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeySubscriptionsByIDDelete,Subscription>
com.commercetools.api.client.ByProjectKeySubscriptionsByIDDelete
- All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeySubscriptionsByIDDelete,,Subscription> ConflictingTrait<ByProjectKeySubscriptionsByIDDelete>,Deprecatable200Trait<ByProjectKeySubscriptionsByIDDelete>,ErrorableTrait<ByProjectKeySubscriptionsByIDDelete>,VersionedTrait<ByProjectKeySubscriptionsByIDDelete>,ClientRequestCommand<Subscription>,CreateHttpRequestCommand,HttpRequestCommand<Subscription>,RequestCommand<Subscription>
public class ByProjectKeySubscriptionsByIDDelete
extends TypeApiMethod<ByProjectKeySubscriptionsByIDDelete,Subscription>
implements ApiDeleteMethod<ByProjectKeySubscriptionsByIDDelete,Subscription>, VersionedTrait<ByProjectKeySubscriptionsByIDDelete>, ConflictingTrait<ByProjectKeySubscriptionsByIDDelete>, ErrorableTrait<ByProjectKeySubscriptionsByIDDelete>, Deprecatable200Trait<ByProjectKeySubscriptionsByIDDelete>
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.subscription.Subscription>> result = apiRoot
.withProjectKey("{projectKey}")
.subscriptions()
.withId("{ID}")
.delete()
.withVersion(version)
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,V> -
Constructor Summary
ConstructorsConstructorDescriptionByProjectKeySubscriptionsByIDDelete(ApiHttpClient apiHttpClient, String projectKey, String ID) -
Method Summary
Modifier and TypeMethodDescription<TValue> ByProjectKeySubscriptionsByIDDeleteaddVersion(Collection<TValue> version) add additional version query parametersadd additional version query parameteraddVersion(Supplier<Long> supplier) add additional version query parameter<TValue> ByProjectKeySubscriptionsByIDDeleteaddVersion(TValue version) add additional version query parameterbooleanexecute(ApiHttpClient client) executeBlocking(ApiHttpClient client, Duration timeout) getID()inthashCode()intcom.fasterxml.jackson.core.type.TypeReference<Subscription>voidvoidsetProjectKey(String projectKey) toString()<TValue> ByProjectKeySubscriptionsByIDDeletewithVersion(Collection<TValue> version) set version with the specified valuesset version with the specified valuewithVersion(Supplier<Long> supplier) set version with the specified value<TValue> ByProjectKeySubscriptionsByIDDeletewithVersion(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, withQueryParamsMethods inherited from interface com.commercetools.api.client.ApiDeleteMethod
asBaseTypeMethods 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 com.commercetools.api.client.Deprecatable200Trait
asDeprecatable200Trait, asDeprecatable200TraitToBaseTypeMethods inherited from interface com.commercetools.api.client.ErrorableTrait
asErrorableTrait, asErrorableTraitToBaseTypeMethods inherited from interface io.vrap.rmf.base.client.RequestCommand
execute, executeBlocking, executeBlockingMethods inherited from interface com.commercetools.api.client.VersionedTrait
asVersionedTrait, asVersionedTraitToBaseType
-
Constructor Details
-
ByProjectKeySubscriptionsByIDDelete
public ByProjectKeySubscriptionsByIDDelete(ApiHttpClient apiHttpClient, String projectKey, String ID) -
ByProjectKeySubscriptionsByIDDelete
-
-
Method Details
-
resultType
- Specified by:
resultTypein interfaceHttpRequestCommand<Subscription>
-
executeBlocking
- Specified by:
executeBlockingin interfaceClientRequestCommand<Subscription>- Specified by:
executeBlockingin classApiMethod<ByProjectKeySubscriptionsByIDDelete,Subscription>
-
execute
- Specified by:
executein interfaceClientRequestCommand<Subscription>- Specified by:
executein classApiMethod<ByProjectKeySubscriptionsByIDDelete,Subscription>
-
getProjectKey
-
getID
-
getVersion
- Specified by:
getVersionin interfaceApiDeleteMethod<ByProjectKeySubscriptionsByIDDelete,Subscription> - Specified by:
getVersionin interfaceVersionedTrait<ByProjectKeySubscriptionsByIDDelete>
-
setProjectKey
-
setID
-
withVersion
set version with the specified value- Specified by:
withVersionin interfaceApiDeleteMethod<ByProjectKeySubscriptionsByIDDelete,Subscription> - Specified by:
withVersionin interfaceVersionedTrait<ByProjectKeySubscriptionsByIDDelete>- Type Parameters:
TValue- value type- Parameters:
version- value to be set- Returns:
- ByProjectKeySubscriptionsByIDDelete
-
addVersion
add additional version query parameter- Specified by:
addVersionin interfaceApiDeleteMethod<ByProjectKeySubscriptionsByIDDelete,Subscription> - Specified by:
addVersionin interfaceVersionedTrait<ByProjectKeySubscriptionsByIDDelete>- Type Parameters:
TValue- value type- Parameters:
version- value to be added- Returns:
- ByProjectKeySubscriptionsByIDDelete
-
withVersion
set version with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeySubscriptionsByIDDelete
-
addVersion
add additional version query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeySubscriptionsByIDDelete
-
withVersion
set version with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeySubscriptionsByIDDelete
-
addVersion
add additional version query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeySubscriptionsByIDDelete
-
withVersion
set version with the specified values- Type Parameters:
TValue- value type- Parameters:
version- values to be set- Returns:
- ByProjectKeySubscriptionsByIDDelete
-
addVersion
add additional version query parameters- Type Parameters:
TValue- value type- Parameters:
version- values to be added- Returns:
- ByProjectKeySubscriptionsByIDDelete
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-