Skip to content

Commit 51a34bf

Browse files
chore: cts (generated)
Co-authored-by: shortcuts <[email protected]>
1 parent b28941d commit 51a34bf

File tree

62 files changed

+1022
-127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1022
-127
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Clients/IngestionClient.cs

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -972,6 +972,8 @@ public interface IIngestionClient
972972
/// <summary>
973973
/// Retrieves a list of transformations.
974974
/// </summary>
975+
/// <param name="itemsPerPage">Number of items per page. (optional, default to 10)</param>
976+
/// <param name="page">Page number of the paginated API response. (optional)</param>
975977
/// <param name="sort">Property by which to sort the list. (optional)</param>
976978
/// <param name="order">Sort order of the response, ascending or descending. (optional)</param>
977979
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
@@ -980,11 +982,13 @@ public interface IIngestionClient
980982
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
981983
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
982984
/// <returns>Task of ListTransformationsResponse</returns>
983-
Task<ListTransformationsResponse> ListTransformationsAsync(SortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default);
985+
Task<ListTransformationsResponse> ListTransformationsAsync(int? itemsPerPage = default, int? page = default, SortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default);
984986

985987
/// <summary>
986988
/// Retrieves a list of transformations. (Synchronous version)
987989
/// </summary>
990+
/// <param name="itemsPerPage">Number of items per page. (optional, default to 10)</param>
991+
/// <param name="page">Page number of the paginated API response. (optional)</param>
988992
/// <param name="sort">Property by which to sort the list. (optional)</param>
989993
/// <param name="order">Sort order of the response, ascending or descending. (optional)</param>
990994
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
@@ -993,7 +997,7 @@ public interface IIngestionClient
993997
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
994998
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
995999
/// <returns>ListTransformationsResponse</returns>
996-
ListTransformationsResponse ListTransformations(SortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default);
1000+
ListTransformationsResponse ListTransformations(int? itemsPerPage = default, int? page = default, SortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default);
9971001

