Class ByProjectKeyMeGet

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyMeGet,Customer>
com.commercetools.api.client.ByProjectKeyMeGet
All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyMeGet>, ErrorableTrait<ByProjectKeyMeGet>, ExpandableTrait<ByProjectKeyMeGet>, PagingTrait<ByProjectKeyMeGet>, QueryTrait<ByProjectKeyMeGet>, SortableTrait<ByProjectKeyMeGet>, io.vrap.rmf.base.client.ClientRequestCommand<Customer>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<Customer>



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

    • ByProjectKeyMeGet

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

      public ByProjectKeyMeGet(ByProjectKeyMeGet t)
  • Method Details

    • 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<ByProjectKeyMeGet,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<ByProjectKeyMeGet,Customer>
    • getProjectKey

      public String getProjectKey()
    • getSort

      public List<String> getSort()
      Specified by:
      getSort in interface SortableTrait<ByProjectKeyMeGet>
    • getLimit

      public List<String> getLimit()
      Specified by:
      getLimit in interface PagingTrait<ByProjectKeyMeGet>
    • getOffset

      public List<String> getOffset()
      Specified by:
      getOffset in interface PagingTrait<ByProjectKeyMeGet>
    • getWithTotal

      public List<String> getWithTotal()
      Specified by:
      getWithTotal in interface PagingTrait<ByProjectKeyMeGet>
    • getExpand

      public List<String> getExpand()
      Specified by:
      getExpand in interface ExpandableTrait<ByProjectKeyMeGet>
    • getWhere

      public List<String> getWhere()
      Specified by:
      getWhere in interface QueryTrait<ByProjectKeyMeGet>
    • setProjectKey

      public void setProjectKey(String projectKey)
    • withSort

      public <TValue> ByProjectKeyMeGet withSort(TValue sort)
      set sort with the specified value
      Specified by:
      withSort in interface SortableTrait<ByProjectKeyMeGet>
      Type Parameters:
      TValue - value type
      Parameters:
      sort - value to be set
      Returns:
      ByProjectKeyMeGet
    • addSort

      public <TValue> ByProjectKeyMeGet addSort(TValue sort)
      add additional sort query parameter
      Specified by:
      addSort in interface SortableTrait<ByProjectKeyMeGet>
      Type Parameters:
      TValue - value type
      Parameters:
      sort - value to be added
      Returns:
      ByProjectKeyMeGet
    • withSort

      public ByProjectKeyMeGet withSort(Supplier<String> supplier)
      set sort with the specified value
      Parameters:
      supplier - supplier for the value to be set
      Returns:
      ByProjectKeyMeGet
    • addSort

      public ByProjectKeyMeGet addSort(Supplier<String> supplier)
      add additional sort query parameter
      Parameters:
      supplier - supplier for the value to be added
      Returns:
      ByProjectKeyMeGet
    • withSort

      set sort with the specified value
      Parameters:
      op - builder for the value to be set
      Returns:
      ByProjectKeyMeGet
    • addSort

      add additional sort query parameter
      Parameters:
      op - builder for the value to be added
      Returns:
      ByProjectKeyMeGet
    • withSort

      public <TValue> ByProjectKeyMeGet withSort(Collection<TValue> sort)
      set sort with the specified values
      Type Parameters:
      TValue - value type
      Parameters:
      sort - values to be set
      Returns:
      ByProjectKeyMeGet
    • addSort

      public <TValue> ByProjectKeyMeGet addSort(Collection<TValue> sort)
      add additional sort query parameters
      Type Parameters:
      TValue - value type
      Parameters:
      sort - values to be added
      Returns:
      ByProjectKeyMeGet
    • withLimit

      public <TValue> ByProjectKeyMeGet withLimit(TValue limit)
      set limit with the specified value
      Specified by:
      withLimit in interface PagingTrait<ByProjectKeyMeGet>
      Type Parameters:
      TValue - value type
      Parameters:
      limit - value to be set
      Returns:
      ByProjectKeyMeGet
    • addLimit

      public <TValue> ByProjectKeyMeGet addLimit(TValue limit)
      add additional limit query parameter
      Specified by:
      addLimit in interface PagingTrait<ByProjectKeyMeGet>
      Type Parameters:
      TValue - value type
      Parameters:
      limit - value to be added
      Returns:
      ByProjectKeyMeGet
    • withLimit

      public ByProjectKeyMeGet withLimit(Supplier<Integer> supplier)
      set limit with the specified value
      Parameters:
      supplier - supplier for the value to be set
      Returns:
      ByProjectKeyMeGet
    • addLimit

      public ByProjectKeyMeGet addLimit(Supplier<Integer> supplier)
      add additional limit query parameter
      Parameters:
      supplier - supplier for the value to be added
      Returns:
      ByProjectKeyMeGet
    • withLimit

      set limit with the specified value
      Parameters:
      op - builder for the value to be set
      Returns:
      ByProjectKeyMeGet
    • addLimit

      add additional limit query parameter
      Parameters:
      op - builder for the value to be added
      Returns:
      ByProjectKeyMeGet
    • withLimit

      public <TValue> ByProjectKeyMeGet withLimit(Collection<TValue> limit)
      set limit with the specified values
      Type Parameters:
      TValue - value type
      Parameters:
      limit - values to be set
      Returns:
      ByProjectKeyMeGet
    • addLimit

      public <TValue> ByProjectKeyMeGet addLimit(Collection<TValue> limit)
      add additional limit query parameters
      Type Parameters:
      TValue - value type
      Parameters:
      limit - values to be added
      Returns:
      ByProjectKeyMeGet
    • withOffset

      public <TValue> ByProjectKeyMeGet withOffset(TValue offset)
      set offset with the specified value
      Specified by:
      withOffset in interface PagingTrait<ByProjectKeyMeGet>
      Type Parameters:
      TValue - value type
      Parameters:
      offset - value to be set
      Returns:
      ByProjectKeyMeGet
    • addOffset

      public <TValue> ByProjectKeyMeGet addOffset(TValue offset)
      add additional offset query parameter
      Specified by:
      addOffset in interface PagingTrait<ByProjectKeyMeGet>
      Type Parameters:
      TValue - value type
      Parameters:
      offset - value to be added
      Returns:
      ByProjectKeyMeGet
    • withOffset

      public ByProjectKeyMeGet withOffset(Supplier<Integer> supplier)
      set offset with the specified value
      Parameters:
      supplier - supplier for the value to be set
      Returns:
      ByProjectKeyMeGet
    • addOffset

      public ByProjectKeyMeGet addOffset(Supplier<Integer> supplier)
      add additional offset query parameter
      Parameters:
      supplier - supplier for the value to be added
      Returns:
      ByProjectKeyMeGet
    • withOffset

      set offset with the specified value
      Parameters:
      op - builder for the value to be set
      Returns:
      ByProjectKeyMeGet
    • addOffset

      add additional offset query parameter
      Parameters:
      op - builder for the value to be added
      Returns:
      ByProjectKeyMeGet
    • withOffset

      public <TValue> ByProjectKeyMeGet withOffset(Collection<TValue> offset)
      set offset with the specified values
      Type Parameters:
      TValue - value type
      Parameters:
      offset - values to be set
      Returns:
      ByProjectKeyMeGet
    • addOffset

      public <TValue> ByProjectKeyMeGet addOffset(Collection<TValue> offset)
      add additional offset query parameters
      Type Parameters:
      TValue - value type
      Parameters:
      offset - values to be added
      Returns:
      ByProjectKeyMeGet
    • withWithTotal

      public <TValue> ByProjectKeyMeGet withWithTotal(TValue withTotal)
      set withTotal with the specified value
      Specified by:
      withWithTotal in interface PagingTrait<ByProjectKeyMeGet>
      Type Parameters:
      TValue - value type
      Parameters:
      withTotal - value to be set
      Returns:
      ByProjectKeyMeGet
    • addWithTotal

      public <TValue> ByProjectKeyMeGet addWithTotal(TValue withTotal)
      add additional withTotal query parameter
      Specified by:
      addWithTotal in interface PagingTrait<ByProjectKeyMeGet>
      Type Parameters:
      TValue - value type
      Parameters:
      withTotal - value to be added
      Returns:
      ByProjectKeyMeGet
    • withWithTotal

      public ByProjectKeyMeGet withWithTotal(Supplier<Boolean> supplier)
      set withTotal with the specified value
      Parameters:
      supplier - supplier for the value to be set
      Returns:
      ByProjectKeyMeGet
    • addWithTotal

      public ByProjectKeyMeGet addWithTotal(Supplier<Boolean> supplier)
      add additional withTotal query parameter
      Parameters:
      supplier - supplier for the value to be added
      Returns:
      ByProjectKeyMeGet
    • withWithTotal

      set withTotal with the specified value
      Parameters:
      op - builder for the value to be set
      Returns:
      ByProjectKeyMeGet
    • addWithTotal

      add additional withTotal query parameter
      Parameters:
      op - builder for the value to be added
      Returns:
      ByProjectKeyMeGet
    • withWithTotal

      public <TValue> ByProjectKeyMeGet withWithTotal(Collection<TValue> withTotal)
      set withTotal with the specified values
      Type Parameters:
      TValue - value type
      Parameters:
      withTotal - values to be set
      Returns:
      ByProjectKeyMeGet
    • addWithTotal

      public <TValue> ByProjectKeyMeGet addWithTotal(Collection<TValue> withTotal)
      add additional withTotal query parameters
      Type Parameters:
      TValue - value type
      Parameters:
      withTotal - values to be added
      Returns:
      ByProjectKeyMeGet
    • withExpand

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

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

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

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

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

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

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

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

      public <TValue> ByProjectKeyMeGet withWhere(TValue where)
      set where with the specified value
      Specified by:
      withWhere in interface QueryTrait<ByProjectKeyMeGet>
      Type Parameters:
      TValue - value type
      Parameters:
      where - value to be set
      Returns:
      ByProjectKeyMeGet
    • addWhere

      public <TValue> ByProjectKeyMeGet addWhere(TValue where)
      add additional where query parameter
      Specified by:
      addWhere in interface QueryTrait<ByProjectKeyMeGet>
      Type Parameters:
      TValue - value type
      Parameters:
      where - value to be added
      Returns:
      ByProjectKeyMeGet
    • withWhere

      public ByProjectKeyMeGet withWhere(Supplier<String> supplier)
      set where with the specified value
      Parameters:
      supplier - supplier for the value to be set
      Returns:
      ByProjectKeyMeGet
    • addWhere

      public ByProjectKeyMeGet addWhere(Supplier<String> supplier)
      add additional where query parameter
      Parameters:
      supplier - supplier for the value to be added
      Returns:
      ByProjectKeyMeGet
    • withWhere

      set where with the specified value
      Parameters:
      op - builder for the value to be set
      Returns:
      ByProjectKeyMeGet
    • addWhere

      add additional where query parameter
      Parameters:
      op - builder for the value to be added
      Returns:
      ByProjectKeyMeGet
    • withWhere

      public <TValue> ByProjectKeyMeGet withWhere(Collection<TValue> where)
      set where with the specified values
      Type Parameters:
      TValue - value type
      Parameters:
      where - values to be set
      Returns:
      ByProjectKeyMeGet
    • addWhere

      public <TValue> ByProjectKeyMeGet addWhere(Collection<TValue> where)
      add additional where query parameters
      Type Parameters:
      TValue - value type
      Parameters:
      where - values to be added
      Returns:
      ByProjectKeyMeGet
    • withPredicateVar

      public <TValue> ByProjectKeyMeGet withPredicateVar(String varName, TValue predicateVar)
      set predicateVar with the specificied value
      Specified by:
      withPredicateVar in interface QueryTrait<ByProjectKeyMeGet>
      Type Parameters:
      TValue - value type
      Parameters:
      varName - parameter name
      predicateVar - parameter value
      Returns:
      ByProjectKeyMeGet
    • addPredicateVar

      public <TValue> ByProjectKeyMeGet addPredicateVar(String varName, TValue predicateVar)
      add additional predicateVar query parameter
      Specified by:
      addPredicateVar in interface QueryTrait<ByProjectKeyMeGet>
      Type Parameters:
      TValue - value type
      Parameters:
      varName - parameter name
      predicateVar - parameter value
      Returns:
      ByProjectKeyMeGet
    • withPredicateVar

      public <TValue> ByProjectKeyMeGet withPredicateVar(String varName, Collection<TValue> predicateVar)
      set predicateVar with the specificied values
      Type Parameters:
      TValue - value type
      Parameters:
      varName - parameter name
      predicateVar - parameter values
      Returns:
      ByProjectKeyMeGet
    • addPredicateVar

      public <TValue> ByProjectKeyMeGet addPredicateVar(String varName, Collection<TValue> predicateVar)
      add additional predicateVar query parameters
      Type Parameters:
      TValue - value type
      Parameters:
      varName - parameter name
      predicateVar - parameter values
      Returns:
      ByProjectKeyMeGet
    • equals

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • toString

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

      public int reflectionHashCode()