Class ByProjectKeyTypesByIDGet

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyTypesByIDGet,Type>
com.commercetools.api.client.ByProjectKeyTypesByIDGet
All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyTypesByIDGet>, ErrorableTrait<ByProjectKeyTypesByIDGet>, ExpandableTrait<ByProjectKeyTypesByIDGet>, io.vrap.rmf.base.client.ClientRequestCommand<Type>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<Type>

public class ByProjectKeyTypesByIDGet extends io.vrap.rmf.base.client.ApiMethod<ByProjectKeyTypesByIDGet,Type> implements ExpandableTrait<ByProjectKeyTypesByIDGet>, ErrorableTrait<ByProjectKeyTypesByIDGet>, Deprecatable200Trait<ByProjectKeyTypesByIDGet>


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

    • ByProjectKeyTypesByIDGet

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

      public ByProjectKeyTypesByIDGet(ByProjectKeyTypesByIDGet t)
  • Method Details

    • executeBlocking

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

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

      public String getProjectKey()
    • getID

      public String getID()
    • getExpand

      public List<String> getExpand()
      Specified by:
      getExpand in interface ExpandableTrait<ByProjectKeyTypesByIDGet>
    • setProjectKey

      public void setProjectKey(String projectKey)
    • setID

      public void setID(String ID)
    • withExpand

      public <TValue> ByProjectKeyTypesByIDGet withExpand(TValue expand)
      set expand with the specified value
      Specified by:
      withExpand in interface ExpandableTrait<ByProjectKeyTypesByIDGet>
      Type Parameters:
      TValue - value type
      Parameters:
      expand - value to be set
      Returns:
      ByProjectKeyTypesByIDGet
    • addExpand

      public <TValue> ByProjectKeyTypesByIDGet addExpand(TValue expand)
      add additional expand query parameter
      Specified by:
      addExpand in interface ExpandableTrait<ByProjectKeyTypesByIDGet>
      Type Parameters:
      TValue - value type
      Parameters:
      expand - value to be added
      Returns:
      ByProjectKeyTypesByIDGet
    • withExpand

      public ByProjectKeyTypesByIDGet withExpand(Supplier<String> supplier)
      set expand with the specified value
      Parameters:
      supplier - supplier for the value to be set
      Returns:
      ByProjectKeyTypesByIDGet
    • addExpand

      public ByProjectKeyTypesByIDGet addExpand(Supplier<String> supplier)
      add additional expand query parameter
      Parameters:
      supplier - supplier for the value to be added
      Returns:
      ByProjectKeyTypesByIDGet
    • withExpand

      set expand with the specified value
      Parameters:
      op - builder for the value to be set
      Returns:
      ByProjectKeyTypesByIDGet
    • addExpand

      add additional expand query parameter
      Parameters:
      op - builder for the value to be added
      Returns:
      ByProjectKeyTypesByIDGet
    • withExpand

      public <TValue> ByProjectKeyTypesByIDGet withExpand(Collection<TValue> expand)
      set expand with the specified values
      Type Parameters:
      TValue - value type
      Parameters:
      expand - values to be set
      Returns:
      ByProjectKeyTypesByIDGet
    • addExpand

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

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • toString

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

      public int reflectionHashCode()