Package com.commercetools.api.client
Class ByProjectKeyProductProjectionsSuggestGet
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyProductProjectionsSuggestGet,SuggestionResult>
com.commercetools.api.client.ByProjectKeyProductProjectionsSuggestGet
- All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyProductProjectionsSuggestGet>
,ErrorableTrait<ByProjectKeyProductProjectionsSuggestGet>
,PagingTrait<ByProjectKeyProductProjectionsSuggestGet>
,ProjectionselectingTrait<ByProjectKeyProductProjectionsSuggestGet>
,SortableTrait<ByProjectKeyProductProjectionsSuggestGet>
,io.vrap.rmf.base.client.ClientRequestCommand<SuggestionResult>
,io.vrap.rmf.base.client.CreateHttpRequestCommand
,io.vrap.rmf.base.client.HttpRequestCommand<SuggestionResult>
,io.vrap.rmf.base.client.RequestCommand<SuggestionResult>
public class ByProjectKeyProductProjectionsSuggestGet
extends io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyProductProjectionsSuggestGet,SuggestionResult>
implements SortableTrait<ByProjectKeyProductProjectionsSuggestGet>, PagingTrait<ByProjectKeyProductProjectionsSuggestGet>, ProjectionselectingTrait<ByProjectKeyProductProjectionsSuggestGet>, ErrorableTrait<ByProjectKeyProductProjectionsSuggestGet>, Deprecatable200Trait<ByProjectKeyProductProjectionsSuggestGet>
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.product.SuggestionResult>> result = apiRoot
.withProjectKey("{projectKey}")
.productProjections()
.suggest()
.get()
.execute()
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionByProjectKeyProductProjectionsSuggestGet
(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey) -
Method Summary
Modifier and TypeMethodDescriptionaddFuzzy
(Collection<TValue> fuzzy) add additional fuzzy query parametersadd additional fuzzy query parameteradd additional fuzzy query parameteraddFuzzy
(TValue fuzzy) add additional fuzzy 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 parameteraddSearchKeywords
(String locale, Collection<TValue> searchKeywords) add additional searchKeywords query parametersaddSearchKeywords
(String locale, TValue searchKeywords) add additional searchKeywords query parameteraddSort
(Collection<TValue> sort) add additional sort query parametersadd additional sort query parameteradd additional sort query parameteraddSort
(TValue sort) add additional sort query parameteraddStaged
(Collection<TValue> staged) add additional staged query parametersadd additional staged query parameteradd additional staged query parameteraddStaged
(TValue staged) add additional staged 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
CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<SuggestionResult>>
execute
(io.vrap.rmf.base.client.ApiHttpClient client) io.vrap.rmf.base.client.ApiHttpResponse<SuggestionResult>
executeBlocking
(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout) getFuzzy()
getLimit()
getSort()
int
hashCode()
int
com.fasterxml.jackson.core.type.TypeReference<SuggestionResult>
void
setProjectKey
(String projectKey) toString()
withFuzzy
(Collection<TValue> fuzzy) set fuzzy with the specified valuesset fuzzy with the specified valueset fuzzy with the specified valuewithFuzzy
(TValue fuzzy) set fuzzy 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 valuewithSearchKeywords
(String locale, Collection<TValue> searchKeywords) set searchKeywords with the specificied valueswithSearchKeywords
(String locale, TValue searchKeywords) set searchKeywords with the specificied 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 valuewithStaged
(Collection<TValue> staged) set staged with the specified valuesset staged with the specified valuewithStaged
(Supplier<Boolean> supplier) set staged with the specified valuewithStaged
(TValue staged) set staged 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.PagingTrait
asPagingTrait, asPagingTraitToBaseType
Methods inherited from interface com.commercetools.api.client.ProjectionselectingTrait
asProjectionselectingTrait, asProjectionselectingTraitToBaseType
Methods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlocking
Methods inherited from interface com.commercetools.api.client.SortableTrait
asSortableTrait, asSortableTraitToBaseType
-
Constructor Details
-
ByProjectKeyProductProjectionsSuggestGet
public ByProjectKeyProductProjectionsSuggestGet(io.vrap.rmf.base.client.ApiHttpClient apiHttpClient, String projectKey) -
ByProjectKeyProductProjectionsSuggestGet
-
-
Method Details
-
resultType
- Specified by:
resultType
in interfaceio.vrap.rmf.base.client.HttpRequestCommand<SuggestionResult>
-
executeBlocking
public io.vrap.rmf.base.client.ApiHttpResponse<SuggestionResult> executeBlocking(io.vrap.rmf.base.client.ApiHttpClient client, Duration timeout) - Specified by:
executeBlocking
in interfaceio.vrap.rmf.base.client.ClientRequestCommand<SuggestionResult>
- Specified by:
executeBlocking
in classio.vrap.rmf.base.client.ApiMethod<ByProjectKeyProductProjectionsSuggestGet,
SuggestionResult>
-
execute
public CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<SuggestionResult>> execute(io.vrap.rmf.base.client.ApiHttpClient client) - Specified by:
execute
in interfaceio.vrap.rmf.base.client.ClientRequestCommand<SuggestionResult>
- Specified by:
execute
in classio.vrap.rmf.base.client.ApiMethod<ByProjectKeyProductProjectionsSuggestGet,
SuggestionResult>
-
getProjectKey
-
getFuzzy
-
getSort
- Specified by:
getSort
in interfaceSortableTrait<ByProjectKeyProductProjectionsSuggestGet>
-
getLimit
- Specified by:
getLimit
in interfacePagingTrait<ByProjectKeyProductProjectionsSuggestGet>
-
getOffset
- Specified by:
getOffset
in interfacePagingTrait<ByProjectKeyProductProjectionsSuggestGet>
-
getWithTotal
- Specified by:
getWithTotal
in interfacePagingTrait<ByProjectKeyProductProjectionsSuggestGet>
-
getStaged
- Specified by:
getStaged
in interfaceProjectionselectingTrait<ByProjectKeyProductProjectionsSuggestGet>
-
setProjectKey
-
withFuzzy
set fuzzy with the specified value- Type Parameters:
TValue
- value type- Parameters:
fuzzy
- value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addFuzzy
add additional fuzzy query parameter- Type Parameters:
TValue
- value type- Parameters:
fuzzy
- value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withFuzzy
set fuzzy with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addFuzzy
add additional fuzzy query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withFuzzy
set fuzzy with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addFuzzy
add additional fuzzy query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withFuzzy
set fuzzy with the specified values- Type Parameters:
TValue
- value type- Parameters:
fuzzy
- values to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addFuzzy
add additional fuzzy query parameters- Type Parameters:
TValue
- value type- Parameters:
fuzzy
- values to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withSort
set sort with the specified value- Specified by:
withSort
in interfaceSortableTrait<ByProjectKeyProductProjectionsSuggestGet>
- Type Parameters:
TValue
- value type- Parameters:
sort
- value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addSort
add additional sort query parameter- Specified by:
addSort
in interfaceSortableTrait<ByProjectKeyProductProjectionsSuggestGet>
- Type Parameters:
TValue
- value type- Parameters:
sort
- value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withSort
set sort with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addSort
add additional sort query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withSort
set sort with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addSort
add additional sort query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withSort
set sort with the specified values- Type Parameters:
TValue
- value type- Parameters:
sort
- values to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addSort
add additional sort query parameters- Type Parameters:
TValue
- value type- Parameters:
sort
- values to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withLimit
set limit with the specified value- Specified by:
withLimit
in interfacePagingTrait<ByProjectKeyProductProjectionsSuggestGet>
- Type Parameters:
TValue
- value type- Parameters:
limit
- value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addLimit
add additional limit query parameter- Specified by:
addLimit
in interfacePagingTrait<ByProjectKeyProductProjectionsSuggestGet>
- Type Parameters:
TValue
- value type- Parameters:
limit
- value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withLimit
set limit with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addLimit
add additional limit query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withLimit
set limit with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addLimit
add additional limit query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withLimit
set limit with the specified values- Type Parameters:
TValue
- value type- Parameters:
limit
- values to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addLimit
add additional limit query parameters- Type Parameters:
TValue
- value type- Parameters:
limit
- values to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withOffset
set offset with the specified value- Specified by:
withOffset
in interfacePagingTrait<ByProjectKeyProductProjectionsSuggestGet>
- Type Parameters:
TValue
- value type- Parameters:
offset
- value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addOffset
add additional offset query parameter- Specified by:
addOffset
in interfacePagingTrait<ByProjectKeyProductProjectionsSuggestGet>
- Type Parameters:
TValue
- value type- Parameters:
offset
- value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withOffset
set offset with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addOffset
add additional offset query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withOffset
public ByProjectKeyProductProjectionsSuggestGet withOffset(Function<StringBuilder, StringBuilder> op) set offset with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addOffset
add additional offset query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withOffset
set offset with the specified values- Type Parameters:
TValue
- value type- Parameters:
offset
- values to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addOffset
add additional offset query parameters- Type Parameters:
TValue
- value type- Parameters:
offset
- values to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withWithTotal
set withTotal with the specified value- Specified by:
withWithTotal
in interfacePagingTrait<ByProjectKeyProductProjectionsSuggestGet>
- Type Parameters:
TValue
- value type- Parameters:
withTotal
- value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addWithTotal
add additional withTotal query parameter- Specified by:
addWithTotal
in interfacePagingTrait<ByProjectKeyProductProjectionsSuggestGet>
- Type Parameters:
TValue
- value type- Parameters:
withTotal
- value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withWithTotal
set withTotal with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addWithTotal
add additional withTotal query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withWithTotal
public ByProjectKeyProductProjectionsSuggestGet withWithTotal(Function<StringBuilder, StringBuilder> op) set withTotal with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addWithTotal
public ByProjectKeyProductProjectionsSuggestGet addWithTotal(Function<StringBuilder, StringBuilder> op) add additional withTotal query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withWithTotal
public <TValue> ByProjectKeyProductProjectionsSuggestGet withWithTotal(Collection<TValue> withTotal) set withTotal with the specified values- Type Parameters:
TValue
- value type- Parameters:
withTotal
- values to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addWithTotal
add additional withTotal query parameters- Type Parameters:
TValue
- value type- Parameters:
withTotal
- values to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withStaged
set staged with the specified value- Specified by:
withStaged
in interfaceProjectionselectingTrait<ByProjectKeyProductProjectionsSuggestGet>
- Type Parameters:
TValue
- value type- Parameters:
staged
- value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addStaged
add additional staged query parameter- Specified by:
addStaged
in interfaceProjectionselectingTrait<ByProjectKeyProductProjectionsSuggestGet>
- Type Parameters:
TValue
- value type- Parameters:
staged
- value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withStaged
set staged with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addStaged
add additional staged query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withStaged
public ByProjectKeyProductProjectionsSuggestGet withStaged(Function<StringBuilder, StringBuilder> op) set staged with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addStaged
add additional staged query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withStaged
set staged with the specified values- Type Parameters:
TValue
- value type- Parameters:
staged
- values to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addStaged
add additional staged query parameters- Type Parameters:
TValue
- value type- Parameters:
staged
- values to be added- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withSearchKeywords
public <TValue> ByProjectKeyProductProjectionsSuggestGet withSearchKeywords(String locale, TValue searchKeywords) set searchKeywords with the specificied value- Type Parameters:
TValue
- value type- Parameters:
locale
- parameter namesearchKeywords
- parameter value- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addSearchKeywords
public <TValue> ByProjectKeyProductProjectionsSuggestGet addSearchKeywords(String locale, TValue searchKeywords) add additional searchKeywords query parameter- Type Parameters:
TValue
- value type- Parameters:
locale
- parameter namesearchKeywords
- parameter value- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
withSearchKeywords
public <TValue> ByProjectKeyProductProjectionsSuggestGet withSearchKeywords(String locale, Collection<TValue> searchKeywords) set searchKeywords with the specificied values- Type Parameters:
TValue
- value type- Parameters:
locale
- parameter namesearchKeywords
- parameter values- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addSearchKeywords
public <TValue> ByProjectKeyProductProjectionsSuggestGet addSearchKeywords(String locale, Collection<TValue> searchKeywords) add additional searchKeywords query parameters- Type Parameters:
TValue
- value type- Parameters:
locale
- parameter namesearchKeywords
- parameter values- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-