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>
,ProjectionselectingTrait<ByProjectKeyProductProjectionsSuggestGet>
,ClientRequestCommand<SuggestionResult>
,CreateHttpRequestCommand
,HttpRequestCommand<SuggestionResult>
,RequestCommand<SuggestionResult>
public class ByProjectKeyProductProjectionsSuggestGet
extends TypeApiMethod<ByProjectKeyProductProjectionsSuggestGet,SuggestionResult>
implements 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
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,
V> -
Constructor Summary
ConstructorDescriptionByProjectKeyProductProjectionsSuggestGet
(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 parameteraddSearchKeywords
(String locale, Collection<TValue> searchKeywords) add additional searchKeywords query parametersaddSearchKeywords
(String locale, TValue searchKeywords) add additional searchKeywords query parameteraddStaged
(Collection<TValue> staged) add additional staged query parametersadd additional staged query parameteradd additional staged query parameteraddStaged
(TValue staged) add additional staged query parameterboolean
execute
(ApiHttpClient client) executeBlocking
(ApiHttpClient client, Duration timeout) getFuzzy()
getLimit()
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 valuewithSearchKeywords
(String locale, Collection<TValue> searchKeywords) set searchKeywords with the specificied valueswithSearchKeywords
(String locale, TValue searchKeywords) set searchKeywords with the specificied 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 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.ProjectionselectingTrait
asProjectionselectingTrait, asProjectionselectingTraitToBaseType
Methods inherited from interface io.vrap.rmf.base.client.RequestCommand
executeBlocking
-
Constructor Details
-
ByProjectKeyProductProjectionsSuggestGet
-
ByProjectKeyProductProjectionsSuggestGet
-
-
Method Details
-
resultType
- Specified by:
resultType
in interfaceHttpRequestCommand<SuggestionResult>
-
executeBlocking
- Specified by:
executeBlocking
in interfaceClientRequestCommand<SuggestionResult>
- Specified by:
executeBlocking
in classApiMethod<ByProjectKeyProductProjectionsSuggestGet,
SuggestionResult>
-
execute
- Specified by:
execute
in interfaceClientRequestCommand<SuggestionResult>
- Specified by:
execute
in classApiMethod<ByProjectKeyProductProjectionsSuggestGet,
SuggestionResult>
-
getProjectKey
-
getLimit
-
getFuzzy
-
getStaged
- Specified by:
getStaged
in interfaceProjectionselectingTrait<ByProjectKeyProductProjectionsSuggestGet>
-
setProjectKey
-
withLimit
set limit with the specified value- Type Parameters:
TValue
- value type- Parameters:
limit
- value to be set- Returns:
- ByProjectKeyProductProjectionsSuggestGet
-
addLimit
add additional limit query parameter- 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
-
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
-
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()
-