Skip to content

Commit 08433f6

Browse files
feat(specs): allow filtering transformations type (generated)
algolia/api-clients-automation#5363 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 2729d33 commit 08433f6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

algoliasearch/Clients/IngestionClient.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1642,6 +1642,7 @@ ListTasksResponseV1 ListTasksV1(
16421642
/// <param name="page">Page number of the paginated API response. (optional)</param>
16431643
/// <param name="sort">Property by which to sort the list of transformations. (optional)</param>
16441644
/// <param name="order">Sort order of the response, ascending or descending. (optional)</param>
1645+
/// <param name="type">Whether to filter the list of transformations by the type of transformation. (optional)</param>
16451646
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
16461647
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
16471648
/// <exception cref="ArgumentException">Thrown when arguments are not correct</exception>
@@ -1653,6 +1654,7 @@ Task<ListTransformationsResponse> ListTransformationsAsync(
16531654
int? page = default,
16541655
TransformationSortKeys? sort = default,
16551656
OrderKeys? order = default,
1657+
TransformationType? type = default,
16561658
RequestOptions options = null,
16571659
CancellationToken cancellationToken = default
16581660
);
@@ -1669,6 +1671,7 @@ Task<ListTransformationsResponse> ListTransformationsAsync(
16691671
/// <param name="page">Page number of the paginated API response. (optional)</param>
16701672
/// <param name="sort">Property by which to sort the list of transformations. (optional)</param>
16711673
/// <param name="order">Sort order of the response, ascending or descending. (optional)</param>
1674+
/// <param name="type">Whether to filter the list of transformations by the type of transformation. (optional)</param>
16721675
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
16731676
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
16741677
/// <exception cref="ArgumentException">Thrown when arguments are not correct</exception>
@@ -1680,6 +1683,7 @@ ListTransformationsResponse ListTransformations(
16801683
int? page = default,
16811684
TransformationSortKeys? sort = default,
16821685
OrderKeys? order = default,
1686+
TransformationType? type = default,
16831687
RequestOptions options = null,
16841688
CancellationToken cancellationToken = default
16851689
);
@@ -4171,6 +4175,7 @@ public async Task<ListTransformationsResponse> ListTransformationsAsync(
41714175
int? page = default,
41724176
TransformationSortKeys? sort = default,
41734177
OrderKeys? order = default,
4178+
TransformationType? type = default,
41744179
RequestOptions options = null,
41754180
CancellationToken cancellationToken = default
41764181
)
@@ -4181,6 +4186,7 @@ public async Task<ListTransformationsResponse> ListTransformationsAsync(
41814186
requestOptions.AddQueryParameter("page", page);
41824187
requestOptions.AddQueryParameter("sort", sort);
41834188
requestOptions.AddQueryParameter("order", order);
4189+
requestOptions.AddQueryParameter("type", type);
41844190
return await _transport
41854191
.ExecuteRequestAsync<ListTransformationsResponse>(
41864192
new HttpMethod("GET"),
@@ -4197,11 +4203,12 @@ public ListTransformationsResponse ListTransformations(
41974203
int? page = default,
41984204
TransformationSortKeys? sort = default,
41994205
OrderKeys? order = default,
4206+
TransformationType? type = default,
42004207
RequestOptions options = null,
42014208
CancellationToken cancellationToken = default
42024209
) =>
42034210
AsyncHelper.RunSync(() =>
4204-
ListTransformationsAsync(itemsPerPage, page, sort, order, options, cancellationToken)
4211+
ListTransformationsAsync(itemsPerPage, page, sort, order, type, options, cancellationToken)
42054212
);
42064213

42074214
/// <inheritdoc />

0 commit comments

Comments
 (0)