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,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeySubscriptionsByIDPostString,Subscription>
com.commercetools.api.client.ByProjectKeySubscriptionsByIDPostString
- All Implemented Interfaces:
ConflictingTrait<ByProjectKeySubscriptionsByIDPostString>
,Deprecatable200Trait<ByProjectKeySubscriptionsByIDPostString>
,ErrorableTrait<ByProjectKeySubscriptionsByIDPostString>
,io.vrap.rmf.base.client.ClientRequestCommand<Subscription>
,io.vrap.rmf.base.client.CreateHttpRequestCommand
,io.vrap.rmf.base.client.RequestCommand<Subscription>
public class ByProjectKeySubscriptionsByIDPostString
extends io.vrap.rmf.base.client.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
-
Constructor Summary
ConstructorDescriptionByProjectKeySubscriptionsByIDPostString
(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey, String ID, String subscriptionUpdate) -
Method Summary
Modifier and TypeMethodDescriptionboolean
CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<Subscription>>
execute
(io.vrap.rmf.base.client.ApiHttpClient client) io.vrap.rmf.base.client.ApiHttpResponse<Subscription>
executeBlocking
(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout) getBody()
getID()
int
hashCode()
int
void
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, 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
-
Constructor Details
-
ByProjectKeySubscriptionsByIDPostString
-
ByProjectKeySubscriptionsByIDPostString
-
-
Method Details
-
executeBlocking
public io.vrap.rmf.base.client.ApiHttpResponse<Subscription> executeBlocking(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout) - Specified by:
executeBlocking
in interfaceio.vrap.rmf.base.client.ClientRequestCommand<Subscription>
- Specified by:
executeBlocking
in classio.vrap.rmf.base.client.ApiMethod<ByProjectKeySubscriptionsByIDPostString,
Subscription>
-
execute
public CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<Subscription>> execute(io.vrap.rmf.base.client.ApiHttpClient client) - Specified by:
execute
in interfaceio.vrap.rmf.base.client.ClientRequestCommand<Subscription>
- Specified by:
execute
in classio.vrap.rmf.base.client.ApiMethod<ByProjectKeySubscriptionsByIDPostString,
Subscription>
-
getProjectKey
-
getID
-
setProjectKey
-
setID
-
getBody
- Overrides:
getBody
in classio.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeySubscriptionsByIDPostString,
Subscription>
-
withBody
- Overrides:
withBody
in classio.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeySubscriptionsByIDPostString,
Subscription>
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-