Package com.commercetools.api.client
Class ByProjectKeyExtensionsGet
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyExtensionsGet,ExtensionPagedQueryResponse>
com.commercetools.api.client.ByProjectKeyExtensionsGet
- All Implemented Interfaces:
ByProjectKeyExtensionsGetMixin
,Deprecatable200Trait<ByProjectKeyExtensionsGet>
,ErrorableTrait<ByProjectKeyExtensionsGet>
,PagingTrait<ByProjectKeyExtensionsGet>
,QueryTrait<ByProjectKeyExtensionsGet>
,SimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
,ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> SortableTrait<ByProjectKeyExtensionsGet>
,ClientRequestCommand<ExtensionPagedQueryResponse>
,CreateHttpRequestCommand
,HttpRequestCommand<ExtensionPagedQueryResponse>
,RequestCommand<ExtensionPagedQueryResponse>
public class ByProjectKeyExtensionsGet
extends TypeApiMethod<ByProjectKeyExtensionsGet,ExtensionPagedQueryResponse>
implements ByProjectKeyExtensionsGetMixin, SortableTrait<ByProjectKeyExtensionsGet>, PagingTrait<ByProjectKeyExtensionsGet>, QueryTrait<ByProjectKeyExtensionsGet>, ErrorableTrait<ByProjectKeyExtensionsGet>, Deprecatable200Trait<ByProjectKeyExtensionsGet>
CompletableFuture<ApiHttpResponse<com.commercetools.api.models.extension.ExtensionPagedQueryResponse>> result = apiRoot
.withProjectKey("{projectKey}")
.extensions()
.get()
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,
V> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<TValue> ByProjectKeyExtensionsGet
addLimit
(Collection<TValue> limit) add additional limit query parametersadd additional limit query parameteradd additional limit query parameter<TValue> ByProjectKeyExtensionsGet
addLimit
(TValue limit) add additional limit query parameter<TValue> ByProjectKeyExtensionsGet
addOffset
(Collection<TValue> offset) add additional offset query parametersadd additional offset query parameteradd additional offset query parameter<TValue> ByProjectKeyExtensionsGet
addOffset
(TValue offset) add additional offset query parameter<TValue> ByProjectKeyExtensionsGet
addPredicateVar
(String varName, Collection<TValue> predicateVar) add additional predicateVar query parameters<TValue> ByProjectKeyExtensionsGet
addPredicateVar
(String varName, TValue predicateVar) add additional predicateVar query parameter<TValue> ByProjectKeyExtensionsGet
addSort
(Collection<TValue> sort) add additional sort query parametersadd additional sort query parameteradd additional sort query parameter<TValue> ByProjectKeyExtensionsGet
addSort
(TValue sort) add additional sort query parameter<TValue> ByProjectKeyExtensionsGet
addWhere
(Collection<TValue> where) add additional where query parametersadd additional where query parameteradd additional where query parameter<TValue> ByProjectKeyExtensionsGet
addWhere
(TValue where) add additional where query parameter<TValue> ByProjectKeyExtensionsGet
addWithTotal
(Collection<TValue> withTotal) add additional withTotal query parametersadd additional withTotal query parameteraddWithTotal
(Supplier<Boolean> supplier) add additional withTotal query parameter<TValue> ByProjectKeyExtensionsGet
addWithTotal
(TValue withTotal) add additional withTotal query parameterboolean
execute
(ApiHttpClient client) executeBlocking
(ApiHttpClient client, Duration timeout) getLimit()
getSort()
getWhere()
int
hashCode()
int
com.fasterxml.jackson.core.type.TypeReference<ExtensionPagedQueryResponse>
void
setProjectKey
(String projectKey) toString()
<TValue> ByProjectKeyExtensionsGet
withLimit
(Collection<TValue> limit) set limit with the specified valuesset limit with the specified valueset limit with the specified value<TValue> ByProjectKeyExtensionsGet
withLimit
(TValue limit) set limit with the specified value<TValue> ByProjectKeyExtensionsGet
withOffset
(Collection<TValue> offset) set offset with the specified valuesset offset with the specified valuewithOffset
(Supplier<Integer> supplier) set offset with the specified value<TValue> ByProjectKeyExtensionsGet
withOffset
(TValue offset) set offset with the specified value<TValue> ByProjectKeyExtensionsGet
withPredicateVar
(String varName, Collection<TValue> predicateVar) set predicateVar with the specificied values<TValue> ByProjectKeyExtensionsGet
withPredicateVar
(String varName, TValue predicateVar) set predicateVar with the specificied value<TValue> ByProjectKeyExtensionsGet
withSort
(Collection<TValue> sort) set sort with the specified valuesset sort with the specified valueset sort with the specified value<TValue> ByProjectKeyExtensionsGet
withSort
(TValue sort) set sort with the specified value<TValue> ByProjectKeyExtensionsGet
withWhere
(Collection<TValue> where) set where with the specified valuesset where with the specified valueset where with the specified value<TValue> ByProjectKeyExtensionsGet
withWhere
(TValue where) set where with the specified value<TValue> ByProjectKeyExtensionsGet
withWithTotal
(Collection<TValue> withTotal) set withTotal with the specified valuesset withTotal with the specified valuewithWithTotal
(Supplier<Boolean> supplier) set withTotal with the specified value<TValue> ByProjectKeyExtensionsGet
withWithTotal
(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 com.commercetools.api.client.ByProjectKeyExtensionsGetMixin
queryDsl
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.QueryTrait
asQueryTrait, asQueryTraitToBaseType
Methods inherited from interface io.vrap.rmf.base.client.RequestCommand
execute, executeBlocking, executeBlocking
Methods inherited from interface com.commercetools.api.client.SimplePagedQueryResourceRequest
addQuery, addQuery, addQuery, addQuery, addWhere, addWhere, addWhere, asPagedQueryResourceRequest, asPagedQueryResourceRequestToBaseType, getFirstQueryParam, getQueryParam, getQueryParams, withQuery, withQuery, withQuery, withQuery, withWhere, withWhere, withWhere
Methods inherited from interface com.commercetools.api.client.SortableTrait
asSortableTrait, asSortableTraitToBaseType
-
Constructor Details
-
ByProjectKeyExtensionsGet
-
ByProjectKeyExtensionsGet
-
-
Method Details
-
resultType
- Specified by:
resultType
in interfaceHttpRequestCommand<ExtensionPagedQueryResponse>
-
executeBlocking
public ApiHttpResponse<ExtensionPagedQueryResponse> executeBlocking(ApiHttpClient client, Duration timeout) - Specified by:
executeBlocking
in interfaceClientRequestCommand<ExtensionPagedQueryResponse>
- Specified by:
executeBlocking
in classApiMethod<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse>
-
execute
public CompletableFuture<ApiHttpResponse<ExtensionPagedQueryResponse>> execute(ApiHttpClient client) - Specified by:
execute
in interfaceClientRequestCommand<ExtensionPagedQueryResponse>
- Specified by:
execute
in classApiMethod<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse>
-
getProjectKey
-
getSort
- Specified by:
getSort
in interfaceSortableTrait<ByProjectKeyExtensionsGet>
-
getLimit
- Specified by:
getLimit
in interfacePagingTrait<ByProjectKeyExtensionsGet>
-
getOffset
- Specified by:
getOffset
in interfacePagingTrait<ByProjectKeyExtensionsGet>
-
getWithTotal
- Specified by:
getWithTotal
in interfacePagingTrait<ByProjectKeyExtensionsGet>
-
getWhere
- Specified by:
getWhere
in interfaceQueryTrait<ByProjectKeyExtensionsGet>
-
setProjectKey
-
withSort
set sort with the specified value- Specified by:
withSort
in interfaceSimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> - Specified by:
withSort
in interfaceSortableTrait<ByProjectKeyExtensionsGet>
- Type Parameters:
TValue
- value type- Parameters:
sort
- value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addSort
add additional sort query parameter- Specified by:
addSort
in interfaceSimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> - Specified by:
addSort
in interfaceSortableTrait<ByProjectKeyExtensionsGet>
- Type Parameters:
TValue
- value type- Parameters:
sort
- value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withSort
set sort with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addSort
add additional sort query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withSort
set sort with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addSort
add additional sort query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withSort
set sort with the specified values- Type Parameters:
TValue
- value type- Parameters:
sort
- values to be set- Returns:
- ByProjectKeyExtensionsGet
-
addSort
add additional sort query parameters- Type Parameters:
TValue
- value type- Parameters:
sort
- values to be added- Returns:
- ByProjectKeyExtensionsGet
-
withLimit
set limit with the specified value- Specified by:
withLimit
in interfacePagingTrait<ByProjectKeyExtensionsGet>
- Specified by:
withLimit
in interfaceSimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> - Type Parameters:
TValue
- value type- Parameters:
limit
- value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addLimit
add additional limit query parameter- Specified by:
addLimit
in interfacePagingTrait<ByProjectKeyExtensionsGet>
- Specified by:
addLimit
in interfaceSimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> - Type Parameters:
TValue
- value type- Parameters:
limit
- value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withLimit
set limit with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addLimit
add additional limit query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withLimit
set limit with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addLimit
add additional limit query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withLimit
set limit with the specified values- Type Parameters:
TValue
- value type- Parameters:
limit
- values to be set- Returns:
- ByProjectKeyExtensionsGet
-
addLimit
add additional limit query parameters- Type Parameters:
TValue
- value type- Parameters:
limit
- values to be added- Returns:
- ByProjectKeyExtensionsGet
-
withOffset
set offset with the specified value- Specified by:
withOffset
in interfacePagingTrait<ByProjectKeyExtensionsGet>
- Specified by:
withOffset
in interfaceSimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> - Type Parameters:
TValue
- value type- Parameters:
offset
- value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addOffset
add additional offset query parameter- Specified by:
addOffset
in interfacePagingTrait<ByProjectKeyExtensionsGet>
- Specified by:
addOffset
in interfaceSimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> - Type Parameters:
TValue
- value type- Parameters:
offset
- value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withOffset
set offset with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addOffset
add additional offset query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withOffset
set offset with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addOffset
add additional offset query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withOffset
set offset with the specified values- Type Parameters:
TValue
- value type- Parameters:
offset
- values to be set- Returns:
- ByProjectKeyExtensionsGet
-
addOffset
add additional offset query parameters- Type Parameters:
TValue
- value type- Parameters:
offset
- values to be added- Returns:
- ByProjectKeyExtensionsGet
-
withWithTotal
set withTotal with the specified value- Specified by:
withWithTotal
in interfacePagingTrait<ByProjectKeyExtensionsGet>
- Specified by:
withWithTotal
in interfaceSimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> - Type Parameters:
TValue
- value type- Parameters:
withTotal
- value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addWithTotal
add additional withTotal query parameter- Specified by:
addWithTotal
in interfacePagingTrait<ByProjectKeyExtensionsGet>
- Specified by:
addWithTotal
in interfaceSimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> - Type Parameters:
TValue
- value type- Parameters:
withTotal
- value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withWithTotal
set withTotal with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addWithTotal
add additional withTotal query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withWithTotal
set withTotal with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addWithTotal
add additional withTotal query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withWithTotal
set withTotal with the specified values- Type Parameters:
TValue
- value type- Parameters:
withTotal
- values to be set- Returns:
- ByProjectKeyExtensionsGet
-
addWithTotal
add additional withTotal query parameters- Type Parameters:
TValue
- value type- Parameters:
withTotal
- values to be added- Returns:
- ByProjectKeyExtensionsGet
-
withWhere
set where with the specified value- Specified by:
withWhere
in interfaceQueryTrait<ByProjectKeyExtensionsGet>
- Specified by:
withWhere
in interfaceSimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> - Type Parameters:
TValue
- value type- Parameters:
where
- value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addWhere
add additional where query parameter- Specified by:
addWhere
in interfaceQueryTrait<ByProjectKeyExtensionsGet>
- Specified by:
addWhere
in interfaceSimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> - Type Parameters:
TValue
- value type- Parameters:
where
- value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withWhere
set where with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addWhere
add additional where query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withWhere
set where with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyExtensionsGet
-
addWhere
add additional where query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyExtensionsGet
-
withWhere
set where with the specified values- Type Parameters:
TValue
- value type- Parameters:
where
- values to be set- Returns:
- ByProjectKeyExtensionsGet
-
addWhere
add additional where query parameters- Type Parameters:
TValue
- value type- Parameters:
where
- values to be added- Returns:
- ByProjectKeyExtensionsGet
-
withPredicateVar
set predicateVar with the specificied value- Specified by:
withPredicateVar
in interfaceQueryTrait<ByProjectKeyExtensionsGet>
- Specified by:
withPredicateVar
in interfaceSimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> - Type Parameters:
TValue
- value type- Parameters:
varName
- parameter namepredicateVar
- parameter value- Returns:
- ByProjectKeyExtensionsGet
-
addPredicateVar
add additional predicateVar query parameter- Specified by:
addPredicateVar
in interfaceQueryTrait<ByProjectKeyExtensionsGet>
- Specified by:
addPredicateVar
in interfaceSimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> - Type Parameters:
TValue
- value type- Parameters:
varName
- parameter namepredicateVar
- parameter value- Returns:
- ByProjectKeyExtensionsGet
-
withPredicateVar
public <TValue> ByProjectKeyExtensionsGet withPredicateVar(String varName, Collection<TValue> predicateVar) set predicateVar with the specificied values- Specified by:
withPredicateVar
in interfaceSimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> - Type Parameters:
TValue
- value type- Parameters:
varName
- parameter namepredicateVar
- parameter values- Returns:
- ByProjectKeyExtensionsGet
-
addPredicateVar
public <TValue> ByProjectKeyExtensionsGet addPredicateVar(String varName, Collection<TValue> predicateVar) add additional predicateVar query parameters- Specified by:
addPredicateVar
in interfaceSimplePagedQueryResourceRequest<ByProjectKeyExtensionsGet,
ExtensionPagedQueryResponse, com.commercetools.api.predicates.query.extension.ExtensionQueryBuilderDsl> - Type Parameters:
TValue
- value type- Parameters:
varName
- parameter namepredicateVar
- parameter values- Returns:
- ByProjectKeyExtensionsGet
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-