Skip to content

Commit 68678f1

Browse files
algolia-botmillotp
andcommitted
fix(specs): add sourceType to listTasks [skip-bc] (generated)
algolia/api-clients-automation#4193 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 6f9fb25 commit 68678f1

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

algoliasearch/src/main/java/com/algolia/api/IngestionClient.java

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2508,6 +2508,7 @@ public CompletableFuture<ListSourcesResponse> listSourcesAsync() throws AlgoliaR
25082508
* @param action Actions for filtering the list of tasks. (optional)
25092509
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
25102510
* @param sourceID Source IDs for filtering the list of tasks. (optional)
2511+
* @param sourceType Filters the tasks with the specified source type. (optional)
25112512
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
25122513
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
25132514
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
@@ -2522,14 +2523,15 @@ public ListTasksResponse listTasks(
25222523
List<ActionType> action,
25232524
Boolean enabled,
25242525
List<String> sourceID,
2526+
List<SourceType> sourceType,
25252527
List<String> destinationID,
25262528
List<TriggerType> triggerType,
25272529
TaskSortKeys sort,
25282530
OrderKeys order,
25292531
RequestOptions requestOptions
25302532
) throws AlgoliaRuntimeException {
25312533
return LaunderThrowable.await(
2532-
listTasksAsync(itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, requestOptions)
2534+
listTasksAsync(itemsPerPage, page, action, enabled, sourceID, sourceType, destinationID, triggerType, sort, order, requestOptions)
25332535
);
25342536
}
25352537

@@ -2541,6 +2543,7 @@ public ListTasksResponse listTasks(
25412543
* @param action Actions for filtering the list of tasks. (optional)
25422544
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
25432545
* @param sourceID Source IDs for filtering the list of tasks. (optional)
2546+
* @param sourceType Filters the tasks with the specified source type. (optional)
25442547
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
25452548
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
25462549
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
@@ -2553,12 +2556,13 @@ public ListTasksResponse listTasks(
25532556
List<ActionType> action,
25542557
Boolean enabled,
25552558
List<String> sourceID,
2559+
List<SourceType> sourceType,
25562560
List<String> destinationID,
25572561
List<TriggerType> triggerType,
25582562
TaskSortKeys sort,
25592563
OrderKeys order
25602564
) throws AlgoliaRuntimeException {
2561-
return this.listTasks(itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, null);
2565+
return this.listTasks(itemsPerPage, page, action, enabled, sourceID, sourceType, destinationID, triggerType, sort, order, null);
25622566
}
25632567

25642568
/**
@@ -2569,7 +2573,7 @@ public ListTasksResponse listTasks(
25692573
* @throws AlgoliaRuntimeException If it fails to process the API call
25702574
*/
25712575
public ListTasksResponse listTasks(RequestOptions requestOptions) throws AlgoliaRuntimeException {
2572-
return this.listTasks(null, null, null, null, null, null, null, null, null, requestOptions);
2576+
return this.listTasks(null, null, null, null, null, null, null, null, null, null, requestOptions);
25732577
}
25742578

25752579
/**
@@ -2578,7 +2582,7 @@ public ListTasksResponse listTasks(RequestOptions requestOptions) throws Algolia
25782582
* @throws AlgoliaRuntimeException If it fails to process the API call
25792583
*/
25802584
public ListTasksResponse listTasks() throws AlgoliaRuntimeException {
2581-
return this.listTasks(null, null, null, null, null, null, null, null, null, null);
2585+
return this.listTasks(null, null, null, null, null, null, null, null, null, null, null);
25822586
}
25832587

25842588
/**
@@ -2589,6 +2593,7 @@ public ListTasksResponse listTasks() throws AlgoliaRuntimeException {
25892593
* @param action Actions for filtering the list of tasks. (optional)
25902594
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
25912595
* @param sourceID Source IDs for filtering the list of tasks. (optional)
2596+
* @param sourceType Filters the tasks with the specified source type. (optional)
25922597
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
25932598
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
25942599
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
@@ -2603,6 +2608,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26032608
List<ActionType> action,
26042609
Boolean enabled,
26052610
List<String> sourceID,
2611+
List<SourceType> sourceType,
26062612
List<String> destinationID,
26072613
List<TriggerType> triggerType,
26082614
TaskSortKeys sort,
@@ -2617,6 +2623,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26172623
.addQueryParameter("action", action)
26182624
.addQueryParameter("enabled", enabled)
26192625
.addQueryParameter("sourceID", sourceID)
2626+
.addQueryParameter("sourceType", sourceType)
26202627
.addQueryParameter("destinationID", destinationID)
26212628
.addQueryParameter("triggerType", triggerType)
26222629
.addQueryParameter("sort", sort)
@@ -2633,6 +2640,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26332640
* @param action Actions for filtering the list of tasks. (optional)
26342641
* @param enabled Whether to filter the list of tasks by the `enabled` status. (optional)
26352642
* @param sourceID Source IDs for filtering the list of tasks. (optional)
2643+
* @param sourceType Filters the tasks with the specified source type. (optional)
26362644
* @param destinationID Destination IDs for filtering the list of tasks. (optional)
26372645
* @param triggerType Type of task trigger for filtering the list of tasks. (optional)
26382646
* @param sort Property by which to sort the list of tasks. (optional, default to createdAt)
@@ -2645,12 +2653,13 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26452653
List<ActionType> action,
26462654
Boolean enabled,
26472655
List<String> sourceID,
2656+
List<SourceType> sourceType,
26482657
List<String> destinationID,
26492658
List<TriggerType> triggerType,
26502659
TaskSortKeys sort,
26512660
OrderKeys order
26522661
) throws AlgoliaRuntimeException {
2653-
return this.listTasksAsync(itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, null);
2662+
return this.listTasksAsync(itemsPerPage, page, action, enabled, sourceID, sourceType, destinationID, triggerType, sort, order, null);
26542663
}
26552664

26562665
/**
@@ -2661,7 +2670,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(
26612670
* @throws AlgoliaRuntimeException If it fails to process the API call
26622671
*/
26632672
public CompletableFuture<ListTasksResponse> listTasksAsync(RequestOptions requestOptions) throws AlgoliaRuntimeException {
2664-
return this.listTasksAsync(null, null, null, null, null, null, null, null, null, requestOptions);
2673+
return this.listTasksAsync(null, null, null, null, null, null, null, null, null, null, requestOptions);
26652674
}
26662675

26672676
/**
@@ -2670,7 +2679,7 @@ public CompletableFuture<ListTasksResponse> listTasksAsync(RequestOptions reques
26702679
* @throws AlgoliaRuntimeException If it fails to process the API call
26712680
*/
26722681
public CompletableFuture<ListTasksResponse> listTasksAsync() throws AlgoliaRuntimeException {
2673-
return this.listTasksAsync(null, null, null, null, null, null, null, null, null, null);
2682+
return this.listTasksAsync(null, null, null, null, null, null, null, null, null, null, null);
26742683
}
26752684

26762685
/**

0 commit comments

Comments
 (0)