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 2cb142c commit 675c65e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -812,13 +812,14 @@ public class IngestionClient(
* @param action Actions for filtering the list of tasks.
* @param enabled Whether to filter the list of tasks by the `enabled` status.
* @param sourceID Source IDs for filtering the list of tasks.
* @param sourceType Filters the tasks with the specified source type.
* @param destinationID Destination IDs for filtering the list of tasks.
* @param triggerType Type of task trigger for filtering the list of tasks.
* @param sort Property by which to sort the list of tasks. (default to createdAt)
* @param order Sort order of the response, ascending or descending. (default to desc)
* @param requestOptions additional request configuration.
*/
public suspend fun listTasks(itemsPerPage: Int? = null, page: Int? = null, action: List<ActionType>? = null, enabled: Boolean? = null, sourceID: List<String>? = null, destinationID: List<String>? = null, triggerType: List<TriggerType>? = null, sort: TaskSortKeys? = null, order: OrderKeys? = null, requestOptions: RequestOptions? = null): ListTasksResponse {
public suspend fun listTasks(itemsPerPage: Int? = null, page: Int? = null, action: List<ActionType>? = null, enabled: Boolean? = null, sourceID: List<String>? = null, sourceType: List<SourceType>? = null, destinationID: List<String>? = null, triggerType: List<TriggerType>? = null, sort: TaskSortKeys? = null, order: OrderKeys? = null, requestOptions: RequestOptions? = null): ListTasksResponse {
val requestConfig = RequestConfig(
method = RequestMethod.GET,
path = listOf("2", "tasks"),
Expand All @@ -828,6 +829,7 @@ public class IngestionClient(
action?.let { put("action", it.joinToString(",")) }
enabled?.let { put("enabled", it) }
sourceID?.let { put("sourceID", it.joinToString(",")) }
sourceType?.let { put("sourceType", it.joinToString(",")) }
destinationID?.let { put("destinationID", it.joinToString(",")) }
triggerType?.let { put("triggerType", it.joinToString(",")) }
sort?.let { put("sort", it) }
Expand Down

0 comments on commit 675c65e

Please sign in to comment.