Package com.commercetools.api.client
Class ByProjectKeyProductSelectionsByIDProductsGet
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyProductSelectionsByIDProductsGet,ProductSelectionProductPagedQueryResponse>
com.commercetools.api.client.ByProjectKeyProductSelectionsByIDProductsGet
- All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyProductSelectionsByIDProductsGet>
,ErrorableTrait<ByProjectKeyProductSelectionsByIDProductsGet>
,ExpandableTrait<ByProjectKeyProductSelectionsByIDProductsGet>
,PagingTrait<ByProjectKeyProductSelectionsByIDProductsGet>
,SortableTrait<ByProjectKeyProductSelectionsByIDProductsGet>
,ClientRequestCommand<ProductSelectionProductPagedQueryResponse>
,CreateHttpRequestCommand
,HttpRequestCommand<ProductSelectionProductPagedQueryResponse>
,RequestCommand<ProductSelectionProductPagedQueryResponse>
public class ByProjectKeyProductSelectionsByIDProductsGet
extends TypeApiMethod<ByProjectKeyProductSelectionsByIDProductsGet,ProductSelectionProductPagedQueryResponse>
implements ExpandableTrait<ByProjectKeyProductSelectionsByIDProductsGet>, PagingTrait<ByProjectKeyProductSelectionsByIDProductsGet>, SortableTrait<ByProjectKeyProductSelectionsByIDProductsGet>, ErrorableTrait<ByProjectKeyProductSelectionsByIDProductsGet>, Deprecatable200Trait<ByProjectKeyProductSelectionsByIDProductsGet>
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.product_selection.ProductSelectionProductPagedQueryResponse>> result = apiRoot
.withProjectKey("{projectKey}")
.productSelections()
.withId("{ID}")
.products()
.get()
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,
V> -
Constructor Summary
ConstructorDescriptionByProjectKeyProductSelectionsByIDProductsGet
(ApiHttpClient apiHttpClient, String projectKey, String ID) -
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) getID()
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
-
ByProjectKeyProductSelectionsByIDProductsGet
public ByProjectKeyProductSelectionsByIDProductsGet(ApiHttpClient apiHttpClient, String projectKey, String ID) -
ByProjectKeyProductSelectionsByIDProductsGet
-
-
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<ByProjectKeyProductSelectionsByIDProductsGet,
ProductSelectionProductPagedQueryResponse>
-
execute
public CompletableFuture<ApiHttpResponse<ProductSelectionProductPagedQueryResponse>> execute(ApiHttpClient client) - Specified by:
execute
in interfaceClientRequestCommand<ProductSelectionProductPagedQueryResponse>
- Specified by:
execute
in classApiMethod<ByProjectKeyProductSelectionsByIDProductsGet,
ProductSelectionProductPagedQueryResponse>
-
getProjectKey
-
getID
-
getExpand
- Specified by:
getExpand
in interfaceExpandableTrait<ByProjectKeyProductSelectionsByIDProductsGet>
-
getLimit
- Specified by:
getLimit
in interfacePagingTrait<ByProjectKeyProductSelectionsByIDProductsGet>
-
getOffset
- Specified by:
getOffset
in interfacePagingTrait<ByProjectKeyProductSelectionsByIDProductsGet>
-
getWithTotal
- Specified by:
getWithTotal
in interfacePagingTrait<ByProjectKeyProductSelectionsByIDProductsGet>
-
getSort
- Specified by:
getSort
in interfaceSortableTrait<ByProjectKeyProductSelectionsByIDProductsGet>
-
setProjectKey
-
setID
-
withExpand
set expand with the specified value- Specified by:
withExpand
in interfaceExpandableTrait<ByProjectKeyProductSelectionsByIDProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
expand
- value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addExpand
add additional expand query parameter- Specified by:
addExpand
in interfaceExpandableTrait<ByProjectKeyProductSelectionsByIDProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
expand
- value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withExpand
set expand with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addExpand
add additional expand query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withExpand
public ByProjectKeyProductSelectionsByIDProductsGet withExpand(Function<StringBuilder, StringBuilder> op) set expand with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addExpand
public ByProjectKeyProductSelectionsByIDProductsGet addExpand(Function<StringBuilder, StringBuilder> op) add additional expand query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withExpand
set expand with the specified values- Type Parameters:
TValue
- value type- Parameters:
expand
- values to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addExpand
add additional expand query parameters- Type Parameters:
TValue
- value type- Parameters:
expand
- values to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withLimit
set limit with the specified value- Specified by:
withLimit
in interfacePagingTrait<ByProjectKeyProductSelectionsByIDProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
limit
- value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addLimit
add additional limit query parameter- Specified by:
addLimit
in interfacePagingTrait<ByProjectKeyProductSelectionsByIDProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
limit
- value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withLimit
set limit with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addLimit
add additional limit query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withLimit
public ByProjectKeyProductSelectionsByIDProductsGet withLimit(Function<StringBuilder, StringBuilder> op) set limit with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addLimit
public ByProjectKeyProductSelectionsByIDProductsGet addLimit(Function<StringBuilder, StringBuilder> op) add additional limit query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withLimit
set limit with the specified values- Type Parameters:
TValue
- value type- Parameters:
limit
- values to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addLimit
add additional limit query parameters- Type Parameters:
TValue
- value type- Parameters:
limit
- values to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withOffset
set offset with the specified value- Specified by:
withOffset
in interfacePagingTrait<ByProjectKeyProductSelectionsByIDProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
offset
- value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addOffset
add additional offset query parameter- Specified by:
addOffset
in interfacePagingTrait<ByProjectKeyProductSelectionsByIDProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
offset
- value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withOffset
set offset with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addOffset
add additional offset query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withOffset
public ByProjectKeyProductSelectionsByIDProductsGet withOffset(Function<StringBuilder, StringBuilder> op) set offset with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addOffset
public ByProjectKeyProductSelectionsByIDProductsGet addOffset(Function<StringBuilder, StringBuilder> op) add additional offset query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withOffset
set offset with the specified values- Type Parameters:
TValue
- value type- Parameters:
offset
- values to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addOffset
add additional offset query parameters- Type Parameters:
TValue
- value type- Parameters:
offset
- values to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withWithTotal
set withTotal with the specified value- Specified by:
withWithTotal
in interfacePagingTrait<ByProjectKeyProductSelectionsByIDProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
withTotal
- value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addWithTotal
add additional withTotal query parameter- Specified by:
addWithTotal
in interfacePagingTrait<ByProjectKeyProductSelectionsByIDProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
withTotal
- value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withWithTotal
set withTotal with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addWithTotal
add additional withTotal query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withWithTotal
public ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(Function<StringBuilder, StringBuilder> op) set withTotal with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addWithTotal
public ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(Function<StringBuilder, StringBuilder> op) add additional withTotal query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withWithTotal
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(Collection<TValue> withTotal) set withTotal with the specified values- Type Parameters:
TValue
- value type- Parameters:
withTotal
- values to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addWithTotal
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(Collection<TValue> withTotal) add additional withTotal query parameters- Type Parameters:
TValue
- value type- Parameters:
withTotal
- values to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withSort
set sort with the specified value- Specified by:
withSort
in interfaceSortableTrait<ByProjectKeyProductSelectionsByIDProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
sort
- value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addSort
add additional sort query parameter- Specified by:
addSort
in interfaceSortableTrait<ByProjectKeyProductSelectionsByIDProductsGet>
- Type Parameters:
TValue
- value type- Parameters:
sort
- value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withSort
set sort with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addSort
add additional sort query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withSort
public ByProjectKeyProductSelectionsByIDProductsGet withSort(Function<StringBuilder, StringBuilder> op) set sort with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addSort
public ByProjectKeyProductSelectionsByIDProductsGet addSort(Function<StringBuilder, StringBuilder> op) add additional sort query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
withSort
set sort with the specified values- Type Parameters:
TValue
- value type- Parameters:
sort
- values to be set- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
addSort
add additional sort query parameters- Type Parameters:
TValue
- value type- Parameters:
sort
- values to be added- Returns:
- ByProjectKeyProductSelectionsByIDProductsGet
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-