@@ -2833,26 +2833,36 @@ public CompletableFuture<ListTasksResponseV1> listTasksV1Async() throws AlgoliaR
2833
2833
/**
2834
2834
* Retrieves a list of transformations.
2835
2835
*
2836
+ * @param itemsPerPage Number of items per page. (optional, default to 10)
2837
+ * @param page Page number of the paginated API response. (optional)
2836
2838
* @param sort Property by which to sort the list. (optional, default to desc)
2837
2839
* @param order Sort order of the response, ascending or descending. (optional, default to desc)
2838
2840
* @param requestOptions The requestOptions to send along with the query, they will be merged with
2839
2841
* the transporter requestOptions.
2840
2842
* @throws AlgoliaRuntimeException If it fails to process the API call
2841
2843
*/
2842
- public ListTransformationsResponse listTransformations (SortKeys sort , OrderKeys order , RequestOptions requestOptions )
2843
- throws AlgoliaRuntimeException {
2844
- return LaunderThrowable .await (listTransformationsAsync (sort , order , requestOptions ));
2844
+ public ListTransformationsResponse listTransformations (
2845
+ Integer itemsPerPage ,
2846
+ Integer page ,
2847
+ SortKeys sort ,
2848
+ OrderKeys order ,
2849
+ RequestOptions requestOptions
2850
+ ) throws AlgoliaRuntimeException {
2851
+ return LaunderThrowable .await (listTransformationsAsync (itemsPerPage , page , sort , order , requestOptions ));
2845
2852
}
2846
2853
2847
2854
/**
2848
2855
* Retrieves a list of transformations.
2849
2856
*
2857
+ * @param itemsPerPage Number of items per page. (optional, default to 10)
2858
+ * @param page Page number of the paginated API response. (optional)
2850
2859
* @param sort Property by which to sort the list. (optional, default to desc)
2851
2860
* @param order Sort order of the response, ascending or descending. (optional, default to desc)
2852
2861
* @throws AlgoliaRuntimeException If it fails to process the API call
2853
2862
*/
2854
- public ListTransformationsResponse listTransformations (SortKeys sort , OrderKeys order ) throws AlgoliaRuntimeException {
2855
- return this .listTransformations (sort , order , null );
2863
+ public ListTransformationsResponse listTransformations (Integer itemsPerPage , Integer page , SortKeys sort , OrderKeys order )
2864
+ throws AlgoliaRuntimeException {
2865
+ return this .listTransformations (itemsPerPage , page , sort , order , null );
2856
2866
}
2857
2867
2858
2868
/**
@@ -2863,7 +2873,7 @@ public ListTransformationsResponse listTransformations(SortKeys sort, OrderKeys
2863
2873
* @throws AlgoliaRuntimeException If it fails to process the API call
2864
2874
*/
2865
2875
public ListTransformationsResponse listTransformations (RequestOptions requestOptions ) throws AlgoliaRuntimeException {
2866
- return this .listTransformations (null , null , requestOptions );
2876
+ return this .listTransformations (null , null , null , null , requestOptions );
2867
2877
}
2868
2878
2869
2879
/**
@@ -2872,26 +2882,32 @@ public ListTransformationsResponse listTransformations(RequestOptions requestOpt
2872
2882
* @throws AlgoliaRuntimeException If it fails to process the API call
2873
2883
*/
2874
2884
public ListTransformationsResponse listTransformations () throws AlgoliaRuntimeException {
2875
- return this .listTransformations (null , null , null );
2885
+ return this .listTransformations (null , null , null , null , null );
2876
2886
}
2877
2887
2878
2888
/**
2879
2889
* (asynchronously) Retrieves a list of transformations.
2880
2890
*
2891
+ * @param itemsPerPage Number of items per page. (optional, default to 10)
2892
+ * @param page Page number of the paginated API response. (optional)
2881
2893
* @param sort Property by which to sort the list. (optional, default to desc)
2882
2894
* @param order Sort order of the response, ascending or descending. (optional, default to desc)
2883
2895
* @param requestOptions The requestOptions to send along with the query, they will be merged with
2884
2896
* the transporter requestOptions.
2885
2897
* @throws AlgoliaRuntimeException If it fails to process the API call
2886
2898
*/
2887
2899
public CompletableFuture <ListTransformationsResponse > listTransformationsAsync (
2900
+ Integer itemsPerPage ,
2901
+ Integer page ,
2888
2902
SortKeys sort ,
2889
2903
OrderKeys order ,
2890
2904
RequestOptions requestOptions
2891
2905
) throws AlgoliaRuntimeException {
2892
2906
HttpRequest request = HttpRequest .builder ()
2893
2907
.setPath ("/1/transformations" )
2894
2908
.setMethod ("GET" )
2909
+ .addQueryParameter ("itemsPerPage" , itemsPerPage )
2910
+ .addQueryParameter ("page" , page )
2895
2911
.addQueryParameter ("sort" , sort )
2896
2912
.addQueryParameter ("order" , order )
2897
2913
.build ();
@@ -2901,13 +2917,19 @@ public CompletableFuture<ListTransformationsResponse> listTransformationsAsync(
2901
2917
/**
2902
2918
* (asynchronously) Retrieves a list of transformations.
2903
2919
*
2920
+ * @param itemsPerPage Number of items per page. (optional, default to 10)
2921
+ * @param page Page number of the paginated API response. (optional)
2904
2922
* @param sort Property by which to sort the list. (optional, default to desc)
2905
2923
* @param order Sort order of the response, ascending or descending. (optional, default to desc)
2906
2924
* @throws AlgoliaRuntimeException If it fails to process the API call
2907
2925
*/
2908
- public CompletableFuture <ListTransformationsResponse > listTransformationsAsync (SortKeys sort , OrderKeys order )
2909
- throws AlgoliaRuntimeException {
2910
- return this .listTransformationsAsync (sort , order , null );
2926
+ public CompletableFuture <ListTransformationsResponse > listTransformationsAsync (
2927
+ Integer itemsPerPage ,
2928
+ Integer page ,
2929
+ SortKeys sort ,
2930
+ OrderKeys order
2931
+ ) throws AlgoliaRuntimeException {
2932
+ return this .listTransformationsAsync (itemsPerPage , page , sort , order , null );
2911
2933
}
2912
2934
2913
2935
/**
@@ -2919,7 +2941,7 @@ public CompletableFuture<ListTransformationsResponse> listTransformationsAsync(S
2919
2941
*/
2920
2942
public CompletableFuture <ListTransformationsResponse > listTransformationsAsync (RequestOptions requestOptions )
2921
2943
throws AlgoliaRuntimeException {
2922
- return this .listTransformationsAsync (null , null , requestOptions );
2944
+ return this .listTransformationsAsync (null , null , null , null , requestOptions );
2923
2945
}
2924
2946
2925
2947
/**
@@ -2928,7 +2950,7 @@ public CompletableFuture<ListTransformationsResponse> listTransformationsAsync(R
2928
2950
* @throws AlgoliaRuntimeException If it fails to process the API call
2929
2951
*/
2930
2952
public CompletableFuture <ListTransformationsResponse > listTransformationsAsync () throws AlgoliaRuntimeException {
2931
- return this .listTransformationsAsync (null , null , null );
2953
+ return this .listTransformationsAsync (null , null , null , null , null );
2932
2954
}
2933
2955
2934
2956
/**
0 commit comments