Skip to content

Commit

Permalink
SWI-6690 Regenerate with v7.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ckoegel committed Dec 6, 2024
1 parent 6d8d36e commit 2428044
Show file tree
Hide file tree
Showing 102 changed files with 2,346 additions and 2,139 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.9.0
7.10.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Bandwidth
- API version: 1.0.0
- Generator version: 7.9.0
- Generator version: 7.10.0

Bandwidth's Communication APIs

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ dependencies {
implementation 'io.gsonfire:gson-fire:1.9.0'
implementation 'jakarta.ws.rs:jakarta.ws.rs-api:2.1.6'
implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.17.0'
implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.3'
testImplementation 'org.mockito:mockito-core:3.12.4'
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ lazy val root = (project in file(".")).
"com.squareup.okhttp3" % "okhttp" % "4.12.0",
"com.squareup.okhttp3" % "logging-interceptor" % "4.12.0",
"com.google.code.gson" % "gson" % "2.9.1",
"org.apache.commons" % "commons-lang3" % "3.12.0",
"org.apache.commons" % "commons-lang3" % "3.17.0",
"jakarta.ws.rs" % "jakarta.ws.rs-api" % "2.1.6",
"org.openapitools" % "jackson-databind-nullable" % "0.2.6",
"io.gsonfire" % "gson-fire" % "1.9.0" % "compile",
Expand Down
597 changes: 0 additions & 597 deletions custom_templates/api.mustache

This file was deleted.

2 changes: 1 addition & 1 deletion openapitools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
"version": "7.9.0"
"version": "7.10.0"
}
}
3 changes: 2 additions & 1 deletion src/main/java/com/bandwidth/sdk/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ public List<Pair> parameterToPairs(String collectionFormat, String name, Collect
return params;
}

/**
/**
* Formats the specified free-form query parameters to a list of {@code Pair} objects.
*
* @param value The free-form query parameters.
Expand All @@ -749,6 +749,7 @@ public List<Pair> freeFormParameterToPairs(Object value) {
return params;
}

@SuppressWarnings("unchecked")
final Map<String, Object> valuesMap = (Map<String, Object>) value;

for (Map.Entry<String, Object> entry : valuesMap.entrySet()) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/bandwidth/sdk/ApiException.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* <p>ApiException class.</p>
*/
@SuppressWarnings("serial")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0")
public class ApiException extends Exception {
private static final long serialVersionUID = 1L;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/bandwidth/sdk/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

package com.bandwidth.sdk;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0")
public class Configuration {
public static final String VERSION = "1.0.0-dev";

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/bandwidth/sdk/Pair.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

package com.bandwidth.sdk;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0")
public class Pair {
private String name = "";
private String value = "";
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/bandwidth/sdk/ServerConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* Representing a Server configuration.
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0")
public class ServerConfiguration {
public String URL;
public String description;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/bandwidth/sdk/ServerVariable.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* Representing a Server Variable for server URL template substitution.
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0")
public class ServerVariable {
public String description;
public String defaultValue;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/bandwidth/sdk/StringUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import java.util.Collection;
import java.util.Iterator;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
Expand Down
60 changes: 40 additions & 20 deletions src/main/java/com/bandwidth/sdk/api/CallsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ public void setCustomBaseUrl(String customBaseUrl) {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 201 </td><td> Created </td><td> * Location - The URL for further interactions with this call <br> </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -167,7 +168,8 @@ private okhttp3.Call createCallValidateBeforeCall(String accountId, CreateCall c
* @return CreateCallResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 201 </td><td> Created </td><td> * Location - The URL for further interactions with this call <br> </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand All @@ -193,7 +195,8 @@ public CreateCallResponse createCall(String accountId, CreateCall createCall) th
* @return ApiResponse&lt;CreateCallResponse&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 201 </td><td> Created </td><td> * Location - The URL for further interactions with this call <br> </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -221,7 +224,8 @@ public ApiResponse<CreateCallResponse> createCallWithHttpInfo(String accountId,
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 201 </td><td> Created </td><td> * Location - The URL for further interactions with this call <br> </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -249,7 +253,8 @@ public okhttp3.Call createCallAsync(String accountId, CreateCall createCall, fin
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -332,7 +337,8 @@ private okhttp3.Call getCallStateValidateBeforeCall(String accountId, String cal
* @return CallState
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand All @@ -358,7 +364,8 @@ public CallState getCallState(String accountId, String callId) throws ApiExcepti
* @return ApiResponse&lt;CallState&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -386,7 +393,8 @@ public ApiResponse<CallState> getCallStateWithHttpInfo(String accountId, String
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -420,7 +428,8 @@ public okhttp3.Call getCallStateAsync(String accountId, String callId, final Api
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -531,7 +540,8 @@ private okhttp3.Call listCallsValidateBeforeCall(String accountId, String to, St
* @return List&lt;CallState&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -563,7 +573,8 @@ public List<CallState> listCalls(String accountId, String to, String from, Strin
* @return ApiResponse&lt;List&lt;CallState&gt;&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -597,7 +608,8 @@ public ApiResponse<List<CallState>> listCallsWithHttpInfo(String accountId, Stri
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -626,7 +638,8 @@ public okhttp3.Call listCallsAsync(String accountId, String to, String from, Str
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -716,7 +729,8 @@ private okhttp3.Call updateCallValidateBeforeCall(String accountId, String callI
* @param updateCall JSON object containing information to redirect an existing call to a new BXML document (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand All @@ -743,7 +757,8 @@ public void updateCall(String accountId, String callId, UpdateCall updateCall) t
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -772,7 +787,8 @@ public ApiResponse<Void> updateCallWithHttpInfo(String accountId, String callId,
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -801,7 +817,8 @@ public okhttp3.Call updateCallAsync(String accountId, String callId, UpdateCall
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 204 </td><td> Call BXML was successfully replaced. </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -891,7 +908,8 @@ private okhttp3.Call updateCallBxmlValidateBeforeCall(String accountId, String c
* @param body (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 204 </td><td> Call BXML was successfully replaced. </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand All @@ -918,7 +936,8 @@ public void updateCallBxml(String accountId, String callId, String body) throws
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 204 </td><td> Call BXML was successfully replaced. </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down Expand Up @@ -947,7 +966,8 @@ public ApiResponse<Void> updateCallBxmlWithHttpInfo(String accountId, String cal
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @http.response.details
<table summary="Response Details" border="1">
<table border="1">
<caption>Response Details</caption>
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 204 </td><td> Call BXML was successfully replaced. </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
Expand Down
Loading

0 comments on commit 2428044

Please sign in to comment.