Class ByProjectKeyImportContainersGet
java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyImportContainersGet,ImportContainerPagedResponse>
com.commercetools.importapi.client.ByProjectKeyImportContainersGet
- All Implemented Interfaces:
Secured_by_view_import_containersTrait<ByProjectKeyImportContainersGet>
,ClientRequestCommand<ImportContainerPagedResponse>
,CreateHttpRequestCommand
,HttpRequestCommand<ImportContainerPagedResponse>
,RequestCommand<ImportContainerPagedResponse>
public class ByProjectKeyImportContainersGet
extends TypeApiMethod<ByProjectKeyImportContainersGet,ImportContainerPagedResponse>
implements Secured_by_view_import_containersTrait<ByProjectKeyImportContainersGet>
Retrieves all import containers of a given project key.
CompletableFuture<ApiHttpResponse<com.commercetools.importapi.models.importcontainers.ImportContainerPagedResponse>> result = apiRoot
.withProjectKeyValue("{projectKey}")
.importContainers()
.get()
.execute()
-
Nested Class Summary
Nested classes/interfaces inherited from class io.vrap.rmf.base.client.ApiMethod
ApiMethod.ParamEntry<K,
V> -
Constructor Summary
ConstructorDescriptionByProjectKeyImportContainersGet
(ApiHttpClient apiHttpClient, String projectKey) -
Method Summary
Modifier and TypeMethodDescription<TValue> ByProjectKeyImportContainersGet
addLimit
(Collection<TValue> limit) add additional limit query parametersadd additional limit query parameteradd additional limit query parameter<TValue> ByProjectKeyImportContainersGet
addLimit
(TValue limit) add additional limit query parameter<TValue> ByProjectKeyImportContainersGet
addOffset
(Collection<TValue> offset) add additional offset query parametersadd additional offset query parameteradd additional offset query parameter<TValue> ByProjectKeyImportContainersGet
addOffset
(TValue offset) add additional offset query parameter<TValue> ByProjectKeyImportContainersGet
addSort
(Collection<TValue> sort) add additional sort query parametersadd additional sort query parameteradd additional sort query parameter<TValue> ByProjectKeyImportContainersGet
addSort
(TValue sort) add additional sort query parameterboolean
execute
(ApiHttpClient client) executeBlocking
(ApiHttpClient client, Duration timeout) getLimit()
getSort()
int
hashCode()
int
com.fasterxml.jackson.core.type.TypeReference<ImportContainerPagedResponse>
void
setProjectKey
(String projectKey) toString()
<TValue> ByProjectKeyImportContainersGet
withLimit
(Collection<TValue> limit) set limit with the specified valuesset limit with the specified valueset limit with the specified value<TValue> ByProjectKeyImportContainersGet
withLimit
(TValue limit) set limit with the specified value<TValue> ByProjectKeyImportContainersGet
withOffset
(Collection<TValue> offset) set offset with the specified valuesset offset with the specified valuewithOffset
(Supplier<Long> supplier) set offset with the specified value<TValue> ByProjectKeyImportContainersGet
withOffset
(TValue offset) set offset with the specified value<TValue> ByProjectKeyImportContainersGet
withSort
(Collection<TValue> sort) set sort with the specified valuesset sort with the specified valueset sort with the specified value<TValue> ByProjectKeyImportContainersGet
withSort
(TValue sort) set sort 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 io.vrap.rmf.base.client.RequestCommand
executeBlocking
Methods inherited from interface com.commercetools.importapi.client.Secured_by_view_import_containersTrait
asSecured_by_view_import_containersTrait, asSecured_by_view_import_containersTraitToBaseType
-
Constructor Details
-
ByProjectKeyImportContainersGet
-
ByProjectKeyImportContainersGet
-
-
Method Details
-
resultType
- Specified by:
resultType
in interfaceHttpRequestCommand<ImportContainerPagedResponse>
-
executeBlocking
public ApiHttpResponse<ImportContainerPagedResponse> executeBlocking(ApiHttpClient client, Duration timeout) - Specified by:
executeBlocking
in interfaceClientRequestCommand<ImportContainerPagedResponse>
- Specified by:
executeBlocking
in classApiMethod<ByProjectKeyImportContainersGet,
ImportContainerPagedResponse>
-
execute
public CompletableFuture<ApiHttpResponse<ImportContainerPagedResponse>> execute(ApiHttpClient client) - Specified by:
execute
in interfaceClientRequestCommand<ImportContainerPagedResponse>
- Specified by:
execute
in classApiMethod<ByProjectKeyImportContainersGet,
ImportContainerPagedResponse>
-
getProjectKey
-
getLimit
-
getOffset
-
getSort
-
setProjectKey
-
withLimit
set limit with the specified value- Type Parameters:
TValue
- value type- Parameters:
limit
- value to be set- Returns:
- ByProjectKeyImportContainersGet
-
addLimit
add additional limit query parameter- Type Parameters:
TValue
- value type- Parameters:
limit
- value to be added- Returns:
- ByProjectKeyImportContainersGet
-
withLimit
set limit with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyImportContainersGet
-
addLimit
add additional limit query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyImportContainersGet
-
withLimit
set limit with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyImportContainersGet
-
addLimit
add additional limit query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyImportContainersGet
-
withLimit
set limit with the specified values- Type Parameters:
TValue
- value type- Parameters:
limit
- values to be set- Returns:
- ByProjectKeyImportContainersGet
-
addLimit
add additional limit query parameters- Type Parameters:
TValue
- value type- Parameters:
limit
- values to be added- Returns:
- ByProjectKeyImportContainersGet
-
withOffset
set offset with the specified value- Type Parameters:
TValue
- value type- Parameters:
offset
- value to be set- Returns:
- ByProjectKeyImportContainersGet
-
addOffset
add additional offset query parameter- Type Parameters:
TValue
- value type- Parameters:
offset
- value to be added- Returns:
- ByProjectKeyImportContainersGet
-
withOffset
set offset with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyImportContainersGet
-
addOffset
add additional offset query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyImportContainersGet
-
withOffset
set offset with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyImportContainersGet
-
addOffset
add additional offset query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyImportContainersGet
-
withOffset
set offset with the specified values- Type Parameters:
TValue
- value type- Parameters:
offset
- values to be set- Returns:
- ByProjectKeyImportContainersGet
-
addOffset
add additional offset query parameters- Type Parameters:
TValue
- value type- Parameters:
offset
- values to be added- Returns:
- ByProjectKeyImportContainersGet
-
withSort
set sort with the specified value- Type Parameters:
TValue
- value type- Parameters:
sort
- value to be set- Returns:
- ByProjectKeyImportContainersGet
-
addSort
add additional sort query parameter- Type Parameters:
TValue
- value type- Parameters:
sort
- value to be added- Returns:
- ByProjectKeyImportContainersGet
-
withSort
set sort with the specified value- Parameters:
supplier
- supplier for the value to be set- Returns:
- ByProjectKeyImportContainersGet
-
addSort
add additional sort query parameter- Parameters:
supplier
- supplier for the value to be added- Returns:
- ByProjectKeyImportContainersGet
-
withSort
set sort with the specified value- Parameters:
op
- builder for the value to be set- Returns:
- ByProjectKeyImportContainersGet
-
addSort
add additional sort query parameter- Parameters:
op
- builder for the value to be added- Returns:
- ByProjectKeyImportContainersGet
-
withSort
set sort with the specified values- Type Parameters:
TValue
- value type- Parameters:
sort
- values to be set- Returns:
- ByProjectKeyImportContainersGet
-
addSort
add additional sort query parameters- Type Parameters:
TValue
- value type- Parameters:
sort
- values to be added- Returns:
- ByProjectKeyImportContainersGet
-
equals
-
hashCode
public int hashCode() -
toString
-
reflectionHashCode
public int reflectionHashCode()
-