@@ -73,11 +73,11 @@ private static List<StatefulHost> getDefaultHosts(String region) {
73
73
* @param querySuggestionsIndexWithIndexParam (required)
74
74
* @param requestOptions The requestOptions to send along with the query, they will be merged with
75
75
* the transporter requestOptions.
76
- * @return SucessResponse
76
+ * @return SuccessResponse
77
77
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
78
78
* deserialize the response body
79
79
*/
80
- public SucessResponse createConfig (
80
+ public SuccessResponse createConfig (
81
81
QuerySuggestionsIndexWithIndexParam querySuggestionsIndexWithIndexParam ,
82
82
RequestOptions requestOptions
83
83
) throws AlgoliaRuntimeException {
@@ -86,7 +86,7 @@ public SucessResponse createConfig(
86
86
);
87
87
}
88
88
89
- public SucessResponse createConfig (
89
+ public SuccessResponse createConfig (
90
90
QuerySuggestionsIndexWithIndexParam querySuggestionsIndexWithIndexParam
91
91
) throws AlgoliaRuntimeException {
92
92
return this .createConfig (querySuggestionsIndexWithIndexParam , null );
@@ -103,7 +103,7 @@ public SucessResponse createConfig(
103
103
* @throws AlgoliaRuntimeException If fail to process the API call, e.g. serializing the request
104
104
* body object
105
105
*/
106
- public CompletableFuture <SucessResponse > createConfigAsync (
106
+ public CompletableFuture <SuccessResponse > createConfigAsync (
107
107
QuerySuggestionsIndexWithIndexParam querySuggestionsIndexWithIndexParam ,
108
108
RequestOptions requestOptions
109
109
) throws AlgoliaRuntimeException {
@@ -131,11 +131,11 @@ public CompletableFuture<SucessResponse> createConfigAsync(
131
131
headers ,
132
132
requestOptions
133
133
);
134
- Type returnType = new TypeToken <SucessResponse >() {}.getType ();
134
+ Type returnType = new TypeToken <SuccessResponse >() {}.getType ();
135
135
return this .executeAsync (call , returnType );
136
136
}
137
137
138
- public CompletableFuture <SucessResponse > createConfigAsync (
138
+ public CompletableFuture <SuccessResponse > createConfigAsync (
139
139
QuerySuggestionsIndexWithIndexParam querySuggestionsIndexWithIndexParam
140
140
) throws AlgoliaRuntimeException {
141
141
return this .createConfigAsync (querySuggestionsIndexWithIndexParam , null );
@@ -248,32 +248,32 @@ public CompletableFuture<Object> delAsync(String path)
248
248
}
249
249
250
250
/**
251
- * Delete a configuration of a Query Suggestion's index. By deleting a configuraton , you stop all
251
+ * Delete a configuration of a Query Suggestion's index. By deleting a configuration , you stop all
252
252
* updates to the underlying query suggestion index. Note that when doing this, the underlying
253
253
* index does not change - existing suggestions remain untouched.
254
254
*
255
255
* @param indexName The index in which to perform the request. (required)
256
256
* @param requestOptions The requestOptions to send along with the query, they will be merged with
257
257
* the transporter requestOptions.
258
- * @return SucessResponse
258
+ * @return SuccessResponse
259
259
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
260
260
* deserialize the response body
261
261
*/
262
- public SucessResponse deleteConfig (
262
+ public SuccessResponse deleteConfig (
263
263
String indexName ,
264
264
RequestOptions requestOptions
265
265
) throws AlgoliaRuntimeException {
266
266
return LaunderThrowable .await (deleteConfigAsync (indexName , requestOptions ));
267
267
}
268
268
269
- public SucessResponse deleteConfig (String indexName )
269
+ public SuccessResponse deleteConfig (String indexName )
270
270
throws AlgoliaRuntimeException {
271
271
return this .deleteConfig (indexName , null );
272
272
}
273
273
274
274
/**
275
275
* (asynchronously) Delete a configuration of a Query Suggestion's index. By deleting a
276
- * configuraton , you stop all updates to the underlying query suggestion index. Note that when
276
+ * configuration , you stop all updates to the underlying query suggestion index. Note that when
277
277
* doing this, the underlying index does not change - existing suggestions remain untouched.
278
278
*
279
279
* @param indexName The index in which to perform the request. (required)
@@ -283,7 +283,7 @@ public SucessResponse deleteConfig(String indexName)
283
283
* @throws AlgoliaRuntimeException If fail to process the API call, e.g. serializing the request
284
284
* body object
285
285
*/
286
- public CompletableFuture <SucessResponse > deleteConfigAsync (
286
+ public CompletableFuture <SuccessResponse > deleteConfigAsync (
287
287
String indexName ,
288
288
RequestOptions requestOptions
289
289
) throws AlgoliaRuntimeException {
@@ -314,11 +314,11 @@ public CompletableFuture<SucessResponse> deleteConfigAsync(
314
314
headers ,
315
315
requestOptions
316
316
);
317
- Type returnType = new TypeToken <SucessResponse >() {}.getType ();
317
+ Type returnType = new TypeToken <SuccessResponse >() {}.getType ();
318
318
return this .executeAsync (call , returnType );
319
319
}
320
320
321
- public CompletableFuture <SucessResponse > deleteConfigAsync (String indexName )
321
+ public CompletableFuture <SuccessResponse > deleteConfigAsync (String indexName )
322
322
throws AlgoliaRuntimeException {
323
323
return this .deleteConfigAsync (indexName , null );
324
324
}
@@ -944,11 +944,11 @@ public CompletableFuture<Object> putAsync(String path)
944
944
* @param querySuggestionsIndexParam (required)
945
945
* @param requestOptions The requestOptions to send along with the query, they will be merged with
946
946
* the transporter requestOptions.
947
- * @return SucessResponse
947
+ * @return SuccessResponse
948
948
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
949
949
* deserialize the response body
950
950
*/
951
- public SucessResponse updateConfig (
951
+ public SuccessResponse updateConfig (
952
952
String indexName ,
953
953
QuerySuggestionsIndexParam querySuggestionsIndexParam ,
954
954
RequestOptions requestOptions
@@ -958,7 +958,7 @@ public SucessResponse updateConfig(
958
958
);
959
959
}
960
960
961
- public SucessResponse updateConfig (
961
+ public SuccessResponse updateConfig (
962
962
String indexName ,
963
963
QuerySuggestionsIndexParam querySuggestionsIndexParam
964
964
) throws AlgoliaRuntimeException {
@@ -976,7 +976,7 @@ public SucessResponse updateConfig(
976
976
* @throws AlgoliaRuntimeException If fail to process the API call, e.g. serializing the request
977
977
* body object
978
978
*/
979
- public CompletableFuture <SucessResponse > updateConfigAsync (
979
+ public CompletableFuture <SuccessResponse > updateConfigAsync (
980
980
String indexName ,
981
981
QuerySuggestionsIndexParam querySuggestionsIndexParam ,
982
982
RequestOptions requestOptions
@@ -1015,11 +1015,11 @@ public CompletableFuture<SucessResponse> updateConfigAsync(
1015
1015
headers ,
1016
1016
requestOptions
1017
1017
);
1018
- Type returnType = new TypeToken <SucessResponse >() {}.getType ();
1018
+ Type returnType = new TypeToken <SuccessResponse >() {}.getType ();
1019
1019
return this .executeAsync (call , returnType );
1020
1020
}
1021
1021
1022
- public CompletableFuture <SucessResponse > updateConfigAsync (
1022
+ public CompletableFuture <SuccessResponse > updateConfigAsync (
1023
1023
String indexName ,
1024
1024
QuerySuggestionsIndexParam querySuggestionsIndexParam
1025
1025
) throws AlgoliaRuntimeException {
0 commit comments