Skip to content

Commit df8a8c7

Browse files
algolia-botmillotp
andcommitted
chore: generated code for commit d3fb62c. [skip ci]
Co-authored-by: Pierre Millot <[email protected]>
1 parent d3fb62c commit df8a8c7

33 files changed

+258
-348
lines changed

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

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ private static List<StatefulHost> getDefaultHosts(String region) throws AlgoliaR
7777
* @param requestOptions The requestOptions to send along with the query, they will be merged with
7878
* the transporter requestOptions.
7979
* @return ABTestResponse
80-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
81-
* deserialize the response body
80+
* @throws AlgoliaRuntimeException If it fails to process the API call
8281
*/
8382
public ABTestResponse addABTests(AddABTestsRequest addABTestsRequest, RequestOptions requestOptions) throws AlgoliaRuntimeException {
8483
return LaunderThrowable.await(addABTestsAsync(addABTestsRequest, requestOptions));
@@ -148,8 +147,7 @@ public CompletableFuture<ABTestResponse> addABTestsAsync(AddABTestsRequest addAB
148147
* @param requestOptions The requestOptions to send along with the query, they will be merged with
149148
* the transporter requestOptions.
150149
* @return Object
151-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
152-
* deserialize the response body
150+
* @throws AlgoliaRuntimeException If it fails to process the API call
153151
*/
154152
public Object del(String path, Map<String, Object> parameters, RequestOptions requestOptions) throws AlgoliaRuntimeException {
155153
return LaunderThrowable.await(delAsync(path, parameters, requestOptions));
@@ -275,8 +273,7 @@ public CompletableFuture<Object> delAsync(String path) throws AlgoliaRuntimeExce
275273
* @param requestOptions The requestOptions to send along with the query, they will be merged with
276274
* the transporter requestOptions.
277275
* @return ABTestResponse
278-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
279-
* deserialize the response body
276+
* @throws AlgoliaRuntimeException If it fails to process the API call
280277
*/
281278
public ABTestResponse deleteABTest(Integer id, RequestOptions requestOptions) throws AlgoliaRuntimeException {
282279
return LaunderThrowable.await(deleteABTestAsync(id, requestOptions));
@@ -339,8 +336,7 @@ public CompletableFuture<ABTestResponse> deleteABTestAsync(Integer id) throws Al
339336
* @param requestOptions The requestOptions to send along with the query, they will be merged with
340337
* the transporter requestOptions.
341338
* @return Object
342-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
343-
* deserialize the response body
339+
* @throws AlgoliaRuntimeException If it fails to process the API call
344340
*/
345341
public Object get(String path, Map<String, Object> parameters, RequestOptions requestOptions) throws AlgoliaRuntimeException {
346342
return LaunderThrowable.await(getAsync(path, parameters, requestOptions));
@@ -466,8 +462,7 @@ public CompletableFuture<Object> getAsync(String path) throws AlgoliaRuntimeExce
466462
* @param requestOptions The requestOptions to send along with the query, they will be merged with
467463
* the transporter requestOptions.
468464
* @return ABTest
469-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
470-
* deserialize the response body
465+
* @throws AlgoliaRuntimeException If it fails to process the API call
471466
*/
472467
public ABTest getABTest(Integer id, RequestOptions requestOptions) throws AlgoliaRuntimeException {
473468
return LaunderThrowable.await(getABTestAsync(id, requestOptions));
@@ -532,8 +527,7 @@ public CompletableFuture<ABTest> getABTestAsync(Integer id) throws AlgoliaRuntim
532527
* @param requestOptions The requestOptions to send along with the query, they will be merged with
533528
* the transporter requestOptions.
534529
* @return ListABTestsResponse
535-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
536-
* deserialize the response body
530+
* @throws AlgoliaRuntimeException If it fails to process the API call
537531
*/
538532
public ListABTestsResponse listABTests(Integer offset, Integer limit, RequestOptions requestOptions) throws AlgoliaRuntimeException {
539533
return LaunderThrowable.await(listABTestsAsync(offset, limit, requestOptions));
@@ -662,8 +656,7 @@ public CompletableFuture<ListABTestsResponse> listABTestsAsync() throws AlgoliaR
662656
* @param requestOptions The requestOptions to send along with the query, they will be merged with
663657
* the transporter requestOptions.
664658
* @return Object
665-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
666-
* deserialize the response body
659+
* @throws AlgoliaRuntimeException If it fails to process the API call
667660
*/
668661
public Object post(String path, Map<String, Object> parameters, Object body, RequestOptions requestOptions)
669662
throws AlgoliaRuntimeException {
@@ -796,8 +789,7 @@ public CompletableFuture<Object> postAsync(String path) throws AlgoliaRuntimeExc
796789
* @param requestOptions The requestOptions to send along with the query, they will be merged with
797790
* the transporter requestOptions.
798791
* @return Object
799-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
800-
* deserialize the response body
792+
* @throws AlgoliaRuntimeException If it fails to process the API call
801793
*/
802794
public Object put(String path, Map<String, Object> parameters, Object body, RequestOptions requestOptions)
803795
throws AlgoliaRuntimeException {
@@ -929,8 +921,7 @@ public CompletableFuture<Object> putAsync(String path) throws AlgoliaRuntimeExce
929921
* @param requestOptions The requestOptions to send along with the query, they will be merged with
930922
* the transporter requestOptions.
931923
* @return ABTestResponse
932-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
933-
* deserialize the response body
924+
* @throws AlgoliaRuntimeException If it fails to process the API call
934925
*/
935926
public ABTestResponse stopABTest(Integer id, RequestOptions requestOptions) throws AlgoliaRuntimeException {
936927
return LaunderThrowable.await(stopABTestAsync(id, requestOptions));

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

Lines changed: 21 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ private static List<StatefulHost> getDefaultHosts(String region) throws AlgoliaR
7777
* @param requestOptions The requestOptions to send along with the query, they will be merged with
7878
* the transporter requestOptions.
7979
* @return Object
80-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
81-
* deserialize the response body
80+
* @throws AlgoliaRuntimeException If it fails to process the API call
8281
*/
8382
public Object del(String path, Map<String, Object> parameters, RequestOptions requestOptions) throws AlgoliaRuntimeException {
8483
return LaunderThrowable.await(delAsync(path, parameters, requestOptions));
@@ -206,8 +205,7 @@ public CompletableFuture<Object> delAsync(String path) throws AlgoliaRuntimeExce
206205
* @param requestOptions The requestOptions to send along with the query, they will be merged with
207206
* the transporter requestOptions.
208207
* @return Object
209-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
210-
* deserialize the response body
208+
* @throws AlgoliaRuntimeException If it fails to process the API call
211209
*/
212210
public Object get(String path, Map<String, Object> parameters, RequestOptions requestOptions) throws AlgoliaRuntimeException {
213211
return LaunderThrowable.await(getAsync(path, parameters, requestOptions));
@@ -341,8 +339,7 @@ public CompletableFuture<Object> getAsync(String path) throws AlgoliaRuntimeExce
341339
* @param requestOptions The requestOptions to send along with the query, they will be merged with
342340
* the transporter requestOptions.
343341
* @return GetAverageClickPositionResponse
344-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
345-
* deserialize the response body
342+
* @throws AlgoliaRuntimeException If it fails to process the API call
346343
*/
347344
public GetAverageClickPositionResponse getAverageClickPosition(
348345
String index,
@@ -524,8 +521,7 @@ public CompletableFuture<GetAverageClickPositionResponse> getAverageClickPositio
524521
* @param requestOptions The requestOptions to send along with the query, they will be merged with
525522
* the transporter requestOptions.
526523
* @return GetClickPositionsResponse
527-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
528-
* deserialize the response body
524+
* @throws AlgoliaRuntimeException If it fails to process the API call
529525
*/
530526
public GetClickPositionsResponse getClickPositions(
531527
String index,
@@ -713,8 +709,7 @@ public CompletableFuture<GetClickPositionsResponse> getClickPositionsAsync(Strin
713709
* @param requestOptions The requestOptions to send along with the query, they will be merged with
714710
* the transporter requestOptions.
715711
* @return GetClickThroughRateResponse
716-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
717-
* deserialize the response body
712+
* @throws AlgoliaRuntimeException If it fails to process the API call
718713
*/
719714
public GetClickThroughRateResponse getClickThroughRate(
720715
String index,
@@ -902,8 +897,7 @@ public CompletableFuture<GetClickThroughRateResponse> getClickThroughRateAsync(S
902897
* @param requestOptions The requestOptions to send along with the query, they will be merged with
903898
* the transporter requestOptions.
904899
* @return GetConversationRateResponse
905-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
906-
* deserialize the response body
900+
* @throws AlgoliaRuntimeException If it fails to process the API call
907901
*/
908902
public GetConversationRateResponse getConversationRate(
909903
String index,
@@ -1091,8 +1085,7 @@ public CompletableFuture<GetConversationRateResponse> getConversationRateAsync(S
10911085
* @param requestOptions The requestOptions to send along with the query, they will be merged with
10921086
* the transporter requestOptions.
10931087
* @return GetNoClickRateResponse
1094-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
1095-
* deserialize the response body
1088+
* @throws AlgoliaRuntimeException If it fails to process the API call
10961089
*/
10971090
public GetNoClickRateResponse getNoClickRate(String index, String startDate, String endDate, String tags, RequestOptions requestOptions)
10981091
throws AlgoliaRuntimeException {
@@ -1270,8 +1263,7 @@ public CompletableFuture<GetNoClickRateResponse> getNoClickRateAsync(String inde
12701263
* @param requestOptions The requestOptions to send along with the query, they will be merged with
12711264
* the transporter requestOptions.
12721265
* @return GetNoResultsRateResponse
1273-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
1274-
* deserialize the response body
1266+
* @throws AlgoliaRuntimeException If it fails to process the API call
12751267
*/
12761268
public GetNoResultsRateResponse getNoResultsRate(
12771269
String index,
@@ -1454,8 +1446,7 @@ public CompletableFuture<GetNoResultsRateResponse> getNoResultsRateAsync(String
14541446
* @param requestOptions The requestOptions to send along with the query, they will be merged with
14551447
* the transporter requestOptions.
14561448
* @return GetSearchesCountResponse
1457-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
1458-
* deserialize the response body
1449+
* @throws AlgoliaRuntimeException If it fails to process the API call
14591450
*/
14601451
public GetSearchesCountResponse getSearchesCount(
14611452
String index,
@@ -1635,8 +1626,7 @@ public CompletableFuture<GetSearchesCountResponse> getSearchesCountAsync(String
16351626
* @param requestOptions The requestOptions to send along with the query, they will be merged with
16361627
* the transporter requestOptions.
16371628
* @return GetSearchesNoClicksResponse
1638-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
1639-
* deserialize the response body
1629+
* @throws AlgoliaRuntimeException If it fails to process the API call
16401630
*/
16411631
public GetSearchesNoClicksResponse getSearchesNoClicks(
16421632
String index,
@@ -1851,8 +1841,7 @@ public CompletableFuture<GetSearchesNoClicksResponse> getSearchesNoClicksAsync(S
18511841
* @param requestOptions The requestOptions to send along with the query, they will be merged with
18521842
* the transporter requestOptions.
18531843
* @return GetSearchesNoResultsResponse
1854-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
1855-
* deserialize the response body
1844+
* @throws AlgoliaRuntimeException If it fails to process the API call
18561845
*/
18571846
public GetSearchesNoResultsResponse getSearchesNoResults(
18581847
String index,
@@ -2054,8 +2043,7 @@ public CompletableFuture<GetSearchesNoResultsResponse> getSearchesNoResultsAsync
20542043
* @param requestOptions The requestOptions to send along with the query, they will be merged with
20552044
* the transporter requestOptions.
20562045
* @return GetStatusResponse
2057-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
2058-
* deserialize the response body
2046+
* @throws AlgoliaRuntimeException If it fails to process the API call
20592047
*/
20602048
public GetStatusResponse getStatus(String index, RequestOptions requestOptions) throws AlgoliaRuntimeException {
20612049
return LaunderThrowable.await(getStatusAsync(index, requestOptions));
@@ -2136,8 +2124,7 @@ public CompletableFuture<GetStatusResponse> getStatusAsync(String index) throws
21362124
* @param requestOptions The requestOptions to send along with the query, they will be merged with
21372125
* the transporter requestOptions.
21382126
* @return GetTopCountriesResponse
2139-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
2140-
* deserialize the response body
2127+
* @throws AlgoliaRuntimeException If it fails to process the API call
21412128
*/
21422129
public GetTopCountriesResponse getTopCountries(
21432130
String index,
@@ -2346,8 +2333,7 @@ public CompletableFuture<GetTopCountriesResponse> getTopCountriesAsync(String in
23462333
* @param requestOptions The requestOptions to send along with the query, they will be merged with
23472334
* the transporter requestOptions.
23482335
* @return GetTopFilterAttributesResponse
2349-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
2350-
* deserialize the response body
2336+
* @throws AlgoliaRuntimeException If it fails to process the API call
23512337
*/
23522338
public GetTopFilterAttributesResponse getTopFilterAttributes(
23532339
String index,
@@ -2568,8 +2554,7 @@ public CompletableFuture<GetTopFilterAttributesResponse> getTopFilterAttributesA
25682554
* @param requestOptions The requestOptions to send along with the query, they will be merged with
25692555
* the transporter requestOptions.
25702556
* @return GetTopFilterForAttributeResponse
2571-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
2572-
* deserialize the response body
2557+
* @throws AlgoliaRuntimeException If it fails to process the API call
25732558
*/
25742559
public GetTopFilterForAttributeResponse getTopFilterForAttribute(
25752560
String attribute,
@@ -2815,8 +2800,7 @@ public CompletableFuture<GetTopFilterForAttributeResponse> getTopFilterForAttrib
28152800
* @param requestOptions The requestOptions to send along with the query, they will be merged with
28162801
* the transporter requestOptions.
28172802
* @return GetTopFiltersNoResultsResponse
2818-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
2819-
* deserialize the response body
2803+
* @throws AlgoliaRuntimeException If it fails to process the API call
28202804
*/
28212805
public GetTopFiltersNoResultsResponse getTopFiltersNoResults(
28222806
String index,
@@ -3038,8 +3022,7 @@ public CompletableFuture<GetTopFiltersNoResultsResponse> getTopFiltersNoResultsA
30383022
* @param requestOptions The requestOptions to send along with the query, they will be merged with
30393023
* the transporter requestOptions.
30403024
* @return GetTopHitsResponse
3041-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
3042-
* deserialize the response body
3025+
* @throws AlgoliaRuntimeException If it fails to process the API call
30433026
*/
30443027
public GetTopHitsResponse getTopHits(
30453028
String index,
@@ -3276,8 +3259,7 @@ public CompletableFuture<GetTopHitsResponse> getTopHitsAsync(String index) throw
32763259
* @param requestOptions The requestOptions to send along with the query, they will be merged with
32773260
* the transporter requestOptions.
32783261
* @return GetTopSearchesResponse
3279-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
3280-
* deserialize the response body
3262+
* @throws AlgoliaRuntimeException If it fails to process the API call
32813263
*/
32823264
public GetTopSearchesResponse getTopSearches(
32833265
String index,
@@ -3527,8 +3509,7 @@ public CompletableFuture<GetTopSearchesResponse> getTopSearchesAsync(String inde
35273509
* @param requestOptions The requestOptions to send along with the query, they will be merged with
35283510
* the transporter requestOptions.
35293511
* @return GetUsersCountResponse
3530-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
3531-
* deserialize the response body
3512+
* @throws AlgoliaRuntimeException If it fails to process the API call
35323513
*/
35333514
public GetUsersCountResponse getUsersCount(String index, String startDate, String endDate, String tags, RequestOptions requestOptions)
35343515
throws AlgoliaRuntimeException {
@@ -3693,8 +3674,7 @@ public CompletableFuture<GetUsersCountResponse> getUsersCountAsync(String index)
36933674
* @param requestOptions The requestOptions to send along with the query, they will be merged with
36943675
* the transporter requestOptions.
36953676
* @return Object
3696-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
3697-
* deserialize the response body
3677+
* @throws AlgoliaRuntimeException If it fails to process the API call
36983678
*/
36993679
public Object post(String path, Map<String, Object> parameters, Object body, RequestOptions requestOptions)
37003680
throws AlgoliaRuntimeException {
@@ -3827,8 +3807,7 @@ public CompletableFuture<Object> postAsync(String path) throws AlgoliaRuntimeExc
38273807
* @param requestOptions The requestOptions to send along with the query, they will be merged with
38283808
* the transporter requestOptions.
38293809
* @return Object
3830-
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
3831-
* deserialize the response body
3810+
* @throws AlgoliaRuntimeException If it fails to process the API call
38323811
*/
38333812
public Object put(String path, Map<String, Object> parameters, Object body, RequestOptions requestOptions)
38343813
throws AlgoliaRuntimeException {

0 commit comments

Comments
 (0)