Package com.commercetools.api.client
Class ByProjectKeySubscriptionsByIDPostString
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<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeySubscriptionsByIDPostString,Subscription>
com.commercetools.api.client.ByProjectKeySubscriptionsByIDPostString
- All Implemented Interfaces:
ConflictingTrait<ByProjectKeySubscriptionsByIDPostString>,Deprecatable200Trait<ByProjectKeySubscriptionsByIDPostString>,ErrorableTrait<ByProjectKeySubscriptionsByIDPostString>,ClientRequestCommand<Subscription>,CreateHttpRequestCommand,HttpRequestCommand<Subscription>,RequestCommand<Subscription>
public class ByProjectKeySubscriptionsByIDPostString
extends StringBodyApiMethod<ByProjectKeySubscriptionsByIDPostString,Subscription>
implements ConflictingTrait<ByProjectKeySubscriptionsByIDPostString>, Deprecatable200Trait<ByProjectKeySubscriptionsByIDPostString>, ErrorableTrait<ByProjectKeySubscriptionsByIDPostString>
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.subscription.Subscription>> result = apiRoot
.withProjectKey("{projectKey}")
.subscriptions()
.withId("{ID}")
.post("")
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,V> -
Constructor Summary
ConstructorsConstructorDescriptionByProjectKeySubscriptionsByIDPostString(ApiHttpClient apiHttpClient, String projectKey, String ID, String subscriptionUpdate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(ApiHttpClient client) executeBlocking(ApiHttpClient client, Duration timeout) getBody()getID()inthashCode()intcom.fasterxml.jackson.core.type.TypeReference<Subscription>voidvoidsetProjectKey(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, 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 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
executeBlocking
-
Constructor Details
-
ByProjectKeySubscriptionsByIDPostString
public ByProjectKeySubscriptionsByIDPostString(ApiHttpClient apiHttpClient, String projectKey, String ID, String subscriptionUpdate) -
ByProjectKeySubscriptionsByIDPostString
-
-
Method Details
-
resultType
- Specified by:
resultTypein interfaceHttpRequestCommand<Subscription>
-
executeBlocking
- Specified by:
executeBlockingin interfaceClientRequestCommand<Subscription>- Specified by:
executeBlockingin classApiMethod<ByProjectKeySubscriptionsByIDPostString,Subscription>
-
execute
- Specified by:
executein interfaceClientRequestCommand<Subscription>- Specified by:
executein classApiMethod<ByProjectKeySubscriptionsByIDPostString,Subscription>
-
getProjectKey
-
getID
-
setProjectKey
-
setID
-
getBody
- Overrides:
getBodyin classStringBodyApiMethod<ByProjectKeySubscriptionsByIDPostString,Subscription>
-
withBody
- Overrides:
withBodyin classStringBodyApiMethod<ByProjectKeySubscriptionsByIDPostString,Subscription>
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-