ApiException class.
*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ApiException extends Exception { private static final long serialVersionUID = 1L; diff --git a/src/main/java/com/bandwidth/sdk/Configuration.java b/src/main/java/com/bandwidth/sdk/Configuration.java index a2050f6a..285c19a9 100644 --- a/src/main/java/com/bandwidth/sdk/Configuration.java +++ b/src/main/java/com/bandwidth/sdk/Configuration.java @@ -13,9 +13,9 @@ package com.bandwidth.sdk; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Configuration { - public static final String VERSION = "9.1.4"; + public static final String VERSION = "10.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/com/bandwidth/sdk/JSON.java b/src/main/java/com/bandwidth/sdk/JSON.java index 028dcf6e..0659d01f 100644 --- a/src/main/java/com/bandwidth/sdk/JSON.java +++ b/src/main/java/com/bandwidth/sdk/JSON.java @@ -93,7 +93,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri return clazz; } - { + static { GsonBuilder gsonBuilder = createGson(); gsonBuilder.registerTypeAdapter(Date.class, dateTypeAdapter); gsonBuilder.registerTypeAdapter(java.sql.Date.class, sqlDateTypeAdapter); @@ -106,6 +106,9 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.BridgeTargetCompleteCallback.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CallRecordingMetadata.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CallState.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CallTranscription.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CallTranscriptionMetadata.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CallTranscriptionResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.CodeRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.Conference.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.ConferenceCompletedCallback.CustomTypeAdapterFactory()); @@ -154,6 +157,8 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.PageInfo.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RecordingAvailableCallback.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RecordingCompleteCallback.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RecordingTranscriptionMetadata.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RecordingTranscriptions.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RedirectCallback.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.StirShaken.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.Tag.CustomTypeAdapterFactory()); @@ -161,8 +166,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TranscribeRecording.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.Transcription.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TranscriptionAvailableCallback.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TranscriptionList.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TranscriptionMetadata.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TransferAnswerCallback.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TransferCompleteCallback.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.TransferDisconnectCallback.CustomTypeAdapterFactory()); diff --git a/src/main/java/com/bandwidth/sdk/Pair.java b/src/main/java/com/bandwidth/sdk/Pair.java index 93fad347..bb9a088b 100644 --- a/src/main/java/com/bandwidth/sdk/Pair.java +++ b/src/main/java/com/bandwidth/sdk/Pair.java @@ -13,7 +13,7 @@ package com.bandwidth.sdk; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/com/bandwidth/sdk/ServerConfiguration.java b/src/main/java/com/bandwidth/sdk/ServerConfiguration.java index df9dc784..b02050dc 100644 --- a/src/main/java/com/bandwidth/sdk/ServerConfiguration.java +++ b/src/main/java/com/bandwidth/sdk/ServerConfiguration.java @@ -5,6 +5,7 @@ /** * Representing a Server configuration. */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ServerConfiguration { public String URL; public String description; diff --git a/src/main/java/com/bandwidth/sdk/ServerVariable.java b/src/main/java/com/bandwidth/sdk/ServerVariable.java index 675f9e28..bc89b1ba 100644 --- a/src/main/java/com/bandwidth/sdk/ServerVariable.java +++ b/src/main/java/com/bandwidth/sdk/ServerVariable.java @@ -5,6 +5,7 @@ /** * Representing a Server Variable for server URL template substitution. */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ServerVariable { public String description; public String defaultValue; diff --git a/src/main/java/com/bandwidth/sdk/StringUtil.java b/src/main/java/com/bandwidth/sdk/StringUtil.java index 29277114..6b85f153 100644 --- a/src/main/java/com/bandwidth/sdk/StringUtil.java +++ b/src/main/java/com/bandwidth/sdk/StringUtil.java @@ -16,7 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/com/bandwidth/sdk/api/MediaApi.java b/src/main/java/com/bandwidth/sdk/api/MediaApi.java index b8eda7e9..d31a0e7e 100644 --- a/src/main/java/com/bandwidth/sdk/api/MediaApi.java +++ b/src/main/java/com/bandwidth/sdk/api/MediaApi.java @@ -677,6 +677,8 @@ public okhttp3.Call uploadMediaCall(String accountId, String mediaId, File body, "video/webm", "video/x-ms-wmv" }; + + if (contentType == null) { final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { diff --git a/src/main/java/com/bandwidth/sdk/api/RecordingsApi.java b/src/main/java/com/bandwidth/sdk/api/RecordingsApi.java index 5666d38a..5d6639bf 100644 --- a/src/main/java/com/bandwidth/sdk/api/RecordingsApi.java +++ b/src/main/java/com/bandwidth/sdk/api/RecordingsApi.java @@ -29,8 +29,8 @@ import com.bandwidth.sdk.model.CallRecordingMetadata; import java.io.File; +import com.bandwidth.sdk.model.RecordingTranscriptions; import com.bandwidth.sdk.model.TranscribeRecording; -import com.bandwidth.sdk.model.TranscriptionList; import com.bandwidth.sdk.model.UpdateCallRecording; import com.bandwidth.sdk.model.VoiceApiError; @@ -78,7 +78,7 @@ public void setCustomBaseUrl(String customBaseUrl) { } /** - * Build call for deleteCallTranscription + * Build call for deleteRecording * @param accountId Your Bandwidth Account ID. (required) * @param callId Programmable Voice API Call ID. (required) * @param recordingId Programmable Voice API Recording ID. (required) @@ -88,7 +88,7 @@ public void setCustomBaseUrl(String customBaseUrl) { * @http.response.detailsStatus Code | Description | Response Headers |
204 | The transcription was successfully deleted. | - |
204 | Recording was deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | The transcription was successfully deleted. | - |
204 | Recording was deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | The transcription was successfully deleted. | - |
204 | Recording was deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | The transcription was successfully deleted. | - |
204 | Recording was deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | Recording was deleted. | - |
204 | The recording media was successfully deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | Recording was deleted. | - |
204 | The recording media was successfully deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | Recording was deleted. | - |
204 | The recording media was successfully deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | Recording was deleted. | - |
204 | The recording media was successfully deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | The recording media was successfully deleted. | - |
204 | The transcription was successfully deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | The recording media was successfully deleted. | - |
204 | The transcription was successfully deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | The recording media was successfully deleted. | - |
204 | The transcription was successfully deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | The recording media was successfully deleted. | - |
204 | The transcription was successfully deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
200 | Transcription found | - |
200 | Transcription found. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
200 | Transcription found | - |
200 | Transcription found. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
200 | Transcription found | - |
200 | Transcription found. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
200 | Transcription found | - |
200 | Transcription found. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | Transcription data was deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
405 | Method Not Allowed | - |
415 | Unsupported Media Type | - |
429 | Too Many Requests | * Retry-After - When you should try your request again. |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | Transcription data was deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
405 | Method Not Allowed | - |
415 | Unsupported Media Type | - |
429 | Too Many Requests | * Retry-After - When you should try your request again. |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | Transcription data was deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
405 | Method Not Allowed | - |
415 | Unsupported Media Type | - |
429 | Too Many Requests | * Retry-After - When you should try your request again. |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
204 | Transcription data was deleted. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
405 | Method Not Allowed | - |
415 | Unsupported Media Type | - |
429 | Too Many Requests | * Retry-After - When you should try your request again. |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
200 | Transcription found. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
405 | Method Not Allowed | - |
415 | Unsupported Media Type | - |
429 | Too Many Requests | * Retry-After - When you should try your request again. |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
200 | Transcription found. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
405 | Method Not Allowed | - |
415 | Unsupported Media Type | - |
429 | Too Many Requests | * Retry-After - When you should try your request again. |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
200 | Transcription found. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
405 | Method Not Allowed | - |
415 | Unsupported Media Type | - |
429 | Too Many Requests | * Retry-After - When you should try your request again. |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
200 | Transcription found. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
405 | Method Not Allowed | - |
415 | Unsupported Media Type | - |
429 | Too Many Requests | * Retry-After - When you should try your request again. |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
200 | Transcription found. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
405 | Method Not Allowed | - |
415 | Unsupported Media Type | - |
429 | Too Many Requests | * Retry-After - When you should try your request again. |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
200 | Transcription found. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
405 | Method Not Allowed | - |
415 | Unsupported Media Type | - |
429 | Too Many Requests | * Retry-After - When you should try your request again. |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
200 | Transcription found. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
405 | Method Not Allowed | - |
415 | Unsupported Media Type | - |
429 | Too Many Requests | * Retry-After - When you should try your request again. |
500 | Internal Server Error | - |
Status Code | Description | Response Headers |
200 | Transcription found. | - |
400 | Bad Request | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
405 | Method Not Allowed | - |
415 | Unsupported Media Type | - |
429 | Too Many Requests | * Retry-After - When you should try your request again. |
500 | Internal Server Error | - |