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 <[email protected]>
Co-authored-by: Pierre Millot <[email protected]>
  • Loading branch information
algolia-bot and millotp committed Dec 3, 2024
1 parent 5124db5 commit d5fbca8
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions algoliasearch/Clients/IngestionClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,7 @@ public interface IIngestionClient
/// <param name="action">Actions for filtering the list of tasks. (optional)</param>
/// <param name="enabled">Whether to filter the list of tasks by the `enabled` status. (optional)</param>
/// <param name="sourceID">Source IDs for filtering the list of tasks. (optional)</param>
/// <param name="sourceType">Filters the tasks with the specified source type. (optional)</param>
/// <param name="destinationID">Destination IDs for filtering the list of tasks. (optional)</param>
/// <param name="triggerType">Type of task trigger for filtering the list of tasks. (optional)</param>
/// <param name="sort">Property by which to sort the list of tasks. (optional)</param>
Expand All @@ -1146,7 +1147,7 @@ public interface IIngestionClient
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
/// <returns>Task of ListTasksResponse</returns>
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);
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);

/// <summary>
/// Retrieves a list of tasks. (Synchronous version)
Expand All @@ -1161,6 +1162,7 @@ public interface IIngestionClient
/// <param name="action">Actions for filtering the list of tasks. (optional)</param>
/// <param name="enabled">Whether to filter the list of tasks by the `enabled` status. (optional)</param>
/// <param name="sourceID">Source IDs for filtering the list of tasks. (optional)</param>
/// <param name="sourceType">Filters the tasks with the specified source type. (optional)</param>
/// <param name="destinationID">Destination IDs for filtering the list of tasks. (optional)</param>
/// <param name="triggerType">Type of task trigger for filtering the list of tasks. (optional)</param>
/// <param name="sort">Property by which to sort the list of tasks. (optional)</param>
Expand All @@ -1171,7 +1173,7 @@ public interface IIngestionClient
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
/// <returns>ListTasksResponse</returns>
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);
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);

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


/// <inheritdoc />
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)
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)
{
var requestOptions = new InternalRequestOptions(options);

Expand All @@ -2742,6 +2744,7 @@ public async Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default,
requestOptions.AddQueryParameter("action", action);
requestOptions.AddQueryParameter("enabled", enabled);
requestOptions.AddQueryParameter("sourceID", sourceID);
requestOptions.AddQueryParameter("sourceType", sourceType);
requestOptions.AddQueryParameter("destinationID", destinationID);
requestOptions.AddQueryParameter("triggerType", triggerType);
requestOptions.AddQueryParameter("sort", sort);
Expand All @@ -2751,8 +2754,8 @@ public async Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default,


/// <inheritdoc />
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) =>
AsyncHelper.RunSync(() => ListTasksAsync(itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, options, cancellationToken));
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) =>
AsyncHelper.RunSync(() => ListTasksAsync(itemsPerPage, page, action, enabled, sourceID, sourceType, destinationID, triggerType, sort, order, options, cancellationToken));


/// <inheritdoc />
Expand Down

0 comments on commit d5fbca8

Please sign in to comment.