9981002
/// <summary>
9991003
/// Push a `batch` request payload through the Pipeline. You can check the status of task pushes with the observability endpoints.
@@ -3286,6 +3290,8 @@ public ListTasksResponseV1 ListTasksV1(int? itemsPerPage = default, int? page =
32863290
/// - addObject
32873291
/// - deleteIndex
32883292
/// - editSettings
3293+
/// <param name="itemsPerPage">Number of items per page. (optional, default to 10)</param>
3294+
/// <param name="page">Page number of the paginated API response. (optional)</param>
32893295
/// <param name="sort">Property by which to sort the list. (optional)</param>
32903296
/// <param name="order">Sort order of the response, ascending or descending. (optional)</param>
32913297
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
@@ -3294,11 +3300,13 @@ public ListTasksResponseV1 ListTasksV1(int? itemsPerPage = default, int? page =
32943300
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
32953301
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
32963302
/// <returns>Task of ListTransformationsResponse</returns>
3297-
public async Task<ListTransformationsResponse> ListTransformationsAsync(SortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default)
3303+
public async Task<ListTransformationsResponse> ListTransformationsAsync(int? itemsPerPage = default, int? page = default, SortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default)
32983304
{
32993305
var requestOptions = new InternalRequestOptions(options);
33003306

33013307

3308+
requestOptions.AddQueryParameter("itemsPerPage", itemsPerPage);
3309+
requestOptions.AddQueryParameter("page", page);
33023310
requestOptions.AddQueryParameter("sort", sort);
33033311
requestOptions.AddQueryParameter("order", order);
33043312
return await _transport.ExecuteRequestAsync<ListTransformationsResponse>(new HttpMethod("GET"), "/1/transformations", requestOptions, cancellationToken).ConfigureAwait(false);
@@ -3313,6 +3321,8 @@ public async Task<ListTransformationsResponse> ListTransformationsAsync(SortKeys
33133321
/// - addObject
33143322
/// - deleteIndex
33153323
/// - editSettings
3324+
/// <param name="itemsPerPage">Number of items per page. (optional, default to 10)</param>
3325+
/// <param name="page">Page number of the paginated API response. (optional)</param>
33163326
/// <param name="sort">Property by which to sort the list. (optional)</param>
33173327
/// <param name="order">Sort order of the response, ascending or descending. (optional)</param>
33183328
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
@@ -3321,8 +3331,8 @@ public async Task<ListTransformationsResponse> ListTransformationsAsync(SortKeys
33213331
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
33223332
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
33233333
/// <returns>ListTransformationsResponse</returns>
3324-
public ListTransformationsResponse ListTransformations(SortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default) =>
3325-
AsyncHelper.RunSync(() => ListTransformationsAsync(sort, order, options, cancellationToken));
3334+
public ListTransformationsResponse ListTransformations(int? itemsPerPage = default, int? page = default, SortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default) =>
3335+
AsyncHelper.RunSync(() => ListTransformationsAsync(itemsPerPage, page, sort, order, options, cancellationToken));
33263336

33273337

33283338
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/Destination.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ public Destination(string destinationID, DestinationType? type, string name, Des
8585
[JsonPropertyName("authenticationID")]
8686
public string AuthenticationID { get; set; }
8787

88+
/// <summary>
89+
/// Gets or Sets TransformationIDs
90+
/// </summary>
91+
[JsonPropertyName("transformationIDs")]
92+
public List<string> TransformationIDs { get; set; }
93+
8894
/// <summary>
8995
/// Returns the string presentation of the object
9096
/// </summary>
@@ -100,6 +106,7 @@ public override string ToString()
100106
sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n");
101107
sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n");
102108
sb.Append(" AuthenticationID: ").Append(AuthenticationID).Append("\n");
109+
sb.Append(" TransformationIDs: ").Append(TransformationIDs).Append("\n");
103110
sb.Append("}\n");
104111
return sb.ToString();
105112
}
@@ -132,7 +139,8 @@ public override bool Equals(object obj)
132139
(Input == input.Input || (Input != null && Input.Equals(input.Input))) &&
133140
(CreatedAt == input.CreatedAt || (CreatedAt != null && CreatedAt.Equals(input.CreatedAt))) &&
134141
(UpdatedAt == input.UpdatedAt || (UpdatedAt != null && UpdatedAt.Equals(input.UpdatedAt))) &&
135-
(AuthenticationID == input.AuthenticationID || (AuthenticationID != null && AuthenticationID.Equals(input.AuthenticationID)));
142+
(AuthenticationID == input.AuthenticationID || (AuthenticationID != null && AuthenticationID.Equals(input.AuthenticationID))) &&
143+
(TransformationIDs == input.TransformationIDs || TransformationIDs != null && input.TransformationIDs != null && TransformationIDs.SequenceEqual(input.TransformationIDs));
136144
}
137145

138146
/// <summary>
@@ -169,6 +177,10 @@ public override int GetHashCode()
169177
{
170178
hashCode = (hashCode * 59) + AuthenticationID.GetHashCode();
171179
}
180+
if (TransformationIDs != null)
181+
{
182+
hashCode = (hashCode * 59) + TransformationIDs.GetHashCode();
183+
}
172184
return hashCode;
173185
}
174186
}

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/DestinationCreate.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ public DestinationCreate(DestinationType? type, string name, DestinationInput in
6060
[JsonPropertyName("authenticationID")]
6161
public string AuthenticationID { get; set; }
6262

63+
/// <summary>
64+
/// Gets or Sets TransformationIDs
65+
/// </summary>
66+
[JsonPropertyName("transformationIDs")]
67+
public List<string> TransformationIDs { get; set; }
68+
6369
/// <summary>
6470
/// Returns the string presentation of the object
6571
/// </summary>
@@ -72,6 +78,7 @@ public override string ToString()
7278
sb.Append(" Name: ").Append(Name).Append("\n");
7379
sb.Append(" Input: ").Append(Input).Append("\n");
7480
sb.Append(" AuthenticationID: ").Append(AuthenticationID).Append("\n");
81+
sb.Append(" TransformationIDs: ").Append(TransformationIDs).Append("\n");
7582
sb.Append("}\n");
7683
return sb.ToString();
7784
}
@@ -101,7 +108,8 @@ public override bool Equals(object obj)
101108
(Type == input.Type || Type.Equals(input.Type)) &&
102109
(Name == input.Name || (Name != null && Name.Equals(input.Name))) &&
103110
(Input == input.Input || (Input != null && Input.Equals(input.Input))) &&
104-
(AuthenticationID == input.AuthenticationID || (AuthenticationID != null && AuthenticationID.Equals(input.AuthenticationID)));
111+
(AuthenticationID == input.AuthenticationID || (AuthenticationID != null && AuthenticationID.Equals(input.AuthenticationID))) &&
112+
(TransformationIDs == input.TransformationIDs || TransformationIDs != null && input.TransformationIDs != null && TransformationIDs.SequenceEqual(input.TransformationIDs));
105113
}
106114

107115
/// <summary>
@@ -126,6 +134,10 @@ public override int GetHashCode()
126134
{
127135
hashCode = (hashCode * 59) + AuthenticationID.GetHashCode();
128136
}
137+
if (TransformationIDs != null)
138+
{
139+
hashCode = (hashCode * 59) + TransformationIDs.GetHashCode();
140+
}
129141
return hashCode;
130142
}
131143
}

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/DestinationUpdate.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ public DestinationUpdate()
4949
[JsonPropertyName("authenticationID")]
5050
public string AuthenticationID { get; set; }
5151

