Skip to content

Commit

Permalink
chore: generated code for commit 3b3d706. [skip ci]
Browse files Browse the repository at this point in the history
Co-authored-by: Haroen Viaene <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
3 people committed May 19, 2022
1 parent 3b3d706 commit 2d9c157
Show file tree
Hide file tree
Showing 55 changed files with 2,186 additions and 106 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ private static List<StatefulHost> getDefaultHosts(String region) {
* @param querySuggestionsIndexWithIndexParam (required)
* @param requestOptions The requestOptions to send along with the query, they will be merged with
* the transporter requestOptions.
* @return SucessResponse
* @return SuccessResponse
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
* deserialize the response body
*/
public SucessResponse createConfig(
public SuccessResponse createConfig(
QuerySuggestionsIndexWithIndexParam querySuggestionsIndexWithIndexParam,
RequestOptions requestOptions
) throws AlgoliaRuntimeException {
Expand All @@ -86,7 +86,7 @@ public SucessResponse createConfig(
);
}

public SucessResponse createConfig(
public SuccessResponse createConfig(
QuerySuggestionsIndexWithIndexParam querySuggestionsIndexWithIndexParam
) throws AlgoliaRuntimeException {
return this.createConfig(querySuggestionsIndexWithIndexParam, null);
Expand All @@ -103,7 +103,7 @@ public SucessResponse createConfig(
* @throws AlgoliaRuntimeException If fail to process the API call, e.g. serializing the request
* body object
*/
public CompletableFuture<SucessResponse> createConfigAsync(
public CompletableFuture<SuccessResponse> createConfigAsync(
QuerySuggestionsIndexWithIndexParam querySuggestionsIndexWithIndexParam,
RequestOptions requestOptions
) throws AlgoliaRuntimeException {
Expand Down Expand Up @@ -131,11 +131,11 @@ public CompletableFuture<SucessResponse> createConfigAsync(
headers,
requestOptions
);
Type returnType = new TypeToken<SucessResponse>() {}.getType();
Type returnType = new TypeToken<SuccessResponse>() {}.getType();
return this.executeAsync(call, returnType);
}

public CompletableFuture<SucessResponse> createConfigAsync(
public CompletableFuture<SuccessResponse> createConfigAsync(
QuerySuggestionsIndexWithIndexParam querySuggestionsIndexWithIndexParam
) throws AlgoliaRuntimeException {
return this.createConfigAsync(querySuggestionsIndexWithIndexParam, null);
Expand Down Expand Up @@ -248,32 +248,32 @@ public CompletableFuture<Object> delAsync(String path)
}

/**
* Delete a configuration of a Query Suggestion's index. By deleting a configuraton, you stop all
* Delete a configuration of a Query Suggestion's index. By deleting a configuration, you stop all
* updates to the underlying query suggestion index. Note that when doing this, the underlying
* index does not change - existing suggestions remain untouched.
*
* @param indexName The index in which to perform the request. (required)
* @param requestOptions The requestOptions to send along with the query, they will be merged with
* the transporter requestOptions.
* @return SucessResponse
* @return SuccessResponse
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
* deserialize the response body
*/
public SucessResponse deleteConfig(
public SuccessResponse deleteConfig(
String indexName,
RequestOptions requestOptions
) throws AlgoliaRuntimeException {
return LaunderThrowable.await(deleteConfigAsync(indexName, requestOptions));
}

public SucessResponse deleteConfig(String indexName)
public SuccessResponse deleteConfig(String indexName)
throws AlgoliaRuntimeException {
return this.deleteConfig(indexName, null);
}

/**
* (asynchronously) Delete a configuration of a Query Suggestion&#39;s index. By deleting a
* configuraton, you stop all updates to the underlying query suggestion index. Note that when
* configuration, you stop all updates to the underlying query suggestion index. Note that when
* doing this, the underlying index does not change - existing suggestions remain untouched.
*
* @param indexName The index in which to perform the request. (required)
Expand All @@ -283,7 +283,7 @@ public SucessResponse deleteConfig(String indexName)
* @throws AlgoliaRuntimeException If fail to process the API call, e.g. serializing the request
* body object
*/
public CompletableFuture<SucessResponse> deleteConfigAsync(
public CompletableFuture<SuccessResponse> deleteConfigAsync(
String indexName,
RequestOptions requestOptions
) throws AlgoliaRuntimeException {
Expand Down Expand Up @@ -314,11 +314,11 @@ public CompletableFuture<SucessResponse> deleteConfigAsync(
headers,
requestOptions
);
Type returnType = new TypeToken<SucessResponse>() {}.getType();
Type returnType = new TypeToken<SuccessResponse>() {}.getType();
return this.executeAsync(call, returnType);
}

public CompletableFuture<SucessResponse> deleteConfigAsync(String indexName)
public CompletableFuture<SuccessResponse> deleteConfigAsync(String indexName)
throws AlgoliaRuntimeException {
return this.deleteConfigAsync(indexName, null);
}
Expand Down Expand Up @@ -944,11 +944,11 @@ public CompletableFuture<Object> putAsync(String path)
* @param querySuggestionsIndexParam (required)
* @param requestOptions The requestOptions to send along with the query, they will be merged with
* the transporter requestOptions.
* @return SucessResponse
* @return SuccessResponse
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
* deserialize the response body
*/
public SucessResponse updateConfig(
public SuccessResponse updateConfig(
String indexName,
QuerySuggestionsIndexParam querySuggestionsIndexParam,
RequestOptions requestOptions
Expand All @@ -958,7 +958,7 @@ public SucessResponse updateConfig(
);
}

public SucessResponse updateConfig(
public SuccessResponse updateConfig(
String indexName,
QuerySuggestionsIndexParam querySuggestionsIndexParam
) throws AlgoliaRuntimeException {
Expand All @@ -976,7 +976,7 @@ public SucessResponse updateConfig(
* @throws AlgoliaRuntimeException If fail to process the API call, e.g. serializing the request
* body object
*/
public CompletableFuture<SucessResponse> updateConfigAsync(
public CompletableFuture<SuccessResponse> updateConfigAsync(
String indexName,
QuerySuggestionsIndexParam querySuggestionsIndexParam,
RequestOptions requestOptions
Expand Down Expand Up @@ -1015,11 +1015,11 @@ public CompletableFuture<SucessResponse> updateConfigAsync(
headers,
requestOptions
);
Type returnType = new TypeToken<SucessResponse>() {}.getType();
Type returnType = new TypeToken<SuccessResponse>() {}.getType();
return this.executeAsync(call, returnType);
}

public CompletableFuture<SucessResponse> updateConfigAsync(
public CompletableFuture<SuccessResponse> updateConfigAsync(
String indexName,
QuerySuggestionsIndexParam querySuggestionsIndexParam
) throws AlgoliaRuntimeException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3791,7 +3791,7 @@ public CompletableFuture<MultipleQueriesResponse> multipleQueriesAsync(
}

/**
* Peforms a copy or a move operation on a index.
* Performs a copy or a move operation on a index.
*
* @param indexName The index in which to perform the request. (required)
* @param operationIndexParams (required)
Expand Down Expand Up @@ -3819,7 +3819,7 @@ public UpdatedAtResponse operationIndex(
}

/**
* (asynchronously) Peforms a copy or a move operation on a index.
* (asynchronously) Performs a copy or a move operation on a index.
*
* @param indexName The index in which to perform the request. (required)
* @param operationIndexParams (required)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public AbTestsVariant setTrafficPercentage(Integer trafficPercentage) {
}

/**
* The traffic perfecentage for the A/B test.
* The traffic percentage for the A/B test.
*
* @return trafficPercentage
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public AbTestsVariantSearchParams setTrafficPercentage(
}

/**
* The traffic perfecentage for the A/B test.
* The traffic percentage for the A/B test.
*
* @return trafficPercentage
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public Variant setTrafficPercentage(Integer trafficPercentage) {
}

/**
* The traffic perfecentage for the A/B test.
* The traffic percentage for the A/B test.
*
* @return trafficPercentage
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class QuerySuggestionsIndex {
private String indexName;

@SerializedName("sourceIndices")
private List<SourceIndiceWithReplicas> sourceIndices = new ArrayList<>();
private List<SourceIndexWithReplicas> sourceIndices = new ArrayList<>();

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

public QuerySuggestionsIndex setSourceIndices(
List<SourceIndiceWithReplicas> sourceIndices
List<SourceIndexWithReplicas> sourceIndices
) {
this.sourceIndices = sourceIndices;
return this;
}

public QuerySuggestionsIndex addSourceIndices(
SourceIndiceWithReplicas sourceIndicesItem
SourceIndexWithReplicas sourceIndicesItem
) {
this.sourceIndices.add(sourceIndicesItem);
return this;
Expand All @@ -55,7 +55,7 @@ public QuerySuggestionsIndex addSourceIndices(
* @return sourceIndices
*/
@javax.annotation.Nonnull
public List<SourceIndiceWithReplicas> getSourceIndices() {
public List<SourceIndexWithReplicas> getSourceIndices() {
return sourceIndices;
}

Expand Down
Loading

0 comments on commit 2d9c157

Please sign in to comment.