Skip to content

Commit d5fbca8

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 5124db5 commit d5fbca8

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

algoliasearch/Clients/IngestionClient.cs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,6 +1136,7 @@ public interface IIngestionClient
11361136
/// <param name="action">Actions for filtering the list of tasks. (optional)</param>
11371137
/// <param name="enabled">Whether to filter the list of tasks by the `enabled` status. (optional)</param>
11381138
/// <param name="sourceID">Source IDs for filtering the list of tasks. (optional)</param>
1139+
/// <param name="sourceType">Filters the tasks with the specified source type. (optional)</param>
11391140
/// <param name="destinationID">Destination IDs for filtering the list of tasks. (optional)</param>
11401141
/// <param name="triggerType">Type of task trigger for filtering the list of tasks. (optional)</param>
11411142
/// <param name="sort">Property by which to sort the list of tasks. (optional)</param>
@@ -1146,7 +1147,7 @@ public interface IIngestionClient
11461147
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
11471148
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
11481149
/// <returns>Task of ListTasksResponse</returns>
1149-
Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default);
1150+
Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<SourceType> sourceType = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default);
11501151

11511152
/// <summary>
11521153
/// Retrieves a list of tasks. (Synchronous version)
@@ -1161,6 +1162,7 @@ public interface IIngestionClient
11611162
/// <param name="action">Actions for filtering the list of tasks. (optional)</param>
11621163
/// <param name="enabled">Whether to filter the list of tasks by the `enabled` status. (optional)</param>
11631164
/// <param name="sourceID">Source IDs for filtering the list of tasks. (optional)</param>
1165+
/// <param name="sourceType">Filters the tasks with the specified source type. (optional)</param>
11641166
/// <param name="destinationID">Destination IDs for filtering the list of tasks. (optional)</param>
11651167
/// <param name="triggerType">Type of task trigger for filtering the list of tasks. (optional)</param>
11661168
/// <param name="sort">Property by which to sort the list of tasks. (optional)</param>
@@ -1171,7 +1173,7 @@ public interface IIngestionClient
11711173
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
11721174
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
11731175
/// <returns>ListTasksResponse</returns>
1174-
ListTasksResponse ListTasks(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default);
1176+
ListTasksResponse ListTasks(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<SourceType> sourceType = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default);
11751177

11761178
/// <summary>
11771179
/// Retrieves a list of tasks using the v1 endpoint, please use `getTasks` instead.
@@ -2732,7 +2734,7 @@ public ListSourcesResponse ListSources(int? itemsPerPage = default, int? page =
27322734

27332735

27342736
/// <inheritdoc />
2735-
public async Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default)
2737+
public async Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<SourceType> sourceType = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default)
27362738
{
27372739
var requestOptions = new InternalRequestOptions(options);
27382740

@@ -2742,6 +2744,7 @@ public async Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default,
27422744
requestOptions.AddQueryParameter("action", action);
27432745
requestOptions.AddQueryParameter("enabled", enabled);
27442746
requestOptions.AddQueryParameter("sourceID", sourceID);
2747+
requestOptions.AddQueryParameter("sourceType", sourceType);
27452748
requestOptions.AddQueryParameter("destinationID", destinationID);
27462749
requestOptions.AddQueryParameter("triggerType", triggerType);
27472750
requestOptions.AddQueryParameter("sort", sort);
@@ -2751,8 +2754,8 @@ public async Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default,
27512754

27522755

27532756
/// <inheritdoc />
2754-
public ListTasksResponse ListTasks(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default) =>
2755-
AsyncHelper.RunSync(() => ListTasksAsync(itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, options, cancellationToken));
2757+
public ListTasksResponse ListTasks(int? itemsPerPage = default, int? page = default, List<ActionType> action = default, bool? enabled = default, List<string> sourceID = default, List<SourceType> sourceType = default, List<string> destinationID = default, List<TriggerType> triggerType = default, TaskSortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default) =>
2758+
AsyncHelper.RunSync(() => ListTasksAsync(itemsPerPage, page, action, enabled, sourceID, sourceType, destinationID, triggerType, sort, order, options, cancellationToken));
27562759

27572760

27582761
/// <inheritdoc />

0 commit comments

Comments
 (0)