@@ -3009,7 +3009,7 @@ public CompletableFuture<ListTransformationsResponse> listTransformationsAsync()
3009
3009
* the transporter requestOptions.
3010
3010
* @throws AlgoliaRuntimeException If it fails to process the API call
3011
3011
*/
3012
- public RunResponse pushTask (
3012
+ public WatchResponse pushTask (
3013
3013
@ Nonnull String taskID ,
3014
3014
@ Nonnull PushTaskPayload pushTaskPayload ,
3015
3015
Boolean watch ,
@@ -3029,7 +3029,7 @@ public RunResponse pushTask(
3029
3029
* the ingestion to be finished before responding. (optional)
3030
3030
* @throws AlgoliaRuntimeException If it fails to process the API call
3031
3031
*/
3032
- public RunResponse pushTask (@ Nonnull String taskID , @ Nonnull PushTaskPayload pushTaskPayload , Boolean watch )
3032
+ public WatchResponse pushTask (@ Nonnull String taskID , @ Nonnull PushTaskPayload pushTaskPayload , Boolean watch )
3033
3033
throws AlgoliaRuntimeException {
3034
3034
return this .pushTask (taskID , pushTaskPayload , watch , null );
3035
3035
}
@@ -3045,7 +3045,7 @@ public RunResponse pushTask(@Nonnull String taskID, @Nonnull PushTaskPayload pus
3045
3045
* the transporter requestOptions.
3046
3046
* @throws AlgoliaRuntimeException If it fails to process the API call
3047
3047
*/
3048
- public RunResponse pushTask (@ Nonnull String taskID , @ Nonnull PushTaskPayload pushTaskPayload , RequestOptions requestOptions )
3048
+ public WatchResponse pushTask (@ Nonnull String taskID , @ Nonnull PushTaskPayload pushTaskPayload , RequestOptions requestOptions )
3049
3049
throws AlgoliaRuntimeException {
3050
3050
return this .pushTask (taskID , pushTaskPayload , null , requestOptions );
3051
3051
}
@@ -3059,7 +3059,7 @@ public RunResponse pushTask(@Nonnull String taskID, @Nonnull PushTaskPayload pus
3059
3059
* Connectors pipeline. (required)
3060
3060
* @throws AlgoliaRuntimeException If it fails to process the API call
3061
3061
*/
3062
- public RunResponse pushTask (@ Nonnull String taskID , @ Nonnull PushTaskPayload pushTaskPayload ) throws AlgoliaRuntimeException {
3062
+ public WatchResponse pushTask (@ Nonnull String taskID , @ Nonnull PushTaskPayload pushTaskPayload ) throws AlgoliaRuntimeException {
3063
3063
return this .pushTask (taskID , pushTaskPayload , null , null );
3064
3064
}
3065
3065
@@ -3076,7 +3076,7 @@ public RunResponse pushTask(@Nonnull String taskID, @Nonnull PushTaskPayload pus
3076
3076
* the transporter requestOptions.
3077
3077
* @throws AlgoliaRuntimeException If it fails to process the API call
3078
3078
*/
3079
- public CompletableFuture <RunResponse > pushTaskAsync (
3079
+ public CompletableFuture <WatchResponse > pushTaskAsync (
3080
3080
@ Nonnull String taskID ,
3081
3081
@ Nonnull PushTaskPayload pushTaskPayload ,
3082
3082
Boolean watch ,
@@ -3092,7 +3092,7 @@ public CompletableFuture<RunResponse> pushTaskAsync(
3092
3092
.setBody (pushTaskPayload )
3093
3093
.addQueryParameter ("watch" , watch )
3094
3094
.build ();
3095
- return executeAsync (request , requestOptions , new TypeReference <RunResponse >() {});
3095
+ return executeAsync (request , requestOptions , new TypeReference <WatchResponse >() {});
3096
3096
}
3097
3097
3098
3098
/**
@@ -3106,7 +3106,7 @@ public CompletableFuture<RunResponse> pushTaskAsync(
3106
3106
* the ingestion to be finished before responding. (optional)
3107
3107
* @throws AlgoliaRuntimeException If it fails to process the API call
3108
3108
*/
3109
- public CompletableFuture <RunResponse > pushTaskAsync (@ Nonnull String taskID , @ Nonnull PushTaskPayload pushTaskPayload , Boolean watch )
3109
+ public CompletableFuture <WatchResponse > pushTaskAsync (@ Nonnull String taskID , @ Nonnull PushTaskPayload pushTaskPayload , Boolean watch )
3110
3110
throws AlgoliaRuntimeException {
3111
3111
return this .pushTaskAsync (taskID , pushTaskPayload , watch , null );
3112
3112
}
@@ -3122,7 +3122,7 @@ public CompletableFuture<RunResponse> pushTaskAsync(@Nonnull String taskID, @Non
3122
3122
* the transporter requestOptions.
3123
3123
* @throws AlgoliaRuntimeException If it fails to process the API call
3124
3124
*/
3125
- public CompletableFuture <RunResponse > pushTaskAsync (
3125
+ public CompletableFuture <WatchResponse > pushTaskAsync (
3126
3126
@ Nonnull String taskID ,
3127
3127
@ Nonnull PushTaskPayload pushTaskPayload ,
3128
3128
RequestOptions requestOptions
@@ -3139,7 +3139,7 @@ public CompletableFuture<RunResponse> pushTaskAsync(
3139
3139
* Connectors pipeline. (required)
3140
3140
* @throws AlgoliaRuntimeException If it fails to process the API call
3141
3141
*/
3142
- public CompletableFuture <RunResponse > pushTaskAsync (@ Nonnull String taskID , @ Nonnull PushTaskPayload pushTaskPayload )
3142
+ public CompletableFuture <WatchResponse > pushTaskAsync (@ Nonnull String taskID , @ Nonnull PushTaskPayload pushTaskPayload )
3143
3143
throws AlgoliaRuntimeException {
3144
3144
return this .pushTaskAsync (taskID , pushTaskPayload , null , null );
3145
3145
}
@@ -3678,8 +3678,7 @@ public CompletableFuture<List<Transformation>> searchTransformationsAsync(@Nonnu
3678
3678
* the transporter requestOptions.
3679
3679
* @throws AlgoliaRuntimeException If it fails to process the API call
3680
3680
*/
3681
- public SourceWatchResponse triggerDockerSourceDiscover (@ Nonnull String sourceID , RequestOptions requestOptions )
3682
- throws AlgoliaRuntimeException {
3681
+ public WatchResponse triggerDockerSourceDiscover (@ Nonnull String sourceID , RequestOptions requestOptions ) throws AlgoliaRuntimeException {
3683
3682
return LaunderThrowable .await (triggerDockerSourceDiscoverAsync (sourceID , requestOptions ));
3684
3683
}
3685
3684
@@ -3690,7 +3689,7 @@ public SourceWatchResponse triggerDockerSourceDiscover(@Nonnull String sourceID,
3690
3689
* @param sourceID Unique identifier of a source. (required)
3691
3690
* @throws AlgoliaRuntimeException If it fails to process the API call
3692
3691
*/
3693
- public SourceWatchResponse triggerDockerSourceDiscover (@ Nonnull String sourceID ) throws AlgoliaRuntimeException {
3692
+ public WatchResponse triggerDockerSourceDiscover (@ Nonnull String sourceID ) throws AlgoliaRuntimeException {
3694
3693
return this .triggerDockerSourceDiscover (sourceID , null );
3695
3694
}
3696
3695
@@ -3703,12 +3702,12 @@ public SourceWatchResponse triggerDockerSourceDiscover(@Nonnull String sourceID)
3703
3702
* the transporter requestOptions.
3704
3703
* @throws AlgoliaRuntimeException If it fails to process the API call
3705
3704
*/
3706
- public CompletableFuture <SourceWatchResponse > triggerDockerSourceDiscoverAsync (@ Nonnull String sourceID , RequestOptions requestOptions )
3705
+ public CompletableFuture <WatchResponse > triggerDockerSourceDiscoverAsync (@ Nonnull String sourceID , RequestOptions requestOptions )
3707
3706
throws AlgoliaRuntimeException {
3708
3707
Parameters .requireNonNull (sourceID , "Parameter `sourceID` is required when calling `triggerDockerSourceDiscover`." );
3709
3708
3710
3709
HttpRequest request = HttpRequest .builder ().setPath ("/1/sources/{sourceID}/discover" , sourceID ).setMethod ("POST" ).build ();
3711
- return executeAsync (request , requestOptions , new TypeReference <SourceWatchResponse >() {});
3710
+ return executeAsync (request , requestOptions , new TypeReference <WatchResponse >() {});
3712
3711
}
3713
3712
3714
3713
/**
@@ -3718,7 +3717,7 @@ public CompletableFuture<SourceWatchResponse> triggerDockerSourceDiscoverAsync(@
3718
3717
* @param sourceID Unique identifier of a source. (required)
3719
3718
* @throws AlgoliaRuntimeException If it fails to process the API call
3720
3719
*/
3721
- public CompletableFuture <SourceWatchResponse > triggerDockerSourceDiscoverAsync (@ Nonnull String sourceID ) throws AlgoliaRuntimeException {
3720
+ public CompletableFuture <WatchResponse > triggerDockerSourceDiscoverAsync (@ Nonnull String sourceID ) throws AlgoliaRuntimeException {
3722
3721
return this .triggerDockerSourceDiscoverAsync (sourceID , null );
3723
3722
}
3724
3723
@@ -4244,7 +4243,7 @@ public CompletableFuture<TransformationUpdateResponse> updateTransformationAsync
4244
4243
* the transporter requestOptions.
4245
4244
* @throws AlgoliaRuntimeException If it fails to process the API call
4246
4245
*/
4247
- public SourceWatchResponse validateSource (SourceCreate sourceCreate , RequestOptions requestOptions ) throws AlgoliaRuntimeException {
4246
+ public WatchResponse validateSource (SourceCreate sourceCreate , RequestOptions requestOptions ) throws AlgoliaRuntimeException {
4248
4247
return LaunderThrowable .await (validateSourceAsync (sourceCreate , requestOptions ));
4249
4248
}
4250
4249
@@ -4255,7 +4254,7 @@ public SourceWatchResponse validateSource(SourceCreate sourceCreate, RequestOpti
4255
4254
* @param sourceCreate (optional)
4256
4255
* @throws AlgoliaRuntimeException If it fails to process the API call
4257
4256
*/
4258
- public SourceWatchResponse validateSource (SourceCreate sourceCreate ) throws AlgoliaRuntimeException {
4257
+ public WatchResponse validateSource (SourceCreate sourceCreate ) throws AlgoliaRuntimeException {
4259
4258
return this .validateSource (sourceCreate , null );
4260
4259
}
4261
4260
@@ -4267,7 +4266,7 @@ public SourceWatchResponse validateSource(SourceCreate sourceCreate) throws Algo
4267
4266
* the transporter requestOptions.
4268
4267
* @throws AlgoliaRuntimeException If it fails to process the API call
4269
4268
*/
4270
- public SourceWatchResponse validateSource (RequestOptions requestOptions ) throws AlgoliaRuntimeException {
4269
+ public WatchResponse validateSource (RequestOptions requestOptions ) throws AlgoliaRuntimeException {
4271
4270
return this .validateSource (null , requestOptions );
4272
4271
}
4273
4272
@@ -4277,7 +4276,7 @@ public SourceWatchResponse validateSource(RequestOptions requestOptions) throws
4277
4276
*
4278
4277
* @throws AlgoliaRuntimeException If it fails to process the API call
4279
4278
*/
4280
- public SourceWatchResponse validateSource () throws AlgoliaRuntimeException {
4279
+ public WatchResponse validateSource () throws AlgoliaRuntimeException {
4281
4280
return this .validateSource (null , null );
4282
4281
}
4283
4282
@@ -4290,10 +4289,10 @@ public SourceWatchResponse validateSource() throws AlgoliaRuntimeException {
4290
4289
* the transporter requestOptions.
4291
4290
* @throws AlgoliaRuntimeException If it fails to process the API call
4292
4291
*/
4293
- public CompletableFuture <SourceWatchResponse > validateSourceAsync (SourceCreate sourceCreate , RequestOptions requestOptions )
4292
+ public CompletableFuture <WatchResponse > validateSourceAsync (SourceCreate sourceCreate , RequestOptions requestOptions )
4294
4293
throws AlgoliaRuntimeException {
4295
4294
HttpRequest request = HttpRequest .builder ().setPath ("/1/sources/validate" ).setMethod ("POST" ).setBody (sourceCreate ).build ();
4296
- return executeAsync (request , requestOptions , new TypeReference <SourceWatchResponse >() {});
4295
+ return executeAsync (request , requestOptions , new TypeReference <WatchResponse >() {});
4297
4296
}
4298
4297
4299
4298
/**
@@ -4303,7 +4302,7 @@ public CompletableFuture<SourceWatchResponse> validateSourceAsync(SourceCreate s
4303
4302
* @param sourceCreate (optional)
4304
4303
* @throws AlgoliaRuntimeException If it fails to process the API call
4305
4304
*/
4306
- public CompletableFuture <SourceWatchResponse > validateSourceAsync (SourceCreate sourceCreate ) throws AlgoliaRuntimeException {
4305
+ public CompletableFuture <WatchResponse > validateSourceAsync (SourceCreate sourceCreate ) throws AlgoliaRuntimeException {
4307
4306
return this .validateSourceAsync (sourceCreate , null );
4308
4307
}
4309
4308
@@ -4315,7 +4314,7 @@ public CompletableFuture<SourceWatchResponse> validateSourceAsync(SourceCreate s
4315
4314
* the transporter requestOptions.
4316
4315
* @throws AlgoliaRuntimeException If it fails to process the API call
4317
4316
*/
4318
- public CompletableFuture <SourceWatchResponse > validateSourceAsync (RequestOptions requestOptions ) throws AlgoliaRuntimeException {
4317
+ public CompletableFuture <WatchResponse > validateSourceAsync (RequestOptions requestOptions ) throws AlgoliaRuntimeException {
4319
4318
return this .validateSourceAsync (null , requestOptions );
4320
4319
}
4321
4320
@@ -4325,7 +4324,7 @@ public CompletableFuture<SourceWatchResponse> validateSourceAsync(RequestOptions
4325
4324
*
4326
4325
* @throws AlgoliaRuntimeException If it fails to process the API call
4327
4326
*/
4328
- public CompletableFuture <SourceWatchResponse > validateSourceAsync () throws AlgoliaRuntimeException {
4327
+ public CompletableFuture <WatchResponse > validateSourceAsync () throws AlgoliaRuntimeException {
4329
4328
return this .validateSourceAsync (null , null );
4330
4329
}
4331
4330
@@ -4339,7 +4338,7 @@ public CompletableFuture<SourceWatchResponse> validateSourceAsync() throws Algol
4339
4338
* the transporter requestOptions.
4340
4339
* @throws AlgoliaRuntimeException If it fails to process the API call
4341
4340
*/
4342
- public SourceWatchResponse validateSourceBeforeUpdate (
4341
+ public WatchResponse validateSourceBeforeUpdate (
4343
4342
@ Nonnull String sourceID ,
4344
4343
@ Nonnull SourceUpdate sourceUpdate ,
4345
4344
RequestOptions requestOptions
@@ -4355,7 +4354,7 @@ public SourceWatchResponse validateSourceBeforeUpdate(
4355
4354
* @param sourceUpdate (required)
4356
4355
* @throws AlgoliaRuntimeException If it fails to process the API call
4357
4356
*/
4358
- public SourceWatchResponse validateSourceBeforeUpdate (@ Nonnull String sourceID , @ Nonnull SourceUpdate sourceUpdate )
4357
+ public WatchResponse validateSourceBeforeUpdate (@ Nonnull String sourceID , @ Nonnull SourceUpdate sourceUpdate )
4359
4358
throws AlgoliaRuntimeException {
4360
4359
return this .validateSourceBeforeUpdate (sourceID , sourceUpdate , null );
4361
4360
}
@@ -4370,7 +4369,7 @@ public SourceWatchResponse validateSourceBeforeUpdate(@Nonnull String sourceID,
4370
4369
* the transporter requestOptions.
4371
4370
* @throws AlgoliaRuntimeException If it fails to process the API call
4372
4371
*/
4373
- public CompletableFuture <SourceWatchResponse > validateSourceBeforeUpdateAsync (
4372
+ public CompletableFuture <WatchResponse > validateSourceBeforeUpdateAsync (
4374
4373
@ Nonnull String sourceID ,
4375
4374
@ Nonnull SourceUpdate sourceUpdate ,
4376
4375
RequestOptions requestOptions
@@ -4384,7 +4383,7 @@ public CompletableFuture<SourceWatchResponse> validateSourceBeforeUpdateAsync(
4384
4383
.setMethod ("POST" )
4385
4384
.setBody (sourceUpdate )
4386
4385
.build ();
4387
- return executeAsync (request , requestOptions , new TypeReference <SourceWatchResponse >() {});
4386
+ return executeAsync (request , requestOptions , new TypeReference <WatchResponse >() {});
4388
4387
}
4389
4388
4390
4389
/**
@@ -4395,10 +4394,8 @@ public CompletableFuture<SourceWatchResponse> validateSourceBeforeUpdateAsync(
4395
4394
* @param sourceUpdate (required)
4396
4395
* @throws AlgoliaRuntimeException If it fails to process the API call
4397
4396
*/
4398
- public CompletableFuture <SourceWatchResponse > validateSourceBeforeUpdateAsync (
4399
- @ Nonnull String sourceID ,
4400
- @ Nonnull SourceUpdate sourceUpdate
4401
- ) throws AlgoliaRuntimeException {
4397
+ public CompletableFuture <WatchResponse > validateSourceBeforeUpdateAsync (@ Nonnull String sourceID , @ Nonnull SourceUpdate sourceUpdate )
4398
+ throws AlgoliaRuntimeException {
4402
4399
return this .validateSourceBeforeUpdateAsync (sourceID , sourceUpdate , null );
4403
4400
}
4404
4401
}
0 commit comments