Package com.commercetools.api.client
Class ByProjectKeyProductSelectionsKeyByKeyProductsGet
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyProductSelectionsKeyByKeyProductsGet,ProductSelectionProductPagedQueryResponse>
com.commercetools.api.client.ByProjectKeyProductSelectionsKeyByKeyProductsGet
- All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>,ErrorableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>,ExpandableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>,PagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>,SortableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>,ClientRequestCommand<ProductSelectionProductPagedQueryResponse>,CreateHttpRequestCommand,HttpRequestCommand<ProductSelectionProductPagedQueryResponse>,RequestCommand<ProductSelectionProductPagedQueryResponse>
public class ByProjectKeyProductSelectionsKeyByKeyProductsGet
extends TypeApiMethod<ByProjectKeyProductSelectionsKeyByKeyProductsGet,ProductSelectionProductPagedQueryResponse>
implements ExpandableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>, PagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>, SortableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>, ErrorableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>, Deprecatable200Trait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.product_selection.ProductSelectionProductPagedQueryResponse>> result = apiRoot
.withProjectKey("{projectKey}")
.productSelections()
.withKey("{key}")
.products()
.get()
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,V> -
Constructor Summary
ConstructorsConstructorDescriptionByProjectKeyProductSelectionsKeyByKeyProductsGet(ByProjectKeyProductSelectionsKeyByKeyProductsGet t) ByProjectKeyProductSelectionsKeyByKeyProductsGet(ApiHttpClient apiHttpClient, String projectKey, String key) -
Method Summary
Modifier and TypeMethodDescriptionaddExpand(Collection<TValue> expand) add additional expand query parametersadd additional expand query parameteradd additional expand query parameteraddExpand(TValue expand) add additional expand query parameteraddLimit(Collection<TValue> limit) add additional limit query parametersadd additional limit query parameteradd additional limit query parameteraddLimit(TValue limit) add additional limit query parameteraddOffset(Collection<TValue> offset) add additional offset query parametersadd additional offset query parameteradd additional offset query parameteraddOffset(TValue offset) add additional offset query parameteraddSort(Collection<TValue> sort) add additional sort query parametersadd additional sort query parameteradd additional sort query parameteraddSort(TValue sort) add additional sort query parameteraddWhere(Collection<TValue> where) add additional where query parametersadd additional where query parameteradd additional where query parameteraddWhere(TValue where) add additional where query parameteraddWithTotal(Collection<TValue> withTotal) add additional withTotal query parametersadd additional withTotal query parameteraddWithTotal(Supplier<Boolean> supplier) add additional withTotal query parameteraddWithTotal(TValue withTotal) add additional withTotal query parameterbooleanexecute(ApiHttpClient client) executeBlocking(ApiHttpClient client, Duration timeout) getKey()getLimit()getSort()getWhere()inthashCode()intcom.fasterxml.jackson.core.type.TypeReference<ProductSelectionProductPagedQueryResponse>voidvoidsetProjectKey(String projectKey) toString()withExpand(Collection<TValue> expand) set expand with the specified valuesset expand with the specified valuewithExpand(Supplier<String> supplier) set expand with the specified valuewithExpand(TValue expand) set expand with the specified valuewithLimit(Collection<TValue> limit) set limit with the specified valuesset limit with the specified valueset limit with the specified valuewithLimit(TValue limit) set limit with the specified valuewithOffset(Collection<TValue> offset) set offset with the specified valuesset offset with the specified valuewithOffset(Supplier<Integer> supplier) set offset with the specified valuewithOffset(TValue offset) set offset with the specified valuewithSort(Collection<TValue> sort) set sort with the specified valuesset sort with the specified valueset sort with the specified valuewithSort(TValue sort) set sort with the specified valuewithWhere(Collection<TValue> where) set where with the specified valuesset where with the specified valueset where with the specified valuewithWhere(TValue where) set where with the specified valuewithWithTotal(Collection<TValue> withTotal) set withTotal with the specified valuesset withTotal with the specified valuewithWithTotal(Supplier<Boolean> supplier) set withTotal with the specified valuewithWithTotal(TValue withTotal) set withTotal with the specified valueMethods 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, withQueryParamsMethods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand
executeBlockingMethods inherited from interface io.vrap.rmf.base.client.CreateHttpRequestCommand
createHttpRequestMethods inherited from interface com.commercetools.api.client.Deprecatable200Trait
asDeprecatable200Trait, asDeprecatable200TraitToBaseTypeMethods inherited from interface com.commercetools.api.client.ErrorableTrait
asErrorableTrait, asErrorableTraitToBaseTypeMethods inherited from interface com.commercetools.api.client.ExpandableTrait
asExpandableTrait, asExpandableTraitToBaseTypeMethods inherited from interface com.commercetools.api.client.PagingTrait
asPagingTrait, asPagingTraitToBaseTypeMethods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlockingMethods inherited from interface com.commercetools.api.client.SortableTrait
asSortableTrait, asSortableTraitToBaseType
-
Constructor Details
-
ByProjectKeyProductSelectionsKeyByKeyProductsGet
public ByProjectKeyProductSelectionsKeyByKeyProductsGet(ApiHttpClient apiHttpClient, String projectKey, String key) -
ByProjectKeyProductSelectionsKeyByKeyProductsGet
public ByProjectKeyProductSelectionsKeyByKeyProductsGet(ByProjectKeyProductSelectionsKeyByKeyProductsGet t)
-
-
Method Details
-
resultType
public com.fasterxml.jackson.core.type.TypeReference<ProductSelectionProductPagedQueryResponse> resultType()- Specified by:
resultTypein interfaceHttpRequestCommand<ProductSelectionProductPagedQueryResponse>
-
executeBlocking
public ApiHttpResponse<ProductSelectionProductPagedQueryResponse> executeBlocking(ApiHttpClient client, Duration timeout) - Specified by:
executeBlockingin interfaceClientRequestCommand<ProductSelectionProductPagedQueryResponse>- Specified by:
executeBlockingin classApiMethod<ByProjectKeyProductSelectionsKeyByKeyProductsGet,ProductSelectionProductPagedQueryResponse>
-
execute
public CompletableFuture<ApiHttpResponse<ProductSelectionProductPagedQueryResponse>> execute(ApiHttpClient client) - Specified by:
executein interfaceClientRequestCommand<ProductSelectionProductPagedQueryResponse>- Specified by:
executein classApiMethod<ByProjectKeyProductSelectionsKeyByKeyProductsGet,ProductSelectionProductPagedQueryResponse>
-
getProjectKey
-
getKey
-
getWhere
-
getWithTotal
- Specified by:
getWithTotalin interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
-
getExpand
- Specified by:
getExpandin interfaceExpandableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
-
getLimit
- Specified by:
getLimitin interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
-
getOffset
- Specified by:
getOffsetin interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
-
getSort
- Specified by:
getSortin interfaceSortableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
-
setProjectKey
-
setKey
-
withWhere
set where with the specified value- Type Parameters:
TValue- value type- Parameters:
where- value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addWhere
add additional where query parameter- Type Parameters:
TValue- value type- Parameters:
where- value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withWhere
set where with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addWhere
add additional where query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withWhere
public ByProjectKeyProductSelectionsKeyByKeyProductsGet withWhere(Function<StringBuilder, StringBuilder> op) set where with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addWhere
public ByProjectKeyProductSelectionsKeyByKeyProductsGet addWhere(Function<StringBuilder, StringBuilder> op) add additional where query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withWhere
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet withWhere(Collection<TValue> where) set where with the specified values- Type Parameters:
TValue- value type- Parameters:
where- values to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addWhere
add additional where query parameters- Type Parameters:
TValue- value type- Parameters:
where- values to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withWithTotal
set withTotal with the specified value- Specified by:
withWithTotalin interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>- Type Parameters:
TValue- value type- Parameters:
withTotal- value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addWithTotal
add additional withTotal query parameter- Specified by:
addWithTotalin interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>- Type Parameters:
TValue- value type- Parameters:
withTotal- value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withWithTotal
set withTotal with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addWithTotal
add additional withTotal query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withWithTotal
public ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(Function<StringBuilder, StringBuilder> op) set withTotal with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addWithTotal
public ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(Function<StringBuilder, StringBuilder> op) add additional withTotal query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withWithTotal
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(Collection<TValue> withTotal) set withTotal with the specified values- Type Parameters:
TValue- value type- Parameters:
withTotal- values to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addWithTotal
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(Collection<TValue> withTotal) add additional withTotal query parameters- Type Parameters:
TValue- value type- Parameters:
withTotal- values to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withExpand
set expand with the specified value- Specified by:
withExpandin interfaceExpandableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>- Type Parameters:
TValue- value type- Parameters:
expand- value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addExpand
add additional expand query parameter- Specified by:
addExpandin interfaceExpandableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>- Type Parameters:
TValue- value type- Parameters:
expand- value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withExpand
set expand with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addExpand
add additional expand query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withExpand
public ByProjectKeyProductSelectionsKeyByKeyProductsGet withExpand(Function<StringBuilder, StringBuilder> op) set expand with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addExpand
public ByProjectKeyProductSelectionsKeyByKeyProductsGet addExpand(Function<StringBuilder, StringBuilder> op) add additional expand query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withExpand
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet withExpand(Collection<TValue> expand) set expand with the specified values- Type Parameters:
TValue- value type- Parameters:
expand- values to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addExpand
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addExpand(Collection<TValue> expand) add additional expand query parameters- Type Parameters:
TValue- value type- Parameters:
expand- values to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withLimit
set limit with the specified value- Specified by:
withLimitin interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>- Type Parameters:
TValue- value type- Parameters:
limit- value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addLimit
add additional limit query parameter- Specified by:
addLimitin interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>- Type Parameters:
TValue- value type- Parameters:
limit- value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withLimit
set limit with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addLimit
add additional limit query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withLimit
public ByProjectKeyProductSelectionsKeyByKeyProductsGet withLimit(Function<StringBuilder, StringBuilder> op) set limit with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addLimit
public ByProjectKeyProductSelectionsKeyByKeyProductsGet addLimit(Function<StringBuilder, StringBuilder> op) add additional limit query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withLimit
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet withLimit(Collection<TValue> limit) set limit with the specified values- Type Parameters:
TValue- value type- Parameters:
limit- values to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addLimit
add additional limit query parameters- Type Parameters:
TValue- value type- Parameters:
limit- values to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withOffset
set offset with the specified value- Specified by:
withOffsetin interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>- Type Parameters:
TValue- value type- Parameters:
offset- value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addOffset
add additional offset query parameter- Specified by:
addOffsetin interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>- Type Parameters:
TValue- value type- Parameters:
offset- value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withOffset
set offset with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addOffset
add additional offset query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withOffset
public ByProjectKeyProductSelectionsKeyByKeyProductsGet withOffset(Function<StringBuilder, StringBuilder> op) set offset with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addOffset
public ByProjectKeyProductSelectionsKeyByKeyProductsGet addOffset(Function<StringBuilder, StringBuilder> op) add additional offset query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withOffset
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet withOffset(Collection<TValue> offset) set offset with the specified values- Type Parameters:
TValue- value type- Parameters:
offset- values to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addOffset
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addOffset(Collection<TValue> offset) add additional offset query parameters- Type Parameters:
TValue- value type- Parameters:
offset- values to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withSort
set sort with the specified value- Specified by:
withSortin interfaceSortableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>- Type Parameters:
TValue- value type- Parameters:
sort- value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addSort
add additional sort query parameter- Specified by:
addSortin interfaceSortableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>- Type Parameters:
TValue- value type- Parameters:
sort- value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withSort
set sort with the specified value- Parameters:
supplier- supplier for the value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addSort
add additional sort query parameter- Parameters:
supplier- supplier for the value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withSort
public ByProjectKeyProductSelectionsKeyByKeyProductsGet withSort(Function<StringBuilder, StringBuilder> op) set sort with the specified value- Parameters:
op- builder for the value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addSort
public ByProjectKeyProductSelectionsKeyByKeyProductsGet addSort(Function<StringBuilder, StringBuilder> op) add additional sort query parameter- Parameters:
op- builder for the value to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
withSort
set sort with the specified values- Type Parameters:
TValue- value type- Parameters:
sort- values to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addSort
add additional sort query parameters- Type Parameters:
TValue- value type- Parameters:
sort- values to be added- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-