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
ConstructorDescriptionByProjectKeyProductSelectionsKeyByKeyProductsGet
(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 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 parameterboolean
execute
(ApiHttpClient client) executeBlocking
(ApiHttpClient client, Duration timeout) getKey()
getLimit()
getSort()
int
hashCode()
int
com.fasterxml.jackson.core.type.TypeReference<ProductSelectionProductPagedQueryResponse>
void
void
setProjectKey
(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 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, withQueryParams
Methods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand
executeBlocking
Methods inherited from interface io.vrap.rmf.base.client.CreateHttpRequestCommand
createHttpRequest
Methods inherited from interface com.commercetools.api.client.Deprecatable200Trait
asDeprecatable200Trait, asDeprecatable200TraitToBaseType
Methods inherited from interface com.commercetools.api.client.ErrorableTrait
asErrorableTrait, asErrorableTraitToBaseType
Methods inherited from interface com.commercetools.api.client.ExpandableTrait
asExpandableTrait, asExpandableTraitToBaseType
Methods inherited from interface com.commercetools.api.client.PagingTrait
asPagingTrait, asPagingTraitToBaseType
Methods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlocking
Methods 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:
resultType
in interfaceHttpRequestCommand<ProductSelectionProductPagedQueryResponse>
-
executeBlocking
public ApiHttpResponse<ProductSelectionProductPagedQueryResponse> executeBlocking(ApiHttpClient client, Duration timeout) - Specified by:
executeBlocking
in interfaceClientRequestCommand<ProductSelectionProductPagedQueryResponse>
- Specified by:
executeBlocking
in classApiMethod<ByProjectKeyProductSelectionsKeyByKeyProductsGet,
ProductSelectionProductPagedQueryResponse>
-
execute
public CompletableFuture<ApiHttpResponse<ProductSelectionProductPagedQueryResponse>> execute(ApiHttpClient client) - Specified by:
execute
in interfaceClientRequestCommand<ProductSelectionProductPagedQueryResponse>
- Specified by:
execute
in classApiMethod<ByProjectKeyProductSelectionsKeyByKeyProductsGet,
ProductSelectionProductPagedQueryResponse>
-
getProjectKey
-
getKey
-
getExpand
- Specified by:
getExpand
in interfaceExpandableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
-
getLimit
- Specified by:
getLimit
in interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
-
getOffset
- Specified by:
getOffset
in interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
-
getWithTotal
- Specified by:
getWithTotal
in interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
-
getSort
- Specified by:
getSort
in interfaceSortableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
-
setProjectKey
-
setKey
-
withExpand
set expand with the specified value- Specified by:
withExpand
in interfaceExpandableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
expand
- value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addExpand
add additional expand query parameter- Specified by:
addExpand
in 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:
withLimit
in interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
limit
- value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addLimit
add additional limit query parameter- Specified by:
addLimit
in 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:
withOffset
in interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
offset
- value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addOffset
add additional offset query parameter- Specified by:
addOffset
in 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
-
withWithTotal
set withTotal with the specified value- Specified by:
withWithTotal
in interfacePagingTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
withTotal
- value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addWithTotal
add additional withTotal query parameter- Specified by:
addWithTotal
in 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
-
withSort
set sort with the specified value- Specified by:
withSort
in interfaceSortableTrait<ByProjectKeyProductSelectionsKeyByKeyProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
sort
- value to be set- Returns:
- ByProjectKeyProductSelectionsKeyByKeyProductsGet
-
addSort
add additional sort query parameter- Specified by:
addSort
in 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()
-