Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ public List<String> getWhere() {
return this.getQueryParam("where");
}

public List<String> getWithTotal() {
return this.getQueryParam("withTotal");
}

public List<String> getExpand() {
return this.getQueryParam("expand");
}
Expand All @@ -115,10 +119,6 @@ public List<String> getOffset() {
return this.getQueryParam("offset");
}

public List<String> getWithTotal() {
return this.getQueryParam("withTotal");
}

public List<String> getSort() {
return this.getQueryParam("sort");
}
Expand Down Expand Up @@ -210,6 +210,86 @@ public <TValue> ByProjectKeyProductSelectionsByIDProductsGet addWhere(final Coll
where.stream().map(s -> new ParamEntry<>("where", s.toString())).collect(Collectors.toList()));
}

/**
* set withTotal with the specified value
* @param withTotal value to be set
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final TValue withTotal) {
return copy().withQueryParam("withTotal", withTotal);
}

/**
* add additional withTotal query parameter
* @param withTotal value to be added
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final TValue withTotal) {
return copy().addQueryParam("withTotal", withTotal);
}

/**
* set withTotal with the specified value
* @param supplier supplier for the value to be set
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final Supplier<Boolean> supplier) {
return copy().withQueryParam("withTotal", supplier.get());
}

/**
* add additional withTotal query parameter
* @param supplier supplier for the value to be added
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final Supplier<Boolean> supplier) {
return copy().addQueryParam("withTotal", supplier.get());
}

/**
* set withTotal with the specified value
* @param op builder for the value to be set
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final Function<StringBuilder, StringBuilder> op) {
return copy().withQueryParam("withTotal", op.apply(new StringBuilder()));
}

/**
* add additional withTotal query parameter
* @param op builder for the value to be added
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final Function<StringBuilder, StringBuilder> op) {
return copy().addQueryParam("withTotal", op.apply(new StringBuilder()));
}

/**
* set withTotal with the specified values
* @param withTotal values to be set
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final Collection<TValue> withTotal) {
return copy().withoutQueryParam("withTotal")
.addQueryParams(withTotal.stream()
.map(s -> new ParamEntry<>("withTotal", s.toString()))
.collect(Collectors.toList()));
}

/**
* add additional withTotal query parameters
* @param withTotal values to be added
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final Collection<TValue> withTotal) {
return copy().addQueryParams(
withTotal.stream().map(s -> new ParamEntry<>("withTotal", s.toString())).collect(Collectors.toList()));
}

/**
* set expand with the specified value
* @param expand value to be set
Expand Down Expand Up @@ -447,86 +527,6 @@ public <TValue> ByProjectKeyProductSelectionsByIDProductsGet addOffset(final Col
offset.stream().map(s -> new ParamEntry<>("offset", s.toString())).collect(Collectors.toList()));
}

/**
* set withTotal with the specified value
* @param withTotal value to be set
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final TValue withTotal) {
return copy().withQueryParam("withTotal", withTotal);
}

/**
* add additional withTotal query parameter
* @param withTotal value to be added
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final TValue withTotal) {
return copy().addQueryParam("withTotal", withTotal);
}

/**
* set withTotal with the specified value
* @param supplier supplier for the value to be set
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final Supplier<Boolean> supplier) {
return copy().withQueryParam("withTotal", supplier.get());
}

/**
* add additional withTotal query parameter
* @param supplier supplier for the value to be added
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final Supplier<Boolean> supplier) {
return copy().addQueryParam("withTotal", supplier.get());
}

/**
* set withTotal with the specified value
* @param op builder for the value to be set
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final Function<StringBuilder, StringBuilder> op) {
return copy().withQueryParam("withTotal", op.apply(new StringBuilder()));
}

/**
* add additional withTotal query parameter
* @param op builder for the value to be added
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final Function<StringBuilder, StringBuilder> op) {
return copy().addQueryParam("withTotal", op.apply(new StringBuilder()));
}

/**
* set withTotal with the specified values
* @param withTotal values to be set
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet withWithTotal(final Collection<TValue> withTotal) {
return copy().withoutQueryParam("withTotal")
.addQueryParams(withTotal.stream()
.map(s -> new ParamEntry<>("withTotal", s.toString()))
.collect(Collectors.toList()));
}

/**
* add additional withTotal query parameters
* @param withTotal values to be added
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsByIDProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsByIDProductsGet addWithTotal(final Collection<TValue> withTotal) {
return copy().addQueryParams(
withTotal.stream().map(s -> new ParamEntry<>("withTotal", s.toString())).collect(Collectors.toList()));
}

/**
* set sort with the specified value
* @param sort value to be set
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ public List<String> getWhere() {
return this.getQueryParam("where");
}

public List<String> getWithTotal() {
return this.getQueryParam("withTotal");
}

public List<String> getExpand() {
return this.getQueryParam("expand");
}
Expand All @@ -115,10 +119,6 @@ public List<String> getOffset() {
return this.getQueryParam("offset");
}

public List<String> getWithTotal() {
return this.getQueryParam("withTotal");
}

public List<String> getSort() {
return this.getQueryParam("sort");
}
Expand Down Expand Up @@ -210,6 +210,88 @@ public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addWhere(final
where.stream().map(s -> new ParamEntry<>("where", s.toString())).collect(Collectors.toList()));
}

/**
* set withTotal with the specified value
* @param withTotal value to be set
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(final TValue withTotal) {
return copy().withQueryParam("withTotal", withTotal);
}

/**
* add additional withTotal query parameter
* @param withTotal value to be added
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(final TValue withTotal) {
return copy().addQueryParam("withTotal", withTotal);
}

/**
* set withTotal with the specified value
* @param supplier supplier for the value to be set
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(final Supplier<Boolean> supplier) {
return copy().withQueryParam("withTotal", supplier.get());
}

/**
* add additional withTotal query parameter
* @param supplier supplier for the value to be added
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(final Supplier<Boolean> supplier) {
return copy().addQueryParam("withTotal", supplier.get());
}

/**
* set withTotal with the specified value
* @param op builder for the value to be set
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(
final Function<StringBuilder, StringBuilder> op) {
return copy().withQueryParam("withTotal", op.apply(new StringBuilder()));
}

/**
* add additional withTotal query parameter
* @param op builder for the value to be added
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(
final Function<StringBuilder, StringBuilder> op) {
return copy().addQueryParam("withTotal", op.apply(new StringBuilder()));
}

/**
* set withTotal with the specified values
* @param withTotal values to be set
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(final Collection<TValue> withTotal) {
return copy().withoutQueryParam("withTotal")
.addQueryParams(withTotal.stream()
.map(s -> new ParamEntry<>("withTotal", s.toString()))
.collect(Collectors.toList()));
}

/**
* add additional withTotal query parameters
* @param withTotal values to be added
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(final Collection<TValue> withTotal) {
return copy().addQueryParams(
withTotal.stream().map(s -> new ParamEntry<>("withTotal", s.toString())).collect(Collectors.toList()));
}

/**
* set expand with the specified value
* @param expand value to be set
Expand Down Expand Up @@ -449,88 +531,6 @@ public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addOffset(final
offset.stream().map(s -> new ParamEntry<>("offset", s.toString())).collect(Collectors.toList()));
}

/**
* set withTotal with the specified value
* @param withTotal value to be set
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(final TValue withTotal) {
return copy().withQueryParam("withTotal", withTotal);
}

/**
* add additional withTotal query parameter
* @param withTotal value to be added
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(final TValue withTotal) {
return copy().addQueryParam("withTotal", withTotal);
}

/**
* set withTotal with the specified value
* @param supplier supplier for the value to be set
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(final Supplier<Boolean> supplier) {
return copy().withQueryParam("withTotal", supplier.get());
}

/**
* add additional withTotal query parameter
* @param supplier supplier for the value to be added
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(final Supplier<Boolean> supplier) {
return copy().addQueryParam("withTotal", supplier.get());
}

/**
* set withTotal with the specified value
* @param op builder for the value to be set
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(
final Function<StringBuilder, StringBuilder> op) {
return copy().withQueryParam("withTotal", op.apply(new StringBuilder()));
}

/**
* add additional withTotal query parameter
* @param op builder for the value to be added
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(
final Function<StringBuilder, StringBuilder> op) {
return copy().addQueryParam("withTotal", op.apply(new StringBuilder()));
}

/**
* set withTotal with the specified values
* @param withTotal values to be set
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet withWithTotal(final Collection<TValue> withTotal) {
return copy().withoutQueryParam("withTotal")
.addQueryParams(withTotal.stream()
.map(s -> new ParamEntry<>("withTotal", s.toString()))
.collect(Collectors.toList()));
}

/**
* add additional withTotal query parameters
* @param withTotal values to be added
* @param <TValue> value type
* @return ByProjectKeyProductSelectionsKeyByKeyProductsGet
*/
public <TValue> ByProjectKeyProductSelectionsKeyByKeyProductsGet addWithTotal(final Collection<TValue> withTotal) {
return copy().addQueryParams(
withTotal.stream().map(s -> new ParamEntry<>("withTotal", s.toString())).collect(Collectors.toList()));
}

/**
* set sort with the specified value
* @param sort value to be set
Expand Down
Loading