Skip to content

Commit

Permalink
fix(specs): add sourceType to listTasks [skip-bc] (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4193

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Pierre Millot <millotpierre3@gmail.com>
  • Loading branch information
algolia-bot and millotp committed Dec 3, 2024
1 parent 6f9fb25 commit 68678f1
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions algoliasearch/src/main/java/com/algolia/api/IngestionClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -2508,6 +2508,7 @@ public CompletableFuture<ListSourcesResponse> listSourcesAsync() throws AlgoliaR
* @param action Actions for filtering the list of tasks. (optional)
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
* @param sourceID Source IDs for filtering the list of tasks. (optional)
* @param sourceType Filters the tasks with the specified source type. (optional)
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
Expand All @@ -2522,14 +2523,15 @@ public ListTasksResponse listTasks(
List<ActionType> action,
Boolean enabled,
List<String> sourceID,
List<SourceType> sourceType,
List<String> destinationID,
List<TriggerType> triggerType,
TaskSortKeys sort,
OrderKeys order,
RequestOptions requestOptions
) throws AlgoliaRuntimeException {
return LaunderThrowable.await(
listTasksAsync(itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, requestOptions)
listTasksAsync(itemsPerPage, page, action, enabled, sourceID, sourceType, destinationID, triggerType, sort, order, requestOptions)
);
}

Expand All @@ -2541,6 +2543,7 @@ public ListTasksResponse listTasks(
* @param action Actions for filtering the list of tasks. (optional)
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
* @param sourceID Source IDs for filtering the list of tasks. (optional)
* @param sourceType Filters the tasks with the specified source type. (optional)
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
Expand All @@ -2553,12 +2556,13 @@ public ListTasksResponse listTasks(
List<ActionType> action,
Boolean enabled,
List<String> sourceID,
List<SourceType> sourceType,
List<String> destinationID,
List<TriggerType> triggerType,
TaskSortKeys sort,
OrderKeys order
) throws AlgoliaRuntimeException {
return this.listTasks(itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, null);
return this.listTasks(itemsPerPage, page, action, enabled, sourceID, sourceType, destinationID, triggerType, sort, order, null);
}

/**
Expand All @@ -2569,7 +2573,7 @@ public ListTasksResponse listTasks(
* @throws AlgoliaRuntimeException If it fails to process the API call
*/
public ListTasksResponse listTasks(RequestOptions requestOptions) throws AlgoliaRuntimeException {
return this.listTasks(null, null, null, null, null, null, null, null, null, requestOptions);
return this.listTasks(null, null, null, null, null, null, null, null, null, null, requestOptions);
}

/**
Expand All @@ -2578,7 +2582,7 @@ public ListTasksResponse listTasks(RequestOptions requestOptions) throws Algolia
* @throws AlgoliaRuntimeException If it fails to process the API call
*/
public ListTasksResponse listTasks() throws AlgoliaRuntimeException {
return this.listTasks(null, null, null, null, null, null, null, null, null, null);
return this.listTasks(null, null, null, null, null, null, null, null, null, null, null);
}

/**
Expand All @@ -2589,6 +2593,7 @@ public ListTasksResponse listTasks() throws AlgoliaRuntimeException {
* @param action Actions for filtering the list of tasks. (optional)
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
* @param sourceID Source IDs for filtering the list of tasks. (optional)
* @param sourceType Filters the tasks with the specified source type. (optional)
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
Expand All @@ -2603,6 +2608,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
List<ActionType> action,
Boolean enabled,
List<String> sourceID,
List<SourceType> sourceType,
List<String> destinationID,
List<TriggerType> triggerType,
TaskSortKeys sort,
Expand All @@ -2617,6 +2623,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
.addQueryParameter("action", action)
.addQueryParameter("enabled", enabled)
.addQueryParameter("sourceID", sourceID)
.addQueryParameter("sourceType", sourceType)
.addQueryParameter("destinationID", destinationID)
.addQueryParameter("triggerType", triggerType)
.addQueryParameter("sort", sort)
Expand All @@ -2633,6 +2640,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
* @param action Actions for filtering the list of tasks. (optional)
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
* @param sourceID Source IDs for filtering the list of tasks. (optional)
* @param sourceType Filters the tasks with the specified source type. (optional)
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
Expand All @@ -2645,12 +2653,13 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
List<ActionType> action,
Boolean enabled,
List<String> sourceID,
List<SourceType> sourceType,
List<String> destinationID,
List<TriggerType> triggerType,
TaskSortKeys sort,
OrderKeys order
) throws AlgoliaRuntimeException {
return this.listTasksAsync(itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, null);
return this.listTasksAsync(itemsPerPage, page, action, enabled, sourceID, sourceType, destinationID, triggerType, sort, order, null);
}

/**
Expand All @@ -2661,7 +2670,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
* @throws AlgoliaRuntimeException If it fails to process the API call
*/
public CompletableFuture<ListTasksResponse> listTasksAsync(RequestOptions requestOptions) throws AlgoliaRuntimeException {
return this.listTasksAsync(null, null, null, null, null, null, null, null, null, requestOptions);
return this.listTasksAsync(null, null, null, null, null, null, null, null, null, null, requestOptions);
}

/**
Expand All @@ -2670,7 +2679,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(RequestOptions reques
* @throws AlgoliaRuntimeException If it fails to process the API call
*/
public CompletableFuture<ListTasksResponse> listTasksAsync() throws AlgoliaRuntimeException {
return this.listTasksAsync(null, null, null, null, null, null, null, null, null, null);
return this.listTasksAsync(null, null, null, null, null, null, null, null, null, null, null);
}

/**
Expand Down

0 comments on commit 68678f1

Please sign in to comment.