52+
/// <summary>
53+
/// Gets or Sets TransformationIDs
54+
/// </summary>
55+
[JsonPropertyName("transformationIDs")]
56+
public List<string> TransformationIDs { get; set; }
57+
5258
/// <summary>
5359
/// Returns the string presentation of the object
5460
/// </summary>
@@ -61,6 +67,7 @@ public override string ToString()
6167
sb.Append(" Name: ").Append(Name).Append("\n");
6268
sb.Append(" Input: ").Append(Input).Append("\n");
6369
sb.Append(" AuthenticationID: ").Append(AuthenticationID).Append("\n");
70+
sb.Append(" TransformationIDs: ").Append(TransformationIDs).Append("\n");
6471
sb.Append("}\n");
6572
return sb.ToString();
6673
}
@@ -90,7 +97,8 @@ public override bool Equals(object obj)
9097
(Type == input.Type || Type.Equals(input.Type)) &&
9198
(Name == input.Name || (Name != null && Name.Equals(input.Name))) &&
9299
(Input == input.Input || (Input != null && Input.Equals(input.Input))) &&
93-
(AuthenticationID == input.AuthenticationID || (AuthenticationID != null && AuthenticationID.Equals(input.AuthenticationID)));
100+
(AuthenticationID == input.AuthenticationID || (AuthenticationID != null && AuthenticationID.Equals(input.AuthenticationID))) &&
101+
(TransformationIDs == input.TransformationIDs || TransformationIDs != null && input.TransformationIDs != null && TransformationIDs.SequenceEqual(input.TransformationIDs));
94102
}
95103

96104
/// <summary>
@@ -115,6 +123,10 @@ public override int GetHashCode()
115123
{
116124
hashCode = (hashCode * 59) + AuthenticationID.GetHashCode();
117125
}
126+
if (TransformationIDs != null)
127+
{
128+
hashCode = (hashCode * 59) + TransformationIDs.GetHashCode();
129+
}
118130
return hashCode;
119131
}
120132
}

clients/algoliasearch-client-go/algolia/ingestion/api_ingestion.go

Lines changed: 44 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/ingestion/model_destination.go

Lines changed: 45 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)