Skip to content

Commit 9d6d37f

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

File tree

8 files changed

+67
-51
lines changed

8 files changed

+67
-51
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public Object del(String path, Map<String, Object> parameters)
236236
}
237237

238238
public Object del(String path) throws AlgoliaRuntimeException {
239-
return this.del(path, new HashMap<>());
239+
return this.del(path, null);
240240
}
241241

242242
/**
@@ -429,7 +429,7 @@ public Object get(String path, Map<String, Object> parameters)
429429
}
430430

431431
public Object get(String path) throws AlgoliaRuntimeException {
432-
return this.get(path, new HashMap<>());
432+
return this.get(path, null);
433433
}
434434

435435
/**
@@ -615,7 +615,7 @@ public ListABTestsResponse listABTests(Integer offset, Integer limit)
615615
}
616616

617617
public ListABTestsResponse listABTests() throws AlgoliaRuntimeException {
618-
return this.listABTests(0, 10);
618+
return this.listABTests(null, null);
619619
}
620620

621621
/**
@@ -725,7 +725,7 @@ public Object post(String path, Map<String, Object> parameters, Object body)
725725
}
726726

727727
public Object post(String path) throws AlgoliaRuntimeException {
728-
return this.post(path, new HashMap<>(), null);
728+
return this.post(path, null, null);
729729
}
730730

731731
/**
@@ -834,7 +834,7 @@ public Object put(String path, Map<String, Object> parameters, Object body)
834834
}
835835

836836
public Object put(String path) throws AlgoliaRuntimeException {
837-
return this.put(path, new HashMap<>(), null);
837+
return this.put(path, null, null);
838838
}
839839

840840
/**

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

Lines changed: 33 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public Object del(String path, Map<String, Object> parameters)
147147
}
148148

149149
public Object del(String path) throws AlgoliaRuntimeException {
150-
return this.del(path, new HashMap<>());
150+
return this.del(path, null);
151151
}
152152

153153
/**
@@ -251,7 +251,7 @@ public Object get(String path, Map<String, Object> parameters)
251251
}
252252

253253
public Object get(String path) throws AlgoliaRuntimeException {
254-
return this.get(path, new HashMap<>());
254+
return this.get(path, null);
255255
}
256256

257257
/**
@@ -1475,7 +1475,7 @@ public GetSearchesNoClicksResponse getSearchesNoClicks(
14751475

14761476
public GetSearchesNoClicksResponse getSearchesNoClicks(String index)
14771477
throws AlgoliaRuntimeException {
1478-
return this.getSearchesNoClicks(index, null, null, 10, 0, null);
1478+
return this.getSearchesNoClicks(index, null, null, null, null, null);
14791479
}
14801480

14811481
/**
@@ -1661,7 +1661,7 @@ public GetSearchesNoResultsResponse getSearchesNoResults(
16611661

16621662
public GetSearchesNoResultsResponse getSearchesNoResults(String index)
16631663
throws AlgoliaRuntimeException {
1664-
return this.getSearchesNoResults(index, null, null, 10, 0, null);
1664+
return this.getSearchesNoResults(index, null, null, null, null, null);
16651665
}
16661666

16671667
/**
@@ -1938,7 +1938,7 @@ public GetTopCountriesResponse getTopCountries(
19381938

19391939
public GetTopCountriesResponse getTopCountries(String index)
19401940
throws AlgoliaRuntimeException {
1941-
return this.getTopCountries(index, null, null, 10, 0, null);
1941+
return this.getTopCountries(index, null, null, null, null, null);
19421942
}
19431943

19441944
/**
@@ -2133,7 +2133,15 @@ public GetTopFilterAttributesResponse getTopFilterAttributes(
21332133

21342134
public GetTopFilterAttributesResponse getTopFilterAttributes(String index)
21352135
throws AlgoliaRuntimeException {
2136-
return this.getTopFilterAttributes(index, null, null, null, 10, 0, null);
2136+
return this.getTopFilterAttributes(
2137+
index,
2138+
null,
2139+
null,
2140+
null,
2141+
null,
2142+
null,
2143+
null
2144+
);
21372145
}
21382146

21392147
/**
@@ -2358,8 +2366,8 @@ public GetTopFilterForAttributeResponse getTopFilterForAttribute(
23582366
null,
23592367
null,
23602368
null,
2361-
10,
2362-
0,
2369+
null,
2370+
null,
23632371
null
23642372
);
23652373
}
@@ -2564,7 +2572,15 @@ public GetTopFiltersNoResultsResponse getTopFiltersNoResults(
25642572

25652573
public GetTopFiltersNoResultsResponse getTopFiltersNoResults(String index)
25662574
throws AlgoliaRuntimeException {
2567-
return this.getTopFiltersNoResults(index, null, null, null, 10, 0, null);
2575+
return this.getTopFiltersNoResults(
2576+
index,
2577+
null,
2578+
null,
2579+
null,
2580+
null,
2581+
null,
2582+
null
2583+
);
25682584
}
25692585

25702586
/**
@@ -2772,7 +2788,7 @@ public GetTopHitsResponse getTopHits(
27722788

27732789
public GetTopHitsResponse getTopHits(String index)
27742790
throws AlgoliaRuntimeException {
2775-
return this.getTopHits(index, null, false, null, null, 10, 0, null);
2791+
return this.getTopHits(index, null, null, null, null, null, null, null);
27762792
}
27772793

27782794
/**
@@ -2998,13 +3014,13 @@ public GetTopSearchesResponse getTopSearches(String index)
29983014
throws AlgoliaRuntimeException {
29993015
return this.getTopSearches(
30003016
index,
3001-
false,
30023017
null,
30033018
null,
3004-
OrderBy.SEARCH_COUNT,
3005-
Direction.ASC,
3006-
10,
3007-
0,
3019+
null,
3020+
null,
3021+
null,
3022+
null,
3023+
null,
30083024
null
30093025
);
30103026
}
@@ -3294,7 +3310,7 @@ public Object post(String path, Map<String, Object> parameters, Object body)
32943310
}
32953311

32963312
public Object post(String path) throws AlgoliaRuntimeException {
3297-
return this.post(path, new HashMap<>(), null);
3313+
return this.post(path, null, null);
32983314
}
32993315

33003316
/**
@@ -3403,7 +3419,7 @@ public Object put(String path, Map<String, Object> parameters, Object body)
34033419
}
34043420

34053421
public Object put(String path) throws AlgoliaRuntimeException {
3406-
return this.put(path, new HashMap<>(), null);
3422+
return this.put(path, null, null);
34073423
}
34083424

34093425
/**

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public Object del(String path, Map<String, Object> parameters)
147147
}
148148

149149
public Object del(String path) throws AlgoliaRuntimeException {
150-
return this.del(path, new HashMap<>());
150+
return this.del(path, null);
151151
}
152152

153153
/**
@@ -251,7 +251,7 @@ public Object get(String path, Map<String, Object> parameters)
251251
}
252252

253253
public Object get(String path) throws AlgoliaRuntimeException {
254-
return this.get(path, new HashMap<>());
254+
return this.get(path, null);
255255
}
256256

257257
/**
@@ -358,7 +358,7 @@ public Object post(String path, Map<String, Object> parameters, Object body)
358358
}
359359

360360
public Object post(String path) throws AlgoliaRuntimeException {
361-
return this.post(path, new HashMap<>(), null);
361+
return this.post(path, null, null);
362362
}
363363

364364
/**
@@ -552,7 +552,7 @@ public Object put(String path, Map<String, Object> parameters, Object body)
552552
}
553553

554554
public Object put(String path) throws AlgoliaRuntimeException {
555-
return this.put(path, new HashMap<>(), null);
555+
return this.put(path, null, null);
556556
}
557557

558558
/**

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public Object del(String path, Map<String, Object> parameters)
149149
}
150150

151151
public Object del(String path) throws AlgoliaRuntimeException {
152-
return this.del(path, new HashMap<>());
152+
return this.del(path, null);
153153
}
154154

155155
/**
@@ -354,7 +354,7 @@ public Object get(String path, Map<String, Object> parameters)
354354
}
355355

356356
public Object get(String path) throws AlgoliaRuntimeException {
357-
return this.get(path, new HashMap<>());
357+
return this.get(path, null);
358358
}
359359

360360
/**
@@ -641,7 +641,7 @@ public Object post(String path, Map<String, Object> parameters, Object body)
641641
}
642642

643643
public Object post(String path) throws AlgoliaRuntimeException {
644-
return this.post(path, new HashMap<>(), null);
644+
return this.post(path, null, null);
645645
}
646646

647647
/**
@@ -750,7 +750,7 @@ public Object put(String path, Map<String, Object> parameters, Object body)
750750
}
751751

752752
public Object put(String path) throws AlgoliaRuntimeException {
753-
return this.put(path, new HashMap<>(), null);
753+
return this.put(path, null, null);
754754
}
755755

756756
/**

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public Object del(String path, Map<String, Object> parameters)
142142
}
143143

144144
public Object del(String path) throws AlgoliaRuntimeException {
145-
return this.del(path, new HashMap<>());
145+
return this.del(path, null);
146146
}
147147

148148
/**
@@ -355,7 +355,7 @@ public Object get(String path, Map<String, Object> parameters)
355355
}
356356

357357
public Object get(String path) throws AlgoliaRuntimeException {
358-
return this.get(path, new HashMap<>());
358+
return this.get(path, null);
359359
}
360360

361361
/**
@@ -462,7 +462,7 @@ public Object post(String path, Map<String, Object> parameters, Object body)
462462
}
463463

464464
public Object post(String path) throws AlgoliaRuntimeException {
465-
return this.post(path, new HashMap<>(), null);
465+
return this.post(path, null, null);
466466
}
467467

468468
/**
@@ -571,7 +571,7 @@ public Object put(String path, Map<String, Object> parameters, Object body)
571571
}
572572

573573
public Object put(String path) throws AlgoliaRuntimeException {
574-
return this.put(path, new HashMap<>(), null);
574+
return this.put(path, null, null);
575575
}
576576

577577
/**

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public Object del(String path, Map<String, Object> parameters)
246246
}
247247

248248
public Object del(String path) throws AlgoliaRuntimeException {
249-
return this.del(path, new HashMap<>());
249+
return this.del(path, null);
250250
}
251251

252252
/**
@@ -445,7 +445,7 @@ public Object get(String path, Map<String, Object> parameters)
445445
}
446446

447447
public Object get(String path) throws AlgoliaRuntimeException {
448-
return this.get(path, new HashMap<>());
448+
return this.get(path, null);
449449
}
450450

451451
/**
@@ -906,7 +906,7 @@ public Object post(String path, Map<String, Object> parameters, Object body)
906906
}
907907

908908
public Object post(String path) throws AlgoliaRuntimeException {
909-
return this.post(path, new HashMap<>(), null);
909+
return this.post(path, null, null);
910910
}
911911

912912
/**
@@ -1015,7 +1015,7 @@ public Object put(String path, Map<String, Object> parameters, Object body)
10151015
}
10161016

10171017
public Object put(String path) throws AlgoliaRuntimeException {
1018-
return this.put(path, new HashMap<>(), null);
1018+
return this.put(path, null, null);
10191019
}
10201020

10211021
/**

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public Object del(String path, Map<String, Object> parameters)
181181
}
182182

183183
public Object del(String path) throws AlgoliaRuntimeException {
184-
return this.del(path, new HashMap<>());
184+
return this.del(path, null);
185185
}
186186

187187
/**
@@ -285,7 +285,7 @@ public Object get(String path, Map<String, Object> parameters)
285285
}
286286

287287
public Object get(String path) throws AlgoliaRuntimeException {
288-
return this.get(path, new HashMap<>());
288+
return this.get(path, null);
289289
}
290290

291291
/**
@@ -488,7 +488,7 @@ public Object post(String path, Map<String, Object> parameters, Object body)
488488
}
489489

490490
public Object post(String path) throws AlgoliaRuntimeException {
491-
return this.post(path, new HashMap<>(), null);
491+
return this.post(path, null, null);
492492
}
493493

494494
/**
@@ -597,7 +597,7 @@ public Object put(String path, Map<String, Object> parameters, Object body)
597597
}
598598

599599
public Object put(String path) throws AlgoliaRuntimeException {
600-
return this.put(path, new HashMap<>(), null);
600+
return this.put(path, null, null);
601601
}
602602

603603
/**

0 commit comments

Comments
 (0)