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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ public ByProjectKeyApiClientsByIDDelete(ByProjectKeyApiClientsByIDDelete t) {
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/api-clients/%s", this.projectKey, this.ID);
String httpRequestPath = String.format("%s/api-clients/%s", encodePathParam(this.projectKey),
encodePathParam(this.ID));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ public ByProjectKeyApiClientsByIDGet(ByProjectKeyApiClientsByIDGet t) {
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/api-clients/%s", this.projectKey, this.ID);
String httpRequestPath = String.format("%s/api-clients/%s", encodePathParam(this.projectKey),
encodePathParam(this.ID));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ public ByProjectKeyApiClientsByIDHead(ByProjectKeyApiClientsByIDHead t) {
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/api-clients/%s", this.projectKey, this.ID);
String httpRequestPath = String.format("%s/api-clients/%s", encodePathParam(this.projectKey),
encodePathParam(this.ID));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public ByProjectKeyApiClientsGet(ByProjectKeyApiClientsGet t) {
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/api-clients", this.projectKey);
String httpRequestPath = String.format("%s/api-clients", encodePathParam(this.projectKey));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public ByProjectKeyApiClientsHead(ByProjectKeyApiClientsHead t) {
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/api-clients", this.projectKey);
String httpRequestPath = String.format("%s/api-clients", encodePathParam(this.projectKey));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public ByProjectKeyApiClientsPost(ByProjectKeyApiClientsPost t) {
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/api-clients", this.projectKey);
String httpRequestPath = String.format("%s/api-clients", encodePathParam(this.projectKey));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet(
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", this.projectKey,
this.associateId, this.ID);
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", encodePathParam(this.projectKey),
encodePathParam(this.associateId), encodePathParam(this.ID));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDHead(
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", this.projectKey,
this.associateId, this.ID);
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", encodePathParam(this.projectKey),
encodePathParam(this.associateId), encodePathParam(this.ID));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost(
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", this.projectKey,
this.associateId, this.ID);
String httpRequestPath = String.format("%s/as-associate/%s/business-units/%s", encodePathParam(this.projectKey),
encodePathParam(this.associateId), encodePathParam(this.ID));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet(
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/business-units", this.projectKey, this.associateId);
String httpRequestPath = String.format("%s/as-associate/%s/business-units", encodePathParam(this.projectKey),
encodePathParam(this.associateId));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsHead(
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/business-units", this.projectKey, this.associateId);
String httpRequestPath = String.format("%s/as-associate/%s/business-units", encodePathParam(this.projectKey),
encodePathParam(this.associateId));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet(
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s", this.projectKey,
this.associateId, this.key);
String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s",
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.key));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyHead(
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s", this.projectKey,
this.associateId, this.key);
String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s",
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.key));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost(
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s", this.projectKey,
this.associateId, this.key);
String httpRequestPath = String.format("%s/as-associate/%s/business-units/key=%s",
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.key));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ public ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost(
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/business-units", this.projectKey, this.associateId);
String httpRequestPath = String.format("%s/as-associate/%s/business-units", encodePathParam(this.projectKey),
encodePathParam(this.associateId));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-flows/%s",
this.projectKey, this.associateId, this.businessUnitKey, this.ID);
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
encodePathParam(this.ID));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-flows/%s",
this.projectKey, this.associateId, this.businessUnitKey, this.ID);
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
encodePathParam(this.ID));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-flows",
this.projectKey, this.associateId, this.businessUnitKey);
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules/%s",
this.projectKey, this.associateId, this.businessUnitKey, this.ID);
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
encodePathParam(this.ID));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules/%s",
this.projectKey, this.associateId, this.businessUnitKey, this.ID);
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
encodePathParam(this.ID));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules",
this.projectKey, this.associateId, this.businessUnitKey);
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules/key=%s",
this.projectKey, this.associateId, this.businessUnitKey, this.key);
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
encodePathParam(this.key));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules/key=%s",
this.projectKey, this.associateId, this.businessUnitKey, this.key);
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
encodePathParam(this.key));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApp
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/approval-rules",
this.projectKey, this.associateId, this.businessUnitKey);
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", this.projectKey,
this.associateId, this.businessUnitKey, this.ID);
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s",
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
encodePathParam(this.ID));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", this.projectKey,
this.associateId, this.businessUnitKey, this.ID);
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s",
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
encodePathParam(this.ID));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", this.projectKey,
this.associateId, this.businessUnitKey, this.ID);
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s",
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
encodePathParam(this.ID));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s", this.projectKey,
this.associateId, this.businessUnitKey, this.ID);
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts/%s",
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey),
encodePathParam(this.ID));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts", this.projectKey,
this.associateId, this.businessUnitKey);
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts",
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ public ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCar
@Override
protected ApiHttpRequest buildHttpRequest() {
List<String> params = new ArrayList<>(getQueryParamUriStrings());
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts", this.projectKey,
this.associateId, this.businessUnitKey);
String httpRequestPath = String.format("%s/as-associate/%s/in-business-unit/key=%s/carts",
encodePathParam(this.projectKey), encodePathParam(this.associateId), encodePathParam(this.businessUnitKey));
if (!params.isEmpty()) {
httpRequestPath += "?" + String.join("&", params);
}
Expand Down
Loading