@@ -2658,7 +2658,7 @@ public CompletableFuture<Rule> getRuleAsync(@Nonnull String indexName, @Nonnull
2658
2658
* the transporter requestOptions.
2659
2659
* @throws AlgoliaRuntimeException If it fails to process the API call
2660
2660
*/
2661
- public IndexSettings getSettings (@ Nonnull String indexName , RequestOptions requestOptions ) throws AlgoliaRuntimeException {
2661
+ public SettingsResponse getSettings (@ Nonnull String indexName , RequestOptions requestOptions ) throws AlgoliaRuntimeException {
2662
2662
return LaunderThrowable .await (getSettingsAsync (indexName , requestOptions ));
2663
2663
}
2664
2664
@@ -2668,7 +2668,7 @@ public IndexSettings getSettings(@Nonnull String indexName, RequestOptions reque
2668
2668
* @param indexName Name of the index on which to perform the operation. (required)
2669
2669
* @throws AlgoliaRuntimeException If it fails to process the API call
2670
2670
*/
2671
- public IndexSettings getSettings (@ Nonnull String indexName ) throws AlgoliaRuntimeException {
2671
+ public SettingsResponse getSettings (@ Nonnull String indexName ) throws AlgoliaRuntimeException {
2672
2672
return this .getSettings (indexName , null );
2673
2673
}
2674
2674
@@ -2680,12 +2680,12 @@ public IndexSettings getSettings(@Nonnull String indexName) throws AlgoliaRuntim
2680
2680
* the transporter requestOptions.
2681
2681
* @throws AlgoliaRuntimeException If it fails to process the API call
2682
2682
*/
2683
- public CompletableFuture <IndexSettings > getSettingsAsync (@ Nonnull String indexName , RequestOptions requestOptions )
2683
+ public CompletableFuture <SettingsResponse > getSettingsAsync (@ Nonnull String indexName , RequestOptions requestOptions )
2684
2684
throws AlgoliaRuntimeException {
2685
2685
Parameters .requireNonNull (indexName , "Parameter `indexName` is required when calling `getSettings`." );
2686
2686
2687
2687
HttpRequest request = HttpRequest .builder ().setPath ("/1/indexes/{indexName}/settings" , indexName ).setMethod ("GET" ).build ();
2688
- return executeAsync (request , requestOptions , new TypeReference <IndexSettings >() {});
2688
+ return executeAsync (request , requestOptions , new TypeReference <SettingsResponse >() {});
2689
2689
}
2690
2690
2691
2691
/**
@@ -2694,7 +2694,7 @@ public CompletableFuture<IndexSettings> getSettingsAsync(@Nonnull String indexNa
2694
2694
* @param indexName Name of the index on which to perform the operation. (required)
2695
2695
* @throws AlgoliaRuntimeException If it fails to process the API call
2696
2696
*/
2697
- public CompletableFuture <IndexSettings > getSettingsAsync (@ Nonnull String indexName ) throws AlgoliaRuntimeException {
2697
+ public CompletableFuture <SettingsResponse > getSettingsAsync (@ Nonnull String indexName ) throws AlgoliaRuntimeException {
2698
2698
return this .getSettingsAsync (indexName , null );
2699
2699
}
2700
2700
0 commit comments