@@ -2998,6 +2998,8 @@ public CompletableFuture<ListTasksResponseV1> listTasksV1Async() throws AlgoliaR
2998
2998
* @param sort Property by which to sort the list of transformations. (optional, default to
2999
2999
* createdAt)
3000
3000
* @param order Sort order of the response, ascending or descending. (optional, default to desc)
3001
+ * @param type Whether to filter the list of transformations by the type of transformation.
3002
+ * (optional)
3001
3003
* @param requestOptions The requestOptions to send along with the query, they will be merged with
3002
3004
* the transporter requestOptions.
3003
3005
* @throws AlgoliaRuntimeException If it fails to process the API call
@@ -3007,9 +3009,10 @@ public ListTransformationsResponse listTransformations(
3007
3009
Integer page ,
3008
3010
TransformationSortKeys sort ,
3009
3011
OrderKeys order ,
3012
+ TransformationType type ,
3010
3013
@ Nullable RequestOptions requestOptions
3011
3014
) throws AlgoliaRuntimeException {
3012
- return LaunderThrowable .await (listTransformationsAsync (itemsPerPage , page , sort , order , requestOptions ));
3015
+ return LaunderThrowable .await (listTransformationsAsync (itemsPerPage , page , sort , order , type , requestOptions ));
3013
3016
}
3014
3017
3015
3018
/**
@@ -3020,11 +3023,18 @@ public ListTransformationsResponse listTransformations(
3020
3023
* @param sort Property by which to sort the list of transformations. (optional, default to
3021
3024
* createdAt)
3022
3025
* @param order Sort order of the response, ascending or descending. (optional, default to desc)
3026
+ * @param type Whether to filter the list of transformations by the type of transformation.
3027
+ * (optional)
3023
3028
* @throws AlgoliaRuntimeException If it fails to process the API call
3024
3029
*/
3025
- public ListTransformationsResponse listTransformations (Integer itemsPerPage , Integer page , TransformationSortKeys sort , OrderKeys order )
3026
- throws AlgoliaRuntimeException {
3027
- return this .listTransformations (itemsPerPage , page , sort , order , null );
3030
+ public ListTransformationsResponse listTransformations (
3031
+ Integer itemsPerPage ,
3032
+ Integer page ,
3033
+ TransformationSortKeys sort ,
3034
+ OrderKeys order ,
3035
+ TransformationType type
3036
+ ) throws AlgoliaRuntimeException {
3037
+ return this .listTransformations (itemsPerPage , page , sort , order , type , null );
3028
3038
}
3029
3039
3030
3040
/**
@@ -3035,7 +3045,7 @@ public ListTransformationsResponse listTransformations(Integer itemsPerPage, Int
3035
3045
* @throws AlgoliaRuntimeException If it fails to process the API call
3036
3046
*/
3037
3047
public ListTransformationsResponse listTransformations (@ Nullable RequestOptions requestOptions ) throws AlgoliaRuntimeException {
3038
- return this .listTransformations (null , null , null , null , requestOptions );
3048
+ return this .listTransformations (null , null , null , null , null , requestOptions );
3039
3049
}
3040
3050
3041
3051
/**
@@ -3044,7 +3054,7 @@ public ListTransformationsResponse listTransformations(@Nullable RequestOptions
3044
3054
* @throws AlgoliaRuntimeException If it fails to process the API call
3045
3055
*/
3046
3056
public ListTransformationsResponse listTransformations () throws AlgoliaRuntimeException {
3047
- return this .listTransformations (null , null , null , null , null );
3057
+ return this .listTransformations (null , null , null , null , null , null );
3048
3058
}
3049
3059
3050
3060
/**
@@ -3055,6 +3065,8 @@ public ListTransformationsResponse listTransformations() throws AlgoliaRuntimeEx
3055
3065
* @param sort Property by which to sort the list of transformations. (optional, default to
3056
3066
* createdAt)
3057
3067
* @param order Sort order of the response, ascending or descending. (optional, default to desc)
3068
+ * @param type Whether to filter the list of transformations by the type of transformation.
3069
+ * (optional)
3058
3070
* @param requestOptions The requestOptions to send along with the query, they will be merged with
3059
3071
* the transporter requestOptions.
3060
3072
* @throws AlgoliaRuntimeException If it fails to process the API call
@@ -3064,6 +3076,7 @@ public CompletableFuture<ListTransformationsResponse> listTransformationsAsync(
3064
3076
Integer page ,
3065
3077
TransformationSortKeys sort ,
3066
3078
OrderKeys order ,
3079
+ TransformationType type ,
3067
3080
@ Nullable RequestOptions requestOptions
3068
3081
) throws AlgoliaRuntimeException {
3069
3082
HttpRequest request = HttpRequest .builder ()
@@ -3073,6 +3086,7 @@ public CompletableFuture<ListTransformationsResponse> listTransformationsAsync(
3073
3086
.addQueryParameter ("page" , page )
3074
3087
.addQueryParameter ("sort" , sort )
3075
3088
.addQueryParameter ("order" , order )
3089
+ .addQueryParameter ("type" , type )
3076
3090
.build ();
3077
3091
return executeAsync (request , requestOptions , new TypeReference <ListTransformationsResponse >() {});
3078
3092
}
@@ -3085,15 +3099,18 @@ public CompletableFuture<ListTransformationsResponse> listTransformationsAsync(
3085
3099
* @param sort Property by which to sort the list of transformations. (optional, default to
3086
3100
* createdAt)
3087
3101
* @param order Sort order of the response, ascending or descending. (optional, default to desc)
3102
+ * @param type Whether to filter the list of transformations by the type of transformation.
3103
+ * (optional)
3088
3104
* @throws AlgoliaRuntimeException If it fails to process the API call
3089
3105
*/
3090
3106
public CompletableFuture <ListTransformationsResponse > listTransformationsAsync (
3091
3107
Integer itemsPerPage ,
3092
3108
Integer page ,
3093
3109
TransformationSortKeys sort ,
3094
- OrderKeys order
3110
+ OrderKeys order ,
3111
+ TransformationType type
3095
3112
) throws AlgoliaRuntimeException {
3096
- return this .listTransformationsAsync (itemsPerPage , page , sort , order , null );
3113
+ return this .listTransformationsAsync (itemsPerPage , page , sort , order , type , null );
3097
3114
}
3098
3115
3099
3116
/**
@@ -3105,7 +3122,7 @@ public CompletableFuture<ListTransformationsResponse> listTransformationsAsync(
3105
3122
*/
3106
3123
public CompletableFuture <ListTransformationsResponse > listTransformationsAsync (@ Nullable RequestOptions requestOptions )
3107
3124
throws AlgoliaRuntimeException {
3108
- return this .listTransformationsAsync (null , null , null , null , requestOptions );
3125
+ return this .listTransformationsAsync (null , null , null , null , null , requestOptions );
3109
3126
}
3110
3127
3111
3128
/**
@@ -3114,7 +3131,7 @@ public CompletableFuture<ListTransformationsResponse> listTransformationsAsync(@
3114
3131
* @throws AlgoliaRuntimeException If it fails to process the API call
3115
3132
*/
3116
3133
public CompletableFuture <ListTransformationsResponse > listTransformationsAsync () throws AlgoliaRuntimeException {
3117
- return this .listTransformationsAsync (null , null , null , null , null );
3134
+ return this .listTransformationsAsync (null , null , null , null , null , null );
3118
3135
}
3119
3136
3120
3137
/**
0 commit comments