Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated SDKs #357

Merged
merged 1 commit into from Oct 24, 2022
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.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Expand Up @@ -4,6 +4,7 @@
import java.net.URI;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.function.Function;
Expand Down Expand Up @@ -152,7 +153,7 @@ public ByProjectKeyApiClientsGet addExpand(final Function<StringBuilder, StringB
/**
* set expand with the specified values
*/
public <TValue> ByProjectKeyApiClientsGet withExpand(final List<TValue> expand) {
public <TValue> ByProjectKeyApiClientsGet withExpand(final Collection<TValue> expand) {
return copy().withoutQueryParam("expand")
.addQueryParams(
expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList()));
Expand All @@ -161,7 +162,7 @@ public <TValue> ByProjectKeyApiClientsGet withExpand(final List<TValue> expand)
/**
* add additional expand query parameters
*/
public <TValue> ByProjectKeyApiClientsGet addExpand(final List<TValue> expand) {
public <TValue> ByProjectKeyApiClientsGet addExpand(final Collection<TValue> expand) {
return copy().addQueryParams(
expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList()));
}
Expand Down Expand Up @@ -211,7 +212,7 @@ public ByProjectKeyApiClientsGet addSort(final Function<StringBuilder, StringBui
/**
* set sort with the specified values
*/
public <TValue> ByProjectKeyApiClientsGet withSort(final List<TValue> sort) {
public <TValue> ByProjectKeyApiClientsGet withSort(final Collection<TValue> sort) {
return copy().withoutQueryParam("sort")
.addQueryParams(
sort.stream().map(s -> new ParamEntry<>("sort", s.toString())).collect(Collectors.toList()));
Expand All @@ -220,7 +221,7 @@ public <TValue> ByProjectKeyApiClientsGet withSort(final List<TValue> sort) {
/**
* add additional sort query parameters
*/
public <TValue> ByProjectKeyApiClientsGet addSort(final List<TValue> sort) {
public <TValue> ByProjectKeyApiClientsGet addSort(final Collection<TValue> sort) {
return copy().addQueryParams(
sort.stream().map(s -> new ParamEntry<>("sort", s.toString())).collect(Collectors.toList()));
}
Expand Down Expand Up @@ -270,7 +271,7 @@ public ByProjectKeyApiClientsGet addLimit(final Function<StringBuilder, StringBu
/**
* set limit with the specified values
*/
public <TValue> ByProjectKeyApiClientsGet withLimit(final List<TValue> limit) {
public <TValue> ByProjectKeyApiClientsGet withLimit(final Collection<TValue> limit) {
return copy().withoutQueryParam("limit")
.addQueryParams(
limit.stream().map(s -> new ParamEntry<>("limit", s.toString())).collect(Collectors.toList()));
Expand All @@ -279,7 +280,7 @@ public <TValue> ByProjectKeyApiClientsGet withLimit(final List<TValue> limit) {
/**
* add additional limit query parameters
*/
public <TValue> ByProjectKeyApiClientsGet addLimit(final List<TValue> limit) {
public <TValue> ByProjectKeyApiClientsGet addLimit(final Collection<TValue> limit) {
return copy().addQueryParams(
limit.stream().map(s -> new ParamEntry<>("limit", s.toString())).collect(Collectors.toList()));
}
Expand Down Expand Up @@ -329,7 +330,7 @@ public ByProjectKeyApiClientsGet addOffset(final Function<StringBuilder, StringB
/**
* set offset with the specified values
*/
public <TValue> ByProjectKeyApiClientsGet withOffset(final List<TValue> offset) {
public <TValue> ByProjectKeyApiClientsGet withOffset(final Collection<TValue> offset) {
return copy().withoutQueryParam("offset")
.addQueryParams(
offset.stream().map(s -> new ParamEntry<>("offset", s.toString())).collect(Collectors.toList()));
Expand All @@ -338,7 +339,7 @@ public <TValue> ByProjectKeyApiClientsGet withOffset(final List<TValue> offset)
/**
* add additional offset query parameters
*/
public <TValue> ByProjectKeyApiClientsGet addOffset(final List<TValue> offset) {
public <TValue> ByProjectKeyApiClientsGet addOffset(final Collection<TValue> offset) {
return copy().addQueryParams(
offset.stream().map(s -> new ParamEntry<>("offset", s.toString())).collect(Collectors.toList()));
}
Expand Down Expand Up @@ -388,7 +389,7 @@ public ByProjectKeyApiClientsGet addWithTotal(final Function<StringBuilder, Stri
/**
* set withTotal with the specified values
*/
public <TValue> ByProjectKeyApiClientsGet withWithTotal(final List<TValue> withTotal) {
public <TValue> ByProjectKeyApiClientsGet withWithTotal(final Collection<TValue> withTotal) {
return copy().withoutQueryParam("withTotal")
.addQueryParams(withTotal.stream()
.map(s -> new ParamEntry<>("withTotal", s.toString()))
Expand All @@ -398,7 +399,7 @@ public <TValue> ByProjectKeyApiClientsGet withWithTotal(final List<TValue> withT
/**
* add additional withTotal query parameters
*/
public <TValue> ByProjectKeyApiClientsGet addWithTotal(final List<TValue> withTotal) {
public <TValue> ByProjectKeyApiClientsGet addWithTotal(final Collection<TValue> withTotal) {
return copy().addQueryParams(
withTotal.stream().map(s -> new ParamEntry<>("withTotal", s.toString())).collect(Collectors.toList()));
}
Expand Down Expand Up @@ -448,7 +449,7 @@ public ByProjectKeyApiClientsGet addWhere(final Function<StringBuilder, StringBu
/**
* set where with the specified values
*/
public <TValue> ByProjectKeyApiClientsGet withWhere(final List<TValue> where) {
public <TValue> ByProjectKeyApiClientsGet withWhere(final Collection<TValue> where) {
return copy().withoutQueryParam("where")
.addQueryParams(
where.stream().map(s -> new ParamEntry<>("where", s.toString())).collect(Collectors.toList()));
Expand All @@ -457,7 +458,7 @@ public <TValue> ByProjectKeyApiClientsGet withWhere(final List<TValue> where) {
/**
* add additional where query parameters
*/
public <TValue> ByProjectKeyApiClientsGet addWhere(final List<TValue> where) {
public <TValue> ByProjectKeyApiClientsGet addWhere(final Collection<TValue> where) {
return copy().addQueryParams(
where.stream().map(s -> new ParamEntry<>("where", s.toString())).collect(Collectors.toList()));
}
Expand All @@ -479,7 +480,8 @@ public <TValue> ByProjectKeyApiClientsGet addPredicateVar(final String varName,
/**
* set predicateVar with the specificied values
*/
public <TValue> ByProjectKeyApiClientsGet withPredicateVar(final String varName, final List<TValue> predicateVar) {
public <TValue> ByProjectKeyApiClientsGet withPredicateVar(final String varName,
final Collection<TValue> predicateVar) {
final String placeholderName = String.format("var.%s", varName);
return copy().withoutQueryParam(placeholderName)
.addQueryParams(predicateVar.stream()
Expand All @@ -490,7 +492,8 @@ public <TValue> ByProjectKeyApiClientsGet withPredicateVar(final String varName,
/**
* add additional predicateVar query parameters
*/
public <TValue> ByProjectKeyApiClientsGet addPredicateVar(final String varName, final List<TValue> predicateVar) {
public <TValue> ByProjectKeyApiClientsGet addPredicateVar(final String varName,
final Collection<TValue> predicateVar) {
final String placeholderName = String.format("var.%s", varName);
return copy().addQueryParams(predicateVar.stream()
.map(s -> new ParamEntry<>(placeholderName, s.toString()))
Expand Down
Expand Up @@ -4,6 +4,7 @@
import java.net.URI;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.function.Function;
Expand Down Expand Up @@ -136,7 +137,7 @@ public ByProjectKeyApiClientsPost addExpand(final Function<StringBuilder, String
/**
* set expand with the specified values
*/
public <TValue> ByProjectKeyApiClientsPost withExpand(final List<TValue> expand) {
public <TValue> ByProjectKeyApiClientsPost withExpand(final Collection<TValue> expand) {
return copy().withoutQueryParam("expand")
.addQueryParams(
expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList()));
Expand All @@ -145,7 +146,7 @@ public <TValue> ByProjectKeyApiClientsPost withExpand(final List<TValue> expand)
/**
* add additional expand query parameters
*/
public <TValue> ByProjectKeyApiClientsPost addExpand(final List<TValue> expand) {
public <TValue> ByProjectKeyApiClientsPost addExpand(final Collection<TValue> expand) {
return copy().addQueryParams(
expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList()));
}
Expand Down
Expand Up @@ -4,6 +4,7 @@
import java.net.URI;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.function.Function;
Expand Down Expand Up @@ -147,7 +148,7 @@ public ByProjectKeyBusinessUnitsByIDDelete addVersion(final Function<StringBuild
/**
* set version with the specified values
*/
public <TValue> ByProjectKeyBusinessUnitsByIDDelete withVersion(final List<TValue> version) {
public <TValue> ByProjectKeyBusinessUnitsByIDDelete withVersion(final Collection<TValue> version) {
return copy().withoutQueryParam("version")
.addQueryParams(
version.stream().map(s -> new ParamEntry<>("version", s.toString())).collect(Collectors.toList()));
Expand All @@ -156,7 +157,7 @@ public <TValue> ByProjectKeyBusinessUnitsByIDDelete withVersion(final List<TValu
/**
* add additional version query parameters
*/
public <TValue> ByProjectKeyBusinessUnitsByIDDelete addVersion(final List<TValue> version) {
public <TValue> ByProjectKeyBusinessUnitsByIDDelete addVersion(final Collection<TValue> version) {
return copy().addQueryParams(
version.stream().map(s -> new ParamEntry<>("version", s.toString())).collect(Collectors.toList()));
}
Expand Down Expand Up @@ -206,7 +207,7 @@ public ByProjectKeyBusinessUnitsByIDDelete addExpand(final Function<StringBuilde
/**
* set expand with the specified values
*/
public <TValue> ByProjectKeyBusinessUnitsByIDDelete withExpand(final List<TValue> expand) {
public <TValue> ByProjectKeyBusinessUnitsByIDDelete withExpand(final Collection<TValue> expand) {
return copy().withoutQueryParam("expand")
.addQueryParams(
expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList()));
Expand All @@ -215,7 +216,7 @@ public <TValue> ByProjectKeyBusinessUnitsByIDDelete withExpand(final List<TValue
/**
* add additional expand query parameters
*/
public <TValue> ByProjectKeyBusinessUnitsByIDDelete addExpand(final List<TValue> expand) {
public <TValue> ByProjectKeyBusinessUnitsByIDDelete addExpand(final Collection<TValue> expand) {
return copy().addQueryParams(
expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList()));
}
Expand Down
Expand Up @@ -4,6 +4,7 @@
import java.net.URI;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.function.Function;
Expand Down Expand Up @@ -140,7 +141,7 @@ public ByProjectKeyBusinessUnitsByIDGet addExpand(final Function<StringBuilder,
/**
* set expand with the specified values
*/
public <TValue> ByProjectKeyBusinessUnitsByIDGet withExpand(final List<TValue> expand) {
public <TValue> ByProjectKeyBusinessUnitsByIDGet withExpand(final Collection<TValue> expand) {
return copy().withoutQueryParam("expand")
.addQueryParams(
expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList()));
Expand All @@ -149,7 +150,7 @@ public <TValue> ByProjectKeyBusinessUnitsByIDGet withExpand(final List<TValue> e
/**
* add additional expand query parameters
*/
public <TValue> ByProjectKeyBusinessUnitsByIDGet addExpand(final List<TValue> expand) {
public <TValue> ByProjectKeyBusinessUnitsByIDGet addExpand(final Collection<TValue> expand) {
return copy().addQueryParams(
expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList()));
}
Expand Down
Expand Up @@ -4,6 +4,7 @@
import java.net.URI;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.function.Function;
Expand Down Expand Up @@ -149,7 +150,7 @@ public ByProjectKeyBusinessUnitsByIDPost addExpand(final Function<StringBuilder,
/**
* set expand with the specified values
*/
public <TValue> ByProjectKeyBusinessUnitsByIDPost withExpand(final List<TValue> expand) {
public <TValue> ByProjectKeyBusinessUnitsByIDPost withExpand(final Collection<TValue> expand) {
return copy().withoutQueryParam("expand")
.addQueryParams(
expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList()));
Expand All @@ -158,7 +159,7 @@ public <TValue> ByProjectKeyBusinessUnitsByIDPost withExpand(final List<TValue>
/**
* add additional expand query parameters
*/
public <TValue> ByProjectKeyBusinessUnitsByIDPost addExpand(final List<TValue> expand) {
public <TValue> ByProjectKeyBusinessUnitsByIDPost addExpand(final Collection<TValue> expand) {
return copy().addQueryParams(
expand.stream().map(s -> new ParamEntry<>("expand", s.toString())).collect(Collectors.toList()));
}
Expand Down