Class ByProjectKeySubscriptionsByIDGet

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeySubscriptionsByIDGet,Subscription>
com.commercetools.api.client.ByProjectKeySubscriptionsByIDGet
All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeySubscriptionsByIDGet>, ErrorableTrait<ByProjectKeySubscriptionsByIDGet>, io.vrap.rmf.base.client.ClientRequestCommand<Subscription>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<Subscription>, io.vrap.rmf.base.client.RequestCommand<Subscription>

public class ByProjectKeySubscriptionsByIDGet extends io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeySubscriptionsByIDGet,Subscription> implements ErrorableTrait<ByProjectKeySubscriptionsByIDGet>, Deprecatable200Trait<ByProjectKeySubscriptionsByIDGet>


   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.subscription.Subscription>> result = apiRoot
            .withProjectKey("{projectKey}")
            .subscriptions()
            .withId("{ID}")
            .get()
            .execute()
 
  • Constructor Details

    • ByProjectKeySubscriptionsByIDGet

      public ByProjectKeySubscriptionsByIDGet(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey, String ID)
    • ByProjectKeySubscriptionsByIDGet

      public ByProjectKeySubscriptionsByIDGet(ByProjectKeySubscriptionsByIDGet t)
  • Method Details

    • resultType

      public com.fasterxml.jackson.core.type.TypeReference<Subscription> resultType()
      Specified by:
      resultType in interface io.vrap.rmf.base.client.HttpRequestCommand<Subscription>
    • executeBlocking

      public io.vrap.rmf.base.client.ApiHttpResponse<Subscription> executeBlocking(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout)
      Specified by:
      executeBlocking in interface io.vrap.rmf.base.client.ClientRequestCommand<Subscription>
      Specified by:
      executeBlocking in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeySubscriptionsByIDGet,Subscription>
    • execute

      public CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<Subscription>> execute(io.vrap.rmf.base.client.ApiHttpClient client)
      Specified by:
      execute in interface io.vrap.rmf.base.client.ClientRequestCommand<Subscription>
      Specified by:
      execute in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeySubscriptionsByIDGet,Subscription>
    • getProjectKey

      public String getProjectKey()
    • getID

      public String getID()
    • setProjectKey

      public void setProjectKey(String projectKey)
    • setID

      public void setID(String ID)
    • equals

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • reflectionHashCode

      public int reflectionHashCode()