Class ByProjectKeyMeDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<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.HttpRequestCommand<Customer>, io.vrap.rmf.base.client.RequestCommand<Customer>



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.customer.Customer>> result = apiRoot
            .withProjectKey("{projectKey}")
            .me()
            .delete()
            .withVersion(version)
            .execute()
 
  • Constructor Details

    • ByProjectKeyMeDelete

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

      public ByProjectKeyMeDelete(ByProjectKeyMeDelete t)
  • Method Details

    • resultType

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

      public io.vrap.rmf.base.client.ApiHttpResponse<Customer> executeBlocking(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout)
      Specified by:
      executeBlocking in interface io.vrap.rmf.base.client.ClientRequestCommand<Customer>
      Specified by:
      executeBlocking in class io.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 interface io.vrap.rmf.base.client.ClientRequestCommand<Customer>
      Specified by:
      execute in class io.vrap.rmf.base.client.ApiMethod<ByProjectKeyMeDelete,Customer>
    • getProjectKey

      public String getProjectKey()
    • getVersion

      public List<String> getVersion()
      Specified by:
      getVersion in interface VersionedTrait<ByProjectKeyMeDelete>
    • setProjectKey

      public void setProjectKey(String projectKey)
    • withVersion

      public <TValue> ByProjectKeyMeDelete withVersion(TValue version)
      set version with the specified value
      Specified by:
      withVersion in interface VersionedTrait<ByProjectKeyMeDelete>
      Type Parameters:
      TValue - value type
      Parameters:
      version - value to be set
      Returns:
      ByProjectKeyMeDelete
    • addVersion

      public <TValue> ByProjectKeyMeDelete addVersion(TValue version)
      add additional version query parameter
      Specified by:
      addVersion in interface VersionedTrait<ByProjectKeyMeDelete>
      Type Parameters:
      TValue - value type
      Parameters:
      version - value to be added
      Returns:
      ByProjectKeyMeDelete
    • withVersion

      public ByProjectKeyMeDelete withVersion(Supplier<Long> supplier)
      set version with the specified value
      Parameters:
      supplier - supplier for the value to be set
      Returns:
      ByProjectKeyMeDelete
    • addVersion

      public ByProjectKeyMeDelete addVersion(Supplier<Long> supplier)
      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

      public <TValue> ByProjectKeyMeDelete withVersion(Collection<TValue> version)
      set version with the specified values
      Type Parameters:
      TValue - value type
      Parameters:
      version - values to be set
      Returns:
      ByProjectKeyMeDelete
    • addVersion

      public <TValue> ByProjectKeyMeDelete addVersion(Collection<TValue> version)
      add additional version query parameters
      Type Parameters:
      TValue - value type
      Parameters:
      version - values to be added
      Returns:
      ByProjectKeyMeDelete
    • equals

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • toString

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

      public int reflectionHashCode()