Skip to content

Commit 421afb1

Browse files
committed
build(codegen): updating SDK
1 parent dcc80f7 commit 421afb1

27 files changed

+510
-508
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsByIDProductsGet.java

Lines changed: 84 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ public List<String> getWhere() {
103103
return this.getQueryParam("where");
104104
}
105105

106+
public List<String> getWithTotal() {
107+
return this.getQueryParam("withTotal");
108+
}
109+
106110
public List<String> getExpand() {
107111
return this.getQueryParam("expand");
108112
}
@@ -115,10 +119,6 @@ public List<String> getOffset() {
115119
return this.getQueryParam("offset");
116120
}
117121

118-
public List<String> getWithTotal() {
119-
return this.getQueryParam("withTotal");
120-
}
121-
122122
public List<String> getSort() {
123123
return this.getQueryParam("sort");
124124
}
@@ -210,6 +210,86 @@ public <TValue> ByProjectKeyProductSelectionsByIDProductsGet addWhere(final Coll
210210
where.stream().map(s -> new ParamEntry<>("where", s.toString())).collect(Collectors.toList()));
211211
}
212212

213+
/**
214+
* set withTotal with the specified value
215+
* @param withTotal value to be set
216+
* @param <TValue> value type
217+
* @return ByProjectKeyProductSelectionsByIDProductsGet
218+
*/
219+
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final TValue withTotal) {
220+
return copy().withQueryParam("withTotal", withTotal);
221+
}
222+
223+
/**
224+
* add additional withTotal query parameter
225+
* @param withTotal value to be added
226+
* @param <TValue> value type
227+
* @return ByProjectKeyProductSelectionsByIDProductsGet
228+
*/
229+
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final TValue withTotal) {
230+
return copy().addQueryParam("withTotal", withTotal);
231+
}
232+
233+
/**
234+
* set withTotal with the specified value
235+
* @param supplier supplier for the value to be set
236+
* @return ByProjectKeyProductSelectionsByIDProductsGet
237+
*/
238+
public ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final Supplier<Boolean> supplier) {
239+
return copy().withQueryParam("withTotal", supplier.get());
240+
}
241+
242+
/**
243+
* add additional withTotal query parameter
244+
* @param supplier supplier for the value to be added
245+
* @return ByProjectKeyProductSelectionsByIDProductsGet
246+
*/
247+
public ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final Supplier<Boolean> supplier) {
248+
return copy().addQueryParam("withTotal", supplier.get());
249+
}
250+
251+
/**
252+
* set withTotal with the specified value
253+
* @param op builder for the value to be set
254+
* @return ByProjectKeyProductSelectionsByIDProductsGet
255+
*/
256+
public ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final Function<StringBuilder, StringBuilder> op) {
257+
return copy().withQueryParam("withTotal", op.apply(new StringBuilder()));
258+
}
259+
260+
/**
261+
* add additional withTotal query parameter
262+
* @param op builder for the value to be added
263+
* @return ByProjectKeyProductSelectionsByIDProductsGet
264+
*/
265+
public ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final Function<StringBuilder, StringBuilder> op) {
266+
return copy().addQueryParam("withTotal", op.apply(new StringBuilder()));
267+
}
268+
269+
/**
270+
* set withTotal with the specified values
271+
* @param withTotal values to be set
272+
* @param <TValue> value type
273+
* @return ByProjectKeyProductSelectionsByIDProductsGet
274+
*/
275+
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final Collection<TValue> withTotal) {
276+
return copy().withoutQueryParam("withTotal")
277+
.addQueryParams(withTotal.stream()
278+
.map(s -> new ParamEntry<>("withTotal", s.toString()))
279+
.collect(Collectors.toList()));
280+
}
281+
282+
/**
283+
* add additional withTotal query parameters
284+
* @param withTotal values to be added
285+
* @param <TValue> value type
286+
* @return ByProjectKeyProductSelectionsByIDProductsGet
287+
*/
288+
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final Collection<TValue> withTotal) {
289+
return copy().addQueryParams(
290+
withTotal.stream().map(s -> new ParamEntry<>("withTotal", s.toString())).collect(Collectors.toList()));
291+
}
292+
213293
/**
214294
* set expand with the specified value
215295
* @param expand value to be set
@@ -447,86 +527,6 @@ public <TValue> ByProjectKeyProductSelectionsByIDProductsGet addOffset(final Col
447527
offset.stream().map(s -> new ParamEntry<>("offset", s.toString())).collect(Collectors.toList()));
448528
}
449529

450-
/**
451-
* set withTotal with the specified value
452-
* @param withTotal value to be set
453-
* @param <TValue> value type
454-
* @return ByProjectKeyProductSelectionsByIDProductsGet
455-
*/
456-
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final TValue withTotal) {
457-
return copy().withQueryParam("withTotal", withTotal);
458-
}
459-
460-
/**
461-
* add additional withTotal query parameter
462-
* @param withTotal value to be added
463-
* @param <TValue> value type
464-
* @return ByProjectKeyProductSelectionsByIDProductsGet
465-
*/
466-
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final TValue withTotal) {
467-
return copy().addQueryParam("withTotal", withTotal);
468-
}
469-
470-
/**
471-
* set withTotal with the specified value
472-
* @param supplier supplier for the value to be set
473-
* @return ByProjectKeyProductSelectionsByIDProductsGet
474-
*/
475-
public ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final Supplier<Boolean> supplier) {
476-
return copy().withQueryParam("withTotal", supplier.get());
477-
}
478-
479-
/**
480-
* add additional withTotal query parameter
481-
* @param supplier supplier for the value to be added
482-
* @return ByProjectKeyProductSelectionsByIDProductsGet
483-
*/
484-
public ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final Supplier<Boolean> supplier) {
485-
return copy().addQueryParam("withTotal", supplier.get());
486-
}
487-
488-
/**
489-
* set withTotal with the specified value
490-
* @param op builder for the value to be set
491-
* @return ByProjectKeyProductSelectionsByIDProductsGet
492-
*/
493-
public ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final Function<StringBuilder, StringBuilder> op) {
494-
return copy().withQueryParam("withTotal", op.apply(new StringBuilder()));
495-
}
496-
497-
/**
498-
* add additional withTotal query parameter
499-
* @param op builder for the value to be added
500-
* @return ByProjectKeyProductSelectionsByIDProductsGet
501-
*/
502-
public ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final Function<StringBuilder, StringBuilder> op) {
503-
return copy().addQueryParam("withTotal", op.apply(new StringBuilder()));
504-
}
505-
506-
/**
507-
* set withTotal with the specified values
508-
* @param withTotal values to be set
509-
* @param <TValue> value type
510-
* @return ByProjectKeyProductSelectionsByIDProductsGet
511-
*/
512-
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final Collection<TValue> withTotal) {
513-
return copy().withoutQueryParam("withTotal")
514-
.addQueryParams(withTotal.stream()
515-
.map(s -> new ParamEntry<>("withTotal", s.toString()))
516-
.collect(Collectors.toList()));
517-
}
518-
519-
/**
520-
* add additional withTotal query parameters
521-
* @param withTotal values to be added
522-
* @param <TValue> value type
523-
* @return ByProjectKeyProductSelectionsByIDProductsGet
524-
*/
525-
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final Collection<TValue> withTotal) {
526-
return copy().addQueryParams(
527-
withTotal.stream().map(s -> new ParamEntry<>("withTotal", s.toString())).collect(Collectors.toList()));
528-
}
529-
530530
/**
531531
* set sort with the specified value
532532
* @param sort value to be set

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductSelectionsKeyByKeyProductsGet.java

Lines changed: 86 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ public List<String> getWhere() {
103103
return this.getQueryParam("where");
104104
}
105105

106+
public List<String> getWithTotal() {
107+
return this.getQueryParam("withTotal");
108+
}
109+
106110
public List<String> getExpand() {
107111
return this.getQueryParam("expand");
108112
}
@@ -115,10 +119,6 @@ public List<String> getOffset() {
115119
return this.getQueryParam("offset");
116120
}
117121

118-
public List<String> getWithTotal() {
119-
return this.getQueryParam("withTotal");
120-
}
121-
122122
public List<String> getSort() {
123123
return this.getQueryParam("sort");
124124
}
@@ -210,6 +210,88 @@ public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addWhere(final
210210
where.stream().map(s -> new ParamEntry<>("where", s.toString())).collect(Collectors.toList()));
211211
}
212212

213+
/**
214+
* set withTotal with the specified value
215+
* @param withTotal value to be set
216+
* @param <TValue> value type
217+
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
218+
*/
219+
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(final TValue withTotal) {
220+
return copy().withQueryParam("withTotal", withTotal);
221+
}
222+
223+
/**
224+
* add additional withTotal query parameter
225+
* @param withTotal value to be added
226+
* @param <TValue> value type
227+
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
228+
*/
229+
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(final TValue withTotal) {
230+
return copy().addQueryParam("withTotal", withTotal);
231+
}
232+
233+
/**
234+
* set withTotal with the specified value
235+
* @param supplier supplier for the value to be set
236+
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
237+
*/
238+
public ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(final Supplier<Boolean> supplier) {
239+
return copy().withQueryParam("withTotal", supplier.get());
240+
}
241+
242+
/**
243+
* add additional withTotal query parameter
244+
* @param supplier supplier for the value to be added
245+
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
246+
*/
247+
public ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(final Supplier<Boolean> supplier) {
248+
return copy().addQueryParam("withTotal", supplier.get());
249+
}
250+
251+
/**
252+
* set withTotal with the specified value
253+
* @param op builder for the value to be set
254+
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
255+
*/
256+
public ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(
257+
final Function<StringBuilder, StringBuilder> op) {
258+
return copy().withQueryParam("withTotal", op.apply(new StringBuilder()));
259+
}
260+
261+
/**
262+
* add additional withTotal query parameter
263+
* @param op builder for the value to be added
264+
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
265+
*/
266+
public ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(
267+
final Function<StringBuilder, StringBuilder> op) {
268+
return copy().addQueryParam("withTotal", op.apply(new StringBuilder()));
269+
}
270+
271+
/**
272+
* set withTotal with the specified values
273+
* @param withTotal values to be set
274+
* @param <TValue> value type
275+
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
276+
*/
277+
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(final Collection<TValue> withTotal) {
278+
return copy().withoutQueryParam("withTotal")
279+
.addQueryParams(withTotal.stream()
280+
.map(s -> new ParamEntry<>("withTotal", s.toString()))
281+
.collect(Collectors.toList()));
282+
}
283+
284+
/**
285+
* add additional withTotal query parameters
286+
* @param withTotal values to be added
287+
* @param <TValue> value type
288+
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
289+
*/
290+
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(final Collection<TValue> withTotal) {
291+
return copy().addQueryParams(
292+
withTotal.stream().map(s -> new ParamEntry<>("withTotal", s.toString())).collect(Collectors.toList()));
293+
}
294+
213295
/**
214296
* set expand with the specified value
215297
* @param expand value to be set
@@ -449,88 +531,6 @@ public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addOffset(final
449531
offset.stream().map(s -> new ParamEntry<>("offset", s.toString())).collect(Collectors.toList()));
450532
}
451533

452-
/**
453-
* set withTotal with the specified value
454-
* @param withTotal value to be set
455-
* @param <TValue> value type
456-
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
457-
*/
458-
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(final TValue withTotal) {
459-
return copy().withQueryParam("withTotal", withTotal);
460-
}
461-
462-
/**
463-
* add additional withTotal query parameter
464-
* @param withTotal value to be added
465-
* @param <TValue> value type
466-
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
467-
*/
468-
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(final TValue withTotal) {
469-
return copy().addQueryParam("withTotal", withTotal);
470-
}
471-
472-
/**
473-
* set withTotal with the specified value
474-
* @param supplier supplier for the value to be set
475-
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
476-
*/
477-
public ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(final Supplier<Boolean> supplier) {
478-
return copy().withQueryParam("withTotal", supplier.get());
479-
}
480-
481-
/**
482-
* add additional withTotal query parameter
483-
* @param supplier supplier for the value to be added
484-
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
485-
*/
486-
public ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(final Supplier<Boolean> supplier) {
487-
return copy().addQueryParam("withTotal", supplier.get());
488-
}
489-
490-
/**
491-
* set withTotal with the specified value
492-
* @param op builder for the value to be set
493-
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
494-
*/
495-
public ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(
496-
final Function<StringBuilder, StringBuilder> op) {
497-
return copy().withQueryParam("withTotal", op.apply(new StringBuilder()));
498-
}
499-
500-
/**
501-
* add additional withTotal query parameter
502-
* @param op builder for the value to be added
503-
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
504-
*/
505-
public ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(
506-
final Function<StringBuilder, StringBuilder> op) {
507-
return copy().addQueryParam("withTotal", op.apply(new StringBuilder()));
508-
}
509-
510-
/**
511-
* set withTotal with the specified values
512-
* @param withTotal values to be set
513-
* @param <TValue> value type
514-
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
515-
*/
516-
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(final Collection<TValue> withTotal) {
517-
return copy().withoutQueryParam("withTotal")
518-
.addQueryParams(withTotal.stream()
519-
.map(s -> new ParamEntry<>("withTotal", s.toString()))
520-
.collect(Collectors.toList()));
521-
}
522-
523-
/**
524-
* add additional withTotal query parameters
525-
* @param withTotal values to be added
526-
* @param <TValue> value type
527-
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
528-
*/
529-
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(final Collection<TValue> withTotal) {
530-
return copy().addQueryParams(
531-
withTotal.stream().map(s -> new ParamEntry<>("withTotal", s.toString())).collect(Collectors.toList()));
532-
}
533-
534534
/**
535535
* set sort with the specified value
536536
* @param sort value to be set

0 commit comments

Comments
 (0)