Skip to content

Commit 2d9c157

Browse files
algolia-botHaroenvshortcuts
committed
chore: generated code for commit 3b3d706. [skip ci]
Co-authored-by: Haroen Viaene <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 3b3d706 commit 2d9c157

File tree

55 files changed

+2186
-106
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+2186
-106
lines changed

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/api/QuerySuggestionsClient.java

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ private static List<StatefulHost> getDefaultHosts(String region) {
7373
* @param querySuggestionsIndexWithIndexParam (required)
7474
* @param requestOptions The requestOptions to send along with the query, they will be merged with
7575
* the transporter requestOptions.
76-
* @return SucessResponse
76+
* @return SuccessResponse
7777
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
7878
* deserialize the response body
7979
*/
80-
public SucessResponse createConfig(
80+
public SuccessResponse createConfig(
8181
QuerySuggestionsIndexWithIndexParam querySuggestionsIndexWithIndexParam,
8282
RequestOptions requestOptions
8383
) throws AlgoliaRuntimeException {
@@ -86,7 +86,7 @@ public SucessResponse createConfig(
8686
);
8787
}
8888

89-
public SucessResponse createConfig(
89+
public SuccessResponse createConfig(
9090
QuerySuggestionsIndexWithIndexParam querySuggestionsIndexWithIndexParam
9191
) throws AlgoliaRuntimeException {
9292
return this.createConfig(querySuggestionsIndexWithIndexParam, null);
@@ -103,7 +103,7 @@ public SucessResponse createConfig(
103103
* @throws AlgoliaRuntimeException If fail to process the API call, e.g. serializing the request
104104
* body object
105105
*/
106-
public CompletableFuture<SucessResponse> createConfigAsync(
106+
public CompletableFuture<SuccessResponse> createConfigAsync(
107107
QuerySuggestionsIndexWithIndexParam querySuggestionsIndexWithIndexParam,
108108
RequestOptions requestOptions
109109
) throws AlgoliaRuntimeException {
@@ -131,11 +131,11 @@ public CompletableFuture<SucessResponse> createConfigAsync(
131131
headers,
132132
requestOptions
133133
);
134-
Type returnType = new TypeToken<SucessResponse>() {}.getType();
134+
Type returnType = new TypeToken<SuccessResponse>() {}.getType();
135135
return this.executeAsync(call, returnType);
136136
}
137137

138-
public CompletableFuture<SucessResponse> createConfigAsync(
138+
public CompletableFuture<SuccessResponse> createConfigAsync(
139139
QuerySuggestionsIndexWithIndexParam querySuggestionsIndexWithIndexParam
140140
) throws AlgoliaRuntimeException {
141141
return this.createConfigAsync(querySuggestionsIndexWithIndexParam, null);
@@ -248,32 +248,32 @@ public CompletableFuture<Object> delAsync(String path)
248248
}
249249

250250
/**
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
252252
* updates to the underlying query suggestion index. Note that when doing this, the underlying
253253
* index does not change - existing suggestions remain untouched.
254254
*
255255
* @param indexName The index in which to perform the request. (required)
256256
* @param requestOptions The requestOptions to send along with the query, they will be merged with
257257
* the transporter requestOptions.
258-
* @return SucessResponse
258+
* @return SuccessResponse
259259
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
260260
* deserialize the response body
261261
*/
262-
public SucessResponse deleteConfig(
262+
public SuccessResponse deleteConfig(
263263
String indexName,
264264
RequestOptions requestOptions
265265
) throws AlgoliaRuntimeException {
266266
return LaunderThrowable.await(deleteConfigAsync(indexName, requestOptions));
267267
}
268268

269-
public SucessResponse deleteConfig(String indexName)
269+
public SuccessResponse deleteConfig(String indexName)
270270
throws AlgoliaRuntimeException {
271271
return this.deleteConfig(indexName, null);
272272
}
273273

274274
/**
275275
* (asynchronously) Delete a configuration of a Query Suggestion&#39;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
277277
* doing this, the underlying index does not change - existing suggestions remain untouched.
278278
*
279279
* @param indexName The index in which to perform the request. (required)
@@ -283,7 +283,7 @@ public SucessResponse deleteConfig(String indexName)
283283
* @throws AlgoliaRuntimeException If fail to process the API call, e.g. serializing the request
284284
* body object
285285
*/
286-
public CompletableFuture<SucessResponse> deleteConfigAsync(
286+
public CompletableFuture<SuccessResponse> deleteConfigAsync(
287287
String indexName,
288288
RequestOptions requestOptions
289289
) throws AlgoliaRuntimeException {
@@ -314,11 +314,11 @@ public CompletableFuture<SucessResponse> deleteConfigAsync(
314314
headers,
315315
requestOptions
316316
);
317-
Type returnType = new TypeToken<SucessResponse>() {}.getType();
317+
Type returnType = new TypeToken<SuccessResponse>() {}.getType();
318318
return this.executeAsync(call, returnType);
319319
}
320320

321-
public CompletableFuture<SucessResponse> deleteConfigAsync(String indexName)
321+
public CompletableFuture<SuccessResponse> deleteConfigAsync(String indexName)
322322
throws AlgoliaRuntimeException {
323323
return this.deleteConfigAsync(indexName, null);
324324
}
@@ -944,11 +944,11 @@ public CompletableFuture<Object> putAsync(String path)
944944
* @param querySuggestionsIndexParam (required)
945945
* @param requestOptions The requestOptions to send along with the query, they will be merged with
946946
* the transporter requestOptions.
947-
* @return SucessResponse
947+
* @return SuccessResponse
948948
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
949949
* deserialize the response body
950950
*/
951-
public SucessResponse updateConfig(
951+
public SuccessResponse updateConfig(
952952
String indexName,
953953
QuerySuggestionsIndexParam querySuggestionsIndexParam,
954954
RequestOptions requestOptions
@@ -958,7 +958,7 @@ public SucessResponse updateConfig(
958958
);
959959
}
960960

961-
public SucessResponse updateConfig(
961+
public SuccessResponse updateConfig(
962962
String indexName,
963963
QuerySuggestionsIndexParam querySuggestionsIndexParam
964964
) throws AlgoliaRuntimeException {
@@ -976,7 +976,7 @@ public SucessResponse updateConfig(
976976
* @throws AlgoliaRuntimeException If fail to process the API call, e.g. serializing the request
977977
* body object
978978
*/
979-
public CompletableFuture<SucessResponse> updateConfigAsync(
979+
public CompletableFuture<SuccessResponse> updateConfigAsync(
980980
String indexName,
981981
QuerySuggestionsIndexParam querySuggestionsIndexParam,
982982
RequestOptions requestOptions
@@ -1015,11 +1015,11 @@ public CompletableFuture<SucessResponse> updateConfigAsync(
10151015
headers,
10161016
requestOptions
10171017
);
1018-
Type returnType = new TypeToken<SucessResponse>() {}.getType();
1018+
Type returnType = new TypeToken<SuccessResponse>() {}.getType();
10191019
return this.executeAsync(call, returnType);
10201020
}
10211021

1022-
public CompletableFuture<SucessResponse> updateConfigAsync(
1022+
public CompletableFuture<SuccessResponse> updateConfigAsync(
10231023
String indexName,
10241024
QuerySuggestionsIndexParam querySuggestionsIndexParam
10251025
) throws AlgoliaRuntimeException {

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/api/SearchClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3791,7 +3791,7 @@ public CompletableFuture<MultipleQueriesResponse> multipleQueriesAsync(
37913791
}
37923792

37933793
/**
3794-
* Peforms a copy or a move operation on a index.
3794+
* Performs a copy or a move operation on a index.
37953795
*
37963796
* @param indexName The index in which to perform the request. (required)
37973797
* @param operationIndexParams (required)
@@ -3819,7 +3819,7 @@ public UpdatedAtResponse operationIndex(
38193819
}
38203820

38213821
/**
3822-
* (asynchronously) Peforms a copy or a move operation on a index.
3822+
* (asynchronously) Performs a copy or a move operation on a index.
38233823
*
38243824
* @param indexName The index in which to perform the request. (required)
38253825
* @param operationIndexParams (required)

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/model/abtesting/AbTestsVariant.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public AbTestsVariant setTrafficPercentage(Integer trafficPercentage) {
3636
}
3737

3838
/**
39-
* The traffic perfecentage for the A/B test.
39+
* The traffic percentage for the A/B test.
4040
*
4141
* @return trafficPercentage
4242
*/

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/model/abtesting/AbTestsVariantSearchParams.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public AbTestsVariantSearchParams setTrafficPercentage(
4141
}
4242

4343
/**
44-
* The traffic perfecentage for the A/B test.
44+
* The traffic percentage for the A/B test.
4545
*
4646
* @return trafficPercentage
4747
*/

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/model/abtesting/Variant.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public Variant setTrafficPercentage(Integer trafficPercentage) {
198198
}
199199

200200
/**
201-
* The traffic perfecentage for the A/B test.
201+
* The traffic percentage for the A/B test.
202202
*
203203
* @return trafficPercentage
204204
*/

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/model/querySuggestions/QuerySuggestionsIndex.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class QuerySuggestionsIndex {
1212
private String indexName;
1313

1414
@SerializedName("sourceIndices")
15-
private List<SourceIndiceWithReplicas> sourceIndices = new ArrayList<>();
15+
private List<SourceIndexWithReplicas> sourceIndices = new ArrayList<>();
1616

1717
@SerializedName("languages")
1818
private List<String> languages = new ArrayList<>();
@@ -36,14 +36,14 @@ public String getIndexName() {
3636
}
3737

3838
public QuerySuggestionsIndex setSourceIndices(
39-
List<SourceIndiceWithReplicas> sourceIndices
39+
List<SourceIndexWithReplicas> sourceIndices
4040
) {
4141
this.sourceIndices = sourceIndices;
4242
return this;
4343
}
4444

4545
public QuerySuggestionsIndex addSourceIndices(
46-
SourceIndiceWithReplicas sourceIndicesItem
46+
SourceIndexWithReplicas sourceIndicesItem
4747
) {
4848
this.sourceIndices.add(sourceIndicesItem);
4949
return this;
@@ -55,7 +55,7 @@ public QuerySuggestionsIndex addSourceIndices(
5555
* @return sourceIndices
5656
*/
5757
@javax.annotation.Nonnull
58-
public List<SourceIndiceWithReplicas> getSourceIndices() {
58+
public List<SourceIndexWithReplicas> getSourceIndices() {
5959
return sourceIndices;
6060
}
6161

0 commit comments

Comments
 (0)