@@ -4218,7 +4218,7 @@ public CompletableFuture<SaveObjectResponse> saveObjectAsync(@Nonnull String ind
4218
4218
* the transporter requestOptions.
4219
4219
* @throws AlgoliaRuntimeException If it fails to process the API call
4220
4220
*/
4221
- public UpdatedRuleResponse saveRule (
4221
+ public UpdatedAtResponse saveRule (
4222
4222
@ Nonnull String indexName ,
4223
4223
@ Nonnull String objectID ,
4224
4224
@ Nonnull Rule rule ,
@@ -4239,7 +4239,7 @@ public UpdatedRuleResponse saveRule(
4239
4239
* @param forwardToReplicas Whether changes are applied to replica indices. (optional)
4240
4240
* @throws AlgoliaRuntimeException If it fails to process the API call
4241
4241
*/
4242
- public UpdatedRuleResponse saveRule (@ Nonnull String indexName , @ Nonnull String objectID , @ Nonnull Rule rule , Boolean forwardToReplicas )
4242
+ public UpdatedAtResponse saveRule (@ Nonnull String indexName , @ Nonnull String objectID , @ Nonnull Rule rule , Boolean forwardToReplicas )
4243
4243
throws AlgoliaRuntimeException {
4244
4244
return this .saveRule (indexName , objectID , rule , forwardToReplicas , null );
4245
4245
}
@@ -4256,12 +4256,8 @@ public UpdatedRuleResponse saveRule(@Nonnull String indexName, @Nonnull String o
4256
4256
* the transporter requestOptions.
4257
4257
* @throws AlgoliaRuntimeException If it fails to process the API call
4258
4258
*/
4259
- public UpdatedRuleResponse saveRule (
4260
- @ Nonnull String indexName ,
4261
- @ Nonnull String objectID ,
4262
- @ Nonnull Rule rule ,
4263
- RequestOptions requestOptions
4264
- ) throws AlgoliaRuntimeException {
4259
+ public UpdatedAtResponse saveRule (@ Nonnull String indexName , @ Nonnull String objectID , @ Nonnull Rule rule , RequestOptions requestOptions )
4260
+ throws AlgoliaRuntimeException {
4265
4261
return this .saveRule (indexName , objectID , rule , null , requestOptions );
4266
4262
}
4267
4263
@@ -4275,7 +4271,7 @@ public UpdatedRuleResponse saveRule(
4275
4271
* @param rule (required)
4276
4272
* @throws AlgoliaRuntimeException If it fails to process the API call
4277
4273
*/
4278
- public UpdatedRuleResponse saveRule (@ Nonnull String indexName , @ Nonnull String objectID , @ Nonnull Rule rule )
4274
+ public UpdatedAtResponse saveRule (@ Nonnull String indexName , @ Nonnull String objectID , @ Nonnull Rule rule )
4279
4275
throws AlgoliaRuntimeException {
4280
4276
return this .saveRule (indexName , objectID , rule , null , null );
4281
4277
}
@@ -4293,7 +4289,7 @@ public UpdatedRuleResponse saveRule(@Nonnull String indexName, @Nonnull String o
4293
4289
* the transporter requestOptions.
4294
4290
* @throws AlgoliaRuntimeException If it fails to process the API call
4295
4291
*/
4296
- public CompletableFuture <UpdatedRuleResponse > saveRuleAsync (
4292
+ public CompletableFuture <UpdatedAtResponse > saveRuleAsync (
4297
4293
@ Nonnull String indexName ,
4298
4294
@ Nonnull String objectID ,
4299
4295
@ Nonnull Rule rule ,
@@ -4312,7 +4308,7 @@ public CompletableFuture<UpdatedRuleResponse> saveRuleAsync(
4312
4308
.setBody (rule )
4313
4309
.addQueryParameter ("forwardToReplicas" , forwardToReplicas )
4314
4310
.build ();
4315
- return executeAsync (request , requestOptions , new TypeReference <UpdatedRuleResponse >() {});
4311
+ return executeAsync (request , requestOptions , new TypeReference <UpdatedAtResponse >() {});
4316
4312
}
4317
4313
4318
4314
/**
@@ -4326,7 +4322,7 @@ public CompletableFuture<UpdatedRuleResponse> saveRuleAsync(
4326
4322
* @param forwardToReplicas Whether changes are applied to replica indices. (optional)
4327
4323
* @throws AlgoliaRuntimeException If it fails to process the API call
4328
4324
*/
4329
- public CompletableFuture <UpdatedRuleResponse > saveRuleAsync (
4325
+ public CompletableFuture <UpdatedAtResponse > saveRuleAsync (
4330
4326
@ Nonnull String indexName ,
4331
4327
@ Nonnull String objectID ,
4332
4328
@ Nonnull Rule rule ,
@@ -4347,7 +4343,7 @@ public CompletableFuture<UpdatedRuleResponse> saveRuleAsync(
4347
4343
* the transporter requestOptions.
4348
4344
* @throws AlgoliaRuntimeException If it fails to process the API call
4349
4345
*/
4350
- public CompletableFuture <UpdatedRuleResponse > saveRuleAsync (
4346
+ public CompletableFuture <UpdatedAtResponse > saveRuleAsync (
4351
4347
@ Nonnull String indexName ,
4352
4348
@ Nonnull String objectID ,
4353
4349
@ Nonnull Rule rule ,
@@ -4366,7 +4362,7 @@ public CompletableFuture<UpdatedRuleResponse> saveRuleAsync(
4366
4362
* @param rule (required)
4367
4363
* @throws AlgoliaRuntimeException If it fails to process the API call
4368
4364
*/
4369
- public CompletableFuture <UpdatedRuleResponse > saveRuleAsync (@ Nonnull String indexName , @ Nonnull String objectID , @ Nonnull Rule rule )
4365
+ public CompletableFuture <UpdatedAtResponse > saveRuleAsync (@ Nonnull String indexName , @ Nonnull String objectID , @ Nonnull Rule rule )
4370
4366
throws AlgoliaRuntimeException {
4371
4367
return this .saveRuleAsync (indexName , objectID , rule , null , null );
4372
4368
}
0 commit comments