From 9d8d50aaf277fb547112824b074f15513211c7a2 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Tue, 17 Dec 2024 14:07:27 +0000 Subject: [PATCH] Generate SDK with OpenAPI Generator Version --- .openapi-generator/VERSION | 2 +- README.md | 2 +- api/openapi.yaml | 2 +- bandwidth.yml | 4 +- build.gradle | 2 +- build.sbt | 2 +- docs/CreateCall.md | 2 +- openapitools.json | 2 +- .../java/com/bandwidth/sdk/ApiClient.java | 3 +- .../java/com/bandwidth/sdk/ApiException.java | 2 +- .../java/com/bandwidth/sdk/Configuration.java | 2 +- src/main/java/com/bandwidth/sdk/Pair.java | 2 +- .../bandwidth/sdk/ServerConfiguration.java | 2 +- .../com/bandwidth/sdk/ServerVariable.java | 2 +- .../java/com/bandwidth/sdk/StringUtil.java | 2 +- .../java/com/bandwidth/sdk/api/CallsApi.java | 60 +++------ .../com/bandwidth/sdk/api/ConferencesApi.java | 108 ++++++---------- .../java/com/bandwidth/sdk/api/MediaApi.java | 75 ++++------- .../com/bandwidth/sdk/api/MessagesApi.java | 24 ++-- .../java/com/bandwidth/sdk/api/MfaApi.java | 36 ++---- .../sdk/api/PhoneNumberLookupApi.java | 24 ++-- .../com/bandwidth/sdk/api/RecordingsApi.java | 120 ++++++------------ .../com/bandwidth/sdk/api/StatisticsApi.java | 12 +- .../bandwidth/sdk/api/TranscriptionsApi.java | 36 ++---- .../com/bandwidth/sdk/auth/ApiKeyAuth.java | 2 +- .../bandwidth/sdk/auth/HttpBearerAuth.java | 2 +- .../sdk/model/AbstractOpenApiSchema.java | 2 +- .../sdk/model/AccountStatistics.java | 12 +- .../bandwidth/sdk/model/AnswerCallback.java | 72 +++++------ .../sdk/model/BridgeCompleteCallback.java | 82 +++++------- .../model/BridgeTargetCompleteCallback.java | 67 ++++------ .../sdk/model/CallRecordingMetadata.java | 97 ++++++-------- .../com/bandwidth/sdk/model/CallState.java | 92 ++++++-------- .../sdk/model/CallTranscription.java | 22 ++-- .../sdk/model/CallTranscriptionMetadata.java | 17 +-- .../sdk/model/CallTranscriptionResponse.java | 22 ++-- .../com/bandwidth/sdk/model/CodeRequest.java | 32 ++--- .../com/bandwidth/sdk/model/Conference.java | 42 +++--- .../model/ConferenceCompletedCallback.java | 27 ++-- .../sdk/model/ConferenceCreatedCallback.java | 27 ++-- .../bandwidth/sdk/model/ConferenceMember.java | 32 ++--- .../model/ConferenceMemberExitCallback.java | 42 +++--- .../model/ConferenceMemberJoinCallback.java | 42 +++--- .../ConferenceRecordingAvailableCallback.java | 72 +++++------ .../model/ConferenceRecordingMetadata.java | 62 ++++----- .../sdk/model/ConferenceRedirectCallback.java | 27 ++-- .../com/bandwidth/sdk/model/CreateCall.java | 109 +++++++--------- .../sdk/model/CreateCallResponse.java | 107 +++++++--------- .../sdk/model/CreateLookupResponse.java | 12 +- .../sdk/model/CreateMessageRequestError.java | 17 +-- .../bandwidth/sdk/model/DeferredResult.java | 12 +- .../sdk/model/DisconnectCallback.java | 87 +++++-------- .../com/bandwidth/sdk/model/Diversion.java | 37 +++--- .../com/bandwidth/sdk/model/DtmfCallback.java | 87 +++++-------- .../com/bandwidth/sdk/model/FieldError.java | 12 +- .../bandwidth/sdk/model/GatherCallback.java | 92 ++++++-------- .../sdk/model/InboundMessageCallback.java | 27 ++-- .../model/InboundMessageCallbackMessage.java | 62 ++++----- .../bandwidth/sdk/model/InitiateCallback.java | 62 ++++----- .../bandwidth/sdk/model/ListMessageItem.java | 87 +++++-------- .../bandwidth/sdk/model/LookupRequest.java | 7 +- .../com/bandwidth/sdk/model/LookupResult.java | 47 +++---- .../com/bandwidth/sdk/model/LookupStatus.java | 22 ++-- .../MachineDetectionCompleteCallback.java | 72 +++++------ .../model/MachineDetectionConfiguration.java | 77 +++++------ .../sdk/model/MachineDetectionResult.java | 12 +- .../java/com/bandwidth/sdk/model/Media.java | 17 +-- .../java/com/bandwidth/sdk/model/Message.java | 67 ++++------ .../sdk/model/MessageDeliveredCallback.java | 27 ++-- .../MessageDeliveredCallbackMessage.java | 62 ++++----- .../sdk/model/MessageFailedCallback.java | 32 ++--- .../model/MessageFailedCallbackMessage.java | 62 ++++----- .../bandwidth/sdk/model/MessageRequest.java | 42 +++--- .../sdk/model/MessageSendingCallback.java | 27 ++-- .../model/MessageSendingCallbackMessage.java | 62 ++++----- .../com/bandwidth/sdk/model/MessagesList.java | 17 +-- .../sdk/model/MessagingCodeResponse.java | 7 +- .../sdk/model/MessagingRequestError.java | 12 +- .../sdk/model/MfaForbiddenRequestError.java | 7 +- .../bandwidth/sdk/model/MfaRequestError.java | 12 +- .../model/MfaUnauthorizedRequestError.java | 7 +- .../com/bandwidth/sdk/model/PageInfo.java | 22 ++-- .../sdk/model/RecordingAvailableCallback.java | 112 +++++++--------- .../sdk/model/RecordingCompleteCallback.java | 112 +++++++--------- .../model/RecordingTranscriptionMetadata.java | 22 ++-- .../sdk/model/RecordingTranscriptions.java | 7 +- .../bandwidth/sdk/model/RedirectCallback.java | 82 +++++------- .../com/bandwidth/sdk/model/StirShaken.java | 17 +-- .../java/com/bandwidth/sdk/model/Tag.java | 12 +- .../sdk/model/TnLookupRequestError.java | 7 +- .../sdk/model/TranscribeRecording.java | 37 +++--- .../bandwidth/sdk/model/Transcription.java | 12 +- .../model/TranscriptionAvailableCallback.java | 107 +++++++--------- .../sdk/model/TransferAnswerCallback.java | 77 +++++------ .../sdk/model/TransferCompleteCallback.java | 92 ++++++-------- .../sdk/model/TransferDisconnectCallback.java | 102 ++++++--------- .../com/bandwidth/sdk/model/UpdateCall.java | 52 +++----- .../sdk/model/UpdateCallRecording.java | 7 +- .../bandwidth/sdk/model/UpdateConference.java | 47 +++---- .../sdk/model/UpdateConferenceMember.java | 17 +-- .../sdk/model/VerifyCodeRequest.java | 22 ++-- .../sdk/model/VerifyCodeResponse.java | 7 +- .../bandwidth/sdk/model/VoiceApiError.java | 17 +-- .../sdk/model/VoiceCodeResponse.java | 7 +- 104 files changed, 1559 insertions(+), 2366 deletions(-) diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 758bb9c8..4bc5d618 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.10.0 +7.9.0 diff --git a/README.md b/README.md index 7f29d440..f417e672 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Bandwidth - API version: 1.0.0 - - Generator version: 7.10.0 + - Generator version: 7.9.0 Bandwidth's Communication APIs diff --git a/api/openapi.yaml b/api/openapi.yaml index 35253011..789c3efa 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -6918,7 +6918,7 @@ components: A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in RFC - 7433. Only 'jwt' and 'base64' encodings are allowed. The entire value + 7433. Only 'jwt', 'base64' and 'hex' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. example: "eyJhbGciOiJIUzI1NiJ9.WyJoaSJd.-znkjYyCkgz4djmHUPSXl9YrJ6Nix_XvmlwKGFh5ERM;encoding=jwt,aGVsbG8gd29ybGQ;encoding=base64" nullable: true diff --git a/bandwidth.yml b/bandwidth.yml index c4b1fb2b..11c79d23 100644 --- a/bandwidth.yml +++ b/bandwidth.yml @@ -2202,8 +2202,8 @@ components: parameter as described in RFC - 7433. Only 'jwt' and 'base64' encodings are allowed. The entire - value + 7433. Only 'jwt', 'base64' and 'hex' encodings are allowed. The + entire value cannot exceed 350 characters, including parameters and separators. applicationId: diff --git a/build.gradle b/build.gradle index 4873c2ba..bd34defb 100644 --- a/build.gradle +++ b/build.gradle @@ -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.17.0' + implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.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' diff --git a/build.sbt b/build.sbt index 374d4ba7..56dc9700 100644 --- a/build.sbt +++ b/build.sbt @@ -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.17.0", + "org.apache.commons" % "commons-lang3" % "3.12.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", diff --git a/docs/CreateCall.md b/docs/CreateCall.md index 90cf7ad7..109c9170 100644 --- a/docs/CreateCall.md +++ b/docs/CreateCall.md @@ -11,7 +11,7 @@ |**from** | **String** | A Bandwidth phone number on your account the call should come from (must be in E.164 format, like `+15555551212`) even if `privacy` is set to true. | | |**privacy** | **Boolean** | Hide the calling number. The `displayName` field can be used to customize the displayed name. | [optional] | |**displayName** | **String** | The caller display name to use when the call is created. May not exceed 256 characters nor contain control characters such as new lines. If `privacy` is true, only the following values are valid: `Restricted`, `Anonymous`, `Private`, or `Unavailable`. | [optional] | -|**uui** | **String** | A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in <a href='https://tools.ietf.org/html/rfc7433'>RFC 7433</a>. Only 'jwt' and 'base64' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. | [optional] | +|**uui** | **String** | A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in <a href='https://tools.ietf.org/html/rfc7433'>RFC 7433</a>. Only 'jwt', 'base64' and 'hex' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. | [optional] | |**applicationId** | **String** | The id of the application associated with the `from` number. | | |**answerUrl** | **URI** | The full URL to send the <a href='/docs/voice/webhooks/answer'>Answer</a> event to when the called party answers. This endpoint should return the first <a href='/docs/voice/bxml'>BXML document</a> to be executed in the call. Must use `https` if specifying `username` and `password`. | | |**answerMethod** | **CallbackMethodEnum** | | [optional] | diff --git a/openapitools.json b/openapitools.json index f8d07ce1..f80faaa6 100644 --- a/openapitools.json +++ b/openapitools.json @@ -2,6 +2,6 @@ "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json", "spaces": 2, "generator-cli": { - "version": "7.10.0" + "version": "7.9.0" } } diff --git a/src/main/java/com/bandwidth/sdk/ApiClient.java b/src/main/java/com/bandwidth/sdk/ApiClient.java index 2fcd6ffb..c8ac2feb 100644 --- a/src/main/java/com/bandwidth/sdk/ApiClient.java +++ b/src/main/java/com/bandwidth/sdk/ApiClient.java @@ -735,7 +735,7 @@ public List 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. @@ -749,7 +749,6 @@ public List freeFormParameterToPairs(Object value) { return params; } - @SuppressWarnings("unchecked") final Map valuesMap = (Map) value; for (Map.Entry entry : valuesMap.entrySet()) { diff --git a/src/main/java/com/bandwidth/sdk/ApiException.java b/src/main/java/com/bandwidth/sdk/ApiException.java index 1bb97746..bbd45785 100644 --- a/src/main/java/com/bandwidth/sdk/ApiException.java +++ b/src/main/java/com/bandwidth/sdk/ApiException.java @@ -21,7 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.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 c84c9cef..5aa614dc 100644 --- a/src/main/java/com/bandwidth/sdk/Configuration.java +++ b/src/main/java/com/bandwidth/sdk/Configuration.java @@ -13,7 +13,7 @@ package com.bandwidth.sdk; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Configuration { public static final String VERSION = "1.0.0-dev"; diff --git a/src/main/java/com/bandwidth/sdk/Pair.java b/src/main/java/com/bandwidth/sdk/Pair.java index a04697ce..161813c1 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", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.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 c74fbd03..756f34a3 100644 --- a/src/main/java/com/bandwidth/sdk/ServerConfiguration.java +++ b/src/main/java/com/bandwidth/sdk/ServerConfiguration.java @@ -18,7 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.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 beaab482..9786d338 100644 --- a/src/main/java/com/bandwidth/sdk/ServerVariable.java +++ b/src/main/java/com/bandwidth/sdk/ServerVariable.java @@ -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.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.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 6ef9eb8c..6169441b 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", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.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/CallsApi.java b/src/main/java/com/bandwidth/sdk/api/CallsApi.java index c80844d8..0310cdf7 100644 --- a/src/main/java/com/bandwidth/sdk/api/CallsApi.java +++ b/src/main/java/com/bandwidth/sdk/api/CallsApi.java @@ -84,8 +84,7 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details - - +
Response Details
@@ -168,8 +167,7 @@ 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 -
Status Code Description Response Headers
201 Created * Location - The URL for further interactions with this call
400 Bad Request -
- +
Response Details
@@ -195,8 +193,7 @@ public CreateCallResponse createCall(String accountId, CreateCall createCall) th * @return ApiResponse<CreateCallResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
201 Created * Location - The URL for further interactions with this call
400 Bad Request -
- +
Response Details
@@ -224,8 +221,7 @@ public ApiResponse 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 -
Status Code Description Response Headers
201 Created * Location - The URL for further interactions with this call
400 Bad Request -
- +
Response Details
@@ -253,8 +249,7 @@ 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 -
Status Code Description Response Headers
201 Created * Location - The URL for further interactions with this call
400 Bad Request -
- +
Response Details
@@ -337,8 +332,7 @@ 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 -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -364,8 +358,7 @@ public CallState getCallState(String accountId, String callId) throws ApiExcepti * @return ApiResponse<CallState> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -393,8 +386,7 @@ public ApiResponse 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 -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -428,8 +420,7 @@ 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 -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -540,8 +531,7 @@ private okhttp3.Call listCallsValidateBeforeCall(String accountId, String to, St * @return List<CallState> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -573,8 +563,7 @@ public List listCalls(String accountId, String to, String from, Strin * @return ApiResponse<List<CallState>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -608,8 +597,7 @@ public ApiResponse> 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 -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -638,8 +626,7 @@ 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 -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -729,8 +716,7 @@ 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 -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -757,8 +743,7 @@ public void updateCall(String accountId, String callId, UpdateCall updateCall) t * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -787,8 +772,7 @@ public ApiResponse 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 -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -817,8 +801,7 @@ 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 -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -908,8 +891,7 @@ 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 -
Status Code Description Response Headers
204 Call BXML was successfully replaced. -
400 Bad Request -
- +
Response Details
@@ -936,8 +918,7 @@ public void updateCallBxml(String accountId, String callId, String body) throws * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 Call BXML was successfully replaced. -
400 Bad Request -
- +
Response Details
@@ -966,8 +947,7 @@ public ApiResponse 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 -
Status Code Description Response Headers
204 Call BXML was successfully replaced. -
400 Bad Request -
- +
Response Details
diff --git a/src/main/java/com/bandwidth/sdk/api/ConferencesApi.java b/src/main/java/com/bandwidth/sdk/api/ConferencesApi.java index aaf24a61..650e00e5 100644 --- a/src/main/java/com/bandwidth/sdk/api/ConferencesApi.java +++ b/src/main/java/com/bandwidth/sdk/api/ConferencesApi.java @@ -87,8 +87,7 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
204 Call BXML was successfully replaced. -
400 Bad Request -
- +
Response Details
@@ -180,8 +179,7 @@ private okhttp3.Call downloadConferenceRecordingValidateBeforeCall(String accoun * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -208,8 +206,7 @@ public File downloadConferenceRecording(String accountId, String conferenceId, S * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -238,8 +235,7 @@ public ApiResponse downloadConferenceRecordingWithHttpInfo(String accountI * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -267,8 +263,7 @@ public okhttp3.Call downloadConferenceRecordingAsync(String accountId, String co * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -351,8 +346,7 @@ private okhttp3.Call getConferenceValidateBeforeCall(String accountId, String co * @return Conference * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -378,8 +372,7 @@ public Conference getConference(String accountId, String conferenceId) throws Ap * @return ApiResponse<Conference> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -407,8 +400,7 @@ public ApiResponse getConferenceWithHttpInfo(String accountId, Strin * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -437,8 +429,7 @@ public okhttp3.Call getConferenceAsync(String accountId, String conferenceId, fi * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -528,8 +519,7 @@ private okhttp3.Call getConferenceMemberValidateBeforeCall(String accountId, Str * @return ConferenceMember * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -556,8 +546,7 @@ public ConferenceMember getConferenceMember(String accountId, String conferenceI * @return ApiResponse<ConferenceMember> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -586,8 +575,7 @@ public ApiResponse getConferenceMemberWithHttpInfo(String acco * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -616,8 +604,7 @@ public okhttp3.Call getConferenceMemberAsync(String accountId, String conference * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -707,8 +694,7 @@ private okhttp3.Call getConferenceRecordingValidateBeforeCall(String accountId, * @return ConferenceRecordingMetadata * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -735,8 +721,7 @@ public ConferenceRecordingMetadata getConferenceRecording(String accountId, Stri * @return ApiResponse<ConferenceRecordingMetadata> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -765,8 +750,7 @@ public ApiResponse getConferenceRecordingWithHttpIn * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -794,8 +778,7 @@ public okhttp3.Call getConferenceRecordingAsync(String accountId, String confere * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -878,8 +861,7 @@ private okhttp3.Call listConferenceRecordingsValidateBeforeCall(String accountId * @return List<ConferenceRecordingMetadata> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -905,8 +887,7 @@ public List listConferenceRecordings(String account * @return ApiResponse<List<ConferenceRecordingMetadata>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -934,8 +915,7 @@ public ApiResponse> listConferenceRecordingsWi * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -967,8 +947,7 @@ public okhttp3.Call listConferenceRecordingsAsync(String accountId, String confe * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1069,8 +1048,7 @@ private okhttp3.Call listConferencesValidateBeforeCall(String accountId, String * @return List<Conference> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1100,8 +1078,7 @@ public List listConferences(String accountId, String name, String mi * @return ApiResponse<List<Conference>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1133,8 +1110,7 @@ public ApiResponse> listConferencesWithHttpInfo(String accountI * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1163,8 +1139,7 @@ public okhttp3.Call listConferencesAsync(String accountId, String name, String m * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1253,8 +1228,7 @@ private okhttp3.Call updateConferenceValidateBeforeCall(String accountId, String * @param updateConference (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 Conference was successfully modified. -
400 Bad Request -
- +
Response Details
@@ -1280,8 +1254,7 @@ public void updateConference(String accountId, String conferenceId, UpdateConfer * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 Conference was successfully modified. -
400 Bad Request -
- +
Response Details
@@ -1309,8 +1282,7 @@ public ApiResponse updateConferenceWithHttpInfo(String accountId, String c * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
204 Conference was successfully modified. -
400 Bad Request -
- +
Response Details
@@ -1338,8 +1310,7 @@ public okhttp3.Call updateConferenceAsync(String accountId, String conferenceId, * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
204 Conference was successfully modified. -
400 Bad Request -
- +
Response Details
@@ -1428,8 +1399,7 @@ private okhttp3.Call updateConferenceBxmlValidateBeforeCall(String accountId, St * @param body (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 Conference successfully modified. -
400 Bad Request -
- +
Response Details
@@ -1455,8 +1425,7 @@ public void updateConferenceBxml(String accountId, String conferenceId, String b * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 Conference successfully modified. -
400 Bad Request -
- +
Response Details
@@ -1484,8 +1453,7 @@ public ApiResponse updateConferenceBxmlWithHttpInfo(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 -
Status Code Description Response Headers
204 Conference successfully modified. -
400 Bad Request -
- +
Response Details
@@ -1514,8 +1482,7 @@ public okhttp3.Call updateConferenceBxmlAsync(String accountId, String conferenc * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
204 Conference successfully modified. -
400 Bad Request -
- +
Response Details
@@ -1611,8 +1578,7 @@ private okhttp3.Call updateConferenceMemberValidateBeforeCall(String accountId, * @param updateConferenceMember (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 Conference member was successfully modified. -
400 Bad Request -
- +
Response Details
@@ -1639,8 +1605,7 @@ public void updateConferenceMember(String accountId, String conferenceId, String * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 Conference member was successfully modified. -
400 Bad Request -
- +
Response Details
@@ -1669,8 +1634,7 @@ public ApiResponse updateConferenceMemberWithHttpInfo(String accountId, St * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
204 Conference member was successfully modified. -
400 Bad Request -
- +
Response Details
diff --git a/src/main/java/com/bandwidth/sdk/api/MediaApi.java b/src/main/java/com/bandwidth/sdk/api/MediaApi.java index 82f67b12..33b0008a 100644 --- a/src/main/java/com/bandwidth/sdk/api/MediaApi.java +++ b/src/main/java/com/bandwidth/sdk/api/MediaApi.java @@ -82,8 +82,7 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
204 Conference member was successfully modified. -
400 Bad Request -
- +
Response Details
@@ -165,8 +164,7 @@ private okhttp3.Call deleteMediaValidateBeforeCall(String accountId, String medi * @param mediaId Media ID to retrieve. (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 No Content -
400 Bad Request -
- +
Response Details
@@ -191,8 +189,7 @@ public void deleteMedia(String accountId, String mediaId) throws ApiException { * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 No Content -
400 Bad Request -
- +
Response Details
@@ -219,8 +216,7 @@ public ApiResponse deleteMediaWithHttpInfo(String accountId, String mediaI * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
204 No Content -
400 Bad Request -
- +
Response Details
@@ -247,8 +243,7 @@ public okhttp3.Call deleteMediaAsync(String accountId, String mediaId, final Api * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
204 No Content -
400 Bad Request -
- +
Response Details
@@ -332,8 +327,7 @@ private okhttp3.Call getMediaValidateBeforeCall(String accountId, String mediaId * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -359,8 +353,7 @@ public File getMedia(String accountId, String mediaId) throws ApiException { * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -388,8 +381,7 @@ public ApiResponse getMediaWithHttpInfo(String accountId, String mediaId) * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -417,8 +409,7 @@ public okhttp3.Call getMediaAsync(String accountId, String mediaId, final ApiCal * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -457,6 +448,10 @@ public okhttp3.Call listMediaCall(String accountId, String continuationToken, fi Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (continuationToken != null) { + localVarHeaderParams.put("Continuation-Token", localVarApiClient.parameterToString(continuationToken)); + } + final String[] localVarAccepts = { "application/json" }; @@ -472,11 +467,6 @@ public okhttp3.Call listMediaCall(String accountId, String continuationToken, fi localVarHeaderParams.put("Content-Type", localVarContentType); } - if (continuationToken != null) { - localVarHeaderParams.put("Continuation-Token", localVarApiClient.parameterToString(continuationToken)); - } - - String[] localVarAuthNames = new String[] { "Basic" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -500,8 +490,7 @@ private okhttp3.Call listMediaValidateBeforeCall(String accountId, String contin * @return List<Media> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK * Continuation-Token - Continuation token used to retrieve subsequent media.
400 Bad Request -
- +
Response Details
@@ -527,8 +516,7 @@ public List listMedia(String accountId, String continuationToken) throws * @return ApiResponse<List<Media>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK * Continuation-Token - Continuation token used to retrieve subsequent media.
400 Bad Request -
- +
Response Details
@@ -556,8 +544,7 @@ public ApiResponse> listMediaWithHttpInfo(String accountId, String c * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK * Continuation-Token - Continuation token used to retrieve subsequent media.
400 Bad Request -
- +
Response Details
@@ -588,8 +575,7 @@ public okhttp3.Call listMediaAsync(String accountId, String continuationToken, f * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK * Continuation-Token - Continuation token used to retrieve subsequent media.
400 Bad Request -
- +
Response Details
@@ -629,6 +615,14 @@ public okhttp3.Call uploadMediaCall(String accountId, String mediaId, File body, Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (contentType != null) { + localVarHeaderParams.put("Content-Type", localVarApiClient.parameterToString(contentType)); + } + + if (cacheControl != null) { + localVarHeaderParams.put("Cache-Control", localVarApiClient.parameterToString(cacheControl)); + } + final String[] localVarAccepts = { "application/json" }; @@ -688,16 +682,6 @@ public okhttp3.Call uploadMediaCall(String accountId, String mediaId, File body, localVarHeaderParams.put("Content-Type", localVarContentType); } - if (contentType != null) { - localVarHeaderParams.put("Content-Type", localVarApiClient.parameterToString(contentType)); - } - - - if (cacheControl != null) { - localVarHeaderParams.put("Cache-Control", localVarApiClient.parameterToString(cacheControl)); - } - - String[] localVarAuthNames = new String[] { "Basic" }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -733,8 +717,7 @@ private okhttp3.Call uploadMediaValidateBeforeCall(String accountId, String medi * @param cacheControl General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. (optional) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 No Content -
400 Bad Request -
- +
Response Details
@@ -762,8 +745,7 @@ public void uploadMedia(String accountId, String mediaId, File body, String cont * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 No Content -
400 Bad Request -
- +
Response Details
@@ -793,8 +775,7 @@ public ApiResponse uploadMediaWithHttpInfo(String accountId, String mediaI * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
204 No Content -
400 Bad Request -
- +
Response Details
diff --git a/src/main/java/com/bandwidth/sdk/api/MessagesApi.java b/src/main/java/com/bandwidth/sdk/api/MessagesApi.java index bd4db0c3..cf9c9914 100644 --- a/src/main/java/com/bandwidth/sdk/api/MessagesApi.java +++ b/src/main/java/com/bandwidth/sdk/api/MessagesApi.java @@ -87,8 +87,7 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
204 No Content -
400 Bad Request -
- +
Response Details
@@ -171,8 +170,7 @@ private okhttp3.Call createMessageValidateBeforeCall(String accountId, MessageRe * @return Message * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
- +
Response Details
@@ -198,8 +196,7 @@ public Message createMessage(String accountId, MessageRequest messageRequest) th * @return ApiResponse<Message> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
- +
Response Details
@@ -227,8 +224,7 @@ public ApiResponse createMessageWithHttpInfo(String accountId, MessageR * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
- +
Response Details
@@ -270,8 +266,7 @@ public okhttp3.Call createMessageAsync(String accountId, MessageRequest messageR * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
- +
Response Details
@@ -421,8 +416,7 @@ private okhttp3.Call listMessagesValidateBeforeCall(String accountId, String mes * @return MessagesList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -461,8 +455,7 @@ public MessagesList listMessages(String accountId, String messageId, String sour * @return ApiResponse<MessagesList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -503,8 +496,7 @@ public ApiResponse listMessagesWithHttpInfo(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 -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
diff --git a/src/main/java/com/bandwidth/sdk/api/MfaApi.java b/src/main/java/com/bandwidth/sdk/api/MfaApi.java index d13c9a70..20a0b22f 100644 --- a/src/main/java/com/bandwidth/sdk/api/MfaApi.java +++ b/src/main/java/com/bandwidth/sdk/api/MfaApi.java @@ -87,8 +87,7 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -167,8 +166,7 @@ private okhttp3.Call generateMessagingCodeValidateBeforeCall(String accountId, C * @return MessagingCodeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -190,8 +188,7 @@ public MessagingCodeResponse generateMessagingCode(String accountId, CodeRequest * @return ApiResponse<MessagingCodeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -215,8 +212,7 @@ public ApiResponse generateMessagingCodeWithHttpInfo(Stri * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -240,8 +236,7 @@ public okhttp3.Call generateMessagingCodeAsync(String accountId, CodeRequest cod * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -320,8 +315,7 @@ private okhttp3.Call generateVoiceCodeValidateBeforeCall(String accountId, CodeR * @return VoiceCodeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -343,8 +337,7 @@ public VoiceCodeResponse generateVoiceCode(String accountId, CodeRequest codeReq * @return ApiResponse<VoiceCodeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -368,8 +361,7 @@ public ApiResponse generateVoiceCodeWithHttpInfo(String accou * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -393,8 +385,7 @@ public okhttp3.Call generateVoiceCodeAsync(String accountId, CodeRequest codeReq * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -474,8 +465,7 @@ private okhttp3.Call verifyCodeValidateBeforeCall(String accountId, VerifyCodeRe * @return VerifyCodeResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -498,8 +488,7 @@ public VerifyCodeResponse verifyCode(String accountId, VerifyCodeRequest verifyC * @return ApiResponse<VerifyCodeResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -524,8 +513,7 @@ public ApiResponse verifyCodeWithHttpInfo(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 -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
diff --git a/src/main/java/com/bandwidth/sdk/api/PhoneNumberLookupApi.java b/src/main/java/com/bandwidth/sdk/api/PhoneNumberLookupApi.java index 11ff5ab2..36eec73b 100644 --- a/src/main/java/com/bandwidth/sdk/api/PhoneNumberLookupApi.java +++ b/src/main/java/com/bandwidth/sdk/api/PhoneNumberLookupApi.java @@ -83,8 +83,7 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -165,8 +164,7 @@ private okhttp3.Call createLookupValidateBeforeCall(String accountId, LookupRequ * @return CreateLookupResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
- +
Response Details
@@ -190,8 +188,7 @@ public CreateLookupResponse createLookup(String accountId, LookupRequest lookupR * @return ApiResponse<CreateLookupResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
- +
Response Details
@@ -217,8 +214,7 @@ public ApiResponse createLookupWithHttpInfo(String account * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
- +
Response Details
@@ -244,8 +240,7 @@ public okhttp3.Call createLookupAsync(String accountId, LookupRequest lookupRequ * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
- +
Response Details
@@ -326,8 +321,7 @@ private okhttp3.Call getLookupStatusValidateBeforeCall(String accountId, String * @return LookupStatus * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -351,8 +345,7 @@ public LookupStatus getLookupStatus(String accountId, String requestId) throws A * @return ApiResponse<LookupStatus> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -378,8 +371,7 @@ public ApiResponse getLookupStatusWithHttpInfo(String accountId, S * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
diff --git a/src/main/java/com/bandwidth/sdk/api/RecordingsApi.java b/src/main/java/com/bandwidth/sdk/api/RecordingsApi.java index e4700c63..07b69c33 100644 --- a/src/main/java/com/bandwidth/sdk/api/RecordingsApi.java +++ b/src/main/java/com/bandwidth/sdk/api/RecordingsApi.java @@ -86,8 +86,7 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -176,8 +175,7 @@ private okhttp3.Call deleteRecordingValidateBeforeCall(String accountId, String * @param recordingId Programmable Voice API Recording ID. (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 Recording was deleted. -
400 Bad Request -
- +
Response Details
@@ -203,8 +201,7 @@ public void deleteRecording(String accountId, String callId, String recordingId) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 Recording was deleted. -
400 Bad Request -
- +
Response Details
@@ -232,8 +229,7 @@ public ApiResponse deleteRecordingWithHttpInfo(String accountId, String ca * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
204 Recording was deleted. -
400 Bad Request -
- +
Response Details
@@ -261,8 +257,7 @@ public okhttp3.Call deleteRecordingAsync(String accountId, String callId, String * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
204 Recording was deleted. -
400 Bad Request -
- +
Response Details
@@ -351,8 +346,7 @@ private okhttp3.Call deleteRecordingMediaValidateBeforeCall(String accountId, St * @param recordingId Programmable Voice API Recording ID. (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 The recording media was successfully deleted. -
400 Bad Request -
- +
Response Details
@@ -378,8 +372,7 @@ public void deleteRecordingMedia(String accountId, String callId, String recordi * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 The recording media was successfully deleted. -
400 Bad Request -
- +
Response Details
@@ -407,8 +400,7 @@ public ApiResponse deleteRecordingMediaWithHttpInfo(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 -
Status Code Description Response Headers
204 The recording media was successfully deleted. -
400 Bad Request -
- +
Response Details
@@ -436,8 +428,7 @@ public okhttp3.Call deleteRecordingMediaAsync(String accountId, String callId, S * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
204 The recording media was successfully deleted. -
400 Bad Request -
- +
Response Details
@@ -526,8 +517,7 @@ private okhttp3.Call deleteRecordingTranscriptionValidateBeforeCall(String accou * @param recordingId Programmable Voice API Recording ID. (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 The transcription was successfully deleted. -
400 Bad Request -
- +
Response Details
@@ -553,8 +543,7 @@ public void deleteRecordingTranscription(String accountId, String callId, String * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 The transcription was successfully deleted. -
400 Bad Request -
- +
Response Details
@@ -582,8 +571,7 @@ public ApiResponse deleteRecordingTranscriptionWithHttpInfo(String account * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
204 The transcription was successfully deleted. -
400 Bad Request -
- +
Response Details
@@ -611,8 +599,7 @@ public okhttp3.Call deleteRecordingTranscriptionAsync(String accountId, String c * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
204 The transcription was successfully deleted. -
400 Bad Request -
- +
Response Details
@@ -704,8 +691,7 @@ private okhttp3.Call downloadCallRecordingValidateBeforeCall(String accountId, S * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -732,8 +718,7 @@ public File downloadCallRecording(String accountId, String callId, String record * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -762,8 +747,7 @@ public ApiResponse downloadCallRecordingWithHttpInfo(String accountId, Str * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -792,8 +776,7 @@ public okhttp3.Call downloadCallRecordingAsync(String accountId, String callId, * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -883,8 +866,7 @@ private okhttp3.Call getCallRecordingValidateBeforeCall(String accountId, String * @return CallRecordingMetadata * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -911,8 +893,7 @@ public CallRecordingMetadata getCallRecording(String accountId, String callId, S * @return ApiResponse<CallRecordingMetadata> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -941,8 +922,7 @@ public ApiResponse getCallRecordingWithHttpInfo(String ac * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -971,8 +951,7 @@ public okhttp3.Call getCallRecordingAsync(String accountId, String callId, Strin * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1062,8 +1041,7 @@ private okhttp3.Call getRecordingTranscriptionValidateBeforeCall(String accountI * @return RecordingTranscriptions * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1090,8 +1068,7 @@ public RecordingTranscriptions getRecordingTranscription(String accountId, Strin * @return ApiResponse<RecordingTranscriptions> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1120,8 +1097,7 @@ public ApiResponse getRecordingTranscriptionWithHttpInf * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1152,8 +1128,7 @@ public okhttp3.Call getRecordingTranscriptionAsync(String accountId, String call * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1249,8 +1224,7 @@ private okhttp3.Call listAccountCallRecordingsValidateBeforeCall(String accountI * @return List<CallRecordingMetadata> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1279,8 +1253,7 @@ public List listAccountCallRecordings(String accountId, S * @return ApiResponse<List<CallRecordingMetadata>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1311,8 +1284,7 @@ public ApiResponse> listAccountCallRecordingsWithHtt * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1340,8 +1312,7 @@ public okhttp3.Call listAccountCallRecordingsAsync(String accountId, String to, * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1424,8 +1395,7 @@ private okhttp3.Call listCallRecordingsValidateBeforeCall(String accountId, Stri * @return List<CallRecordingMetadata> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1451,8 +1421,7 @@ public List listCallRecordings(String accountId, String c * @return ApiResponse<List<CallRecordingMetadata>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1480,8 +1449,7 @@ public ApiResponse> listCallRecordingsWithHttpInfo(S * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1511,8 +1479,7 @@ public okhttp3.Call listCallRecordingsAsync(String accountId, String callId, fin * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1608,8 +1575,7 @@ private okhttp3.Call transcribeCallRecordingValidateBeforeCall(String accountId, * @param transcribeRecording (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 Transcription was successfully requested. -
400 Bad Request -
- +
Response Details
@@ -1636,8 +1602,7 @@ public void transcribeCallRecording(String accountId, String callId, String reco * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
204 Transcription was successfully requested. -
400 Bad Request -
- +
Response Details
@@ -1666,8 +1631,7 @@ public ApiResponse transcribeCallRecordingWithHttpInfo(String accountId, S * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
204 Transcription was successfully requested. -
400 Bad Request -
- +
Response Details
@@ -1695,8 +1659,7 @@ public okhttp3.Call transcribeCallRecordingAsync(String accountId, String callId * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
204 Transcription was successfully requested. -
400 Bad Request -
- +
Response Details
@@ -1785,8 +1748,7 @@ private okhttp3.Call updateCallRecordingStateValidateBeforeCall(String accountId * @param updateCallRecording (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1812,8 +1774,7 @@ public void updateCallRecordingState(String accountId, String callId, UpdateCall * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -1841,8 +1802,7 @@ public ApiResponse updateCallRecordingStateWithHttpInfo(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 -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
diff --git a/src/main/java/com/bandwidth/sdk/api/StatisticsApi.java b/src/main/java/com/bandwidth/sdk/api/StatisticsApi.java index 8260db2d..91782d1f 100644 --- a/src/main/java/com/bandwidth/sdk/api/StatisticsApi.java +++ b/src/main/java/com/bandwidth/sdk/api/StatisticsApi.java @@ -80,8 +80,7 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -157,8 +156,7 @@ private okhttp3.Call getStatisticsValidateBeforeCall(String accountId, final Api * @return AccountStatistics * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -183,8 +181,7 @@ public AccountStatistics getStatistics(String accountId) throws ApiException { * @return ApiResponse<AccountStatistics> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -211,8 +208,7 @@ public ApiResponse getStatisticsWithHttpInfo(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 -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
diff --git a/src/main/java/com/bandwidth/sdk/api/TranscriptionsApi.java b/src/main/java/com/bandwidth/sdk/api/TranscriptionsApi.java index ab0de44a..9af8107d 100644 --- a/src/main/java/com/bandwidth/sdk/api/TranscriptionsApi.java +++ b/src/main/java/com/bandwidth/sdk/api/TranscriptionsApi.java @@ -83,8 +83,7 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -173,8 +172,7 @@ private okhttp3.Call deleteRealTimeTranscriptionValidateBeforeCall(String accoun * @param transcriptionId Programmable Voice API Transcription ID. (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 No Content -
400 Bad Request -
- +
Response Details
@@ -200,8 +198,7 @@ public void deleteRealTimeTranscription(String accountId, String callId, String * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 No Content -
400 Bad Request -
- +
Response Details
@@ -229,8 +226,7 @@ public ApiResponse deleteRealTimeTranscriptionWithHttpInfo(String accountI * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 No Content -
400 Bad Request -
- +
Response Details
@@ -258,8 +254,7 @@ public okhttp3.Call deleteRealTimeTranscriptionAsync(String accountId, String ca * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 No Content -
400 Bad Request -
- +
Response Details
@@ -349,8 +344,7 @@ private okhttp3.Call getRealTimeTranscriptionValidateBeforeCall(String accountId * @return CallTranscriptionResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -377,8 +371,7 @@ public CallTranscriptionResponse getRealTimeTranscription(String accountId, Stri * @return ApiResponse<CallTranscriptionResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -407,8 +400,7 @@ public ApiResponse getRealTimeTranscriptionWithHttpIn * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -436,8 +428,7 @@ public okhttp3.Call getRealTimeTranscriptionAsync(String accountId, String callI * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -520,8 +511,7 @@ private okhttp3.Call listRealTimeTranscriptionsValidateBeforeCall(String account * @return List<CallTranscriptionMetadata> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -547,8 +537,7 @@ public List listRealTimeTranscriptions(String account * @return ApiResponse<List<CallTranscriptionMetadata>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
@@ -576,8 +565,7 @@ public ApiResponse> listRealTimeTranscriptionsWi * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details -
Status Code Description Response Headers
200 OK -
400 Bad Request -
- +
Response Details
diff --git a/src/main/java/com/bandwidth/sdk/auth/ApiKeyAuth.java b/src/main/java/com/bandwidth/sdk/auth/ApiKeyAuth.java index 61bbc92e..605123e4 100644 --- a/src/main/java/com/bandwidth/sdk/auth/ApiKeyAuth.java +++ b/src/main/java/com/bandwidth/sdk/auth/ApiKeyAuth.java @@ -20,7 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/com/bandwidth/sdk/auth/HttpBearerAuth.java b/src/main/java/com/bandwidth/sdk/auth/HttpBearerAuth.java index 565d3c51..942a7a45 100644 --- a/src/main/java/com/bandwidth/sdk/auth/HttpBearerAuth.java +++ b/src/main/java/com/bandwidth/sdk/auth/HttpBearerAuth.java @@ -22,7 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/src/main/java/com/bandwidth/sdk/model/AbstractOpenApiSchema.java b/src/main/java/com/bandwidth/sdk/model/AbstractOpenApiSchema.java index 3c487529..19e68c2b 100644 --- a/src/main/java/com/bandwidth/sdk/model/AbstractOpenApiSchema.java +++ b/src/main/java/com/bandwidth/sdk/model/AbstractOpenApiSchema.java @@ -21,7 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/com/bandwidth/sdk/model/AccountStatistics.java b/src/main/java/com/bandwidth/sdk/model/AccountStatistics.java index 6068f9f0..38a7a496 100644 --- a/src/main/java/com/bandwidth/sdk/model/AccountStatistics.java +++ b/src/main/java/com/bandwidth/sdk/model/AccountStatistics.java @@ -48,22 +48,20 @@ /** * AccountStatistics */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class AccountStatistics { public static final String SERIALIZED_NAME_CURRENT_CALL_QUEUE_SIZE = "currentCallQueueSize"; @SerializedName(SERIALIZED_NAME_CURRENT_CALL_QUEUE_SIZE) - @javax.annotation.Nullable private Integer currentCallQueueSize; public static final String SERIALIZED_NAME_MAX_CALL_QUEUE_SIZE = "maxCallQueueSize"; @SerializedName(SERIALIZED_NAME_MAX_CALL_QUEUE_SIZE) - @javax.annotation.Nullable private Integer maxCallQueueSize; public AccountStatistics() { } - public AccountStatistics currentCallQueueSize(@javax.annotation.Nullable Integer currentCallQueueSize) { + public AccountStatistics currentCallQueueSize(Integer currentCallQueueSize) { this.currentCallQueueSize = currentCallQueueSize; return this; } @@ -77,12 +75,12 @@ public Integer getCurrentCallQueueSize() { return currentCallQueueSize; } - public void setCurrentCallQueueSize(@javax.annotation.Nullable Integer currentCallQueueSize) { + public void setCurrentCallQueueSize(Integer currentCallQueueSize) { this.currentCallQueueSize = currentCallQueueSize; } - public AccountStatistics maxCallQueueSize(@javax.annotation.Nullable Integer maxCallQueueSize) { + public AccountStatistics maxCallQueueSize(Integer maxCallQueueSize) { this.maxCallQueueSize = maxCallQueueSize; return this; } @@ -96,7 +94,7 @@ public Integer getMaxCallQueueSize() { return maxCallQueueSize; } - public void setMaxCallQueueSize(@javax.annotation.Nullable Integer maxCallQueueSize) { + public void setMaxCallQueueSize(Integer maxCallQueueSize) { this.maxCallQueueSize = maxCallQueueSize; } diff --git a/src/main/java/com/bandwidth/sdk/model/AnswerCallback.java b/src/main/java/com/bandwidth/sdk/model/AnswerCallback.java index 1805765d..a57f18e7 100644 --- a/src/main/java/com/bandwidth/sdk/model/AnswerCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/AnswerCallback.java @@ -53,82 +53,68 @@ /** * The Answer event is sent to the answerUrl specified in the createCall request when an outbound call is answered. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class AnswerCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_ANSWER_TIME = "answerTime"; @SerializedName(SERIALIZED_NAME_ANSWER_TIME) - @javax.annotation.Nullable private OffsetDateTime answerTime; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_MACHINE_DETECTION_RESULT = "machineDetectionResult"; @SerializedName(SERIALIZED_NAME_MACHINE_DETECTION_RESULT) - @javax.annotation.Nullable private MachineDetectionResult machineDetectionResult; public AnswerCallback() { } - public AnswerCallback eventType(@javax.annotation.Nullable String eventType) { + public AnswerCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -142,12 +128,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public AnswerCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public AnswerCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -161,12 +147,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public AnswerCallback accountId(@javax.annotation.Nullable String accountId) { + public AnswerCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -180,12 +166,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public AnswerCallback applicationId(@javax.annotation.Nullable String applicationId) { + public AnswerCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -199,12 +185,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public AnswerCallback from(@javax.annotation.Nullable String from) { + public AnswerCallback from(String from) { this.from = from; return this; } @@ -218,12 +204,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public AnswerCallback to(@javax.annotation.Nullable String to) { + public AnswerCallback to(String to) { this.to = to; return this; } @@ -237,12 +223,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public AnswerCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public AnswerCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -256,12 +242,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public AnswerCallback callId(@javax.annotation.Nullable String callId) { + public AnswerCallback callId(String callId) { this.callId = callId; return this; } @@ -275,12 +261,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public AnswerCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public AnswerCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -294,12 +280,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public AnswerCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public AnswerCallback enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -313,12 +299,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public AnswerCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public AnswerCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -332,12 +318,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public AnswerCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public AnswerCallback answerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -351,12 +337,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public void setAnswerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; } - public AnswerCallback tag(@javax.annotation.Nullable String tag) { + public AnswerCallback tag(String tag) { this.tag = tag; return this; } @@ -370,12 +356,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public AnswerCallback machineDetectionResult(@javax.annotation.Nullable MachineDetectionResult machineDetectionResult) { + public AnswerCallback machineDetectionResult(MachineDetectionResult machineDetectionResult) { this.machineDetectionResult = machineDetectionResult; return this; } @@ -389,7 +375,7 @@ public MachineDetectionResult getMachineDetectionResult() { return machineDetectionResult; } - public void setMachineDetectionResult(@javax.annotation.Nullable MachineDetectionResult machineDetectionResult) { + public void setMachineDetectionResult(MachineDetectionResult machineDetectionResult) { this.machineDetectionResult = machineDetectionResult; } diff --git a/src/main/java/com/bandwidth/sdk/model/BridgeCompleteCallback.java b/src/main/java/com/bandwidth/sdk/model/BridgeCompleteCallback.java index 1550d1f6..5fddd064 100644 --- a/src/main/java/com/bandwidth/sdk/model/BridgeCompleteCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/BridgeCompleteCallback.java @@ -52,92 +52,76 @@ /** * If the target call leaves the <Bridge>, then this callback is sent to the bridgeCompleteUrl, and the BXML returned in it is executed on the call. If this webhook is sent, the Bridge Target Complete webhook is NOT sent. This callback is also sent if any problem occurs that prevents the calls to be bridged. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class BridgeCompleteCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_ANSWER_TIME = "answerTime"; @SerializedName(SERIALIZED_NAME_ANSWER_TIME) - @javax.annotation.Nullable private OffsetDateTime answerTime; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_CAUSE = "cause"; @SerializedName(SERIALIZED_NAME_CAUSE) - @javax.annotation.Nullable private String cause; public static final String SERIALIZED_NAME_ERROR_MESSAGE = "errorMessage"; @SerializedName(SERIALIZED_NAME_ERROR_MESSAGE) - @javax.annotation.Nullable private String errorMessage; public static final String SERIALIZED_NAME_ERROR_ID = "errorId"; @SerializedName(SERIALIZED_NAME_ERROR_ID) - @javax.annotation.Nullable private String errorId; public BridgeCompleteCallback() { } - public BridgeCompleteCallback eventType(@javax.annotation.Nullable String eventType) { + public BridgeCompleteCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -151,12 +135,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public BridgeCompleteCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public BridgeCompleteCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -170,12 +154,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public BridgeCompleteCallback accountId(@javax.annotation.Nullable String accountId) { + public BridgeCompleteCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -189,12 +173,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public BridgeCompleteCallback applicationId(@javax.annotation.Nullable String applicationId) { + public BridgeCompleteCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -208,12 +192,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public BridgeCompleteCallback from(@javax.annotation.Nullable String from) { + public BridgeCompleteCallback from(String from) { this.from = from; return this; } @@ -227,12 +211,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public BridgeCompleteCallback to(@javax.annotation.Nullable String to) { + public BridgeCompleteCallback to(String to) { this.to = to; return this; } @@ -246,12 +230,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public BridgeCompleteCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public BridgeCompleteCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -265,12 +249,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public BridgeCompleteCallback callId(@javax.annotation.Nullable String callId) { + public BridgeCompleteCallback callId(String callId) { this.callId = callId; return this; } @@ -284,12 +268,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public BridgeCompleteCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public BridgeCompleteCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -303,12 +287,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public BridgeCompleteCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public BridgeCompleteCallback enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -322,12 +306,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public BridgeCompleteCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public BridgeCompleteCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -341,12 +325,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public BridgeCompleteCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public BridgeCompleteCallback answerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -360,12 +344,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public void setAnswerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; } - public BridgeCompleteCallback tag(@javax.annotation.Nullable String tag) { + public BridgeCompleteCallback tag(String tag) { this.tag = tag; return this; } @@ -379,12 +363,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public BridgeCompleteCallback cause(@javax.annotation.Nullable String cause) { + public BridgeCompleteCallback cause(String cause) { this.cause = cause; return this; } @@ -398,12 +382,12 @@ public String getCause() { return cause; } - public void setCause(@javax.annotation.Nullable String cause) { + public void setCause(String cause) { this.cause = cause; } - public BridgeCompleteCallback errorMessage(@javax.annotation.Nullable String errorMessage) { + public BridgeCompleteCallback errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } @@ -417,12 +401,12 @@ public String getErrorMessage() { return errorMessage; } - public void setErrorMessage(@javax.annotation.Nullable String errorMessage) { + public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } - public BridgeCompleteCallback errorId(@javax.annotation.Nullable String errorId) { + public BridgeCompleteCallback errorId(String errorId) { this.errorId = errorId; return this; } @@ -436,7 +420,7 @@ public String getErrorId() { return errorId; } - public void setErrorId(@javax.annotation.Nullable String errorId) { + public void setErrorId(String errorId) { this.errorId = errorId; } diff --git a/src/main/java/com/bandwidth/sdk/model/BridgeTargetCompleteCallback.java b/src/main/java/com/bandwidth/sdk/model/BridgeTargetCompleteCallback.java index 204d6cf8..a4454556 100644 --- a/src/main/java/com/bandwidth/sdk/model/BridgeTargetCompleteCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/BridgeTargetCompleteCallback.java @@ -52,77 +52,64 @@ /** * If the originating call leaves the <Bridge>, then this callback is sent to the bridgeTargetCompleteUrl, and the BXML returned in it is executed on the target call. If this webhook is sent, the Bridge Complete webhook is NOT sent. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class BridgeTargetCompleteCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_ANSWER_TIME = "answerTime"; @SerializedName(SERIALIZED_NAME_ANSWER_TIME) - @javax.annotation.Nullable private OffsetDateTime answerTime; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public BridgeTargetCompleteCallback() { } - public BridgeTargetCompleteCallback eventType(@javax.annotation.Nullable String eventType) { + public BridgeTargetCompleteCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -136,12 +123,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public BridgeTargetCompleteCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public BridgeTargetCompleteCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -155,12 +142,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public BridgeTargetCompleteCallback accountId(@javax.annotation.Nullable String accountId) { + public BridgeTargetCompleteCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -174,12 +161,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public BridgeTargetCompleteCallback applicationId(@javax.annotation.Nullable String applicationId) { + public BridgeTargetCompleteCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -193,12 +180,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public BridgeTargetCompleteCallback from(@javax.annotation.Nullable String from) { + public BridgeTargetCompleteCallback from(String from) { this.from = from; return this; } @@ -212,12 +199,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public BridgeTargetCompleteCallback to(@javax.annotation.Nullable String to) { + public BridgeTargetCompleteCallback to(String to) { this.to = to; return this; } @@ -231,12 +218,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public BridgeTargetCompleteCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public BridgeTargetCompleteCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -250,12 +237,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public BridgeTargetCompleteCallback callId(@javax.annotation.Nullable String callId) { + public BridgeTargetCompleteCallback callId(String callId) { this.callId = callId; return this; } @@ -269,12 +256,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public BridgeTargetCompleteCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public BridgeTargetCompleteCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -288,12 +275,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public BridgeTargetCompleteCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public BridgeTargetCompleteCallback enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -307,12 +294,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public BridgeTargetCompleteCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public BridgeTargetCompleteCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -326,12 +313,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public BridgeTargetCompleteCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public BridgeTargetCompleteCallback answerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -345,12 +332,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public void setAnswerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; } - public BridgeTargetCompleteCallback tag(@javax.annotation.Nullable String tag) { + public BridgeTargetCompleteCallback tag(String tag) { this.tag = tag; return this; } @@ -364,7 +351,7 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } diff --git a/src/main/java/com/bandwidth/sdk/model/CallRecordingMetadata.java b/src/main/java/com/bandwidth/sdk/model/CallRecordingMetadata.java index 6247baa9..1d540844 100644 --- a/src/main/java/com/bandwidth/sdk/model/CallRecordingMetadata.java +++ b/src/main/java/com/bandwidth/sdk/model/CallRecordingMetadata.java @@ -54,107 +54,88 @@ /** * CallRecordingMetadata */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CallRecordingMetadata { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_PARENT_CALL_ID = "parentCallId"; @SerializedName(SERIALIZED_NAME_PARENT_CALL_ID) - @javax.annotation.Nullable private String parentCallId; public static final String SERIALIZED_NAME_RECORDING_ID = "recordingId"; @SerializedName(SERIALIZED_NAME_RECORDING_ID) - @javax.annotation.Nullable private String recordingId; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TRANSFER_CALLER_ID = "transferCallerId"; @SerializedName(SERIALIZED_NAME_TRANSFER_CALLER_ID) - @javax.annotation.Nullable private String transferCallerId; public static final String SERIALIZED_NAME_TRANSFER_TO = "transferTo"; @SerializedName(SERIALIZED_NAME_TRANSFER_TO) - @javax.annotation.Nullable private String transferTo; public static final String SERIALIZED_NAME_DURATION = "duration"; @SerializedName(SERIALIZED_NAME_DURATION) - @javax.annotation.Nullable private String duration; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CHANNELS = "channels"; @SerializedName(SERIALIZED_NAME_CHANNELS) - @javax.annotation.Nullable private Integer channels; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_END_TIME = "endTime"; @SerializedName(SERIALIZED_NAME_END_TIME) - @javax.annotation.Nullable private OffsetDateTime endTime; public static final String SERIALIZED_NAME_FILE_FORMAT = "fileFormat"; @SerializedName(SERIALIZED_NAME_FILE_FORMAT) - @javax.annotation.Nullable private FileFormatEnum fileFormat; public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable private String status; public static final String SERIALIZED_NAME_MEDIA_URL = "mediaUrl"; @SerializedName(SERIALIZED_NAME_MEDIA_URL) - @javax.annotation.Nullable private URI mediaUrl; public static final String SERIALIZED_NAME_TRANSCRIPTION = "transcription"; @SerializedName(SERIALIZED_NAME_TRANSCRIPTION) - @javax.annotation.Nullable private RecordingTranscriptionMetadata transcription; public static final String SERIALIZED_NAME_RECORDING_NAME = "recordingName"; @SerializedName(SERIALIZED_NAME_RECORDING_NAME) - @javax.annotation.Nullable private String recordingName; public CallRecordingMetadata() { } - public CallRecordingMetadata applicationId(@javax.annotation.Nullable String applicationId) { + public CallRecordingMetadata applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -168,12 +149,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public CallRecordingMetadata accountId(@javax.annotation.Nullable String accountId) { + public CallRecordingMetadata accountId(String accountId) { this.accountId = accountId; return this; } @@ -187,12 +168,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public CallRecordingMetadata callId(@javax.annotation.Nullable String callId) { + public CallRecordingMetadata callId(String callId) { this.callId = callId; return this; } @@ -206,12 +187,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public CallRecordingMetadata parentCallId(@javax.annotation.Nullable String parentCallId) { + public CallRecordingMetadata parentCallId(String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -225,12 +206,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(@javax.annotation.Nullable String parentCallId) { + public void setParentCallId(String parentCallId) { this.parentCallId = parentCallId; } - public CallRecordingMetadata recordingId(@javax.annotation.Nullable String recordingId) { + public CallRecordingMetadata recordingId(String recordingId) { this.recordingId = recordingId; return this; } @@ -244,12 +225,12 @@ public String getRecordingId() { return recordingId; } - public void setRecordingId(@javax.annotation.Nullable String recordingId) { + public void setRecordingId(String recordingId) { this.recordingId = recordingId; } - public CallRecordingMetadata to(@javax.annotation.Nullable String to) { + public CallRecordingMetadata to(String to) { this.to = to; return this; } @@ -263,12 +244,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public CallRecordingMetadata from(@javax.annotation.Nullable String from) { + public CallRecordingMetadata from(String from) { this.from = from; return this; } @@ -282,12 +263,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public CallRecordingMetadata transferCallerId(@javax.annotation.Nullable String transferCallerId) { + public CallRecordingMetadata transferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -301,12 +282,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { + public void setTransferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; } - public CallRecordingMetadata transferTo(@javax.annotation.Nullable String transferTo) { + public CallRecordingMetadata transferTo(String transferTo) { this.transferTo = transferTo; return this; } @@ -320,12 +301,12 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(@javax.annotation.Nullable String transferTo) { + public void setTransferTo(String transferTo) { this.transferTo = transferTo; } - public CallRecordingMetadata duration(@javax.annotation.Nullable String duration) { + public CallRecordingMetadata duration(String duration) { this.duration = duration; return this; } @@ -339,12 +320,12 @@ public String getDuration() { return duration; } - public void setDuration(@javax.annotation.Nullable String duration) { + public void setDuration(String duration) { this.duration = duration; } - public CallRecordingMetadata direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public CallRecordingMetadata direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -358,12 +339,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public CallRecordingMetadata channels(@javax.annotation.Nullable Integer channels) { + public CallRecordingMetadata channels(Integer channels) { this.channels = channels; return this; } @@ -377,12 +358,12 @@ public Integer getChannels() { return channels; } - public void setChannels(@javax.annotation.Nullable Integer channels) { + public void setChannels(Integer channels) { this.channels = channels; } - public CallRecordingMetadata startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public CallRecordingMetadata startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -396,12 +377,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public CallRecordingMetadata endTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public CallRecordingMetadata endTime(OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -415,12 +396,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public void setEndTime(OffsetDateTime endTime) { this.endTime = endTime; } - public CallRecordingMetadata fileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { + public CallRecordingMetadata fileFormat(FileFormatEnum fileFormat) { this.fileFormat = fileFormat; return this; } @@ -434,12 +415,12 @@ public FileFormatEnum getFileFormat() { return fileFormat; } - public void setFileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { + public void setFileFormat(FileFormatEnum fileFormat) { this.fileFormat = fileFormat; } - public CallRecordingMetadata status(@javax.annotation.Nullable String status) { + public CallRecordingMetadata status(String status) { this.status = status; return this; } @@ -453,12 +434,12 @@ public String getStatus() { return status; } - public void setStatus(@javax.annotation.Nullable String status) { + public void setStatus(String status) { this.status = status; } - public CallRecordingMetadata mediaUrl(@javax.annotation.Nullable URI mediaUrl) { + public CallRecordingMetadata mediaUrl(URI mediaUrl) { this.mediaUrl = mediaUrl; return this; } @@ -472,12 +453,12 @@ public URI getMediaUrl() { return mediaUrl; } - public void setMediaUrl(@javax.annotation.Nullable URI mediaUrl) { + public void setMediaUrl(URI mediaUrl) { this.mediaUrl = mediaUrl; } - public CallRecordingMetadata transcription(@javax.annotation.Nullable RecordingTranscriptionMetadata transcription) { + public CallRecordingMetadata transcription(RecordingTranscriptionMetadata transcription) { this.transcription = transcription; return this; } @@ -491,12 +472,12 @@ public RecordingTranscriptionMetadata getTranscription() { return transcription; } - public void setTranscription(@javax.annotation.Nullable RecordingTranscriptionMetadata transcription) { + public void setTranscription(RecordingTranscriptionMetadata transcription) { this.transcription = transcription; } - public CallRecordingMetadata recordingName(@javax.annotation.Nullable String recordingName) { + public CallRecordingMetadata recordingName(String recordingName) { this.recordingName = recordingName; return this; } @@ -510,7 +491,7 @@ public String getRecordingName() { return recordingName; } - public void setRecordingName(@javax.annotation.Nullable String recordingName) { + public void setRecordingName(String recordingName) { this.recordingName = recordingName; } diff --git a/src/main/java/com/bandwidth/sdk/model/CallState.java b/src/main/java/com/bandwidth/sdk/model/CallState.java index 4e3a766a..8926cda1 100644 --- a/src/main/java/com/bandwidth/sdk/model/CallState.java +++ b/src/main/java/com/bandwidth/sdk/model/CallState.java @@ -53,102 +53,84 @@ /** * CallState */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CallState { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_PARENT_CALL_ID = "parentCallId"; @SerializedName(SERIALIZED_NAME_PARENT_CALL_ID) - @javax.annotation.Nullable private String parentCallId; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_STATE = "state"; @SerializedName(SERIALIZED_NAME_STATE) - @javax.annotation.Nullable private String state; public static final String SERIALIZED_NAME_STIR_SHAKEN = "stirShaken"; @SerializedName(SERIALIZED_NAME_STIR_SHAKEN) - @javax.annotation.Nullable private Map stirShaken; public static final String SERIALIZED_NAME_IDENTITY = "identity"; @SerializedName(SERIALIZED_NAME_IDENTITY) - @javax.annotation.Nullable private String identity; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_ANSWER_TIME = "answerTime"; @SerializedName(SERIALIZED_NAME_ANSWER_TIME) - @javax.annotation.Nullable private OffsetDateTime answerTime; public static final String SERIALIZED_NAME_END_TIME = "endTime"; @SerializedName(SERIALIZED_NAME_END_TIME) - @javax.annotation.Nullable private OffsetDateTime endTime; public static final String SERIALIZED_NAME_DISCONNECT_CAUSE = "disconnectCause"; @SerializedName(SERIALIZED_NAME_DISCONNECT_CAUSE) - @javax.annotation.Nullable private String disconnectCause; public static final String SERIALIZED_NAME_ERROR_MESSAGE = "errorMessage"; @SerializedName(SERIALIZED_NAME_ERROR_MESSAGE) - @javax.annotation.Nullable private String errorMessage; public static final String SERIALIZED_NAME_ERROR_ID = "errorId"; @SerializedName(SERIALIZED_NAME_ERROR_ID) - @javax.annotation.Nullable private String errorId; public static final String SERIALIZED_NAME_LAST_UPDATE = "lastUpdate"; @SerializedName(SERIALIZED_NAME_LAST_UPDATE) - @javax.annotation.Nullable private OffsetDateTime lastUpdate; public CallState() { } - public CallState applicationId(@javax.annotation.Nullable String applicationId) { + public CallState applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -162,12 +144,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public CallState accountId(@javax.annotation.Nullable String accountId) { + public CallState accountId(String accountId) { this.accountId = accountId; return this; } @@ -181,12 +163,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public CallState callId(@javax.annotation.Nullable String callId) { + public CallState callId(String callId) { this.callId = callId; return this; } @@ -200,12 +182,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public CallState parentCallId(@javax.annotation.Nullable String parentCallId) { + public CallState parentCallId(String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -219,12 +201,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(@javax.annotation.Nullable String parentCallId) { + public void setParentCallId(String parentCallId) { this.parentCallId = parentCallId; } - public CallState to(@javax.annotation.Nullable String to) { + public CallState to(String to) { this.to = to; return this; } @@ -238,12 +220,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public CallState from(@javax.annotation.Nullable String from) { + public CallState from(String from) { this.from = from; return this; } @@ -257,12 +239,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public CallState direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public CallState direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -276,12 +258,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public CallState state(@javax.annotation.Nullable String state) { + public CallState state(String state) { this.state = state; return this; } @@ -295,12 +277,12 @@ public String getState() { return state; } - public void setState(@javax.annotation.Nullable String state) { + public void setState(String state) { this.state = state; } - public CallState stirShaken(@javax.annotation.Nullable Map stirShaken) { + public CallState stirShaken(Map stirShaken) { this.stirShaken = stirShaken; return this; } @@ -322,12 +304,12 @@ public Map getStirShaken() { return stirShaken; } - public void setStirShaken(@javax.annotation.Nullable Map stirShaken) { + public void setStirShaken(Map stirShaken) { this.stirShaken = stirShaken; } - public CallState identity(@javax.annotation.Nullable String identity) { + public CallState identity(String identity) { this.identity = identity; return this; } @@ -341,12 +323,12 @@ public String getIdentity() { return identity; } - public void setIdentity(@javax.annotation.Nullable String identity) { + public void setIdentity(String identity) { this.identity = identity; } - public CallState enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public CallState enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -360,12 +342,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public CallState startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public CallState startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -379,12 +361,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public CallState answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public CallState answerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -398,12 +380,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public void setAnswerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; } - public CallState endTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public CallState endTime(OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -417,12 +399,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public void setEndTime(OffsetDateTime endTime) { this.endTime = endTime; } - public CallState disconnectCause(@javax.annotation.Nullable String disconnectCause) { + public CallState disconnectCause(String disconnectCause) { this.disconnectCause = disconnectCause; return this; } @@ -436,12 +418,12 @@ public String getDisconnectCause() { return disconnectCause; } - public void setDisconnectCause(@javax.annotation.Nullable String disconnectCause) { + public void setDisconnectCause(String disconnectCause) { this.disconnectCause = disconnectCause; } - public CallState errorMessage(@javax.annotation.Nullable String errorMessage) { + public CallState errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } @@ -455,12 +437,12 @@ public String getErrorMessage() { return errorMessage; } - public void setErrorMessage(@javax.annotation.Nullable String errorMessage) { + public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } - public CallState errorId(@javax.annotation.Nullable String errorId) { + public CallState errorId(String errorId) { this.errorId = errorId; return this; } @@ -474,12 +456,12 @@ public String getErrorId() { return errorId; } - public void setErrorId(@javax.annotation.Nullable String errorId) { + public void setErrorId(String errorId) { this.errorId = errorId; } - public CallState lastUpdate(@javax.annotation.Nullable OffsetDateTime lastUpdate) { + public CallState lastUpdate(OffsetDateTime lastUpdate) { this.lastUpdate = lastUpdate; return this; } @@ -493,7 +475,7 @@ public OffsetDateTime getLastUpdate() { return lastUpdate; } - public void setLastUpdate(@javax.annotation.Nullable OffsetDateTime lastUpdate) { + public void setLastUpdate(OffsetDateTime lastUpdate) { this.lastUpdate = lastUpdate; } diff --git a/src/main/java/com/bandwidth/sdk/model/CallTranscription.java b/src/main/java/com/bandwidth/sdk/model/CallTranscription.java index c166e71b..23f372f0 100644 --- a/src/main/java/com/bandwidth/sdk/model/CallTranscription.java +++ b/src/main/java/com/bandwidth/sdk/model/CallTranscription.java @@ -50,32 +50,28 @@ /** * CallTranscription */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CallTranscription { public static final String SERIALIZED_NAME_DETECTED_LANGUAGE = "detectedLanguage"; @SerializedName(SERIALIZED_NAME_DETECTED_LANGUAGE) - @javax.annotation.Nullable private CallTranscriptionDetectedLanguageEnum detectedLanguage; public static final String SERIALIZED_NAME_TRACK = "track"; @SerializedName(SERIALIZED_NAME_TRACK) - @javax.annotation.Nullable private CallTranscriptionTrackEnum track; public static final String SERIALIZED_NAME_TRANSCRIPT = "transcript"; @SerializedName(SERIALIZED_NAME_TRANSCRIPT) - @javax.annotation.Nullable private String transcript; public static final String SERIALIZED_NAME_CONFIDENCE = "confidence"; @SerializedName(SERIALIZED_NAME_CONFIDENCE) - @javax.annotation.Nullable private Double confidence; public CallTranscription() { } - public CallTranscription detectedLanguage(@javax.annotation.Nullable CallTranscriptionDetectedLanguageEnum detectedLanguage) { + public CallTranscription detectedLanguage(CallTranscriptionDetectedLanguageEnum detectedLanguage) { this.detectedLanguage = detectedLanguage; return this; } @@ -89,12 +85,12 @@ public CallTranscriptionDetectedLanguageEnum getDetectedLanguage() { return detectedLanguage; } - public void setDetectedLanguage(@javax.annotation.Nullable CallTranscriptionDetectedLanguageEnum detectedLanguage) { + public void setDetectedLanguage(CallTranscriptionDetectedLanguageEnum detectedLanguage) { this.detectedLanguage = detectedLanguage; } - public CallTranscription track(@javax.annotation.Nullable CallTranscriptionTrackEnum track) { + public CallTranscription track(CallTranscriptionTrackEnum track) { this.track = track; return this; } @@ -108,12 +104,12 @@ public CallTranscriptionTrackEnum getTrack() { return track; } - public void setTrack(@javax.annotation.Nullable CallTranscriptionTrackEnum track) { + public void setTrack(CallTranscriptionTrackEnum track) { this.track = track; } - public CallTranscription transcript(@javax.annotation.Nullable String transcript) { + public CallTranscription transcript(String transcript) { this.transcript = transcript; return this; } @@ -127,12 +123,12 @@ public String getTranscript() { return transcript; } - public void setTranscript(@javax.annotation.Nullable String transcript) { + public void setTranscript(String transcript) { this.transcript = transcript; } - public CallTranscription confidence(@javax.annotation.Nullable Double confidence) { + public CallTranscription confidence(Double confidence) { this.confidence = confidence; return this; } @@ -148,7 +144,7 @@ public Double getConfidence() { return confidence; } - public void setConfidence(@javax.annotation.Nullable Double confidence) { + public void setConfidence(Double confidence) { this.confidence = confidence; } diff --git a/src/main/java/com/bandwidth/sdk/model/CallTranscriptionMetadata.java b/src/main/java/com/bandwidth/sdk/model/CallTranscriptionMetadata.java index 19bf508b..682601b6 100644 --- a/src/main/java/com/bandwidth/sdk/model/CallTranscriptionMetadata.java +++ b/src/main/java/com/bandwidth/sdk/model/CallTranscriptionMetadata.java @@ -48,27 +48,24 @@ /** * CallTranscriptionMetadata */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CallTranscriptionMetadata { public static final String SERIALIZED_NAME_TRANSCRIPTION_ID = "transcriptionId"; @SerializedName(SERIALIZED_NAME_TRANSCRIPTION_ID) - @javax.annotation.Nullable private String transcriptionId; public static final String SERIALIZED_NAME_TRANSCRIPTION_NAME = "transcriptionName"; @SerializedName(SERIALIZED_NAME_TRANSCRIPTION_NAME) - @javax.annotation.Nullable private String transcriptionName; public static final String SERIALIZED_NAME_TRANSCRIPTION_URL = "transcriptionUrl"; @SerializedName(SERIALIZED_NAME_TRANSCRIPTION_URL) - @javax.annotation.Nullable private String transcriptionUrl; public CallTranscriptionMetadata() { } - public CallTranscriptionMetadata transcriptionId(@javax.annotation.Nullable String transcriptionId) { + public CallTranscriptionMetadata transcriptionId(String transcriptionId) { this.transcriptionId = transcriptionId; return this; } @@ -82,12 +79,12 @@ public String getTranscriptionId() { return transcriptionId; } - public void setTranscriptionId(@javax.annotation.Nullable String transcriptionId) { + public void setTranscriptionId(String transcriptionId) { this.transcriptionId = transcriptionId; } - public CallTranscriptionMetadata transcriptionName(@javax.annotation.Nullable String transcriptionName) { + public CallTranscriptionMetadata transcriptionName(String transcriptionName) { this.transcriptionName = transcriptionName; return this; } @@ -101,12 +98,12 @@ public String getTranscriptionName() { return transcriptionName; } - public void setTranscriptionName(@javax.annotation.Nullable String transcriptionName) { + public void setTranscriptionName(String transcriptionName) { this.transcriptionName = transcriptionName; } - public CallTranscriptionMetadata transcriptionUrl(@javax.annotation.Nullable String transcriptionUrl) { + public CallTranscriptionMetadata transcriptionUrl(String transcriptionUrl) { this.transcriptionUrl = transcriptionUrl; return this; } @@ -120,7 +117,7 @@ public String getTranscriptionUrl() { return transcriptionUrl; } - public void setTranscriptionUrl(@javax.annotation.Nullable String transcriptionUrl) { + public void setTranscriptionUrl(String transcriptionUrl) { this.transcriptionUrl = transcriptionUrl; } diff --git a/src/main/java/com/bandwidth/sdk/model/CallTranscriptionResponse.java b/src/main/java/com/bandwidth/sdk/model/CallTranscriptionResponse.java index d1c4603e..9e2e6e8d 100644 --- a/src/main/java/com/bandwidth/sdk/model/CallTranscriptionResponse.java +++ b/src/main/java/com/bandwidth/sdk/model/CallTranscriptionResponse.java @@ -51,32 +51,28 @@ /** * CallTranscriptionResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CallTranscriptionResponse { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_TRANSCRIPTION_ID = "transcriptionId"; @SerializedName(SERIALIZED_NAME_TRANSCRIPTION_ID) - @javax.annotation.Nullable private String transcriptionId; public static final String SERIALIZED_NAME_TRACKS = "tracks"; @SerializedName(SERIALIZED_NAME_TRACKS) - @javax.annotation.Nullable private List tracks = new ArrayList<>(); public CallTranscriptionResponse() { } - public CallTranscriptionResponse accountId(@javax.annotation.Nullable String accountId) { + public CallTranscriptionResponse accountId(String accountId) { this.accountId = accountId; return this; } @@ -90,12 +86,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public CallTranscriptionResponse callId(@javax.annotation.Nullable String callId) { + public CallTranscriptionResponse callId(String callId) { this.callId = callId; return this; } @@ -109,12 +105,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public CallTranscriptionResponse transcriptionId(@javax.annotation.Nullable String transcriptionId) { + public CallTranscriptionResponse transcriptionId(String transcriptionId) { this.transcriptionId = transcriptionId; return this; } @@ -128,12 +124,12 @@ public String getTranscriptionId() { return transcriptionId; } - public void setTranscriptionId(@javax.annotation.Nullable String transcriptionId) { + public void setTranscriptionId(String transcriptionId) { this.transcriptionId = transcriptionId; } - public CallTranscriptionResponse tracks(@javax.annotation.Nullable List tracks) { + public CallTranscriptionResponse tracks(List tracks) { this.tracks = tracks; return this; } @@ -155,7 +151,7 @@ public List getTracks() { return tracks; } - public void setTracks(@javax.annotation.Nullable List tracks) { + public void setTracks(List tracks) { this.tracks = tracks; } diff --git a/src/main/java/com/bandwidth/sdk/model/CodeRequest.java b/src/main/java/com/bandwidth/sdk/model/CodeRequest.java index 06e06d9b..f3c2141f 100644 --- a/src/main/java/com/bandwidth/sdk/model/CodeRequest.java +++ b/src/main/java/com/bandwidth/sdk/model/CodeRequest.java @@ -48,42 +48,36 @@ /** * CodeRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CodeRequest { public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nonnull private String to; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nonnull private String from; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nonnull private String applicationId; public static final String SERIALIZED_NAME_SCOPE = "scope"; @SerializedName(SERIALIZED_NAME_SCOPE) - @javax.annotation.Nullable private String scope; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nonnull private String message; public static final String SERIALIZED_NAME_DIGITS = "digits"; @SerializedName(SERIALIZED_NAME_DIGITS) - @javax.annotation.Nonnull private Integer digits; public CodeRequest() { } - public CodeRequest to(@javax.annotation.Nonnull String to) { + public CodeRequest to(String to) { this.to = to; return this; } @@ -97,12 +91,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nonnull String to) { + public void setTo(String to) { this.to = to; } - public CodeRequest from(@javax.annotation.Nonnull String from) { + public CodeRequest from(String from) { this.from = from; return this; } @@ -116,12 +110,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nonnull String from) { + public void setFrom(String from) { this.from = from; } - public CodeRequest applicationId(@javax.annotation.Nonnull String applicationId) { + public CodeRequest applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -135,12 +129,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nonnull String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public CodeRequest scope(@javax.annotation.Nullable String scope) { + public CodeRequest scope(String scope) { this.scope = scope; return this; } @@ -154,12 +148,12 @@ public String getScope() { return scope; } - public void setScope(@javax.annotation.Nullable String scope) { + public void setScope(String scope) { this.scope = scope; } - public CodeRequest message(@javax.annotation.Nonnull String message) { + public CodeRequest message(String message) { this.message = message; return this; } @@ -173,12 +167,12 @@ public String getMessage() { return message; } - public void setMessage(@javax.annotation.Nonnull String message) { + public void setMessage(String message) { this.message = message; } - public CodeRequest digits(@javax.annotation.Nonnull Integer digits) { + public CodeRequest digits(Integer digits) { this.digits = digits; return this; } @@ -194,7 +188,7 @@ public Integer getDigits() { return digits; } - public void setDigits(@javax.annotation.Nonnull Integer digits) { + public void setDigits(Integer digits) { this.digits = digits; } diff --git a/src/main/java/com/bandwidth/sdk/model/Conference.java b/src/main/java/com/bandwidth/sdk/model/Conference.java index 5522b692..26a4bcc3 100644 --- a/src/main/java/com/bandwidth/sdk/model/Conference.java +++ b/src/main/java/com/bandwidth/sdk/model/Conference.java @@ -55,52 +55,44 @@ /** * Conference */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Conference { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable private String id; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable private String name; public static final String SERIALIZED_NAME_CREATED_TIME = "createdTime"; @SerializedName(SERIALIZED_NAME_CREATED_TIME) - @javax.annotation.Nullable private OffsetDateTime createdTime; public static final String SERIALIZED_NAME_COMPLETED_TIME = "completedTime"; @SerializedName(SERIALIZED_NAME_COMPLETED_TIME) - @javax.annotation.Nullable private OffsetDateTime completedTime; public static final String SERIALIZED_NAME_CONFERENCE_EVENT_URL = "conferenceEventUrl"; @SerializedName(SERIALIZED_NAME_CONFERENCE_EVENT_URL) - @javax.annotation.Nullable private URI conferenceEventUrl; public static final String SERIALIZED_NAME_CONFERENCE_EVENT_METHOD = "conferenceEventMethod"; @SerializedName(SERIALIZED_NAME_CONFERENCE_EVENT_METHOD) - @javax.annotation.Nullable private CallbackMethodEnum conferenceEventMethod = CallbackMethodEnum.POST; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_ACTIVE_MEMBERS = "activeMembers"; @SerializedName(SERIALIZED_NAME_ACTIVE_MEMBERS) - @javax.annotation.Nullable private List activeMembers; public Conference() { } - public Conference id(@javax.annotation.Nullable String id) { + public Conference id(String id) { this.id = id; return this; } @@ -114,12 +106,12 @@ public String getId() { return id; } - public void setId(@javax.annotation.Nullable String id) { + public void setId(String id) { this.id = id; } - public Conference name(@javax.annotation.Nullable String name) { + public Conference name(String name) { this.name = name; return this; } @@ -133,12 +125,12 @@ public String getName() { return name; } - public void setName(@javax.annotation.Nullable String name) { + public void setName(String name) { this.name = name; } - public Conference createdTime(@javax.annotation.Nullable OffsetDateTime createdTime) { + public Conference createdTime(OffsetDateTime createdTime) { this.createdTime = createdTime; return this; } @@ -152,12 +144,12 @@ public OffsetDateTime getCreatedTime() { return createdTime; } - public void setCreatedTime(@javax.annotation.Nullable OffsetDateTime createdTime) { + public void setCreatedTime(OffsetDateTime createdTime) { this.createdTime = createdTime; } - public Conference completedTime(@javax.annotation.Nullable OffsetDateTime completedTime) { + public Conference completedTime(OffsetDateTime completedTime) { this.completedTime = completedTime; return this; } @@ -171,12 +163,12 @@ public OffsetDateTime getCompletedTime() { return completedTime; } - public void setCompletedTime(@javax.annotation.Nullable OffsetDateTime completedTime) { + public void setCompletedTime(OffsetDateTime completedTime) { this.completedTime = completedTime; } - public Conference conferenceEventUrl(@javax.annotation.Nullable URI conferenceEventUrl) { + public Conference conferenceEventUrl(URI conferenceEventUrl) { this.conferenceEventUrl = conferenceEventUrl; return this; } @@ -190,12 +182,12 @@ public URI getConferenceEventUrl() { return conferenceEventUrl; } - public void setConferenceEventUrl(@javax.annotation.Nullable URI conferenceEventUrl) { + public void setConferenceEventUrl(URI conferenceEventUrl) { this.conferenceEventUrl = conferenceEventUrl; } - public Conference conferenceEventMethod(@javax.annotation.Nullable CallbackMethodEnum conferenceEventMethod) { + public Conference conferenceEventMethod(CallbackMethodEnum conferenceEventMethod) { this.conferenceEventMethod = conferenceEventMethod; return this; } @@ -209,12 +201,12 @@ public CallbackMethodEnum getConferenceEventMethod() { return conferenceEventMethod; } - public void setConferenceEventMethod(@javax.annotation.Nullable CallbackMethodEnum conferenceEventMethod) { + public void setConferenceEventMethod(CallbackMethodEnum conferenceEventMethod) { this.conferenceEventMethod = conferenceEventMethod; } - public Conference tag(@javax.annotation.Nullable String tag) { + public Conference tag(String tag) { this.tag = tag; return this; } @@ -228,12 +220,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public Conference activeMembers(@javax.annotation.Nullable List activeMembers) { + public Conference activeMembers(List activeMembers) { this.activeMembers = activeMembers; return this; } @@ -255,7 +247,7 @@ public List getActiveMembers() { return activeMembers; } - public void setActiveMembers(@javax.annotation.Nullable List activeMembers) { + public void setActiveMembers(List activeMembers) { this.activeMembers = activeMembers; } diff --git a/src/main/java/com/bandwidth/sdk/model/ConferenceCompletedCallback.java b/src/main/java/com/bandwidth/sdk/model/ConferenceCompletedCallback.java index 007d0144..83f2d420 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceCompletedCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceCompletedCallback.java @@ -50,37 +50,32 @@ /** * The Conference Completed event is fired when the last member leaves the conference. The response to this event may not contain BXML. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ConferenceCompletedCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_CONFERENCE_ID = "conferenceId"; @SerializedName(SERIALIZED_NAME_CONFERENCE_ID) - @javax.annotation.Nullable private String conferenceId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable private String name; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public ConferenceCompletedCallback() { } - public ConferenceCompletedCallback eventType(@javax.annotation.Nullable String eventType) { + public ConferenceCompletedCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -94,12 +89,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public ConferenceCompletedCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public ConferenceCompletedCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -113,12 +108,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public ConferenceCompletedCallback conferenceId(@javax.annotation.Nullable String conferenceId) { + public ConferenceCompletedCallback conferenceId(String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -132,12 +127,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(@javax.annotation.Nullable String conferenceId) { + public void setConferenceId(String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceCompletedCallback name(@javax.annotation.Nullable String name) { + public ConferenceCompletedCallback name(String name) { this.name = name; return this; } @@ -151,12 +146,12 @@ public String getName() { return name; } - public void setName(@javax.annotation.Nullable String name) { + public void setName(String name) { this.name = name; } - public ConferenceCompletedCallback tag(@javax.annotation.Nullable String tag) { + public ConferenceCompletedCallback tag(String tag) { this.tag = tag; return this; } @@ -170,7 +165,7 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } diff --git a/src/main/java/com/bandwidth/sdk/model/ConferenceCreatedCallback.java b/src/main/java/com/bandwidth/sdk/model/ConferenceCreatedCallback.java index 30bf3e04..59f0ca41 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceCreatedCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceCreatedCallback.java @@ -50,37 +50,32 @@ /** * The Conference Created event is fired whenever a new conference that specified a callbackUrl is created. The response may be either empty or a BXML document. Only the following verbs are valid for conferences: PlayAudio, SpeakSentence, StartRecording, StopRecording, PauseRecording, ResumeRecording. Audio verbs will be heard by all members of the conference. Recordings capture audio from all members who are not muted or on hold, as well as any audio verbs that are played into the conference. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ConferenceCreatedCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_CONFERENCE_ID = "conferenceId"; @SerializedName(SERIALIZED_NAME_CONFERENCE_ID) - @javax.annotation.Nullable private String conferenceId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable private String name; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public ConferenceCreatedCallback() { } - public ConferenceCreatedCallback eventType(@javax.annotation.Nullable String eventType) { + public ConferenceCreatedCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -94,12 +89,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public ConferenceCreatedCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public ConferenceCreatedCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -113,12 +108,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public ConferenceCreatedCallback conferenceId(@javax.annotation.Nullable String conferenceId) { + public ConferenceCreatedCallback conferenceId(String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -132,12 +127,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(@javax.annotation.Nullable String conferenceId) { + public void setConferenceId(String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceCreatedCallback name(@javax.annotation.Nullable String name) { + public ConferenceCreatedCallback name(String name) { this.name = name; return this; } @@ -151,12 +146,12 @@ public String getName() { return name; } - public void setName(@javax.annotation.Nullable String name) { + public void setName(String name) { this.name = name; } - public ConferenceCreatedCallback tag(@javax.annotation.Nullable String tag) { + public ConferenceCreatedCallback tag(String tag) { this.tag = tag; return this; } @@ -170,7 +165,7 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } diff --git a/src/main/java/com/bandwidth/sdk/model/ConferenceMember.java b/src/main/java/com/bandwidth/sdk/model/ConferenceMember.java index ccb7abd6..80cbf433 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceMember.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceMember.java @@ -52,42 +52,36 @@ /** * ConferenceMember */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ConferenceMember { public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_CONFERENCE_ID = "conferenceId"; @SerializedName(SERIALIZED_NAME_CONFERENCE_ID) - @javax.annotation.Nullable private String conferenceId; public static final String SERIALIZED_NAME_MEMBER_URL = "memberUrl"; @SerializedName(SERIALIZED_NAME_MEMBER_URL) - @javax.annotation.Nullable private URI memberUrl; public static final String SERIALIZED_NAME_MUTE = "mute"; @SerializedName(SERIALIZED_NAME_MUTE) - @javax.annotation.Nullable private Boolean mute; public static final String SERIALIZED_NAME_HOLD = "hold"; @SerializedName(SERIALIZED_NAME_HOLD) - @javax.annotation.Nullable private Boolean hold; public static final String SERIALIZED_NAME_CALL_IDS_TO_COACH = "callIdsToCoach"; @SerializedName(SERIALIZED_NAME_CALL_IDS_TO_COACH) - @javax.annotation.Nullable private List callIdsToCoach; public ConferenceMember() { } - public ConferenceMember callId(@javax.annotation.Nullable String callId) { + public ConferenceMember callId(String callId) { this.callId = callId; return this; } @@ -101,12 +95,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public ConferenceMember conferenceId(@javax.annotation.Nullable String conferenceId) { + public ConferenceMember conferenceId(String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -120,12 +114,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(@javax.annotation.Nullable String conferenceId) { + public void setConferenceId(String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceMember memberUrl(@javax.annotation.Nullable URI memberUrl) { + public ConferenceMember memberUrl(URI memberUrl) { this.memberUrl = memberUrl; return this; } @@ -139,12 +133,12 @@ public URI getMemberUrl() { return memberUrl; } - public void setMemberUrl(@javax.annotation.Nullable URI memberUrl) { + public void setMemberUrl(URI memberUrl) { this.memberUrl = memberUrl; } - public ConferenceMember mute(@javax.annotation.Nullable Boolean mute) { + public ConferenceMember mute(Boolean mute) { this.mute = mute; return this; } @@ -158,12 +152,12 @@ public Boolean getMute() { return mute; } - public void setMute(@javax.annotation.Nullable Boolean mute) { + public void setMute(Boolean mute) { this.mute = mute; } - public ConferenceMember hold(@javax.annotation.Nullable Boolean hold) { + public ConferenceMember hold(Boolean hold) { this.hold = hold; return this; } @@ -177,12 +171,12 @@ public Boolean getHold() { return hold; } - public void setHold(@javax.annotation.Nullable Boolean hold) { + public void setHold(Boolean hold) { this.hold = hold; } - public ConferenceMember callIdsToCoach(@javax.annotation.Nullable List callIdsToCoach) { + public ConferenceMember callIdsToCoach(List callIdsToCoach) { this.callIdsToCoach = callIdsToCoach; return this; } @@ -204,7 +198,7 @@ public List getCallIdsToCoach() { return callIdsToCoach; } - public void setCallIdsToCoach(@javax.annotation.Nullable List callIdsToCoach) { + public void setCallIdsToCoach(List callIdsToCoach) { this.callIdsToCoach = callIdsToCoach; } diff --git a/src/main/java/com/bandwidth/sdk/model/ConferenceMemberExitCallback.java b/src/main/java/com/bandwidth/sdk/model/ConferenceMemberExitCallback.java index 82f93c9a..6532e391 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceMemberExitCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceMemberExitCallback.java @@ -50,52 +50,44 @@ /** * The Conference Member Exit event is fired whenever a caller exits a conference that specified a callbackUrl. The response may be either empty or a BXML document. Only the following verbs are valid for conferences: PlayAudio, SpeakSentence, StartRecording, StopRecording, PauseRecording, ResumeRecording. Audio verbs will be heard by all members of the conference. Recordings capture audio from all members who are not muted or on hold, as well as any audio verbs that are played into the conference. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ConferenceMemberExitCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_CONFERENCE_ID = "conferenceId"; @SerializedName(SERIALIZED_NAME_CONFERENCE_ID) - @javax.annotation.Nullable private String conferenceId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable private String name; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public ConferenceMemberExitCallback() { } - public ConferenceMemberExitCallback eventType(@javax.annotation.Nullable String eventType) { + public ConferenceMemberExitCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -109,12 +101,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public ConferenceMemberExitCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public ConferenceMemberExitCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -128,12 +120,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public ConferenceMemberExitCallback conferenceId(@javax.annotation.Nullable String conferenceId) { + public ConferenceMemberExitCallback conferenceId(String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -147,12 +139,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(@javax.annotation.Nullable String conferenceId) { + public void setConferenceId(String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceMemberExitCallback name(@javax.annotation.Nullable String name) { + public ConferenceMemberExitCallback name(String name) { this.name = name; return this; } @@ -166,12 +158,12 @@ public String getName() { return name; } - public void setName(@javax.annotation.Nullable String name) { + public void setName(String name) { this.name = name; } - public ConferenceMemberExitCallback from(@javax.annotation.Nullable String from) { + public ConferenceMemberExitCallback from(String from) { this.from = from; return this; } @@ -185,12 +177,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public ConferenceMemberExitCallback to(@javax.annotation.Nullable String to) { + public ConferenceMemberExitCallback to(String to) { this.to = to; return this; } @@ -204,12 +196,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public ConferenceMemberExitCallback callId(@javax.annotation.Nullable String callId) { + public ConferenceMemberExitCallback callId(String callId) { this.callId = callId; return this; } @@ -223,12 +215,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public ConferenceMemberExitCallback tag(@javax.annotation.Nullable String tag) { + public ConferenceMemberExitCallback tag(String tag) { this.tag = tag; return this; } @@ -242,7 +234,7 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } diff --git a/src/main/java/com/bandwidth/sdk/model/ConferenceMemberJoinCallback.java b/src/main/java/com/bandwidth/sdk/model/ConferenceMemberJoinCallback.java index 780c9390..8c8e6877 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceMemberJoinCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceMemberJoinCallback.java @@ -50,52 +50,44 @@ /** * The Conference Member Join event is fired whenever a caller joins a conference that specified a callbackUrl. The response may be either empty or a BXML document. Only the following verbs are valid for conferences: PlayAudio, SpeakSentence, StartRecording, StopRecording, PauseRecording, ResumeRecording. Audio verbs will be heard by all members of the conference. Recordings capture audio from all members who are not muted or on hold, as well as any audio verbs that are played into the conference. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ConferenceMemberJoinCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_CONFERENCE_ID = "conferenceId"; @SerializedName(SERIALIZED_NAME_CONFERENCE_ID) - @javax.annotation.Nullable private String conferenceId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable private String name; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public ConferenceMemberJoinCallback() { } - public ConferenceMemberJoinCallback eventType(@javax.annotation.Nullable String eventType) { + public ConferenceMemberJoinCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -109,12 +101,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public ConferenceMemberJoinCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public ConferenceMemberJoinCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -128,12 +120,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public ConferenceMemberJoinCallback conferenceId(@javax.annotation.Nullable String conferenceId) { + public ConferenceMemberJoinCallback conferenceId(String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -147,12 +139,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(@javax.annotation.Nullable String conferenceId) { + public void setConferenceId(String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceMemberJoinCallback name(@javax.annotation.Nullable String name) { + public ConferenceMemberJoinCallback name(String name) { this.name = name; return this; } @@ -166,12 +158,12 @@ public String getName() { return name; } - public void setName(@javax.annotation.Nullable String name) { + public void setName(String name) { this.name = name; } - public ConferenceMemberJoinCallback from(@javax.annotation.Nullable String from) { + public ConferenceMemberJoinCallback from(String from) { this.from = from; return this; } @@ -185,12 +177,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public ConferenceMemberJoinCallback to(@javax.annotation.Nullable String to) { + public ConferenceMemberJoinCallback to(String to) { this.to = to; return this; } @@ -204,12 +196,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public ConferenceMemberJoinCallback callId(@javax.annotation.Nullable String callId) { + public ConferenceMemberJoinCallback callId(String callId) { this.callId = callId; return this; } @@ -223,12 +215,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public ConferenceMemberJoinCallback tag(@javax.annotation.Nullable String tag) { + public ConferenceMemberJoinCallback tag(String tag) { this.tag = tag; return this; } @@ -242,7 +234,7 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } diff --git a/src/main/java/com/bandwidth/sdk/model/ConferenceRecordingAvailableCallback.java b/src/main/java/com/bandwidth/sdk/model/ConferenceRecordingAvailableCallback.java index 84c96c4c..97754c60 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceRecordingAvailableCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceRecordingAvailableCallback.java @@ -52,82 +52,68 @@ /** * The Conference Recording Available event is sent after a conference recording has been processed. It indicates that the recording is available for download. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ConferenceRecordingAvailableCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_CONFERENCE_ID = "conferenceId"; @SerializedName(SERIALIZED_NAME_CONFERENCE_ID) - @javax.annotation.Nullable private String conferenceId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable private String name; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_RECORDING_ID = "recordingId"; @SerializedName(SERIALIZED_NAME_RECORDING_ID) - @javax.annotation.Nullable private String recordingId; public static final String SERIALIZED_NAME_CHANNELS = "channels"; @SerializedName(SERIALIZED_NAME_CHANNELS) - @javax.annotation.Nullable private Integer channels; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_END_TIME = "endTime"; @SerializedName(SERIALIZED_NAME_END_TIME) - @javax.annotation.Nullable private OffsetDateTime endTime; public static final String SERIALIZED_NAME_DURATION = "duration"; @SerializedName(SERIALIZED_NAME_DURATION) - @javax.annotation.Nullable private String duration; public static final String SERIALIZED_NAME_FILE_FORMAT = "fileFormat"; @SerializedName(SERIALIZED_NAME_FILE_FORMAT) - @javax.annotation.Nullable private FileFormatEnum fileFormat; public static final String SERIALIZED_NAME_MEDIA_URL = "mediaUrl"; @SerializedName(SERIALIZED_NAME_MEDIA_URL) - @javax.annotation.Nullable private URI mediaUrl; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable private String status; public ConferenceRecordingAvailableCallback() { } - public ConferenceRecordingAvailableCallback eventType(@javax.annotation.Nullable String eventType) { + public ConferenceRecordingAvailableCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -141,12 +127,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public ConferenceRecordingAvailableCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public ConferenceRecordingAvailableCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -160,12 +146,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public ConferenceRecordingAvailableCallback conferenceId(@javax.annotation.Nullable String conferenceId) { + public ConferenceRecordingAvailableCallback conferenceId(String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -179,12 +165,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(@javax.annotation.Nullable String conferenceId) { + public void setConferenceId(String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceRecordingAvailableCallback name(@javax.annotation.Nullable String name) { + public ConferenceRecordingAvailableCallback name(String name) { this.name = name; return this; } @@ -198,12 +184,12 @@ public String getName() { return name; } - public void setName(@javax.annotation.Nullable String name) { + public void setName(String name) { this.name = name; } - public ConferenceRecordingAvailableCallback accountId(@javax.annotation.Nullable String accountId) { + public ConferenceRecordingAvailableCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -217,12 +203,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public ConferenceRecordingAvailableCallback recordingId(@javax.annotation.Nullable String recordingId) { + public ConferenceRecordingAvailableCallback recordingId(String recordingId) { this.recordingId = recordingId; return this; } @@ -236,12 +222,12 @@ public String getRecordingId() { return recordingId; } - public void setRecordingId(@javax.annotation.Nullable String recordingId) { + public void setRecordingId(String recordingId) { this.recordingId = recordingId; } - public ConferenceRecordingAvailableCallback channels(@javax.annotation.Nullable Integer channels) { + public ConferenceRecordingAvailableCallback channels(Integer channels) { this.channels = channels; return this; } @@ -255,12 +241,12 @@ public Integer getChannels() { return channels; } - public void setChannels(@javax.annotation.Nullable Integer channels) { + public void setChannels(Integer channels) { this.channels = channels; } - public ConferenceRecordingAvailableCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public ConferenceRecordingAvailableCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -274,12 +260,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public ConferenceRecordingAvailableCallback endTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public ConferenceRecordingAvailableCallback endTime(OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -293,12 +279,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public void setEndTime(OffsetDateTime endTime) { this.endTime = endTime; } - public ConferenceRecordingAvailableCallback duration(@javax.annotation.Nullable String duration) { + public ConferenceRecordingAvailableCallback duration(String duration) { this.duration = duration; return this; } @@ -312,12 +298,12 @@ public String getDuration() { return duration; } - public void setDuration(@javax.annotation.Nullable String duration) { + public void setDuration(String duration) { this.duration = duration; } - public ConferenceRecordingAvailableCallback fileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { + public ConferenceRecordingAvailableCallback fileFormat(FileFormatEnum fileFormat) { this.fileFormat = fileFormat; return this; } @@ -331,12 +317,12 @@ public FileFormatEnum getFileFormat() { return fileFormat; } - public void setFileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { + public void setFileFormat(FileFormatEnum fileFormat) { this.fileFormat = fileFormat; } - public ConferenceRecordingAvailableCallback mediaUrl(@javax.annotation.Nullable URI mediaUrl) { + public ConferenceRecordingAvailableCallback mediaUrl(URI mediaUrl) { this.mediaUrl = mediaUrl; return this; } @@ -350,12 +336,12 @@ public URI getMediaUrl() { return mediaUrl; } - public void setMediaUrl(@javax.annotation.Nullable URI mediaUrl) { + public void setMediaUrl(URI mediaUrl) { this.mediaUrl = mediaUrl; } - public ConferenceRecordingAvailableCallback tag(@javax.annotation.Nullable String tag) { + public ConferenceRecordingAvailableCallback tag(String tag) { this.tag = tag; return this; } @@ -369,12 +355,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public ConferenceRecordingAvailableCallback status(@javax.annotation.Nullable String status) { + public ConferenceRecordingAvailableCallback status(String status) { this.status = status; return this; } @@ -388,7 +374,7 @@ public String getStatus() { return status; } - public void setStatus(@javax.annotation.Nullable String status) { + public void setStatus(String status) { this.status = status; } diff --git a/src/main/java/com/bandwidth/sdk/model/ConferenceRecordingMetadata.java b/src/main/java/com/bandwidth/sdk/model/ConferenceRecordingMetadata.java index 64495284..0f9c8f21 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceRecordingMetadata.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceRecordingMetadata.java @@ -52,72 +52,60 @@ /** * ConferenceRecordingMetadata */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ConferenceRecordingMetadata { public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_CONFERENCE_ID = "conferenceId"; @SerializedName(SERIALIZED_NAME_CONFERENCE_ID) - @javax.annotation.Nullable private String conferenceId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable private String name; public static final String SERIALIZED_NAME_RECORDING_ID = "recordingId"; @SerializedName(SERIALIZED_NAME_RECORDING_ID) - @javax.annotation.Nullable private String recordingId; public static final String SERIALIZED_NAME_DURATION = "duration"; @SerializedName(SERIALIZED_NAME_DURATION) - @javax.annotation.Nullable private String duration; public static final String SERIALIZED_NAME_CHANNELS = "channels"; @SerializedName(SERIALIZED_NAME_CHANNELS) - @javax.annotation.Nullable private Integer channels; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_END_TIME = "endTime"; @SerializedName(SERIALIZED_NAME_END_TIME) - @javax.annotation.Nullable private OffsetDateTime endTime; public static final String SERIALIZED_NAME_FILE_FORMAT = "fileFormat"; @SerializedName(SERIALIZED_NAME_FILE_FORMAT) - @javax.annotation.Nullable private FileFormatEnum fileFormat; public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable private String status; public static final String SERIALIZED_NAME_MEDIA_URL = "mediaUrl"; @SerializedName(SERIALIZED_NAME_MEDIA_URL) - @javax.annotation.Nullable private URI mediaUrl; public static final String SERIALIZED_NAME_RECORDING_NAME = "recordingName"; @SerializedName(SERIALIZED_NAME_RECORDING_NAME) - @javax.annotation.Nullable private String recordingName; public ConferenceRecordingMetadata() { } - public ConferenceRecordingMetadata accountId(@javax.annotation.Nullable String accountId) { + public ConferenceRecordingMetadata accountId(String accountId) { this.accountId = accountId; return this; } @@ -131,12 +119,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public ConferenceRecordingMetadata conferenceId(@javax.annotation.Nullable String conferenceId) { + public ConferenceRecordingMetadata conferenceId(String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -150,12 +138,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(@javax.annotation.Nullable String conferenceId) { + public void setConferenceId(String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceRecordingMetadata name(@javax.annotation.Nullable String name) { + public ConferenceRecordingMetadata name(String name) { this.name = name; return this; } @@ -169,12 +157,12 @@ public String getName() { return name; } - public void setName(@javax.annotation.Nullable String name) { + public void setName(String name) { this.name = name; } - public ConferenceRecordingMetadata recordingId(@javax.annotation.Nullable String recordingId) { + public ConferenceRecordingMetadata recordingId(String recordingId) { this.recordingId = recordingId; return this; } @@ -188,12 +176,12 @@ public String getRecordingId() { return recordingId; } - public void setRecordingId(@javax.annotation.Nullable String recordingId) { + public void setRecordingId(String recordingId) { this.recordingId = recordingId; } - public ConferenceRecordingMetadata duration(@javax.annotation.Nullable String duration) { + public ConferenceRecordingMetadata duration(String duration) { this.duration = duration; return this; } @@ -207,12 +195,12 @@ public String getDuration() { return duration; } - public void setDuration(@javax.annotation.Nullable String duration) { + public void setDuration(String duration) { this.duration = duration; } - public ConferenceRecordingMetadata channels(@javax.annotation.Nullable Integer channels) { + public ConferenceRecordingMetadata channels(Integer channels) { this.channels = channels; return this; } @@ -226,12 +214,12 @@ public Integer getChannels() { return channels; } - public void setChannels(@javax.annotation.Nullable Integer channels) { + public void setChannels(Integer channels) { this.channels = channels; } - public ConferenceRecordingMetadata startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public ConferenceRecordingMetadata startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -245,12 +233,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public ConferenceRecordingMetadata endTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public ConferenceRecordingMetadata endTime(OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -264,12 +252,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public void setEndTime(OffsetDateTime endTime) { this.endTime = endTime; } - public ConferenceRecordingMetadata fileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { + public ConferenceRecordingMetadata fileFormat(FileFormatEnum fileFormat) { this.fileFormat = fileFormat; return this; } @@ -283,12 +271,12 @@ public FileFormatEnum getFileFormat() { return fileFormat; } - public void setFileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { + public void setFileFormat(FileFormatEnum fileFormat) { this.fileFormat = fileFormat; } - public ConferenceRecordingMetadata status(@javax.annotation.Nullable String status) { + public ConferenceRecordingMetadata status(String status) { this.status = status; return this; } @@ -302,12 +290,12 @@ public String getStatus() { return status; } - public void setStatus(@javax.annotation.Nullable String status) { + public void setStatus(String status) { this.status = status; } - public ConferenceRecordingMetadata mediaUrl(@javax.annotation.Nullable URI mediaUrl) { + public ConferenceRecordingMetadata mediaUrl(URI mediaUrl) { this.mediaUrl = mediaUrl; return this; } @@ -321,12 +309,12 @@ public URI getMediaUrl() { return mediaUrl; } - public void setMediaUrl(@javax.annotation.Nullable URI mediaUrl) { + public void setMediaUrl(URI mediaUrl) { this.mediaUrl = mediaUrl; } - public ConferenceRecordingMetadata recordingName(@javax.annotation.Nullable String recordingName) { + public ConferenceRecordingMetadata recordingName(String recordingName) { this.recordingName = recordingName; return this; } @@ -340,7 +328,7 @@ public String getRecordingName() { return recordingName; } - public void setRecordingName(@javax.annotation.Nullable String recordingName) { + public void setRecordingName(String recordingName) { this.recordingName = recordingName; } diff --git a/src/main/java/com/bandwidth/sdk/model/ConferenceRedirectCallback.java b/src/main/java/com/bandwidth/sdk/model/ConferenceRedirectCallback.java index 77daf53b..d34b6d1a 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceRedirectCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceRedirectCallback.java @@ -50,37 +50,32 @@ /** * The Conference Redirect event is fired whenever an existing conference is modified via a POST request made to the /conferences/{conferenceId} endpoint. The response may be either empty or a BXML document. Only the following verbs are valid for conferences: PlayAudio, SpeakSentence, StartRecording, StopRecording, PauseRecording, ResumeRecording. Audio verbs will be heard by all members of the conference. Recordings capture audio from all members who are not muted or on hold, as well as any audio verbs that are played into the conference. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ConferenceRedirectCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_CONFERENCE_ID = "conferenceId"; @SerializedName(SERIALIZED_NAME_CONFERENCE_ID) - @javax.annotation.Nullable private String conferenceId; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) - @javax.annotation.Nullable private String name; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public ConferenceRedirectCallback() { } - public ConferenceRedirectCallback eventType(@javax.annotation.Nullable String eventType) { + public ConferenceRedirectCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -94,12 +89,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public ConferenceRedirectCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public ConferenceRedirectCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -113,12 +108,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public ConferenceRedirectCallback conferenceId(@javax.annotation.Nullable String conferenceId) { + public ConferenceRedirectCallback conferenceId(String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -132,12 +127,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(@javax.annotation.Nullable String conferenceId) { + public void setConferenceId(String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceRedirectCallback name(@javax.annotation.Nullable String name) { + public ConferenceRedirectCallback name(String name) { this.name = name; return this; } @@ -151,12 +146,12 @@ public String getName() { return name; } - public void setName(@javax.annotation.Nullable String name) { + public void setName(String name) { this.name = name; } - public ConferenceRedirectCallback tag(@javax.annotation.Nullable String tag) { + public ConferenceRedirectCallback tag(String tag) { this.tag = tag; return this; } @@ -170,7 +165,7 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } diff --git a/src/main/java/com/bandwidth/sdk/model/CreateCall.java b/src/main/java/com/bandwidth/sdk/model/CreateCall.java index c92451c4..6ce82131 100644 --- a/src/main/java/com/bandwidth/sdk/model/CreateCall.java +++ b/src/main/java/com/bandwidth/sdk/model/CreateCall.java @@ -52,117 +52,96 @@ /** * CreateCall */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CreateCall { public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nonnull private String to; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nonnull private String from; public static final String SERIALIZED_NAME_PRIVACY = "privacy"; @SerializedName(SERIALIZED_NAME_PRIVACY) - @javax.annotation.Nullable private Boolean privacy; public static final String SERIALIZED_NAME_DISPLAY_NAME = "displayName"; @SerializedName(SERIALIZED_NAME_DISPLAY_NAME) - @javax.annotation.Nullable private String displayName; public static final String SERIALIZED_NAME_UUI = "uui"; @SerializedName(SERIALIZED_NAME_UUI) - @javax.annotation.Nullable private String uui; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nonnull private String applicationId; public static final String SERIALIZED_NAME_ANSWER_URL = "answerUrl"; @SerializedName(SERIALIZED_NAME_ANSWER_URL) - @javax.annotation.Nonnull private URI answerUrl; public static final String SERIALIZED_NAME_ANSWER_METHOD = "answerMethod"; @SerializedName(SERIALIZED_NAME_ANSWER_METHOD) - @javax.annotation.Nullable private CallbackMethodEnum answerMethod = CallbackMethodEnum.POST; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_ANSWER_FALLBACK_URL = "answerFallbackUrl"; @SerializedName(SERIALIZED_NAME_ANSWER_FALLBACK_URL) - @javax.annotation.Nullable private URI answerFallbackUrl; public static final String SERIALIZED_NAME_ANSWER_FALLBACK_METHOD = "answerFallbackMethod"; @SerializedName(SERIALIZED_NAME_ANSWER_FALLBACK_METHOD) - @javax.annotation.Nullable private CallbackMethodEnum answerFallbackMethod = CallbackMethodEnum.POST; public static final String SERIALIZED_NAME_FALLBACK_USERNAME = "fallbackUsername"; @SerializedName(SERIALIZED_NAME_FALLBACK_USERNAME) - @javax.annotation.Nullable private String fallbackUsername; public static final String SERIALIZED_NAME_FALLBACK_PASSWORD = "fallbackPassword"; @SerializedName(SERIALIZED_NAME_FALLBACK_PASSWORD) - @javax.annotation.Nullable private String fallbackPassword; public static final String SERIALIZED_NAME_DISCONNECT_URL = "disconnectUrl"; @SerializedName(SERIALIZED_NAME_DISCONNECT_URL) - @javax.annotation.Nullable private URI disconnectUrl; public static final String SERIALIZED_NAME_DISCONNECT_METHOD = "disconnectMethod"; @SerializedName(SERIALIZED_NAME_DISCONNECT_METHOD) - @javax.annotation.Nullable private CallbackMethodEnum disconnectMethod = CallbackMethodEnum.POST; public static final String SERIALIZED_NAME_CALL_TIMEOUT = "callTimeout"; @SerializedName(SERIALIZED_NAME_CALL_TIMEOUT) - @javax.annotation.Nullable private Double callTimeout = 30d; public static final String SERIALIZED_NAME_CALLBACK_TIMEOUT = "callbackTimeout"; @SerializedName(SERIALIZED_NAME_CALLBACK_TIMEOUT) - @javax.annotation.Nullable private Double callbackTimeout = 15d; public static final String SERIALIZED_NAME_MACHINE_DETECTION = "machineDetection"; @SerializedName(SERIALIZED_NAME_MACHINE_DETECTION) - @javax.annotation.Nullable private MachineDetectionConfiguration machineDetection; public static final String SERIALIZED_NAME_PRIORITY = "priority"; @SerializedName(SERIALIZED_NAME_PRIORITY) - @javax.annotation.Nullable private Integer priority = 5; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public CreateCall() { } - public CreateCall to(@javax.annotation.Nonnull String to) { + public CreateCall to(String to) { this.to = to; return this; } @@ -176,12 +155,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nonnull String to) { + public void setTo(String to) { this.to = to; } - public CreateCall from(@javax.annotation.Nonnull String from) { + public CreateCall from(String from) { this.from = from; return this; } @@ -195,12 +174,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nonnull String from) { + public void setFrom(String from) { this.from = from; } - public CreateCall privacy(@javax.annotation.Nullable Boolean privacy) { + public CreateCall privacy(Boolean privacy) { this.privacy = privacy; return this; } @@ -214,12 +193,12 @@ public Boolean getPrivacy() { return privacy; } - public void setPrivacy(@javax.annotation.Nullable Boolean privacy) { + public void setPrivacy(Boolean privacy) { this.privacy = privacy; } - public CreateCall displayName(@javax.annotation.Nullable String displayName) { + public CreateCall displayName(String displayName) { this.displayName = displayName; return this; } @@ -233,18 +212,18 @@ public String getDisplayName() { return displayName; } - public void setDisplayName(@javax.annotation.Nullable String displayName) { + public void setDisplayName(String displayName) { this.displayName = displayName; } - public CreateCall uui(@javax.annotation.Nullable String uui) { + public CreateCall uui(String uui) { this.uui = uui; return this; } /** - * A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in <a href='https://tools.ietf.org/html/rfc7433'>RFC 7433</a>. Only 'jwt' and 'base64' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. + * A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in <a href='https://tools.ietf.org/html/rfc7433'>RFC 7433</a>. Only 'jwt', 'base64' and 'hex' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. * @return uui */ @javax.annotation.Nullable @@ -252,12 +231,12 @@ public String getUui() { return uui; } - public void setUui(@javax.annotation.Nullable String uui) { + public void setUui(String uui) { this.uui = uui; } - public CreateCall applicationId(@javax.annotation.Nonnull String applicationId) { + public CreateCall applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -271,12 +250,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nonnull String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public CreateCall answerUrl(@javax.annotation.Nonnull URI answerUrl) { + public CreateCall answerUrl(URI answerUrl) { this.answerUrl = answerUrl; return this; } @@ -290,12 +269,12 @@ public URI getAnswerUrl() { return answerUrl; } - public void setAnswerUrl(@javax.annotation.Nonnull URI answerUrl) { + public void setAnswerUrl(URI answerUrl) { this.answerUrl = answerUrl; } - public CreateCall answerMethod(@javax.annotation.Nullable CallbackMethodEnum answerMethod) { + public CreateCall answerMethod(CallbackMethodEnum answerMethod) { this.answerMethod = answerMethod; return this; } @@ -309,12 +288,12 @@ public CallbackMethodEnum getAnswerMethod() { return answerMethod; } - public void setAnswerMethod(@javax.annotation.Nullable CallbackMethodEnum answerMethod) { + public void setAnswerMethod(CallbackMethodEnum answerMethod) { this.answerMethod = answerMethod; } - public CreateCall username(@javax.annotation.Nullable String username) { + public CreateCall username(String username) { this.username = username; return this; } @@ -328,12 +307,12 @@ public String getUsername() { return username; } - public void setUsername(@javax.annotation.Nullable String username) { + public void setUsername(String username) { this.username = username; } - public CreateCall password(@javax.annotation.Nullable String password) { + public CreateCall password(String password) { this.password = password; return this; } @@ -347,12 +326,12 @@ public String getPassword() { return password; } - public void setPassword(@javax.annotation.Nullable String password) { + public void setPassword(String password) { this.password = password; } - public CreateCall answerFallbackUrl(@javax.annotation.Nullable URI answerFallbackUrl) { + public CreateCall answerFallbackUrl(URI answerFallbackUrl) { this.answerFallbackUrl = answerFallbackUrl; return this; } @@ -366,12 +345,12 @@ public URI getAnswerFallbackUrl() { return answerFallbackUrl; } - public void setAnswerFallbackUrl(@javax.annotation.Nullable URI answerFallbackUrl) { + public void setAnswerFallbackUrl(URI answerFallbackUrl) { this.answerFallbackUrl = answerFallbackUrl; } - public CreateCall answerFallbackMethod(@javax.annotation.Nullable CallbackMethodEnum answerFallbackMethod) { + public CreateCall answerFallbackMethod(CallbackMethodEnum answerFallbackMethod) { this.answerFallbackMethod = answerFallbackMethod; return this; } @@ -385,12 +364,12 @@ public CallbackMethodEnum getAnswerFallbackMethod() { return answerFallbackMethod; } - public void setAnswerFallbackMethod(@javax.annotation.Nullable CallbackMethodEnum answerFallbackMethod) { + public void setAnswerFallbackMethod(CallbackMethodEnum answerFallbackMethod) { this.answerFallbackMethod = answerFallbackMethod; } - public CreateCall fallbackUsername(@javax.annotation.Nullable String fallbackUsername) { + public CreateCall fallbackUsername(String fallbackUsername) { this.fallbackUsername = fallbackUsername; return this; } @@ -404,12 +383,12 @@ public String getFallbackUsername() { return fallbackUsername; } - public void setFallbackUsername(@javax.annotation.Nullable String fallbackUsername) { + public void setFallbackUsername(String fallbackUsername) { this.fallbackUsername = fallbackUsername; } - public CreateCall fallbackPassword(@javax.annotation.Nullable String fallbackPassword) { + public CreateCall fallbackPassword(String fallbackPassword) { this.fallbackPassword = fallbackPassword; return this; } @@ -423,12 +402,12 @@ public String getFallbackPassword() { return fallbackPassword; } - public void setFallbackPassword(@javax.annotation.Nullable String fallbackPassword) { + public void setFallbackPassword(String fallbackPassword) { this.fallbackPassword = fallbackPassword; } - public CreateCall disconnectUrl(@javax.annotation.Nullable URI disconnectUrl) { + public CreateCall disconnectUrl(URI disconnectUrl) { this.disconnectUrl = disconnectUrl; return this; } @@ -442,12 +421,12 @@ public URI getDisconnectUrl() { return disconnectUrl; } - public void setDisconnectUrl(@javax.annotation.Nullable URI disconnectUrl) { + public void setDisconnectUrl(URI disconnectUrl) { this.disconnectUrl = disconnectUrl; } - public CreateCall disconnectMethod(@javax.annotation.Nullable CallbackMethodEnum disconnectMethod) { + public CreateCall disconnectMethod(CallbackMethodEnum disconnectMethod) { this.disconnectMethod = disconnectMethod; return this; } @@ -461,12 +440,12 @@ public CallbackMethodEnum getDisconnectMethod() { return disconnectMethod; } - public void setDisconnectMethod(@javax.annotation.Nullable CallbackMethodEnum disconnectMethod) { + public void setDisconnectMethod(CallbackMethodEnum disconnectMethod) { this.disconnectMethod = disconnectMethod; } - public CreateCall callTimeout(@javax.annotation.Nullable Double callTimeout) { + public CreateCall callTimeout(Double callTimeout) { this.callTimeout = callTimeout; return this; } @@ -482,12 +461,12 @@ public Double getCallTimeout() { return callTimeout; } - public void setCallTimeout(@javax.annotation.Nullable Double callTimeout) { + public void setCallTimeout(Double callTimeout) { this.callTimeout = callTimeout; } - public CreateCall callbackTimeout(@javax.annotation.Nullable Double callbackTimeout) { + public CreateCall callbackTimeout(Double callbackTimeout) { this.callbackTimeout = callbackTimeout; return this; } @@ -503,12 +482,12 @@ public Double getCallbackTimeout() { return callbackTimeout; } - public void setCallbackTimeout(@javax.annotation.Nullable Double callbackTimeout) { + public void setCallbackTimeout(Double callbackTimeout) { this.callbackTimeout = callbackTimeout; } - public CreateCall machineDetection(@javax.annotation.Nullable MachineDetectionConfiguration machineDetection) { + public CreateCall machineDetection(MachineDetectionConfiguration machineDetection) { this.machineDetection = machineDetection; return this; } @@ -522,12 +501,12 @@ public MachineDetectionConfiguration getMachineDetection() { return machineDetection; } - public void setMachineDetection(@javax.annotation.Nullable MachineDetectionConfiguration machineDetection) { + public void setMachineDetection(MachineDetectionConfiguration machineDetection) { this.machineDetection = machineDetection; } - public CreateCall priority(@javax.annotation.Nullable Integer priority) { + public CreateCall priority(Integer priority) { this.priority = priority; return this; } @@ -543,12 +522,12 @@ public Integer getPriority() { return priority; } - public void setPriority(@javax.annotation.Nullable Integer priority) { + public void setPriority(Integer priority) { this.priority = priority; } - public CreateCall tag(@javax.annotation.Nullable String tag) { + public CreateCall tag(String tag) { this.tag = tag; return this; } @@ -562,7 +541,7 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } diff --git a/src/main/java/com/bandwidth/sdk/model/CreateCallResponse.java b/src/main/java/com/bandwidth/sdk/model/CreateCallResponse.java index c8263e3b..880bf270 100644 --- a/src/main/java/com/bandwidth/sdk/model/CreateCallResponse.java +++ b/src/main/java/com/bandwidth/sdk/model/CreateCallResponse.java @@ -52,117 +52,96 @@ /** * CreateCallResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CreateCallResponse { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nonnull private String applicationId; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nonnull private String accountId; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nonnull private String callId; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nonnull private String to; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nonnull private String from; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nonnull private URI callUrl; public static final String SERIALIZED_NAME_CALL_TIMEOUT = "callTimeout"; @SerializedName(SERIALIZED_NAME_CALL_TIMEOUT) - @javax.annotation.Nullable private Double callTimeout; public static final String SERIALIZED_NAME_CALLBACK_TIMEOUT = "callbackTimeout"; @SerializedName(SERIALIZED_NAME_CALLBACK_TIMEOUT) - @javax.annotation.Nullable private Double callbackTimeout; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_ANSWER_METHOD = "answerMethod"; @SerializedName(SERIALIZED_NAME_ANSWER_METHOD) - @javax.annotation.Nullable private CallbackMethodEnum answerMethod = CallbackMethodEnum.POST; public static final String SERIALIZED_NAME_ANSWER_URL = "answerUrl"; @SerializedName(SERIALIZED_NAME_ANSWER_URL) - @javax.annotation.Nonnull private URI answerUrl; public static final String SERIALIZED_NAME_ANSWER_FALLBACK_METHOD = "answerFallbackMethod"; @SerializedName(SERIALIZED_NAME_ANSWER_FALLBACK_METHOD) - @javax.annotation.Nullable private CallbackMethodEnum answerFallbackMethod = CallbackMethodEnum.POST; public static final String SERIALIZED_NAME_ANSWER_FALLBACK_URL = "answerFallbackUrl"; @SerializedName(SERIALIZED_NAME_ANSWER_FALLBACK_URL) - @javax.annotation.Nullable private URI answerFallbackUrl; public static final String SERIALIZED_NAME_DISCONNECT_METHOD = "disconnectMethod"; @SerializedName(SERIALIZED_NAME_DISCONNECT_METHOD) - @javax.annotation.Nullable private CallbackMethodEnum disconnectMethod = CallbackMethodEnum.POST; public static final String SERIALIZED_NAME_DISCONNECT_URL = "disconnectUrl"; @SerializedName(SERIALIZED_NAME_DISCONNECT_URL) - @javax.annotation.Nullable private URI disconnectUrl; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_FALLBACK_USERNAME = "fallbackUsername"; @SerializedName(SERIALIZED_NAME_FALLBACK_USERNAME) - @javax.annotation.Nullable private String fallbackUsername; public static final String SERIALIZED_NAME_FALLBACK_PASSWORD = "fallbackPassword"; @SerializedName(SERIALIZED_NAME_FALLBACK_PASSWORD) - @javax.annotation.Nullable private String fallbackPassword; public static final String SERIALIZED_NAME_PRIORITY = "priority"; @SerializedName(SERIALIZED_NAME_PRIORITY) - @javax.annotation.Nullable private Integer priority; public CreateCallResponse() { } - public CreateCallResponse applicationId(@javax.annotation.Nonnull String applicationId) { + public CreateCallResponse applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -176,12 +155,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nonnull String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public CreateCallResponse accountId(@javax.annotation.Nonnull String accountId) { + public CreateCallResponse accountId(String accountId) { this.accountId = accountId; return this; } @@ -195,12 +174,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nonnull String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public CreateCallResponse callId(@javax.annotation.Nonnull String callId) { + public CreateCallResponse callId(String callId) { this.callId = callId; return this; } @@ -214,12 +193,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nonnull String callId) { + public void setCallId(String callId) { this.callId = callId; } - public CreateCallResponse to(@javax.annotation.Nonnull String to) { + public CreateCallResponse to(String to) { this.to = to; return this; } @@ -233,12 +212,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nonnull String to) { + public void setTo(String to) { this.to = to; } - public CreateCallResponse from(@javax.annotation.Nonnull String from) { + public CreateCallResponse from(String from) { this.from = from; return this; } @@ -252,12 +231,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nonnull String from) { + public void setFrom(String from) { this.from = from; } - public CreateCallResponse enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public CreateCallResponse enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -271,12 +250,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public CreateCallResponse callUrl(@javax.annotation.Nonnull URI callUrl) { + public CreateCallResponse callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -290,12 +269,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nonnull URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public CreateCallResponse callTimeout(@javax.annotation.Nullable Double callTimeout) { + public CreateCallResponse callTimeout(Double callTimeout) { this.callTimeout = callTimeout; return this; } @@ -309,12 +288,12 @@ public Double getCallTimeout() { return callTimeout; } - public void setCallTimeout(@javax.annotation.Nullable Double callTimeout) { + public void setCallTimeout(Double callTimeout) { this.callTimeout = callTimeout; } - public CreateCallResponse callbackTimeout(@javax.annotation.Nullable Double callbackTimeout) { + public CreateCallResponse callbackTimeout(Double callbackTimeout) { this.callbackTimeout = callbackTimeout; return this; } @@ -328,12 +307,12 @@ public Double getCallbackTimeout() { return callbackTimeout; } - public void setCallbackTimeout(@javax.annotation.Nullable Double callbackTimeout) { + public void setCallbackTimeout(Double callbackTimeout) { this.callbackTimeout = callbackTimeout; } - public CreateCallResponse tag(@javax.annotation.Nullable String tag) { + public CreateCallResponse tag(String tag) { this.tag = tag; return this; } @@ -347,12 +326,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public CreateCallResponse answerMethod(@javax.annotation.Nullable CallbackMethodEnum answerMethod) { + public CreateCallResponse answerMethod(CallbackMethodEnum answerMethod) { this.answerMethod = answerMethod; return this; } @@ -366,12 +345,12 @@ public CallbackMethodEnum getAnswerMethod() { return answerMethod; } - public void setAnswerMethod(@javax.annotation.Nullable CallbackMethodEnum answerMethod) { + public void setAnswerMethod(CallbackMethodEnum answerMethod) { this.answerMethod = answerMethod; } - public CreateCallResponse answerUrl(@javax.annotation.Nonnull URI answerUrl) { + public CreateCallResponse answerUrl(URI answerUrl) { this.answerUrl = answerUrl; return this; } @@ -385,12 +364,12 @@ public URI getAnswerUrl() { return answerUrl; } - public void setAnswerUrl(@javax.annotation.Nonnull URI answerUrl) { + public void setAnswerUrl(URI answerUrl) { this.answerUrl = answerUrl; } - public CreateCallResponse answerFallbackMethod(@javax.annotation.Nullable CallbackMethodEnum answerFallbackMethod) { + public CreateCallResponse answerFallbackMethod(CallbackMethodEnum answerFallbackMethod) { this.answerFallbackMethod = answerFallbackMethod; return this; } @@ -404,12 +383,12 @@ public CallbackMethodEnum getAnswerFallbackMethod() { return answerFallbackMethod; } - public void setAnswerFallbackMethod(@javax.annotation.Nullable CallbackMethodEnum answerFallbackMethod) { + public void setAnswerFallbackMethod(CallbackMethodEnum answerFallbackMethod) { this.answerFallbackMethod = answerFallbackMethod; } - public CreateCallResponse answerFallbackUrl(@javax.annotation.Nullable URI answerFallbackUrl) { + public CreateCallResponse answerFallbackUrl(URI answerFallbackUrl) { this.answerFallbackUrl = answerFallbackUrl; return this; } @@ -423,12 +402,12 @@ public URI getAnswerFallbackUrl() { return answerFallbackUrl; } - public void setAnswerFallbackUrl(@javax.annotation.Nullable URI answerFallbackUrl) { + public void setAnswerFallbackUrl(URI answerFallbackUrl) { this.answerFallbackUrl = answerFallbackUrl; } - public CreateCallResponse disconnectMethod(@javax.annotation.Nullable CallbackMethodEnum disconnectMethod) { + public CreateCallResponse disconnectMethod(CallbackMethodEnum disconnectMethod) { this.disconnectMethod = disconnectMethod; return this; } @@ -442,12 +421,12 @@ public CallbackMethodEnum getDisconnectMethod() { return disconnectMethod; } - public void setDisconnectMethod(@javax.annotation.Nullable CallbackMethodEnum disconnectMethod) { + public void setDisconnectMethod(CallbackMethodEnum disconnectMethod) { this.disconnectMethod = disconnectMethod; } - public CreateCallResponse disconnectUrl(@javax.annotation.Nullable URI disconnectUrl) { + public CreateCallResponse disconnectUrl(URI disconnectUrl) { this.disconnectUrl = disconnectUrl; return this; } @@ -461,12 +440,12 @@ public URI getDisconnectUrl() { return disconnectUrl; } - public void setDisconnectUrl(@javax.annotation.Nullable URI disconnectUrl) { + public void setDisconnectUrl(URI disconnectUrl) { this.disconnectUrl = disconnectUrl; } - public CreateCallResponse username(@javax.annotation.Nullable String username) { + public CreateCallResponse username(String username) { this.username = username; return this; } @@ -480,12 +459,12 @@ public String getUsername() { return username; } - public void setUsername(@javax.annotation.Nullable String username) { + public void setUsername(String username) { this.username = username; } - public CreateCallResponse password(@javax.annotation.Nullable String password) { + public CreateCallResponse password(String password) { this.password = password; return this; } @@ -499,12 +478,12 @@ public String getPassword() { return password; } - public void setPassword(@javax.annotation.Nullable String password) { + public void setPassword(String password) { this.password = password; } - public CreateCallResponse fallbackUsername(@javax.annotation.Nullable String fallbackUsername) { + public CreateCallResponse fallbackUsername(String fallbackUsername) { this.fallbackUsername = fallbackUsername; return this; } @@ -518,12 +497,12 @@ public String getFallbackUsername() { return fallbackUsername; } - public void setFallbackUsername(@javax.annotation.Nullable String fallbackUsername) { + public void setFallbackUsername(String fallbackUsername) { this.fallbackUsername = fallbackUsername; } - public CreateCallResponse fallbackPassword(@javax.annotation.Nullable String fallbackPassword) { + public CreateCallResponse fallbackPassword(String fallbackPassword) { this.fallbackPassword = fallbackPassword; return this; } @@ -537,12 +516,12 @@ public String getFallbackPassword() { return fallbackPassword; } - public void setFallbackPassword(@javax.annotation.Nullable String fallbackPassword) { + public void setFallbackPassword(String fallbackPassword) { this.fallbackPassword = fallbackPassword; } - public CreateCallResponse priority(@javax.annotation.Nullable Integer priority) { + public CreateCallResponse priority(Integer priority) { this.priority = priority; return this; } @@ -556,7 +535,7 @@ public Integer getPriority() { return priority; } - public void setPriority(@javax.annotation.Nullable Integer priority) { + public void setPriority(Integer priority) { this.priority = priority; } diff --git a/src/main/java/com/bandwidth/sdk/model/CreateLookupResponse.java b/src/main/java/com/bandwidth/sdk/model/CreateLookupResponse.java index 76a1af9a..a5839c6a 100644 --- a/src/main/java/com/bandwidth/sdk/model/CreateLookupResponse.java +++ b/src/main/java/com/bandwidth/sdk/model/CreateLookupResponse.java @@ -49,22 +49,20 @@ /** * The request has been accepted for processing but not yet finished and in a terminal state (COMPLETE, PARTIAL_COMPLETE, or FAILED). */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CreateLookupResponse { public static final String SERIALIZED_NAME_REQUEST_ID = "requestId"; @SerializedName(SERIALIZED_NAME_REQUEST_ID) - @javax.annotation.Nullable private String requestId; public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable private LookupStatusEnum status; public CreateLookupResponse() { } - public CreateLookupResponse requestId(@javax.annotation.Nullable String requestId) { + public CreateLookupResponse requestId(String requestId) { this.requestId = requestId; return this; } @@ -78,12 +76,12 @@ public String getRequestId() { return requestId; } - public void setRequestId(@javax.annotation.Nullable String requestId) { + public void setRequestId(String requestId) { this.requestId = requestId; } - public CreateLookupResponse status(@javax.annotation.Nullable LookupStatusEnum status) { + public CreateLookupResponse status(LookupStatusEnum status) { this.status = status; return this; } @@ -97,7 +95,7 @@ public LookupStatusEnum getStatus() { return status; } - public void setStatus(@javax.annotation.Nullable LookupStatusEnum status) { + public void setStatus(LookupStatusEnum status) { this.status = status; } diff --git a/src/main/java/com/bandwidth/sdk/model/CreateMessageRequestError.java b/src/main/java/com/bandwidth/sdk/model/CreateMessageRequestError.java index b0dd177f..078dd0d5 100644 --- a/src/main/java/com/bandwidth/sdk/model/CreateMessageRequestError.java +++ b/src/main/java/com/bandwidth/sdk/model/CreateMessageRequestError.java @@ -51,27 +51,24 @@ /** * CreateMessageRequestError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class CreateMessageRequestError { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nonnull private String type; public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) - @javax.annotation.Nonnull private String description; public static final String SERIALIZED_NAME_FIELD_ERRORS = "fieldErrors"; @SerializedName(SERIALIZED_NAME_FIELD_ERRORS) - @javax.annotation.Nullable private List fieldErrors = new ArrayList<>(); public CreateMessageRequestError() { } - public CreateMessageRequestError type(@javax.annotation.Nonnull String type) { + public CreateMessageRequestError type(String type) { this.type = type; return this; } @@ -85,12 +82,12 @@ public String getType() { return type; } - public void setType(@javax.annotation.Nonnull String type) { + public void setType(String type) { this.type = type; } - public CreateMessageRequestError description(@javax.annotation.Nonnull String description) { + public CreateMessageRequestError description(String description) { this.description = description; return this; } @@ -104,12 +101,12 @@ public String getDescription() { return description; } - public void setDescription(@javax.annotation.Nonnull String description) { + public void setDescription(String description) { this.description = description; } - public CreateMessageRequestError fieldErrors(@javax.annotation.Nullable List fieldErrors) { + public CreateMessageRequestError fieldErrors(List fieldErrors) { this.fieldErrors = fieldErrors; return this; } @@ -131,7 +128,7 @@ public List getFieldErrors() { return fieldErrors; } - public void setFieldErrors(@javax.annotation.Nullable List fieldErrors) { + public void setFieldErrors(List fieldErrors) { this.fieldErrors = fieldErrors; } diff --git a/src/main/java/com/bandwidth/sdk/model/DeferredResult.java b/src/main/java/com/bandwidth/sdk/model/DeferredResult.java index bdd0a817..e9d80841 100644 --- a/src/main/java/com/bandwidth/sdk/model/DeferredResult.java +++ b/src/main/java/com/bandwidth/sdk/model/DeferredResult.java @@ -48,22 +48,20 @@ /** * DeferredResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DeferredResult { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) - @javax.annotation.Nullable private Object result; public static final String SERIALIZED_NAME_SET_OR_EXPIRED = "setOrExpired"; @SerializedName(SERIALIZED_NAME_SET_OR_EXPIRED) - @javax.annotation.Nullable private Boolean setOrExpired; public DeferredResult() { } - public DeferredResult result(@javax.annotation.Nullable Object result) { + public DeferredResult result(Object result) { this.result = result; return this; } @@ -77,12 +75,12 @@ public Object getResult() { return result; } - public void setResult(@javax.annotation.Nullable Object result) { + public void setResult(Object result) { this.result = result; } - public DeferredResult setOrExpired(@javax.annotation.Nullable Boolean setOrExpired) { + public DeferredResult setOrExpired(Boolean setOrExpired) { this.setOrExpired = setOrExpired; return this; } @@ -96,7 +94,7 @@ public Boolean getSetOrExpired() { return setOrExpired; } - public void setSetOrExpired(@javax.annotation.Nullable Boolean setOrExpired) { + public void setSetOrExpired(Boolean setOrExpired) { this.setOrExpired = setOrExpired; } diff --git a/src/main/java/com/bandwidth/sdk/model/DisconnectCallback.java b/src/main/java/com/bandwidth/sdk/model/DisconnectCallback.java index c4756ba0..f7535530 100644 --- a/src/main/java/com/bandwidth/sdk/model/DisconnectCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/DisconnectCallback.java @@ -52,97 +52,80 @@ /** * The Disconnect event is fired when a call ends, for any reason. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DisconnectCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_ANSWER_TIME = "answerTime"; @SerializedName(SERIALIZED_NAME_ANSWER_TIME) - @javax.annotation.Nullable private OffsetDateTime answerTime; public static final String SERIALIZED_NAME_END_TIME = "endTime"; @SerializedName(SERIALIZED_NAME_END_TIME) - @javax.annotation.Nullable private OffsetDateTime endTime; public static final String SERIALIZED_NAME_CAUSE = "cause"; @SerializedName(SERIALIZED_NAME_CAUSE) - @javax.annotation.Nullable private String cause; public static final String SERIALIZED_NAME_ERROR_MESSAGE = "errorMessage"; @SerializedName(SERIALIZED_NAME_ERROR_MESSAGE) - @javax.annotation.Nullable private String errorMessage; public static final String SERIALIZED_NAME_ERROR_ID = "errorId"; @SerializedName(SERIALIZED_NAME_ERROR_ID) - @javax.annotation.Nullable private String errorId; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public DisconnectCallback() { } - public DisconnectCallback eventType(@javax.annotation.Nullable String eventType) { + public DisconnectCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -156,12 +139,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public DisconnectCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public DisconnectCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -175,12 +158,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public DisconnectCallback accountId(@javax.annotation.Nullable String accountId) { + public DisconnectCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -194,12 +177,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public DisconnectCallback applicationId(@javax.annotation.Nullable String applicationId) { + public DisconnectCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -213,12 +196,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public DisconnectCallback from(@javax.annotation.Nullable String from) { + public DisconnectCallback from(String from) { this.from = from; return this; } @@ -232,12 +215,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public DisconnectCallback to(@javax.annotation.Nullable String to) { + public DisconnectCallback to(String to) { this.to = to; return this; } @@ -251,12 +234,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public DisconnectCallback callId(@javax.annotation.Nullable String callId) { + public DisconnectCallback callId(String callId) { this.callId = callId; return this; } @@ -270,12 +253,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public DisconnectCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public DisconnectCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -289,12 +272,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public DisconnectCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public DisconnectCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -308,12 +291,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public DisconnectCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public DisconnectCallback enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -327,12 +310,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public DisconnectCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public DisconnectCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -346,12 +329,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public DisconnectCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public DisconnectCallback answerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -365,12 +348,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public void setAnswerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; } - public DisconnectCallback endTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public DisconnectCallback endTime(OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -384,12 +367,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public void setEndTime(OffsetDateTime endTime) { this.endTime = endTime; } - public DisconnectCallback cause(@javax.annotation.Nullable String cause) { + public DisconnectCallback cause(String cause) { this.cause = cause; return this; } @@ -403,12 +386,12 @@ public String getCause() { return cause; } - public void setCause(@javax.annotation.Nullable String cause) { + public void setCause(String cause) { this.cause = cause; } - public DisconnectCallback errorMessage(@javax.annotation.Nullable String errorMessage) { + public DisconnectCallback errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } @@ -422,12 +405,12 @@ public String getErrorMessage() { return errorMessage; } - public void setErrorMessage(@javax.annotation.Nullable String errorMessage) { + public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } - public DisconnectCallback errorId(@javax.annotation.Nullable String errorId) { + public DisconnectCallback errorId(String errorId) { this.errorId = errorId; return this; } @@ -441,12 +424,12 @@ public String getErrorId() { return errorId; } - public void setErrorId(@javax.annotation.Nullable String errorId) { + public void setErrorId(String errorId) { this.errorId = errorId; } - public DisconnectCallback tag(@javax.annotation.Nullable String tag) { + public DisconnectCallback tag(String tag) { this.tag = tag; return this; } @@ -460,7 +443,7 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } diff --git a/src/main/java/com/bandwidth/sdk/model/Diversion.java b/src/main/java/com/bandwidth/sdk/model/Diversion.java index 61159811..1082c8ef 100644 --- a/src/main/java/com/bandwidth/sdk/model/Diversion.java +++ b/src/main/java/com/bandwidth/sdk/model/Diversion.java @@ -48,47 +48,40 @@ /** * Diversion */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Diversion { public static final String SERIALIZED_NAME_REASON = "reason"; @SerializedName(SERIALIZED_NAME_REASON) - @javax.annotation.Nullable private String reason; public static final String SERIALIZED_NAME_PRIVACY = "privacy"; @SerializedName(SERIALIZED_NAME_PRIVACY) - @javax.annotation.Nullable private String privacy; public static final String SERIALIZED_NAME_SCREEN = "screen"; @SerializedName(SERIALIZED_NAME_SCREEN) - @javax.annotation.Nullable private String screen; public static final String SERIALIZED_NAME_COUNTER = "counter"; @SerializedName(SERIALIZED_NAME_COUNTER) - @javax.annotation.Nullable private String counter; public static final String SERIALIZED_NAME_LIMIT = "limit"; @SerializedName(SERIALIZED_NAME_LIMIT) - @javax.annotation.Nullable private String limit; public static final String SERIALIZED_NAME_UNKNOWN = "unknown"; @SerializedName(SERIALIZED_NAME_UNKNOWN) - @javax.annotation.Nullable private String unknown; public static final String SERIALIZED_NAME_ORIG_TO = "origTo"; @SerializedName(SERIALIZED_NAME_ORIG_TO) - @javax.annotation.Nullable private String origTo; public Diversion() { } - public Diversion reason(@javax.annotation.Nullable String reason) { + public Diversion reason(String reason) { this.reason = reason; return this; } @@ -102,12 +95,12 @@ public String getReason() { return reason; } - public void setReason(@javax.annotation.Nullable String reason) { + public void setReason(String reason) { this.reason = reason; } - public Diversion privacy(@javax.annotation.Nullable String privacy) { + public Diversion privacy(String privacy) { this.privacy = privacy; return this; } @@ -121,12 +114,12 @@ public String getPrivacy() { return privacy; } - public void setPrivacy(@javax.annotation.Nullable String privacy) { + public void setPrivacy(String privacy) { this.privacy = privacy; } - public Diversion screen(@javax.annotation.Nullable String screen) { + public Diversion screen(String screen) { this.screen = screen; return this; } @@ -140,12 +133,12 @@ public String getScreen() { return screen; } - public void setScreen(@javax.annotation.Nullable String screen) { + public void setScreen(String screen) { this.screen = screen; } - public Diversion counter(@javax.annotation.Nullable String counter) { + public Diversion counter(String counter) { this.counter = counter; return this; } @@ -159,12 +152,12 @@ public String getCounter() { return counter; } - public void setCounter(@javax.annotation.Nullable String counter) { + public void setCounter(String counter) { this.counter = counter; } - public Diversion limit(@javax.annotation.Nullable String limit) { + public Diversion limit(String limit) { this.limit = limit; return this; } @@ -178,12 +171,12 @@ public String getLimit() { return limit; } - public void setLimit(@javax.annotation.Nullable String limit) { + public void setLimit(String limit) { this.limit = limit; } - public Diversion unknown(@javax.annotation.Nullable String unknown) { + public Diversion unknown(String unknown) { this.unknown = unknown; return this; } @@ -197,12 +190,12 @@ public String getUnknown() { return unknown; } - public void setUnknown(@javax.annotation.Nullable String unknown) { + public void setUnknown(String unknown) { this.unknown = unknown; } - public Diversion origTo(@javax.annotation.Nullable String origTo) { + public Diversion origTo(String origTo) { this.origTo = origTo; return this; } @@ -216,7 +209,7 @@ public String getOrigTo() { return origTo; } - public void setOrigTo(@javax.annotation.Nullable String origTo) { + public void setOrigTo(String origTo) { this.origTo = origTo; } diff --git a/src/main/java/com/bandwidth/sdk/model/DtmfCallback.java b/src/main/java/com/bandwidth/sdk/model/DtmfCallback.java index 599cf1bd..6b9812eb 100644 --- a/src/main/java/com/bandwidth/sdk/model/DtmfCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/DtmfCallback.java @@ -52,97 +52,80 @@ /** * The DTMF event is sent for every digit detected after a <StartGather> verb is executed. You may not respond to this event with BXML. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class DtmfCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_DIGIT = "digit"; @SerializedName(SERIALIZED_NAME_DIGIT) - @javax.annotation.Nullable private String digit; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_ANSWER_TIME = "answerTime"; @SerializedName(SERIALIZED_NAME_ANSWER_TIME) - @javax.annotation.Nullable private OffsetDateTime answerTime; public static final String SERIALIZED_NAME_PARENT_CALL_ID = "parentCallId"; @SerializedName(SERIALIZED_NAME_PARENT_CALL_ID) - @javax.annotation.Nullable private String parentCallId; public static final String SERIALIZED_NAME_TRANSFER_CALLER_ID = "transferCallerId"; @SerializedName(SERIALIZED_NAME_TRANSFER_CALLER_ID) - @javax.annotation.Nullable private String transferCallerId; public static final String SERIALIZED_NAME_TRANSFER_TO = "transferTo"; @SerializedName(SERIALIZED_NAME_TRANSFER_TO) - @javax.annotation.Nullable private String transferTo; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public DtmfCallback() { } - public DtmfCallback eventType(@javax.annotation.Nullable String eventType) { + public DtmfCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -156,12 +139,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public DtmfCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public DtmfCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -175,12 +158,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public DtmfCallback accountId(@javax.annotation.Nullable String accountId) { + public DtmfCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -194,12 +177,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public DtmfCallback applicationId(@javax.annotation.Nullable String applicationId) { + public DtmfCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -213,12 +196,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public DtmfCallback from(@javax.annotation.Nullable String from) { + public DtmfCallback from(String from) { this.from = from; return this; } @@ -232,12 +215,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public DtmfCallback to(@javax.annotation.Nullable String to) { + public DtmfCallback to(String to) { this.to = to; return this; } @@ -251,12 +234,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public DtmfCallback callId(@javax.annotation.Nullable String callId) { + public DtmfCallback callId(String callId) { this.callId = callId; return this; } @@ -270,12 +253,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public DtmfCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public DtmfCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -289,12 +272,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public DtmfCallback digit(@javax.annotation.Nullable String digit) { + public DtmfCallback digit(String digit) { this.digit = digit; return this; } @@ -308,12 +291,12 @@ public String getDigit() { return digit; } - public void setDigit(@javax.annotation.Nullable String digit) { + public void setDigit(String digit) { this.digit = digit; } - public DtmfCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public DtmfCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -327,12 +310,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public DtmfCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public DtmfCallback enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -346,12 +329,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public DtmfCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public DtmfCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -365,12 +348,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public DtmfCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public DtmfCallback answerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -384,12 +367,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public void setAnswerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; } - public DtmfCallback parentCallId(@javax.annotation.Nullable String parentCallId) { + public DtmfCallback parentCallId(String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -403,12 +386,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(@javax.annotation.Nullable String parentCallId) { + public void setParentCallId(String parentCallId) { this.parentCallId = parentCallId; } - public DtmfCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { + public DtmfCallback transferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -422,12 +405,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { + public void setTransferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; } - public DtmfCallback transferTo(@javax.annotation.Nullable String transferTo) { + public DtmfCallback transferTo(String transferTo) { this.transferTo = transferTo; return this; } @@ -441,12 +424,12 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(@javax.annotation.Nullable String transferTo) { + public void setTransferTo(String transferTo) { this.transferTo = transferTo; } - public DtmfCallback tag(@javax.annotation.Nullable String tag) { + public DtmfCallback tag(String tag) { this.tag = tag; return this; } @@ -460,7 +443,7 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } diff --git a/src/main/java/com/bandwidth/sdk/model/FieldError.java b/src/main/java/com/bandwidth/sdk/model/FieldError.java index b3aa98a4..dccddd62 100644 --- a/src/main/java/com/bandwidth/sdk/model/FieldError.java +++ b/src/main/java/com/bandwidth/sdk/model/FieldError.java @@ -48,22 +48,20 @@ /** * FieldError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class FieldError { public static final String SERIALIZED_NAME_FIELD_NAME = "fieldName"; @SerializedName(SERIALIZED_NAME_FIELD_NAME) - @javax.annotation.Nullable private String fieldName; public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) - @javax.annotation.Nullable private String description; public FieldError() { } - public FieldError fieldName(@javax.annotation.Nullable String fieldName) { + public FieldError fieldName(String fieldName) { this.fieldName = fieldName; return this; } @@ -77,12 +75,12 @@ public String getFieldName() { return fieldName; } - public void setFieldName(@javax.annotation.Nullable String fieldName) { + public void setFieldName(String fieldName) { this.fieldName = fieldName; } - public FieldError description(@javax.annotation.Nullable String description) { + public FieldError description(String description) { this.description = description; return this; } @@ -96,7 +94,7 @@ public String getDescription() { return description; } - public void setDescription(@javax.annotation.Nullable String description) { + public void setDescription(String description) { this.description = description; } diff --git a/src/main/java/com/bandwidth/sdk/model/GatherCallback.java b/src/main/java/com/bandwidth/sdk/model/GatherCallback.java index 66a4eb37..f45fe885 100644 --- a/src/main/java/com/bandwidth/sdk/model/GatherCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/GatherCallback.java @@ -52,102 +52,84 @@ /** * The gather event is sent after a <Gather> verb is executed. Its purpose is to report the gathered digits to the calling application. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class GatherCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_DIGITS = "digits"; @SerializedName(SERIALIZED_NAME_DIGITS) - @javax.annotation.Nullable private String digits; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_ANSWER_TIME = "answerTime"; @SerializedName(SERIALIZED_NAME_ANSWER_TIME) - @javax.annotation.Nullable private OffsetDateTime answerTime; public static final String SERIALIZED_NAME_PARENT_CALL_ID = "parentCallId"; @SerializedName(SERIALIZED_NAME_PARENT_CALL_ID) - @javax.annotation.Nullable private String parentCallId; public static final String SERIALIZED_NAME_TERMINATING_DIGIT = "terminatingDigit"; @SerializedName(SERIALIZED_NAME_TERMINATING_DIGIT) - @javax.annotation.Nullable private String terminatingDigit; public static final String SERIALIZED_NAME_TRANSFER_CALLER_ID = "transferCallerId"; @SerializedName(SERIALIZED_NAME_TRANSFER_CALLER_ID) - @javax.annotation.Nullable private String transferCallerId; public static final String SERIALIZED_NAME_TRANSFER_TO = "transferTo"; @SerializedName(SERIALIZED_NAME_TRANSFER_TO) - @javax.annotation.Nullable private String transferTo; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public GatherCallback() { } - public GatherCallback eventType(@javax.annotation.Nullable String eventType) { + public GatherCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -161,12 +143,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public GatherCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public GatherCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -180,12 +162,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public GatherCallback accountId(@javax.annotation.Nullable String accountId) { + public GatherCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -199,12 +181,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public GatherCallback applicationId(@javax.annotation.Nullable String applicationId) { + public GatherCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -218,12 +200,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public GatherCallback from(@javax.annotation.Nullable String from) { + public GatherCallback from(String from) { this.from = from; return this; } @@ -237,12 +219,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public GatherCallback to(@javax.annotation.Nullable String to) { + public GatherCallback to(String to) { this.to = to; return this; } @@ -256,12 +238,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public GatherCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public GatherCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -275,12 +257,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public GatherCallback callId(@javax.annotation.Nullable String callId) { + public GatherCallback callId(String callId) { this.callId = callId; return this; } @@ -294,12 +276,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public GatherCallback digits(@javax.annotation.Nullable String digits) { + public GatherCallback digits(String digits) { this.digits = digits; return this; } @@ -313,12 +295,12 @@ public String getDigits() { return digits; } - public void setDigits(@javax.annotation.Nullable String digits) { + public void setDigits(String digits) { this.digits = digits; } - public GatherCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public GatherCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -332,12 +314,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public GatherCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public GatherCallback enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -351,12 +333,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public GatherCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public GatherCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -370,12 +352,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public GatherCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public GatherCallback answerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -389,12 +371,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public void setAnswerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; } - public GatherCallback parentCallId(@javax.annotation.Nullable String parentCallId) { + public GatherCallback parentCallId(String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -408,12 +390,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(@javax.annotation.Nullable String parentCallId) { + public void setParentCallId(String parentCallId) { this.parentCallId = parentCallId; } - public GatherCallback terminatingDigit(@javax.annotation.Nullable String terminatingDigit) { + public GatherCallback terminatingDigit(String terminatingDigit) { this.terminatingDigit = terminatingDigit; return this; } @@ -427,12 +409,12 @@ public String getTerminatingDigit() { return terminatingDigit; } - public void setTerminatingDigit(@javax.annotation.Nullable String terminatingDigit) { + public void setTerminatingDigit(String terminatingDigit) { this.terminatingDigit = terminatingDigit; } - public GatherCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { + public GatherCallback transferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -446,12 +428,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { + public void setTransferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; } - public GatherCallback transferTo(@javax.annotation.Nullable String transferTo) { + public GatherCallback transferTo(String transferTo) { this.transferTo = transferTo; return this; } @@ -465,12 +447,12 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(@javax.annotation.Nullable String transferTo) { + public void setTransferTo(String transferTo) { this.transferTo = transferTo; } - public GatherCallback tag(@javax.annotation.Nullable String tag) { + public GatherCallback tag(String tag) { this.tag = tag; return this; } @@ -484,7 +466,7 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } diff --git a/src/main/java/com/bandwidth/sdk/model/InboundMessageCallback.java b/src/main/java/com/bandwidth/sdk/model/InboundMessageCallback.java index eca692b9..2440039b 100644 --- a/src/main/java/com/bandwidth/sdk/model/InboundMessageCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/InboundMessageCallback.java @@ -50,37 +50,32 @@ /** * Inbound Message Callback */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class InboundMessageCallback { public static final String SERIALIZED_NAME_TIME = "time"; @SerializedName(SERIALIZED_NAME_TIME) - @javax.annotation.Nonnull private OffsetDateTime time; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nonnull private String type; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nonnull private String to; public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) - @javax.annotation.Nonnull private String description; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nonnull private InboundMessageCallbackMessage message; public InboundMessageCallback() { } - public InboundMessageCallback time(@javax.annotation.Nonnull OffsetDateTime time) { + public InboundMessageCallback time(OffsetDateTime time) { this.time = time; return this; } @@ -94,12 +89,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { + public void setTime(OffsetDateTime time) { this.time = time; } - public InboundMessageCallback type(@javax.annotation.Nonnull String type) { + public InboundMessageCallback type(String type) { this.type = type; return this; } @@ -113,12 +108,12 @@ public String getType() { return type; } - public void setType(@javax.annotation.Nonnull String type) { + public void setType(String type) { this.type = type; } - public InboundMessageCallback to(@javax.annotation.Nonnull String to) { + public InboundMessageCallback to(String to) { this.to = to; return this; } @@ -132,12 +127,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nonnull String to) { + public void setTo(String to) { this.to = to; } - public InboundMessageCallback description(@javax.annotation.Nonnull String description) { + public InboundMessageCallback description(String description) { this.description = description; return this; } @@ -151,12 +146,12 @@ public String getDescription() { return description; } - public void setDescription(@javax.annotation.Nonnull String description) { + public void setDescription(String description) { this.description = description; } - public InboundMessageCallback message(@javax.annotation.Nonnull InboundMessageCallbackMessage message) { + public InboundMessageCallback message(InboundMessageCallbackMessage message) { this.message = message; return this; } @@ -170,7 +165,7 @@ public InboundMessageCallbackMessage getMessage() { return message; } - public void setMessage(@javax.annotation.Nonnull InboundMessageCallbackMessage message) { + public void setMessage(InboundMessageCallbackMessage message) { this.message = message; } diff --git a/src/main/java/com/bandwidth/sdk/model/InboundMessageCallbackMessage.java b/src/main/java/com/bandwidth/sdk/model/InboundMessageCallbackMessage.java index faab65bf..525bcf46 100644 --- a/src/main/java/com/bandwidth/sdk/model/InboundMessageCallbackMessage.java +++ b/src/main/java/com/bandwidth/sdk/model/InboundMessageCallbackMessage.java @@ -56,72 +56,60 @@ /** * Inbound Message Callback Message Schema */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class InboundMessageCallbackMessage { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nonnull private String id; public static final String SERIALIZED_NAME_OWNER = "owner"; @SerializedName(SERIALIZED_NAME_OWNER) - @javax.annotation.Nonnull private String owner; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nonnull private String applicationId; public static final String SERIALIZED_NAME_TIME = "time"; @SerializedName(SERIALIZED_NAME_TIME) - @javax.annotation.Nonnull private OffsetDateTime time; public static final String SERIALIZED_NAME_SEGMENT_COUNT = "segmentCount"; @SerializedName(SERIALIZED_NAME_SEGMENT_COUNT) - @javax.annotation.Nonnull private Integer segmentCount; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nonnull private MessageDirectionEnum direction; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nonnull private Set to = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nonnull private String from; public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) - @javax.annotation.Nonnull private String text; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_MEDIA = "media"; @SerializedName(SERIALIZED_NAME_MEDIA) - @javax.annotation.Nullable private List media = new ArrayList<>(); public static final String SERIALIZED_NAME_PRIORITY = "priority"; @SerializedName(SERIALIZED_NAME_PRIORITY) - @javax.annotation.Nullable private PriorityEnum priority; public InboundMessageCallbackMessage() { } - public InboundMessageCallbackMessage id(@javax.annotation.Nonnull String id) { + public InboundMessageCallbackMessage id(String id) { this.id = id; return this; } @@ -135,12 +123,12 @@ public String getId() { return id; } - public void setId(@javax.annotation.Nonnull String id) { + public void setId(String id) { this.id = id; } - public InboundMessageCallbackMessage owner(@javax.annotation.Nonnull String owner) { + public InboundMessageCallbackMessage owner(String owner) { this.owner = owner; return this; } @@ -154,12 +142,12 @@ public String getOwner() { return owner; } - public void setOwner(@javax.annotation.Nonnull String owner) { + public void setOwner(String owner) { this.owner = owner; } - public InboundMessageCallbackMessage applicationId(@javax.annotation.Nonnull String applicationId) { + public InboundMessageCallbackMessage applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -173,12 +161,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nonnull String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public InboundMessageCallbackMessage time(@javax.annotation.Nonnull OffsetDateTime time) { + public InboundMessageCallbackMessage time(OffsetDateTime time) { this.time = time; return this; } @@ -192,12 +180,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { + public void setTime(OffsetDateTime time) { this.time = time; } - public InboundMessageCallbackMessage segmentCount(@javax.annotation.Nonnull Integer segmentCount) { + public InboundMessageCallbackMessage segmentCount(Integer segmentCount) { this.segmentCount = segmentCount; return this; } @@ -211,12 +199,12 @@ public Integer getSegmentCount() { return segmentCount; } - public void setSegmentCount(@javax.annotation.Nonnull Integer segmentCount) { + public void setSegmentCount(Integer segmentCount) { this.segmentCount = segmentCount; } - public InboundMessageCallbackMessage direction(@javax.annotation.Nonnull MessageDirectionEnum direction) { + public InboundMessageCallbackMessage direction(MessageDirectionEnum direction) { this.direction = direction; return this; } @@ -230,12 +218,12 @@ public MessageDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nonnull MessageDirectionEnum direction) { + public void setDirection(MessageDirectionEnum direction) { this.direction = direction; } - public InboundMessageCallbackMessage to(@javax.annotation.Nonnull Set to) { + public InboundMessageCallbackMessage to(Set to) { this.to = to; return this; } @@ -257,12 +245,12 @@ public Set getTo() { return to; } - public void setTo(@javax.annotation.Nonnull Set to) { + public void setTo(Set to) { this.to = to; } - public InboundMessageCallbackMessage from(@javax.annotation.Nonnull String from) { + public InboundMessageCallbackMessage from(String from) { this.from = from; return this; } @@ -276,12 +264,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nonnull String from) { + public void setFrom(String from) { this.from = from; } - public InboundMessageCallbackMessage text(@javax.annotation.Nonnull String text) { + public InboundMessageCallbackMessage text(String text) { this.text = text; return this; } @@ -295,12 +283,12 @@ public String getText() { return text; } - public void setText(@javax.annotation.Nonnull String text) { + public void setText(String text) { this.text = text; } - public InboundMessageCallbackMessage tag(@javax.annotation.Nullable String tag) { + public InboundMessageCallbackMessage tag(String tag) { this.tag = tag; return this; } @@ -314,12 +302,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public InboundMessageCallbackMessage media(@javax.annotation.Nullable List media) { + public InboundMessageCallbackMessage media(List media) { this.media = media; return this; } @@ -341,12 +329,12 @@ public List getMedia() { return media; } - public void setMedia(@javax.annotation.Nullable List media) { + public void setMedia(List media) { this.media = media; } - public InboundMessageCallbackMessage priority(@javax.annotation.Nullable PriorityEnum priority) { + public InboundMessageCallbackMessage priority(PriorityEnum priority) { this.priority = priority; return this; } @@ -360,7 +348,7 @@ public PriorityEnum getPriority() { return priority; } - public void setPriority(@javax.annotation.Nullable PriorityEnum priority) { + public void setPriority(PriorityEnum priority) { this.priority = priority; } diff --git a/src/main/java/com/bandwidth/sdk/model/InitiateCallback.java b/src/main/java/com/bandwidth/sdk/model/InitiateCallback.java index 7012e80b..ea9c01c8 100644 --- a/src/main/java/com/bandwidth/sdk/model/InitiateCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/InitiateCallback.java @@ -53,72 +53,60 @@ /** * The Initiate event is fired when an inbound call is received for a Telephone Number on your Account. It is sent to the URL specified in the application associated with the location (sip-peer) that the called telephone number belongs to. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class InitiateCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_DIVERSION = "diversion"; @SerializedName(SERIALIZED_NAME_DIVERSION) - @javax.annotation.Nullable private Diversion diversion; public static final String SERIALIZED_NAME_STIR_SHAKEN = "stirShaken"; @SerializedName(SERIALIZED_NAME_STIR_SHAKEN) - @javax.annotation.Nullable private StirShaken stirShaken; public InitiateCallback() { } - public InitiateCallback eventType(@javax.annotation.Nullable String eventType) { + public InitiateCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -132,12 +120,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public InitiateCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public InitiateCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -151,12 +139,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public InitiateCallback accountId(@javax.annotation.Nullable String accountId) { + public InitiateCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -170,12 +158,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public InitiateCallback applicationId(@javax.annotation.Nullable String applicationId) { + public InitiateCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -189,12 +177,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public InitiateCallback from(@javax.annotation.Nullable String from) { + public InitiateCallback from(String from) { this.from = from; return this; } @@ -208,12 +196,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public InitiateCallback to(@javax.annotation.Nullable String to) { + public InitiateCallback to(String to) { this.to = to; return this; } @@ -227,12 +215,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public InitiateCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public InitiateCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -246,12 +234,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public InitiateCallback callId(@javax.annotation.Nullable String callId) { + public InitiateCallback callId(String callId) { this.callId = callId; return this; } @@ -265,12 +253,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public InitiateCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public InitiateCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -284,12 +272,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public InitiateCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public InitiateCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -303,12 +291,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public InitiateCallback diversion(@javax.annotation.Nullable Diversion diversion) { + public InitiateCallback diversion(Diversion diversion) { this.diversion = diversion; return this; } @@ -322,12 +310,12 @@ public Diversion getDiversion() { return diversion; } - public void setDiversion(@javax.annotation.Nullable Diversion diversion) { + public void setDiversion(Diversion diversion) { this.diversion = diversion; } - public InitiateCallback stirShaken(@javax.annotation.Nullable StirShaken stirShaken) { + public InitiateCallback stirShaken(StirShaken stirShaken) { this.stirShaken = stirShaken; return this; } @@ -341,7 +329,7 @@ public StirShaken getStirShaken() { return stirShaken; } - public void setStirShaken(@javax.annotation.Nullable StirShaken stirShaken) { + public void setStirShaken(StirShaken stirShaken) { this.stirShaken = stirShaken; } diff --git a/src/main/java/com/bandwidth/sdk/model/ListMessageItem.java b/src/main/java/com/bandwidth/sdk/model/ListMessageItem.java index 8791e5c8..1f9925a1 100644 --- a/src/main/java/com/bandwidth/sdk/model/ListMessageItem.java +++ b/src/main/java/com/bandwidth/sdk/model/ListMessageItem.java @@ -53,97 +53,80 @@ /** * ListMessageItem */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class ListMessageItem { public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; @SerializedName(SERIALIZED_NAME_MESSAGE_ID) - @javax.annotation.Nullable private String messageId; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_SOURCE_TN = "sourceTn"; @SerializedName(SERIALIZED_NAME_SOURCE_TN) - @javax.annotation.Nullable private String sourceTn; public static final String SERIALIZED_NAME_DESTINATION_TN = "destinationTn"; @SerializedName(SERIALIZED_NAME_DESTINATION_TN) - @javax.annotation.Nullable private String destinationTn; public static final String SERIALIZED_NAME_MESSAGE_STATUS = "messageStatus"; @SerializedName(SERIALIZED_NAME_MESSAGE_STATUS) - @javax.annotation.Nullable private MessageStatusEnum messageStatus; public static final String SERIALIZED_NAME_MESSAGE_DIRECTION = "messageDirection"; @SerializedName(SERIALIZED_NAME_MESSAGE_DIRECTION) - @javax.annotation.Nullable private ListMessageDirectionEnum messageDirection; public static final String SERIALIZED_NAME_MESSAGE_TYPE = "messageType"; @SerializedName(SERIALIZED_NAME_MESSAGE_TYPE) - @javax.annotation.Nullable private MessageTypeEnum messageType; public static final String SERIALIZED_NAME_SEGMENT_COUNT = "segmentCount"; @SerializedName(SERIALIZED_NAME_SEGMENT_COUNT) - @javax.annotation.Nullable private Integer segmentCount; public static final String SERIALIZED_NAME_ERROR_CODE = "errorCode"; @SerializedName(SERIALIZED_NAME_ERROR_CODE) - @javax.annotation.Nullable private Integer errorCode; public static final String SERIALIZED_NAME_RECEIVE_TIME = "receiveTime"; @SerializedName(SERIALIZED_NAME_RECEIVE_TIME) - @javax.annotation.Nullable private OffsetDateTime receiveTime; public static final String SERIALIZED_NAME_CARRIER_NAME = "carrierName"; @SerializedName(SERIALIZED_NAME_CARRIER_NAME) - @javax.annotation.Nullable private String carrierName; public static final String SERIALIZED_NAME_MESSAGE_SIZE = "messageSize"; @SerializedName(SERIALIZED_NAME_MESSAGE_SIZE) - @javax.annotation.Nullable private Integer messageSize; public static final String SERIALIZED_NAME_MESSAGE_LENGTH = "messageLength"; @SerializedName(SERIALIZED_NAME_MESSAGE_LENGTH) - @javax.annotation.Nullable private Integer messageLength; public static final String SERIALIZED_NAME_ATTACHMENT_COUNT = "attachmentCount"; @SerializedName(SERIALIZED_NAME_ATTACHMENT_COUNT) - @javax.annotation.Nullable private Integer attachmentCount; public static final String SERIALIZED_NAME_RECIPIENT_COUNT = "recipientCount"; @SerializedName(SERIALIZED_NAME_RECIPIENT_COUNT) - @javax.annotation.Nullable private Integer recipientCount; public static final String SERIALIZED_NAME_CAMPAIGN_CLASS = "campaignClass"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_CLASS) - @javax.annotation.Nullable private String campaignClass; public static final String SERIALIZED_NAME_CAMPAIGN_ID = "campaignId"; @SerializedName(SERIALIZED_NAME_CAMPAIGN_ID) - @javax.annotation.Nullable private String campaignId; public ListMessageItem() { } - public ListMessageItem messageId(@javax.annotation.Nullable String messageId) { + public ListMessageItem messageId(String messageId) { this.messageId = messageId; return this; } @@ -157,12 +140,12 @@ public String getMessageId() { return messageId; } - public void setMessageId(@javax.annotation.Nullable String messageId) { + public void setMessageId(String messageId) { this.messageId = messageId; } - public ListMessageItem accountId(@javax.annotation.Nullable String accountId) { + public ListMessageItem accountId(String accountId) { this.accountId = accountId; return this; } @@ -176,12 +159,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public ListMessageItem sourceTn(@javax.annotation.Nullable String sourceTn) { + public ListMessageItem sourceTn(String sourceTn) { this.sourceTn = sourceTn; return this; } @@ -195,12 +178,12 @@ public String getSourceTn() { return sourceTn; } - public void setSourceTn(@javax.annotation.Nullable String sourceTn) { + public void setSourceTn(String sourceTn) { this.sourceTn = sourceTn; } - public ListMessageItem destinationTn(@javax.annotation.Nullable String destinationTn) { + public ListMessageItem destinationTn(String destinationTn) { this.destinationTn = destinationTn; return this; } @@ -214,12 +197,12 @@ public String getDestinationTn() { return destinationTn; } - public void setDestinationTn(@javax.annotation.Nullable String destinationTn) { + public void setDestinationTn(String destinationTn) { this.destinationTn = destinationTn; } - public ListMessageItem messageStatus(@javax.annotation.Nullable MessageStatusEnum messageStatus) { + public ListMessageItem messageStatus(MessageStatusEnum messageStatus) { this.messageStatus = messageStatus; return this; } @@ -233,12 +216,12 @@ public MessageStatusEnum getMessageStatus() { return messageStatus; } - public void setMessageStatus(@javax.annotation.Nullable MessageStatusEnum messageStatus) { + public void setMessageStatus(MessageStatusEnum messageStatus) { this.messageStatus = messageStatus; } - public ListMessageItem messageDirection(@javax.annotation.Nullable ListMessageDirectionEnum messageDirection) { + public ListMessageItem messageDirection(ListMessageDirectionEnum messageDirection) { this.messageDirection = messageDirection; return this; } @@ -252,12 +235,12 @@ public ListMessageDirectionEnum getMessageDirection() { return messageDirection; } - public void setMessageDirection(@javax.annotation.Nullable ListMessageDirectionEnum messageDirection) { + public void setMessageDirection(ListMessageDirectionEnum messageDirection) { this.messageDirection = messageDirection; } - public ListMessageItem messageType(@javax.annotation.Nullable MessageTypeEnum messageType) { + public ListMessageItem messageType(MessageTypeEnum messageType) { this.messageType = messageType; return this; } @@ -271,12 +254,12 @@ public MessageTypeEnum getMessageType() { return messageType; } - public void setMessageType(@javax.annotation.Nullable MessageTypeEnum messageType) { + public void setMessageType(MessageTypeEnum messageType) { this.messageType = messageType; } - public ListMessageItem segmentCount(@javax.annotation.Nullable Integer segmentCount) { + public ListMessageItem segmentCount(Integer segmentCount) { this.segmentCount = segmentCount; return this; } @@ -290,12 +273,12 @@ public Integer getSegmentCount() { return segmentCount; } - public void setSegmentCount(@javax.annotation.Nullable Integer segmentCount) { + public void setSegmentCount(Integer segmentCount) { this.segmentCount = segmentCount; } - public ListMessageItem errorCode(@javax.annotation.Nullable Integer errorCode) { + public ListMessageItem errorCode(Integer errorCode) { this.errorCode = errorCode; return this; } @@ -309,12 +292,12 @@ public Integer getErrorCode() { return errorCode; } - public void setErrorCode(@javax.annotation.Nullable Integer errorCode) { + public void setErrorCode(Integer errorCode) { this.errorCode = errorCode; } - public ListMessageItem receiveTime(@javax.annotation.Nullable OffsetDateTime receiveTime) { + public ListMessageItem receiveTime(OffsetDateTime receiveTime) { this.receiveTime = receiveTime; return this; } @@ -328,12 +311,12 @@ public OffsetDateTime getReceiveTime() { return receiveTime; } - public void setReceiveTime(@javax.annotation.Nullable OffsetDateTime receiveTime) { + public void setReceiveTime(OffsetDateTime receiveTime) { this.receiveTime = receiveTime; } - public ListMessageItem carrierName(@javax.annotation.Nullable String carrierName) { + public ListMessageItem carrierName(String carrierName) { this.carrierName = carrierName; return this; } @@ -347,12 +330,12 @@ public String getCarrierName() { return carrierName; } - public void setCarrierName(@javax.annotation.Nullable String carrierName) { + public void setCarrierName(String carrierName) { this.carrierName = carrierName; } - public ListMessageItem messageSize(@javax.annotation.Nullable Integer messageSize) { + public ListMessageItem messageSize(Integer messageSize) { this.messageSize = messageSize; return this; } @@ -366,12 +349,12 @@ public Integer getMessageSize() { return messageSize; } - public void setMessageSize(@javax.annotation.Nullable Integer messageSize) { + public void setMessageSize(Integer messageSize) { this.messageSize = messageSize; } - public ListMessageItem messageLength(@javax.annotation.Nullable Integer messageLength) { + public ListMessageItem messageLength(Integer messageLength) { this.messageLength = messageLength; return this; } @@ -385,12 +368,12 @@ public Integer getMessageLength() { return messageLength; } - public void setMessageLength(@javax.annotation.Nullable Integer messageLength) { + public void setMessageLength(Integer messageLength) { this.messageLength = messageLength; } - public ListMessageItem attachmentCount(@javax.annotation.Nullable Integer attachmentCount) { + public ListMessageItem attachmentCount(Integer attachmentCount) { this.attachmentCount = attachmentCount; return this; } @@ -404,12 +387,12 @@ public Integer getAttachmentCount() { return attachmentCount; } - public void setAttachmentCount(@javax.annotation.Nullable Integer attachmentCount) { + public void setAttachmentCount(Integer attachmentCount) { this.attachmentCount = attachmentCount; } - public ListMessageItem recipientCount(@javax.annotation.Nullable Integer recipientCount) { + public ListMessageItem recipientCount(Integer recipientCount) { this.recipientCount = recipientCount; return this; } @@ -423,12 +406,12 @@ public Integer getRecipientCount() { return recipientCount; } - public void setRecipientCount(@javax.annotation.Nullable Integer recipientCount) { + public void setRecipientCount(Integer recipientCount) { this.recipientCount = recipientCount; } - public ListMessageItem campaignClass(@javax.annotation.Nullable String campaignClass) { + public ListMessageItem campaignClass(String campaignClass) { this.campaignClass = campaignClass; return this; } @@ -442,12 +425,12 @@ public String getCampaignClass() { return campaignClass; } - public void setCampaignClass(@javax.annotation.Nullable String campaignClass) { + public void setCampaignClass(String campaignClass) { this.campaignClass = campaignClass; } - public ListMessageItem campaignId(@javax.annotation.Nullable String campaignId) { + public ListMessageItem campaignId(String campaignId) { this.campaignId = campaignId; return this; } @@ -461,7 +444,7 @@ public String getCampaignId() { return campaignId; } - public void setCampaignId(@javax.annotation.Nullable String campaignId) { + public void setCampaignId(String campaignId) { this.campaignId = campaignId; } diff --git a/src/main/java/com/bandwidth/sdk/model/LookupRequest.java b/src/main/java/com/bandwidth/sdk/model/LookupRequest.java index 9a20f90e..f09f7fdc 100644 --- a/src/main/java/com/bandwidth/sdk/model/LookupRequest.java +++ b/src/main/java/com/bandwidth/sdk/model/LookupRequest.java @@ -50,17 +50,16 @@ /** * Create phone number lookup request. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class LookupRequest { public static final String SERIALIZED_NAME_TNS = "tns"; @SerializedName(SERIALIZED_NAME_TNS) - @javax.annotation.Nonnull private List tns = new ArrayList<>(); public LookupRequest() { } - public LookupRequest tns(@javax.annotation.Nonnull List tns) { + public LookupRequest tns(List tns) { this.tns = tns; return this; } @@ -82,7 +81,7 @@ public List getTns() { return tns; } - public void setTns(@javax.annotation.Nonnull List tns) { + public void setTns(List tns) { this.tns = tns; } diff --git a/src/main/java/com/bandwidth/sdk/model/LookupResult.java b/src/main/java/com/bandwidth/sdk/model/LookupResult.java index 4b89b117..846acd11 100644 --- a/src/main/java/com/bandwidth/sdk/model/LookupResult.java +++ b/src/main/java/com/bandwidth/sdk/model/LookupResult.java @@ -48,57 +48,48 @@ /** * Carrier information results for the specified telephone number. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class LookupResult { public static final String SERIALIZED_NAME_RESPONSE_CODE = "Response Code"; @SerializedName(SERIALIZED_NAME_RESPONSE_CODE) - @javax.annotation.Nullable private Integer responseCode; public static final String SERIALIZED_NAME_MESSAGE = "Message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable private String message; public static final String SERIALIZED_NAME_E164_FORMAT = "E.164 Format"; @SerializedName(SERIALIZED_NAME_E164_FORMAT) - @javax.annotation.Nullable private String e164Format; public static final String SERIALIZED_NAME_FORMATTED = "Formatted"; @SerializedName(SERIALIZED_NAME_FORMATTED) - @javax.annotation.Nullable private String formatted; public static final String SERIALIZED_NAME_COUNTRY = "Country"; @SerializedName(SERIALIZED_NAME_COUNTRY) - @javax.annotation.Nullable private String country; public static final String SERIALIZED_NAME_LINE_TYPE = "Line Type"; @SerializedName(SERIALIZED_NAME_LINE_TYPE) - @javax.annotation.Nullable private String lineType; public static final String SERIALIZED_NAME_LINE_PROVIDER = "Line Provider"; @SerializedName(SERIALIZED_NAME_LINE_PROVIDER) - @javax.annotation.Nullable private String lineProvider; public static final String SERIALIZED_NAME_MOBILE_COUNTRY_CODE = "Mobile Country Code"; @SerializedName(SERIALIZED_NAME_MOBILE_COUNTRY_CODE) - @javax.annotation.Nullable private String mobileCountryCode; public static final String SERIALIZED_NAME_MOBILE_NETWORK_CODE = "Mobile Network Code"; @SerializedName(SERIALIZED_NAME_MOBILE_NETWORK_CODE) - @javax.annotation.Nullable private String mobileNetworkCode; public LookupResult() { } - public LookupResult responseCode(@javax.annotation.Nullable Integer responseCode) { + public LookupResult responseCode(Integer responseCode) { this.responseCode = responseCode; return this; } @@ -112,12 +103,12 @@ public Integer getResponseCode() { return responseCode; } - public void setResponseCode(@javax.annotation.Nullable Integer responseCode) { + public void setResponseCode(Integer responseCode) { this.responseCode = responseCode; } - public LookupResult message(@javax.annotation.Nullable String message) { + public LookupResult message(String message) { this.message = message; return this; } @@ -131,12 +122,12 @@ public String getMessage() { return message; } - public void setMessage(@javax.annotation.Nullable String message) { + public void setMessage(String message) { this.message = message; } - public LookupResult e164Format(@javax.annotation.Nullable String e164Format) { + public LookupResult e164Format(String e164Format) { this.e164Format = e164Format; return this; } @@ -150,12 +141,12 @@ public String getE164Format() { return e164Format; } - public void setE164Format(@javax.annotation.Nullable String e164Format) { + public void setE164Format(String e164Format) { this.e164Format = e164Format; } - public LookupResult formatted(@javax.annotation.Nullable String formatted) { + public LookupResult formatted(String formatted) { this.formatted = formatted; return this; } @@ -169,12 +160,12 @@ public String getFormatted() { return formatted; } - public void setFormatted(@javax.annotation.Nullable String formatted) { + public void setFormatted(String formatted) { this.formatted = formatted; } - public LookupResult country(@javax.annotation.Nullable String country) { + public LookupResult country(String country) { this.country = country; return this; } @@ -188,12 +179,12 @@ public String getCountry() { return country; } - public void setCountry(@javax.annotation.Nullable String country) { + public void setCountry(String country) { this.country = country; } - public LookupResult lineType(@javax.annotation.Nullable String lineType) { + public LookupResult lineType(String lineType) { this.lineType = lineType; return this; } @@ -207,12 +198,12 @@ public String getLineType() { return lineType; } - public void setLineType(@javax.annotation.Nullable String lineType) { + public void setLineType(String lineType) { this.lineType = lineType; } - public LookupResult lineProvider(@javax.annotation.Nullable String lineProvider) { + public LookupResult lineProvider(String lineProvider) { this.lineProvider = lineProvider; return this; } @@ -226,12 +217,12 @@ public String getLineProvider() { return lineProvider; } - public void setLineProvider(@javax.annotation.Nullable String lineProvider) { + public void setLineProvider(String lineProvider) { this.lineProvider = lineProvider; } - public LookupResult mobileCountryCode(@javax.annotation.Nullable String mobileCountryCode) { + public LookupResult mobileCountryCode(String mobileCountryCode) { this.mobileCountryCode = mobileCountryCode; return this; } @@ -245,12 +236,12 @@ public String getMobileCountryCode() { return mobileCountryCode; } - public void setMobileCountryCode(@javax.annotation.Nullable String mobileCountryCode) { + public void setMobileCountryCode(String mobileCountryCode) { this.mobileCountryCode = mobileCountryCode; } - public LookupResult mobileNetworkCode(@javax.annotation.Nullable String mobileNetworkCode) { + public LookupResult mobileNetworkCode(String mobileNetworkCode) { this.mobileNetworkCode = mobileNetworkCode; return this; } @@ -264,7 +255,7 @@ public String getMobileNetworkCode() { return mobileNetworkCode; } - public void setMobileNetworkCode(@javax.annotation.Nullable String mobileNetworkCode) { + public void setMobileNetworkCode(String mobileNetworkCode) { this.mobileNetworkCode = mobileNetworkCode; } diff --git a/src/main/java/com/bandwidth/sdk/model/LookupStatus.java b/src/main/java/com/bandwidth/sdk/model/LookupStatus.java index c1474231..cdc1ac26 100644 --- a/src/main/java/com/bandwidth/sdk/model/LookupStatus.java +++ b/src/main/java/com/bandwidth/sdk/model/LookupStatus.java @@ -52,32 +52,28 @@ /** * If requestId exists, the result for that request is returned. See the Examples for details on the various responses that you can receive. Generally, if you see a Response Code of 0 in a result for a TN, information will be available for it. Any other Response Code will indicate no information was available for the TN. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class LookupStatus { public static final String SERIALIZED_NAME_REQUEST_ID = "requestId"; @SerializedName(SERIALIZED_NAME_REQUEST_ID) - @javax.annotation.Nullable private String requestId; public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable private LookupStatusEnum status; public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) - @javax.annotation.Nullable private List result = new ArrayList<>(); public static final String SERIALIZED_NAME_FAILED_TELEPHONE_NUMBERS = "failedTelephoneNumbers"; @SerializedName(SERIALIZED_NAME_FAILED_TELEPHONE_NUMBERS) - @javax.annotation.Nullable private List failedTelephoneNumbers = new ArrayList<>(); public LookupStatus() { } - public LookupStatus requestId(@javax.annotation.Nullable String requestId) { + public LookupStatus requestId(String requestId) { this.requestId = requestId; return this; } @@ -91,12 +87,12 @@ public String getRequestId() { return requestId; } - public void setRequestId(@javax.annotation.Nullable String requestId) { + public void setRequestId(String requestId) { this.requestId = requestId; } - public LookupStatus status(@javax.annotation.Nullable LookupStatusEnum status) { + public LookupStatus status(LookupStatusEnum status) { this.status = status; return this; } @@ -110,12 +106,12 @@ public LookupStatusEnum getStatus() { return status; } - public void setStatus(@javax.annotation.Nullable LookupStatusEnum status) { + public void setStatus(LookupStatusEnum status) { this.status = status; } - public LookupStatus result(@javax.annotation.Nullable List result) { + public LookupStatus result(List result) { this.result = result; return this; } @@ -137,12 +133,12 @@ public List getResult() { return result; } - public void setResult(@javax.annotation.Nullable List result) { + public void setResult(List result) { this.result = result; } - public LookupStatus failedTelephoneNumbers(@javax.annotation.Nullable List failedTelephoneNumbers) { + public LookupStatus failedTelephoneNumbers(List failedTelephoneNumbers) { this.failedTelephoneNumbers = failedTelephoneNumbers; return this; } @@ -164,7 +160,7 @@ public List getFailedTelephoneNumbers() { return failedTelephoneNumbers; } - public void setFailedTelephoneNumbers(@javax.annotation.Nullable List failedTelephoneNumbers) { + public void setFailedTelephoneNumbers(List failedTelephoneNumbers) { this.failedTelephoneNumbers = failedTelephoneNumbers; } diff --git a/src/main/java/com/bandwidth/sdk/model/MachineDetectionCompleteCallback.java b/src/main/java/com/bandwidth/sdk/model/MachineDetectionCompleteCallback.java index 0f3f0a98..5cf68101 100644 --- a/src/main/java/com/bandwidth/sdk/model/MachineDetectionCompleteCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/MachineDetectionCompleteCallback.java @@ -53,82 +53,68 @@ /** * This event is sent to the url informed when requesting a machine detection operation. It contains the machine detection operation result, which can be: human, answering-machine, silence, timeout, error. This event is not sent when sync answering machine detection mode is chosen. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MachineDetectionCompleteCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_ANSWER_TIME = "answerTime"; @SerializedName(SERIALIZED_NAME_ANSWER_TIME) - @javax.annotation.Nullable private OffsetDateTime answerTime; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_MACHINE_DETECTION_RESULT = "machineDetectionResult"; @SerializedName(SERIALIZED_NAME_MACHINE_DETECTION_RESULT) - @javax.annotation.Nullable private MachineDetectionResult machineDetectionResult; public MachineDetectionCompleteCallback() { } - public MachineDetectionCompleteCallback eventType(@javax.annotation.Nullable String eventType) { + public MachineDetectionCompleteCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -142,12 +128,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public MachineDetectionCompleteCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public MachineDetectionCompleteCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -161,12 +147,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public MachineDetectionCompleteCallback accountId(@javax.annotation.Nullable String accountId) { + public MachineDetectionCompleteCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -180,12 +166,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public MachineDetectionCompleteCallback applicationId(@javax.annotation.Nullable String applicationId) { + public MachineDetectionCompleteCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -199,12 +185,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public MachineDetectionCompleteCallback from(@javax.annotation.Nullable String from) { + public MachineDetectionCompleteCallback from(String from) { this.from = from; return this; } @@ -218,12 +204,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public MachineDetectionCompleteCallback to(@javax.annotation.Nullable String to) { + public MachineDetectionCompleteCallback to(String to) { this.to = to; return this; } @@ -237,12 +223,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public MachineDetectionCompleteCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public MachineDetectionCompleteCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -256,12 +242,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public MachineDetectionCompleteCallback callId(@javax.annotation.Nullable String callId) { + public MachineDetectionCompleteCallback callId(String callId) { this.callId = callId; return this; } @@ -275,12 +261,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public MachineDetectionCompleteCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public MachineDetectionCompleteCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -294,12 +280,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public MachineDetectionCompleteCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public MachineDetectionCompleteCallback enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -313,12 +299,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public MachineDetectionCompleteCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public MachineDetectionCompleteCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -332,12 +318,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public MachineDetectionCompleteCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public MachineDetectionCompleteCallback answerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -351,12 +337,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public void setAnswerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; } - public MachineDetectionCompleteCallback tag(@javax.annotation.Nullable String tag) { + public MachineDetectionCompleteCallback tag(String tag) { this.tag = tag; return this; } @@ -370,12 +356,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public MachineDetectionCompleteCallback machineDetectionResult(@javax.annotation.Nullable MachineDetectionResult machineDetectionResult) { + public MachineDetectionCompleteCallback machineDetectionResult(MachineDetectionResult machineDetectionResult) { this.machineDetectionResult = machineDetectionResult; return this; } @@ -389,7 +375,7 @@ public MachineDetectionResult getMachineDetectionResult() { return machineDetectionResult; } - public void setMachineDetectionResult(@javax.annotation.Nullable MachineDetectionResult machineDetectionResult) { + public void setMachineDetectionResult(MachineDetectionResult machineDetectionResult) { this.machineDetectionResult = machineDetectionResult; } diff --git a/src/main/java/com/bandwidth/sdk/model/MachineDetectionConfiguration.java b/src/main/java/com/bandwidth/sdk/model/MachineDetectionConfiguration.java index 4b168f9f..5b22e432 100644 --- a/src/main/java/com/bandwidth/sdk/model/MachineDetectionConfiguration.java +++ b/src/main/java/com/bandwidth/sdk/model/MachineDetectionConfiguration.java @@ -52,87 +52,72 @@ /** * The machine detection request used to perform <a href='/docs/voice/guides/machineDetection'>machine detection</a> on the call. Currently, there is an issue where decimal values are not getting processed correctly. Please use whole number values. We are working to resolve this issue. Please contact Bandwidth Support if you need more information. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MachineDetectionConfiguration { public static final String SERIALIZED_NAME_MODE = "mode"; @SerializedName(SERIALIZED_NAME_MODE) - @javax.annotation.Nullable private MachineDetectionModeEnum mode = MachineDetectionModeEnum.ASYNC; public static final String SERIALIZED_NAME_DETECTION_TIMEOUT = "detectionTimeout"; @SerializedName(SERIALIZED_NAME_DETECTION_TIMEOUT) - @javax.annotation.Nullable private Double detectionTimeout = 15d; public static final String SERIALIZED_NAME_SILENCE_TIMEOUT = "silenceTimeout"; @SerializedName(SERIALIZED_NAME_SILENCE_TIMEOUT) - @javax.annotation.Nullable private Double silenceTimeout = 10d; public static final String SERIALIZED_NAME_SPEECH_THRESHOLD = "speechThreshold"; @SerializedName(SERIALIZED_NAME_SPEECH_THRESHOLD) - @javax.annotation.Nullable private Double speechThreshold = 10d; public static final String SERIALIZED_NAME_SPEECH_END_THRESHOLD = "speechEndThreshold"; @SerializedName(SERIALIZED_NAME_SPEECH_END_THRESHOLD) - @javax.annotation.Nullable private Double speechEndThreshold = 5d; public static final String SERIALIZED_NAME_MACHINE_SPEECH_END_THRESHOLD = "machineSpeechEndThreshold"; @SerializedName(SERIALIZED_NAME_MACHINE_SPEECH_END_THRESHOLD) - @javax.annotation.Nullable private Double machineSpeechEndThreshold; public static final String SERIALIZED_NAME_DELAY_RESULT = "delayResult"; @SerializedName(SERIALIZED_NAME_DELAY_RESULT) - @javax.annotation.Nullable private Boolean delayResult = false; public static final String SERIALIZED_NAME_CALLBACK_URL = "callbackUrl"; @SerializedName(SERIALIZED_NAME_CALLBACK_URL) - @javax.annotation.Nullable private URI callbackUrl; public static final String SERIALIZED_NAME_CALLBACK_METHOD = "callbackMethod"; @SerializedName(SERIALIZED_NAME_CALLBACK_METHOD) - @javax.annotation.Nullable private CallbackMethodEnum callbackMethod = CallbackMethodEnum.POST; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_FALLBACK_URL = "fallbackUrl"; @SerializedName(SERIALIZED_NAME_FALLBACK_URL) - @javax.annotation.Nullable private URI fallbackUrl; public static final String SERIALIZED_NAME_FALLBACK_METHOD = "fallbackMethod"; @SerializedName(SERIALIZED_NAME_FALLBACK_METHOD) - @javax.annotation.Nullable private CallbackMethodEnum fallbackMethod = CallbackMethodEnum.POST; public static final String SERIALIZED_NAME_FALLBACK_USERNAME = "fallbackUsername"; @SerializedName(SERIALIZED_NAME_FALLBACK_USERNAME) - @javax.annotation.Nullable private String fallbackUsername; public static final String SERIALIZED_NAME_FALLBACK_PASSWORD = "fallbackPassword"; @SerializedName(SERIALIZED_NAME_FALLBACK_PASSWORD) - @javax.annotation.Nullable private String fallbackPassword; public MachineDetectionConfiguration() { } - public MachineDetectionConfiguration mode(@javax.annotation.Nullable MachineDetectionModeEnum mode) { + public MachineDetectionConfiguration mode(MachineDetectionModeEnum mode) { this.mode = mode; return this; } @@ -146,12 +131,12 @@ public MachineDetectionModeEnum getMode() { return mode; } - public void setMode(@javax.annotation.Nullable MachineDetectionModeEnum mode) { + public void setMode(MachineDetectionModeEnum mode) { this.mode = mode; } - public MachineDetectionConfiguration detectionTimeout(@javax.annotation.Nullable Double detectionTimeout) { + public MachineDetectionConfiguration detectionTimeout(Double detectionTimeout) { this.detectionTimeout = detectionTimeout; return this; } @@ -165,12 +150,12 @@ public Double getDetectionTimeout() { return detectionTimeout; } - public void setDetectionTimeout(@javax.annotation.Nullable Double detectionTimeout) { + public void setDetectionTimeout(Double detectionTimeout) { this.detectionTimeout = detectionTimeout; } - public MachineDetectionConfiguration silenceTimeout(@javax.annotation.Nullable Double silenceTimeout) { + public MachineDetectionConfiguration silenceTimeout(Double silenceTimeout) { this.silenceTimeout = silenceTimeout; return this; } @@ -184,12 +169,12 @@ public Double getSilenceTimeout() { return silenceTimeout; } - public void setSilenceTimeout(@javax.annotation.Nullable Double silenceTimeout) { + public void setSilenceTimeout(Double silenceTimeout) { this.silenceTimeout = silenceTimeout; } - public MachineDetectionConfiguration speechThreshold(@javax.annotation.Nullable Double speechThreshold) { + public MachineDetectionConfiguration speechThreshold(Double speechThreshold) { this.speechThreshold = speechThreshold; return this; } @@ -203,12 +188,12 @@ public Double getSpeechThreshold() { return speechThreshold; } - public void setSpeechThreshold(@javax.annotation.Nullable Double speechThreshold) { + public void setSpeechThreshold(Double speechThreshold) { this.speechThreshold = speechThreshold; } - public MachineDetectionConfiguration speechEndThreshold(@javax.annotation.Nullable Double speechEndThreshold) { + public MachineDetectionConfiguration speechEndThreshold(Double speechEndThreshold) { this.speechEndThreshold = speechEndThreshold; return this; } @@ -222,12 +207,12 @@ public Double getSpeechEndThreshold() { return speechEndThreshold; } - public void setSpeechEndThreshold(@javax.annotation.Nullable Double speechEndThreshold) { + public void setSpeechEndThreshold(Double speechEndThreshold) { this.speechEndThreshold = speechEndThreshold; } - public MachineDetectionConfiguration machineSpeechEndThreshold(@javax.annotation.Nullable Double machineSpeechEndThreshold) { + public MachineDetectionConfiguration machineSpeechEndThreshold(Double machineSpeechEndThreshold) { this.machineSpeechEndThreshold = machineSpeechEndThreshold; return this; } @@ -241,12 +226,12 @@ public Double getMachineSpeechEndThreshold() { return machineSpeechEndThreshold; } - public void setMachineSpeechEndThreshold(@javax.annotation.Nullable Double machineSpeechEndThreshold) { + public void setMachineSpeechEndThreshold(Double machineSpeechEndThreshold) { this.machineSpeechEndThreshold = machineSpeechEndThreshold; } - public MachineDetectionConfiguration delayResult(@javax.annotation.Nullable Boolean delayResult) { + public MachineDetectionConfiguration delayResult(Boolean delayResult) { this.delayResult = delayResult; return this; } @@ -260,12 +245,12 @@ public Boolean getDelayResult() { return delayResult; } - public void setDelayResult(@javax.annotation.Nullable Boolean delayResult) { + public void setDelayResult(Boolean delayResult) { this.delayResult = delayResult; } - public MachineDetectionConfiguration callbackUrl(@javax.annotation.Nullable URI callbackUrl) { + public MachineDetectionConfiguration callbackUrl(URI callbackUrl) { this.callbackUrl = callbackUrl; return this; } @@ -279,12 +264,12 @@ public URI getCallbackUrl() { return callbackUrl; } - public void setCallbackUrl(@javax.annotation.Nullable URI callbackUrl) { + public void setCallbackUrl(URI callbackUrl) { this.callbackUrl = callbackUrl; } - public MachineDetectionConfiguration callbackMethod(@javax.annotation.Nullable CallbackMethodEnum callbackMethod) { + public MachineDetectionConfiguration callbackMethod(CallbackMethodEnum callbackMethod) { this.callbackMethod = callbackMethod; return this; } @@ -298,12 +283,12 @@ public CallbackMethodEnum getCallbackMethod() { return callbackMethod; } - public void setCallbackMethod(@javax.annotation.Nullable CallbackMethodEnum callbackMethod) { + public void setCallbackMethod(CallbackMethodEnum callbackMethod) { this.callbackMethod = callbackMethod; } - public MachineDetectionConfiguration username(@javax.annotation.Nullable String username) { + public MachineDetectionConfiguration username(String username) { this.username = username; return this; } @@ -317,12 +302,12 @@ public String getUsername() { return username; } - public void setUsername(@javax.annotation.Nullable String username) { + public void setUsername(String username) { this.username = username; } - public MachineDetectionConfiguration password(@javax.annotation.Nullable String password) { + public MachineDetectionConfiguration password(String password) { this.password = password; return this; } @@ -336,12 +321,12 @@ public String getPassword() { return password; } - public void setPassword(@javax.annotation.Nullable String password) { + public void setPassword(String password) { this.password = password; } - public MachineDetectionConfiguration fallbackUrl(@javax.annotation.Nullable URI fallbackUrl) { + public MachineDetectionConfiguration fallbackUrl(URI fallbackUrl) { this.fallbackUrl = fallbackUrl; return this; } @@ -355,12 +340,12 @@ public URI getFallbackUrl() { return fallbackUrl; } - public void setFallbackUrl(@javax.annotation.Nullable URI fallbackUrl) { + public void setFallbackUrl(URI fallbackUrl) { this.fallbackUrl = fallbackUrl; } - public MachineDetectionConfiguration fallbackMethod(@javax.annotation.Nullable CallbackMethodEnum fallbackMethod) { + public MachineDetectionConfiguration fallbackMethod(CallbackMethodEnum fallbackMethod) { this.fallbackMethod = fallbackMethod; return this; } @@ -374,12 +359,12 @@ public CallbackMethodEnum getFallbackMethod() { return fallbackMethod; } - public void setFallbackMethod(@javax.annotation.Nullable CallbackMethodEnum fallbackMethod) { + public void setFallbackMethod(CallbackMethodEnum fallbackMethod) { this.fallbackMethod = fallbackMethod; } - public MachineDetectionConfiguration fallbackUsername(@javax.annotation.Nullable String fallbackUsername) { + public MachineDetectionConfiguration fallbackUsername(String fallbackUsername) { this.fallbackUsername = fallbackUsername; return this; } @@ -393,12 +378,12 @@ public String getFallbackUsername() { return fallbackUsername; } - public void setFallbackUsername(@javax.annotation.Nullable String fallbackUsername) { + public void setFallbackUsername(String fallbackUsername) { this.fallbackUsername = fallbackUsername; } - public MachineDetectionConfiguration fallbackPassword(@javax.annotation.Nullable String fallbackPassword) { + public MachineDetectionConfiguration fallbackPassword(String fallbackPassword) { this.fallbackPassword = fallbackPassword; return this; } @@ -412,7 +397,7 @@ public String getFallbackPassword() { return fallbackPassword; } - public void setFallbackPassword(@javax.annotation.Nullable String fallbackPassword) { + public void setFallbackPassword(String fallbackPassword) { this.fallbackPassword = fallbackPassword; } diff --git a/src/main/java/com/bandwidth/sdk/model/MachineDetectionResult.java b/src/main/java/com/bandwidth/sdk/model/MachineDetectionResult.java index a424bdfb..b33891ea 100644 --- a/src/main/java/com/bandwidth/sdk/model/MachineDetectionResult.java +++ b/src/main/java/com/bandwidth/sdk/model/MachineDetectionResult.java @@ -48,22 +48,20 @@ /** * (optional) if machine detection was requested in sync mode, the result will be specified here. Possible values are the same as the async counterpart: Machine Detection Complete */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MachineDetectionResult { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) - @javax.annotation.Nullable private String value; public static final String SERIALIZED_NAME_DURATION = "duration"; @SerializedName(SERIALIZED_NAME_DURATION) - @javax.annotation.Nullable private String duration; public MachineDetectionResult() { } - public MachineDetectionResult value(@javax.annotation.Nullable String value) { + public MachineDetectionResult value(String value) { this.value = value; return this; } @@ -77,12 +75,12 @@ public String getValue() { return value; } - public void setValue(@javax.annotation.Nullable String value) { + public void setValue(String value) { this.value = value; } - public MachineDetectionResult duration(@javax.annotation.Nullable String duration) { + public MachineDetectionResult duration(String duration) { this.duration = duration; return this; } @@ -96,7 +94,7 @@ public String getDuration() { return duration; } - public void setDuration(@javax.annotation.Nullable String duration) { + public void setDuration(String duration) { this.duration = duration; } diff --git a/src/main/java/com/bandwidth/sdk/model/Media.java b/src/main/java/com/bandwidth/sdk/model/Media.java index 551b9a39..6271307d 100644 --- a/src/main/java/com/bandwidth/sdk/model/Media.java +++ b/src/main/java/com/bandwidth/sdk/model/Media.java @@ -48,27 +48,24 @@ /** * Media */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Media { public static final String SERIALIZED_NAME_CONTENT = "content"; @SerializedName(SERIALIZED_NAME_CONTENT) - @javax.annotation.Nullable private String content; public static final String SERIALIZED_NAME_CONTENT_LENGTH = "contentLength"; @SerializedName(SERIALIZED_NAME_CONTENT_LENGTH) - @javax.annotation.Nullable private Integer contentLength; public static final String SERIALIZED_NAME_MEDIA_NAME = "mediaName"; @SerializedName(SERIALIZED_NAME_MEDIA_NAME) - @javax.annotation.Nullable private String mediaName; public Media() { } - public Media content(@javax.annotation.Nullable String content) { + public Media content(String content) { this.content = content; return this; } @@ -82,12 +79,12 @@ public String getContent() { return content; } - public void setContent(@javax.annotation.Nullable String content) { + public void setContent(String content) { this.content = content; } - public Media contentLength(@javax.annotation.Nullable Integer contentLength) { + public Media contentLength(Integer contentLength) { this.contentLength = contentLength; return this; } @@ -101,12 +98,12 @@ public Integer getContentLength() { return contentLength; } - public void setContentLength(@javax.annotation.Nullable Integer contentLength) { + public void setContentLength(Integer contentLength) { this.contentLength = contentLength; } - public Media mediaName(@javax.annotation.Nullable String mediaName) { + public Media mediaName(String mediaName) { this.mediaName = mediaName; return this; } @@ -120,7 +117,7 @@ public String getMediaName() { return mediaName; } - public void setMediaName(@javax.annotation.Nullable String mediaName) { + public void setMediaName(String mediaName) { this.mediaName = mediaName; } diff --git a/src/main/java/com/bandwidth/sdk/model/Message.java b/src/main/java/com/bandwidth/sdk/model/Message.java index 4e2bde24..f8647be4 100644 --- a/src/main/java/com/bandwidth/sdk/model/Message.java +++ b/src/main/java/com/bandwidth/sdk/model/Message.java @@ -53,77 +53,64 @@ /** * Message */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Message { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable private String id; public static final String SERIALIZED_NAME_OWNER = "owner"; @SerializedName(SERIALIZED_NAME_OWNER) - @javax.annotation.Nullable private String owner; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_TIME = "time"; @SerializedName(SERIALIZED_NAME_TIME) - @javax.annotation.Nullable private OffsetDateTime time; public static final String SERIALIZED_NAME_SEGMENT_COUNT = "segmentCount"; @SerializedName(SERIALIZED_NAME_SEGMENT_COUNT) - @javax.annotation.Nullable private Integer segmentCount; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private MessageDirectionEnum direction; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private Set to = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_MEDIA = "media"; @SerializedName(SERIALIZED_NAME_MEDIA) - @javax.annotation.Nullable private Set media = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) - @javax.annotation.Nullable private String text; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_PRIORITY = "priority"; @SerializedName(SERIALIZED_NAME_PRIORITY) - @javax.annotation.Nullable private PriorityEnum priority; public static final String SERIALIZED_NAME_EXPIRATION = "expiration"; @SerializedName(SERIALIZED_NAME_EXPIRATION) - @javax.annotation.Nullable private OffsetDateTime expiration; public Message() { } - public Message id(@javax.annotation.Nullable String id) { + public Message id(String id) { this.id = id; return this; } @@ -137,12 +124,12 @@ public String getId() { return id; } - public void setId(@javax.annotation.Nullable String id) { + public void setId(String id) { this.id = id; } - public Message owner(@javax.annotation.Nullable String owner) { + public Message owner(String owner) { this.owner = owner; return this; } @@ -156,12 +143,12 @@ public String getOwner() { return owner; } - public void setOwner(@javax.annotation.Nullable String owner) { + public void setOwner(String owner) { this.owner = owner; } - public Message applicationId(@javax.annotation.Nullable String applicationId) { + public Message applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -175,12 +162,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public Message time(@javax.annotation.Nullable OffsetDateTime time) { + public Message time(OffsetDateTime time) { this.time = time; return this; } @@ -194,12 +181,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(@javax.annotation.Nullable OffsetDateTime time) { + public void setTime(OffsetDateTime time) { this.time = time; } - public Message segmentCount(@javax.annotation.Nullable Integer segmentCount) { + public Message segmentCount(Integer segmentCount) { this.segmentCount = segmentCount; return this; } @@ -213,12 +200,12 @@ public Integer getSegmentCount() { return segmentCount; } - public void setSegmentCount(@javax.annotation.Nullable Integer segmentCount) { + public void setSegmentCount(Integer segmentCount) { this.segmentCount = segmentCount; } - public Message direction(@javax.annotation.Nullable MessageDirectionEnum direction) { + public Message direction(MessageDirectionEnum direction) { this.direction = direction; return this; } @@ -232,12 +219,12 @@ public MessageDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable MessageDirectionEnum direction) { + public void setDirection(MessageDirectionEnum direction) { this.direction = direction; } - public Message to(@javax.annotation.Nullable Set to) { + public Message to(Set to) { this.to = to; return this; } @@ -259,12 +246,12 @@ public Set getTo() { return to; } - public void setTo(@javax.annotation.Nullable Set to) { + public void setTo(Set to) { this.to = to; } - public Message from(@javax.annotation.Nullable String from) { + public Message from(String from) { this.from = from; return this; } @@ -278,12 +265,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public Message media(@javax.annotation.Nullable Set media) { + public Message media(Set media) { this.media = media; return this; } @@ -305,12 +292,12 @@ public Set getMedia() { return media; } - public void setMedia(@javax.annotation.Nullable Set media) { + public void setMedia(Set media) { this.media = media; } - public Message text(@javax.annotation.Nullable String text) { + public Message text(String text) { this.text = text; return this; } @@ -324,12 +311,12 @@ public String getText() { return text; } - public void setText(@javax.annotation.Nullable String text) { + public void setText(String text) { this.text = text; } - public Message tag(@javax.annotation.Nullable String tag) { + public Message tag(String tag) { this.tag = tag; return this; } @@ -343,12 +330,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public Message priority(@javax.annotation.Nullable PriorityEnum priority) { + public Message priority(PriorityEnum priority) { this.priority = priority; return this; } @@ -362,12 +349,12 @@ public PriorityEnum getPriority() { return priority; } - public void setPriority(@javax.annotation.Nullable PriorityEnum priority) { + public void setPriority(PriorityEnum priority) { this.priority = priority; } - public Message expiration(@javax.annotation.Nullable OffsetDateTime expiration) { + public Message expiration(OffsetDateTime expiration) { this.expiration = expiration; return this; } @@ -381,7 +368,7 @@ public OffsetDateTime getExpiration() { return expiration; } - public void setExpiration(@javax.annotation.Nullable OffsetDateTime expiration) { + public void setExpiration(OffsetDateTime expiration) { this.expiration = expiration; } diff --git a/src/main/java/com/bandwidth/sdk/model/MessageDeliveredCallback.java b/src/main/java/com/bandwidth/sdk/model/MessageDeliveredCallback.java index 2a9b1c7e..78b2e050 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessageDeliveredCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/MessageDeliveredCallback.java @@ -50,37 +50,32 @@ /** * Message Delivered Callback */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MessageDeliveredCallback { public static final String SERIALIZED_NAME_TIME = "time"; @SerializedName(SERIALIZED_NAME_TIME) - @javax.annotation.Nonnull private OffsetDateTime time; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nonnull private String type; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nonnull private String to; public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) - @javax.annotation.Nonnull private String description; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nonnull private MessageDeliveredCallbackMessage message; public MessageDeliveredCallback() { } - public MessageDeliveredCallback time(@javax.annotation.Nonnull OffsetDateTime time) { + public MessageDeliveredCallback time(OffsetDateTime time) { this.time = time; return this; } @@ -94,12 +89,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { + public void setTime(OffsetDateTime time) { this.time = time; } - public MessageDeliveredCallback type(@javax.annotation.Nonnull String type) { + public MessageDeliveredCallback type(String type) { this.type = type; return this; } @@ -113,12 +108,12 @@ public String getType() { return type; } - public void setType(@javax.annotation.Nonnull String type) { + public void setType(String type) { this.type = type; } - public MessageDeliveredCallback to(@javax.annotation.Nonnull String to) { + public MessageDeliveredCallback to(String to) { this.to = to; return this; } @@ -132,12 +127,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nonnull String to) { + public void setTo(String to) { this.to = to; } - public MessageDeliveredCallback description(@javax.annotation.Nonnull String description) { + public MessageDeliveredCallback description(String description) { this.description = description; return this; } @@ -151,12 +146,12 @@ public String getDescription() { return description; } - public void setDescription(@javax.annotation.Nonnull String description) { + public void setDescription(String description) { this.description = description; } - public MessageDeliveredCallback message(@javax.annotation.Nonnull MessageDeliveredCallbackMessage message) { + public MessageDeliveredCallback message(MessageDeliveredCallbackMessage message) { this.message = message; return this; } @@ -170,7 +165,7 @@ public MessageDeliveredCallbackMessage getMessage() { return message; } - public void setMessage(@javax.annotation.Nonnull MessageDeliveredCallbackMessage message) { + public void setMessage(MessageDeliveredCallbackMessage message) { this.message = message; } diff --git a/src/main/java/com/bandwidth/sdk/model/MessageDeliveredCallbackMessage.java b/src/main/java/com/bandwidth/sdk/model/MessageDeliveredCallbackMessage.java index c4c644bc..a89369c2 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessageDeliveredCallbackMessage.java +++ b/src/main/java/com/bandwidth/sdk/model/MessageDeliveredCallbackMessage.java @@ -56,72 +56,60 @@ /** * Message Delivered Callback Message Schema */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MessageDeliveredCallbackMessage { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nonnull private String id; public static final String SERIALIZED_NAME_OWNER = "owner"; @SerializedName(SERIALIZED_NAME_OWNER) - @javax.annotation.Nonnull private String owner; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nonnull private String applicationId; public static final String SERIALIZED_NAME_TIME = "time"; @SerializedName(SERIALIZED_NAME_TIME) - @javax.annotation.Nonnull private OffsetDateTime time; public static final String SERIALIZED_NAME_SEGMENT_COUNT = "segmentCount"; @SerializedName(SERIALIZED_NAME_SEGMENT_COUNT) - @javax.annotation.Nonnull private Integer segmentCount; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nonnull private MessageDirectionEnum direction; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nonnull private Set to = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nonnull private String from; public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) - @javax.annotation.Nonnull private String text; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nonnull private String tag; public static final String SERIALIZED_NAME_MEDIA = "media"; @SerializedName(SERIALIZED_NAME_MEDIA) - @javax.annotation.Nullable private List media = new ArrayList<>(); public static final String SERIALIZED_NAME_PRIORITY = "priority"; @SerializedName(SERIALIZED_NAME_PRIORITY) - @javax.annotation.Nullable private PriorityEnum priority; public MessageDeliveredCallbackMessage() { } - public MessageDeliveredCallbackMessage id(@javax.annotation.Nonnull String id) { + public MessageDeliveredCallbackMessage id(String id) { this.id = id; return this; } @@ -135,12 +123,12 @@ public String getId() { return id; } - public void setId(@javax.annotation.Nonnull String id) { + public void setId(String id) { this.id = id; } - public MessageDeliveredCallbackMessage owner(@javax.annotation.Nonnull String owner) { + public MessageDeliveredCallbackMessage owner(String owner) { this.owner = owner; return this; } @@ -154,12 +142,12 @@ public String getOwner() { return owner; } - public void setOwner(@javax.annotation.Nonnull String owner) { + public void setOwner(String owner) { this.owner = owner; } - public MessageDeliveredCallbackMessage applicationId(@javax.annotation.Nonnull String applicationId) { + public MessageDeliveredCallbackMessage applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -173,12 +161,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nonnull String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public MessageDeliveredCallbackMessage time(@javax.annotation.Nonnull OffsetDateTime time) { + public MessageDeliveredCallbackMessage time(OffsetDateTime time) { this.time = time; return this; } @@ -192,12 +180,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { + public void setTime(OffsetDateTime time) { this.time = time; } - public MessageDeliveredCallbackMessage segmentCount(@javax.annotation.Nonnull Integer segmentCount) { + public MessageDeliveredCallbackMessage segmentCount(Integer segmentCount) { this.segmentCount = segmentCount; return this; } @@ -211,12 +199,12 @@ public Integer getSegmentCount() { return segmentCount; } - public void setSegmentCount(@javax.annotation.Nonnull Integer segmentCount) { + public void setSegmentCount(Integer segmentCount) { this.segmentCount = segmentCount; } - public MessageDeliveredCallbackMessage direction(@javax.annotation.Nonnull MessageDirectionEnum direction) { + public MessageDeliveredCallbackMessage direction(MessageDirectionEnum direction) { this.direction = direction; return this; } @@ -230,12 +218,12 @@ public MessageDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nonnull MessageDirectionEnum direction) { + public void setDirection(MessageDirectionEnum direction) { this.direction = direction; } - public MessageDeliveredCallbackMessage to(@javax.annotation.Nonnull Set to) { + public MessageDeliveredCallbackMessage to(Set to) { this.to = to; return this; } @@ -257,12 +245,12 @@ public Set getTo() { return to; } - public void setTo(@javax.annotation.Nonnull Set to) { + public void setTo(Set to) { this.to = to; } - public MessageDeliveredCallbackMessage from(@javax.annotation.Nonnull String from) { + public MessageDeliveredCallbackMessage from(String from) { this.from = from; return this; } @@ -276,12 +264,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nonnull String from) { + public void setFrom(String from) { this.from = from; } - public MessageDeliveredCallbackMessage text(@javax.annotation.Nonnull String text) { + public MessageDeliveredCallbackMessage text(String text) { this.text = text; return this; } @@ -295,12 +283,12 @@ public String getText() { return text; } - public void setText(@javax.annotation.Nonnull String text) { + public void setText(String text) { this.text = text; } - public MessageDeliveredCallbackMessage tag(@javax.annotation.Nonnull String tag) { + public MessageDeliveredCallbackMessage tag(String tag) { this.tag = tag; return this; } @@ -314,12 +302,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nonnull String tag) { + public void setTag(String tag) { this.tag = tag; } - public MessageDeliveredCallbackMessage media(@javax.annotation.Nullable List media) { + public MessageDeliveredCallbackMessage media(List media) { this.media = media; return this; } @@ -341,12 +329,12 @@ public List getMedia() { return media; } - public void setMedia(@javax.annotation.Nullable List media) { + public void setMedia(List media) { this.media = media; } - public MessageDeliveredCallbackMessage priority(@javax.annotation.Nullable PriorityEnum priority) { + public MessageDeliveredCallbackMessage priority(PriorityEnum priority) { this.priority = priority; return this; } @@ -360,7 +348,7 @@ public PriorityEnum getPriority() { return priority; } - public void setPriority(@javax.annotation.Nullable PriorityEnum priority) { + public void setPriority(PriorityEnum priority) { this.priority = priority; } diff --git a/src/main/java/com/bandwidth/sdk/model/MessageFailedCallback.java b/src/main/java/com/bandwidth/sdk/model/MessageFailedCallback.java index 076afbef..5dbd1a65 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessageFailedCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/MessageFailedCallback.java @@ -50,42 +50,36 @@ /** * Message Failed Callback */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MessageFailedCallback { public static final String SERIALIZED_NAME_TIME = "time"; @SerializedName(SERIALIZED_NAME_TIME) - @javax.annotation.Nonnull private OffsetDateTime time; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nonnull private String type; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nonnull private String to; public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) - @javax.annotation.Nonnull private String description; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nonnull private MessageFailedCallbackMessage message; public static final String SERIALIZED_NAME_ERROR_CODE = "errorCode"; @SerializedName(SERIALIZED_NAME_ERROR_CODE) - @javax.annotation.Nonnull private Integer errorCode; public MessageFailedCallback() { } - public MessageFailedCallback time(@javax.annotation.Nonnull OffsetDateTime time) { + public MessageFailedCallback time(OffsetDateTime time) { this.time = time; return this; } @@ -99,12 +93,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { + public void setTime(OffsetDateTime time) { this.time = time; } - public MessageFailedCallback type(@javax.annotation.Nonnull String type) { + public MessageFailedCallback type(String type) { this.type = type; return this; } @@ -118,12 +112,12 @@ public String getType() { return type; } - public void setType(@javax.annotation.Nonnull String type) { + public void setType(String type) { this.type = type; } - public MessageFailedCallback to(@javax.annotation.Nonnull String to) { + public MessageFailedCallback to(String to) { this.to = to; return this; } @@ -137,12 +131,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nonnull String to) { + public void setTo(String to) { this.to = to; } - public MessageFailedCallback description(@javax.annotation.Nonnull String description) { + public MessageFailedCallback description(String description) { this.description = description; return this; } @@ -156,12 +150,12 @@ public String getDescription() { return description; } - public void setDescription(@javax.annotation.Nonnull String description) { + public void setDescription(String description) { this.description = description; } - public MessageFailedCallback message(@javax.annotation.Nonnull MessageFailedCallbackMessage message) { + public MessageFailedCallback message(MessageFailedCallbackMessage message) { this.message = message; return this; } @@ -175,12 +169,12 @@ public MessageFailedCallbackMessage getMessage() { return message; } - public void setMessage(@javax.annotation.Nonnull MessageFailedCallbackMessage message) { + public void setMessage(MessageFailedCallbackMessage message) { this.message = message; } - public MessageFailedCallback errorCode(@javax.annotation.Nonnull Integer errorCode) { + public MessageFailedCallback errorCode(Integer errorCode) { this.errorCode = errorCode; return this; } @@ -194,7 +188,7 @@ public Integer getErrorCode() { return errorCode; } - public void setErrorCode(@javax.annotation.Nonnull Integer errorCode) { + public void setErrorCode(Integer errorCode) { this.errorCode = errorCode; } diff --git a/src/main/java/com/bandwidth/sdk/model/MessageFailedCallbackMessage.java b/src/main/java/com/bandwidth/sdk/model/MessageFailedCallbackMessage.java index 37dadda7..c819c0e7 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessageFailedCallbackMessage.java +++ b/src/main/java/com/bandwidth/sdk/model/MessageFailedCallbackMessage.java @@ -56,72 +56,60 @@ /** * Message Failed Callback Message Schema */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MessageFailedCallbackMessage { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nonnull private String id; public static final String SERIALIZED_NAME_OWNER = "owner"; @SerializedName(SERIALIZED_NAME_OWNER) - @javax.annotation.Nonnull private String owner; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nonnull private String applicationId; public static final String SERIALIZED_NAME_TIME = "time"; @SerializedName(SERIALIZED_NAME_TIME) - @javax.annotation.Nonnull private OffsetDateTime time; public static final String SERIALIZED_NAME_SEGMENT_COUNT = "segmentCount"; @SerializedName(SERIALIZED_NAME_SEGMENT_COUNT) - @javax.annotation.Nonnull private Integer segmentCount; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nonnull private MessageDirectionEnum direction; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nonnull private Set to = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nonnull private String from; public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) - @javax.annotation.Nonnull private String text; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nonnull private String tag; public static final String SERIALIZED_NAME_MEDIA = "media"; @SerializedName(SERIALIZED_NAME_MEDIA) - @javax.annotation.Nullable private List media = new ArrayList<>(); public static final String SERIALIZED_NAME_PRIORITY = "priority"; @SerializedName(SERIALIZED_NAME_PRIORITY) - @javax.annotation.Nullable private PriorityEnum priority; public MessageFailedCallbackMessage() { } - public MessageFailedCallbackMessage id(@javax.annotation.Nonnull String id) { + public MessageFailedCallbackMessage id(String id) { this.id = id; return this; } @@ -135,12 +123,12 @@ public String getId() { return id; } - public void setId(@javax.annotation.Nonnull String id) { + public void setId(String id) { this.id = id; } - public MessageFailedCallbackMessage owner(@javax.annotation.Nonnull String owner) { + public MessageFailedCallbackMessage owner(String owner) { this.owner = owner; return this; } @@ -154,12 +142,12 @@ public String getOwner() { return owner; } - public void setOwner(@javax.annotation.Nonnull String owner) { + public void setOwner(String owner) { this.owner = owner; } - public MessageFailedCallbackMessage applicationId(@javax.annotation.Nonnull String applicationId) { + public MessageFailedCallbackMessage applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -173,12 +161,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nonnull String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public MessageFailedCallbackMessage time(@javax.annotation.Nonnull OffsetDateTime time) { + public MessageFailedCallbackMessage time(OffsetDateTime time) { this.time = time; return this; } @@ -192,12 +180,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { + public void setTime(OffsetDateTime time) { this.time = time; } - public MessageFailedCallbackMessage segmentCount(@javax.annotation.Nonnull Integer segmentCount) { + public MessageFailedCallbackMessage segmentCount(Integer segmentCount) { this.segmentCount = segmentCount; return this; } @@ -211,12 +199,12 @@ public Integer getSegmentCount() { return segmentCount; } - public void setSegmentCount(@javax.annotation.Nonnull Integer segmentCount) { + public void setSegmentCount(Integer segmentCount) { this.segmentCount = segmentCount; } - public MessageFailedCallbackMessage direction(@javax.annotation.Nonnull MessageDirectionEnum direction) { + public MessageFailedCallbackMessage direction(MessageDirectionEnum direction) { this.direction = direction; return this; } @@ -230,12 +218,12 @@ public MessageDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nonnull MessageDirectionEnum direction) { + public void setDirection(MessageDirectionEnum direction) { this.direction = direction; } - public MessageFailedCallbackMessage to(@javax.annotation.Nonnull Set to) { + public MessageFailedCallbackMessage to(Set to) { this.to = to; return this; } @@ -257,12 +245,12 @@ public Set getTo() { return to; } - public void setTo(@javax.annotation.Nonnull Set to) { + public void setTo(Set to) { this.to = to; } - public MessageFailedCallbackMessage from(@javax.annotation.Nonnull String from) { + public MessageFailedCallbackMessage from(String from) { this.from = from; return this; } @@ -276,12 +264,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nonnull String from) { + public void setFrom(String from) { this.from = from; } - public MessageFailedCallbackMessage text(@javax.annotation.Nonnull String text) { + public MessageFailedCallbackMessage text(String text) { this.text = text; return this; } @@ -295,12 +283,12 @@ public String getText() { return text; } - public void setText(@javax.annotation.Nonnull String text) { + public void setText(String text) { this.text = text; } - public MessageFailedCallbackMessage tag(@javax.annotation.Nonnull String tag) { + public MessageFailedCallbackMessage tag(String tag) { this.tag = tag; return this; } @@ -314,12 +302,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nonnull String tag) { + public void setTag(String tag) { this.tag = tag; } - public MessageFailedCallbackMessage media(@javax.annotation.Nullable List media) { + public MessageFailedCallbackMessage media(List media) { this.media = media; return this; } @@ -341,12 +329,12 @@ public List getMedia() { return media; } - public void setMedia(@javax.annotation.Nullable List media) { + public void setMedia(List media) { this.media = media; } - public MessageFailedCallbackMessage priority(@javax.annotation.Nullable PriorityEnum priority) { + public MessageFailedCallbackMessage priority(PriorityEnum priority) { this.priority = priority; return this; } @@ -360,7 +348,7 @@ public PriorityEnum getPriority() { return priority; } - public void setPriority(@javax.annotation.Nullable PriorityEnum priority) { + public void setPriority(PriorityEnum priority) { this.priority = priority; } diff --git a/src/main/java/com/bandwidth/sdk/model/MessageRequest.java b/src/main/java/com/bandwidth/sdk/model/MessageRequest.java index 3859eed6..b29f4740 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessageRequest.java +++ b/src/main/java/com/bandwidth/sdk/model/MessageRequest.java @@ -55,52 +55,44 @@ /** * MessageRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MessageRequest { public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nonnull private String applicationId; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nonnull private Set to = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nonnull private String from; public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) - @javax.annotation.Nullable private String text; public static final String SERIALIZED_NAME_MEDIA = "media"; @SerializedName(SERIALIZED_NAME_MEDIA) - @javax.annotation.Nullable private List media = new ArrayList<>(); public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_PRIORITY = "priority"; @SerializedName(SERIALIZED_NAME_PRIORITY) - @javax.annotation.Nullable private PriorityEnum priority; public static final String SERIALIZED_NAME_EXPIRATION = "expiration"; @SerializedName(SERIALIZED_NAME_EXPIRATION) - @javax.annotation.Nullable private OffsetDateTime expiration; public MessageRequest() { } - public MessageRequest applicationId(@javax.annotation.Nonnull String applicationId) { + public MessageRequest applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -114,12 +106,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nonnull String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public MessageRequest to(@javax.annotation.Nonnull Set to) { + public MessageRequest to(Set to) { this.to = to; return this; } @@ -141,12 +133,12 @@ public Set getTo() { return to; } - public void setTo(@javax.annotation.Nonnull Set to) { + public void setTo(Set to) { this.to = to; } - public MessageRequest from(@javax.annotation.Nonnull String from) { + public MessageRequest from(String from) { this.from = from; return this; } @@ -160,12 +152,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nonnull String from) { + public void setFrom(String from) { this.from = from; } - public MessageRequest text(@javax.annotation.Nullable String text) { + public MessageRequest text(String text) { this.text = text; return this; } @@ -179,12 +171,12 @@ public String getText() { return text; } - public void setText(@javax.annotation.Nullable String text) { + public void setText(String text) { this.text = text; } - public MessageRequest media(@javax.annotation.Nullable List media) { + public MessageRequest media(List media) { this.media = media; return this; } @@ -206,12 +198,12 @@ public List getMedia() { return media; } - public void setMedia(@javax.annotation.Nullable List media) { + public void setMedia(List media) { this.media = media; } - public MessageRequest tag(@javax.annotation.Nullable String tag) { + public MessageRequest tag(String tag) { this.tag = tag; return this; } @@ -225,12 +217,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public MessageRequest priority(@javax.annotation.Nullable PriorityEnum priority) { + public MessageRequest priority(PriorityEnum priority) { this.priority = priority; return this; } @@ -244,12 +236,12 @@ public PriorityEnum getPriority() { return priority; } - public void setPriority(@javax.annotation.Nullable PriorityEnum priority) { + public void setPriority(PriorityEnum priority) { this.priority = priority; } - public MessageRequest expiration(@javax.annotation.Nullable OffsetDateTime expiration) { + public MessageRequest expiration(OffsetDateTime expiration) { this.expiration = expiration; return this; } @@ -263,7 +255,7 @@ public OffsetDateTime getExpiration() { return expiration; } - public void setExpiration(@javax.annotation.Nullable OffsetDateTime expiration) { + public void setExpiration(OffsetDateTime expiration) { this.expiration = expiration; } diff --git a/src/main/java/com/bandwidth/sdk/model/MessageSendingCallback.java b/src/main/java/com/bandwidth/sdk/model/MessageSendingCallback.java index 14d81e84..4fe2cff5 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessageSendingCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/MessageSendingCallback.java @@ -50,37 +50,32 @@ /** * Message Sending Callback */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MessageSendingCallback { public static final String SERIALIZED_NAME_TIME = "time"; @SerializedName(SERIALIZED_NAME_TIME) - @javax.annotation.Nonnull private OffsetDateTime time; public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nonnull private String type; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nonnull private String to; public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) - @javax.annotation.Nonnull private String description; public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nonnull private MessageSendingCallbackMessage message; public MessageSendingCallback() { } - public MessageSendingCallback time(@javax.annotation.Nonnull OffsetDateTime time) { + public MessageSendingCallback time(OffsetDateTime time) { this.time = time; return this; } @@ -94,12 +89,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { + public void setTime(OffsetDateTime time) { this.time = time; } - public MessageSendingCallback type(@javax.annotation.Nonnull String type) { + public MessageSendingCallback type(String type) { this.type = type; return this; } @@ -113,12 +108,12 @@ public String getType() { return type; } - public void setType(@javax.annotation.Nonnull String type) { + public void setType(String type) { this.type = type; } - public MessageSendingCallback to(@javax.annotation.Nonnull String to) { + public MessageSendingCallback to(String to) { this.to = to; return this; } @@ -132,12 +127,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nonnull String to) { + public void setTo(String to) { this.to = to; } - public MessageSendingCallback description(@javax.annotation.Nonnull String description) { + public MessageSendingCallback description(String description) { this.description = description; return this; } @@ -151,12 +146,12 @@ public String getDescription() { return description; } - public void setDescription(@javax.annotation.Nonnull String description) { + public void setDescription(String description) { this.description = description; } - public MessageSendingCallback message(@javax.annotation.Nonnull MessageSendingCallbackMessage message) { + public MessageSendingCallback message(MessageSendingCallbackMessage message) { this.message = message; return this; } @@ -170,7 +165,7 @@ public MessageSendingCallbackMessage getMessage() { return message; } - public void setMessage(@javax.annotation.Nonnull MessageSendingCallbackMessage message) { + public void setMessage(MessageSendingCallbackMessage message) { this.message = message; } diff --git a/src/main/java/com/bandwidth/sdk/model/MessageSendingCallbackMessage.java b/src/main/java/com/bandwidth/sdk/model/MessageSendingCallbackMessage.java index 1db3d24a..58085741 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessageSendingCallbackMessage.java +++ b/src/main/java/com/bandwidth/sdk/model/MessageSendingCallbackMessage.java @@ -56,72 +56,60 @@ /** * Message Sending Callback Message Schema */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MessageSendingCallbackMessage { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nonnull private String id; public static final String SERIALIZED_NAME_OWNER = "owner"; @SerializedName(SERIALIZED_NAME_OWNER) - @javax.annotation.Nonnull private String owner; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nonnull private String applicationId; public static final String SERIALIZED_NAME_TIME = "time"; @SerializedName(SERIALIZED_NAME_TIME) - @javax.annotation.Nonnull private OffsetDateTime time; public static final String SERIALIZED_NAME_SEGMENT_COUNT = "segmentCount"; @SerializedName(SERIALIZED_NAME_SEGMENT_COUNT) - @javax.annotation.Nonnull private Integer segmentCount; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nonnull private MessageDirectionEnum direction; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nonnull private Set to = new LinkedHashSet<>(); public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nonnull private String from; public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) - @javax.annotation.Nonnull private String text; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_MEDIA = "media"; @SerializedName(SERIALIZED_NAME_MEDIA) - @javax.annotation.Nonnull private List media = new ArrayList<>(); public static final String SERIALIZED_NAME_PRIORITY = "priority"; @SerializedName(SERIALIZED_NAME_PRIORITY) - @javax.annotation.Nullable private PriorityEnum priority; public MessageSendingCallbackMessage() { } - public MessageSendingCallbackMessage id(@javax.annotation.Nonnull String id) { + public MessageSendingCallbackMessage id(String id) { this.id = id; return this; } @@ -135,12 +123,12 @@ public String getId() { return id; } - public void setId(@javax.annotation.Nonnull String id) { + public void setId(String id) { this.id = id; } - public MessageSendingCallbackMessage owner(@javax.annotation.Nonnull String owner) { + public MessageSendingCallbackMessage owner(String owner) { this.owner = owner; return this; } @@ -154,12 +142,12 @@ public String getOwner() { return owner; } - public void setOwner(@javax.annotation.Nonnull String owner) { + public void setOwner(String owner) { this.owner = owner; } - public MessageSendingCallbackMessage applicationId(@javax.annotation.Nonnull String applicationId) { + public MessageSendingCallbackMessage applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -173,12 +161,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nonnull String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public MessageSendingCallbackMessage time(@javax.annotation.Nonnull OffsetDateTime time) { + public MessageSendingCallbackMessage time(OffsetDateTime time) { this.time = time; return this; } @@ -192,12 +180,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { + public void setTime(OffsetDateTime time) { this.time = time; } - public MessageSendingCallbackMessage segmentCount(@javax.annotation.Nonnull Integer segmentCount) { + public MessageSendingCallbackMessage segmentCount(Integer segmentCount) { this.segmentCount = segmentCount; return this; } @@ -211,12 +199,12 @@ public Integer getSegmentCount() { return segmentCount; } - public void setSegmentCount(@javax.annotation.Nonnull Integer segmentCount) { + public void setSegmentCount(Integer segmentCount) { this.segmentCount = segmentCount; } - public MessageSendingCallbackMessage direction(@javax.annotation.Nonnull MessageDirectionEnum direction) { + public MessageSendingCallbackMessage direction(MessageDirectionEnum direction) { this.direction = direction; return this; } @@ -230,12 +218,12 @@ public MessageDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nonnull MessageDirectionEnum direction) { + public void setDirection(MessageDirectionEnum direction) { this.direction = direction; } - public MessageSendingCallbackMessage to(@javax.annotation.Nonnull Set to) { + public MessageSendingCallbackMessage to(Set to) { this.to = to; return this; } @@ -257,12 +245,12 @@ public Set getTo() { return to; } - public void setTo(@javax.annotation.Nonnull Set to) { + public void setTo(Set to) { this.to = to; } - public MessageSendingCallbackMessage from(@javax.annotation.Nonnull String from) { + public MessageSendingCallbackMessage from(String from) { this.from = from; return this; } @@ -276,12 +264,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nonnull String from) { + public void setFrom(String from) { this.from = from; } - public MessageSendingCallbackMessage text(@javax.annotation.Nonnull String text) { + public MessageSendingCallbackMessage text(String text) { this.text = text; return this; } @@ -295,12 +283,12 @@ public String getText() { return text; } - public void setText(@javax.annotation.Nonnull String text) { + public void setText(String text) { this.text = text; } - public MessageSendingCallbackMessage tag(@javax.annotation.Nullable String tag) { + public MessageSendingCallbackMessage tag(String tag) { this.tag = tag; return this; } @@ -314,12 +302,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public MessageSendingCallbackMessage media(@javax.annotation.Nonnull List media) { + public MessageSendingCallbackMessage media(List media) { this.media = media; return this; } @@ -341,12 +329,12 @@ public List getMedia() { return media; } - public void setMedia(@javax.annotation.Nonnull List media) { + public void setMedia(List media) { this.media = media; } - public MessageSendingCallbackMessage priority(@javax.annotation.Nullable PriorityEnum priority) { + public MessageSendingCallbackMessage priority(PriorityEnum priority) { this.priority = priority; return this; } @@ -360,7 +348,7 @@ public PriorityEnum getPriority() { return priority; } - public void setPriority(@javax.annotation.Nullable PriorityEnum priority) { + public void setPriority(PriorityEnum priority) { this.priority = priority; } diff --git a/src/main/java/com/bandwidth/sdk/model/MessagesList.java b/src/main/java/com/bandwidth/sdk/model/MessagesList.java index 1f74bd1e..41876834 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessagesList.java +++ b/src/main/java/com/bandwidth/sdk/model/MessagesList.java @@ -52,27 +52,24 @@ /** * MessagesList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MessagesList { public static final String SERIALIZED_NAME_TOTAL_COUNT = "totalCount"; @SerializedName(SERIALIZED_NAME_TOTAL_COUNT) - @javax.annotation.Nullable private Integer totalCount; public static final String SERIALIZED_NAME_PAGE_INFO = "pageInfo"; @SerializedName(SERIALIZED_NAME_PAGE_INFO) - @javax.annotation.Nullable private PageInfo pageInfo; public static final String SERIALIZED_NAME_MESSAGES = "messages"; @SerializedName(SERIALIZED_NAME_MESSAGES) - @javax.annotation.Nullable private List messages = new ArrayList<>(); public MessagesList() { } - public MessagesList totalCount(@javax.annotation.Nullable Integer totalCount) { + public MessagesList totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } @@ -86,12 +83,12 @@ public Integer getTotalCount() { return totalCount; } - public void setTotalCount(@javax.annotation.Nullable Integer totalCount) { + public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } - public MessagesList pageInfo(@javax.annotation.Nullable PageInfo pageInfo) { + public MessagesList pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } @@ -105,12 +102,12 @@ public PageInfo getPageInfo() { return pageInfo; } - public void setPageInfo(@javax.annotation.Nullable PageInfo pageInfo) { + public void setPageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; } - public MessagesList messages(@javax.annotation.Nullable List messages) { + public MessagesList messages(List messages) { this.messages = messages; return this; } @@ -132,7 +129,7 @@ public List getMessages() { return messages; } - public void setMessages(@javax.annotation.Nullable List messages) { + public void setMessages(List messages) { this.messages = messages; } diff --git a/src/main/java/com/bandwidth/sdk/model/MessagingCodeResponse.java b/src/main/java/com/bandwidth/sdk/model/MessagingCodeResponse.java index 8fe89b02..bf999660 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessagingCodeResponse.java +++ b/src/main/java/com/bandwidth/sdk/model/MessagingCodeResponse.java @@ -48,17 +48,16 @@ /** * MessagingCodeResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MessagingCodeResponse { public static final String SERIALIZED_NAME_MESSAGE_ID = "messageId"; @SerializedName(SERIALIZED_NAME_MESSAGE_ID) - @javax.annotation.Nullable private String messageId; public MessagingCodeResponse() { } - public MessagingCodeResponse messageId(@javax.annotation.Nullable String messageId) { + public MessagingCodeResponse messageId(String messageId) { this.messageId = messageId; return this; } @@ -72,7 +71,7 @@ public String getMessageId() { return messageId; } - public void setMessageId(@javax.annotation.Nullable String messageId) { + public void setMessageId(String messageId) { this.messageId = messageId; } diff --git a/src/main/java/com/bandwidth/sdk/model/MessagingRequestError.java b/src/main/java/com/bandwidth/sdk/model/MessagingRequestError.java index b42f7150..7153b7bc 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessagingRequestError.java +++ b/src/main/java/com/bandwidth/sdk/model/MessagingRequestError.java @@ -48,22 +48,20 @@ /** * MessagingRequestError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MessagingRequestError { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nonnull private String type; public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) - @javax.annotation.Nonnull private String description; public MessagingRequestError() { } - public MessagingRequestError type(@javax.annotation.Nonnull String type) { + public MessagingRequestError type(String type) { this.type = type; return this; } @@ -77,12 +75,12 @@ public String getType() { return type; } - public void setType(@javax.annotation.Nonnull String type) { + public void setType(String type) { this.type = type; } - public MessagingRequestError description(@javax.annotation.Nonnull String description) { + public MessagingRequestError description(String description) { this.description = description; return this; } @@ -96,7 +94,7 @@ public String getDescription() { return description; } - public void setDescription(@javax.annotation.Nonnull String description) { + public void setDescription(String description) { this.description = description; } diff --git a/src/main/java/com/bandwidth/sdk/model/MfaForbiddenRequestError.java b/src/main/java/com/bandwidth/sdk/model/MfaForbiddenRequestError.java index 206737b2..41ad730a 100644 --- a/src/main/java/com/bandwidth/sdk/model/MfaForbiddenRequestError.java +++ b/src/main/java/com/bandwidth/sdk/model/MfaForbiddenRequestError.java @@ -48,17 +48,16 @@ /** * MfaForbiddenRequestError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MfaForbiddenRequestError { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable private String message; public MfaForbiddenRequestError() { } - public MfaForbiddenRequestError message(@javax.annotation.Nullable String message) { + public MfaForbiddenRequestError message(String message) { this.message = message; return this; } @@ -72,7 +71,7 @@ public String getMessage() { return message; } - public void setMessage(@javax.annotation.Nullable String message) { + public void setMessage(String message) { this.message = message; } diff --git a/src/main/java/com/bandwidth/sdk/model/MfaRequestError.java b/src/main/java/com/bandwidth/sdk/model/MfaRequestError.java index b4674ca8..e1b36fc3 100644 --- a/src/main/java/com/bandwidth/sdk/model/MfaRequestError.java +++ b/src/main/java/com/bandwidth/sdk/model/MfaRequestError.java @@ -48,22 +48,20 @@ /** * MfaRequestError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MfaRequestError { public static final String SERIALIZED_NAME_ERROR = "error"; @SerializedName(SERIALIZED_NAME_ERROR) - @javax.annotation.Nullable private String error; public static final String SERIALIZED_NAME_REQUEST_ID = "requestId"; @SerializedName(SERIALIZED_NAME_REQUEST_ID) - @javax.annotation.Nullable private String requestId; public MfaRequestError() { } - public MfaRequestError error(@javax.annotation.Nullable String error) { + public MfaRequestError error(String error) { this.error = error; return this; } @@ -77,12 +75,12 @@ public String getError() { return error; } - public void setError(@javax.annotation.Nullable String error) { + public void setError(String error) { this.error = error; } - public MfaRequestError requestId(@javax.annotation.Nullable String requestId) { + public MfaRequestError requestId(String requestId) { this.requestId = requestId; return this; } @@ -96,7 +94,7 @@ public String getRequestId() { return requestId; } - public void setRequestId(@javax.annotation.Nullable String requestId) { + public void setRequestId(String requestId) { this.requestId = requestId; } diff --git a/src/main/java/com/bandwidth/sdk/model/MfaUnauthorizedRequestError.java b/src/main/java/com/bandwidth/sdk/model/MfaUnauthorizedRequestError.java index 63173e46..0ffc2ac6 100644 --- a/src/main/java/com/bandwidth/sdk/model/MfaUnauthorizedRequestError.java +++ b/src/main/java/com/bandwidth/sdk/model/MfaUnauthorizedRequestError.java @@ -48,17 +48,16 @@ /** * MfaUnauthorizedRequestError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class MfaUnauthorizedRequestError { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable private String message; public MfaUnauthorizedRequestError() { } - public MfaUnauthorizedRequestError message(@javax.annotation.Nullable String message) { + public MfaUnauthorizedRequestError message(String message) { this.message = message; return this; } @@ -72,7 +71,7 @@ public String getMessage() { return message; } - public void setMessage(@javax.annotation.Nullable String message) { + public void setMessage(String message) { this.message = message; } diff --git a/src/main/java/com/bandwidth/sdk/model/PageInfo.java b/src/main/java/com/bandwidth/sdk/model/PageInfo.java index b0bfd585..56cef96e 100644 --- a/src/main/java/com/bandwidth/sdk/model/PageInfo.java +++ b/src/main/java/com/bandwidth/sdk/model/PageInfo.java @@ -48,32 +48,28 @@ /** * PageInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class PageInfo { public static final String SERIALIZED_NAME_PREV_PAGE = "prevPage"; @SerializedName(SERIALIZED_NAME_PREV_PAGE) - @javax.annotation.Nullable private String prevPage; public static final String SERIALIZED_NAME_NEXT_PAGE = "nextPage"; @SerializedName(SERIALIZED_NAME_NEXT_PAGE) - @javax.annotation.Nullable private String nextPage; public static final String SERIALIZED_NAME_PREV_PAGE_TOKEN = "prevPageToken"; @SerializedName(SERIALIZED_NAME_PREV_PAGE_TOKEN) - @javax.annotation.Nullable private String prevPageToken; public static final String SERIALIZED_NAME_NEXT_PAGE_TOKEN = "nextPageToken"; @SerializedName(SERIALIZED_NAME_NEXT_PAGE_TOKEN) - @javax.annotation.Nullable private String nextPageToken; public PageInfo() { } - public PageInfo prevPage(@javax.annotation.Nullable String prevPage) { + public PageInfo prevPage(String prevPage) { this.prevPage = prevPage; return this; } @@ -87,12 +83,12 @@ public String getPrevPage() { return prevPage; } - public void setPrevPage(@javax.annotation.Nullable String prevPage) { + public void setPrevPage(String prevPage) { this.prevPage = prevPage; } - public PageInfo nextPage(@javax.annotation.Nullable String nextPage) { + public PageInfo nextPage(String nextPage) { this.nextPage = nextPage; return this; } @@ -106,12 +102,12 @@ public String getNextPage() { return nextPage; } - public void setNextPage(@javax.annotation.Nullable String nextPage) { + public void setNextPage(String nextPage) { this.nextPage = nextPage; } - public PageInfo prevPageToken(@javax.annotation.Nullable String prevPageToken) { + public PageInfo prevPageToken(String prevPageToken) { this.prevPageToken = prevPageToken; return this; } @@ -125,12 +121,12 @@ public String getPrevPageToken() { return prevPageToken; } - public void setPrevPageToken(@javax.annotation.Nullable String prevPageToken) { + public void setPrevPageToken(String prevPageToken) { this.prevPageToken = prevPageToken; } - public PageInfo nextPageToken(@javax.annotation.Nullable String nextPageToken) { + public PageInfo nextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; return this; } @@ -144,7 +140,7 @@ public String getNextPageToken() { return nextPageToken; } - public void setNextPageToken(@javax.annotation.Nullable String nextPageToken) { + public void setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; } diff --git a/src/main/java/com/bandwidth/sdk/model/RecordingAvailableCallback.java b/src/main/java/com/bandwidth/sdk/model/RecordingAvailableCallback.java index 806b6afb..67113014 100644 --- a/src/main/java/com/bandwidth/sdk/model/RecordingAvailableCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/RecordingAvailableCallback.java @@ -53,122 +53,100 @@ /** * The Recording Available event is sent after a recording has been processed. It indicates that the recording is available for download. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class RecordingAvailableCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_PARENT_CALL_ID = "parentCallId"; @SerializedName(SERIALIZED_NAME_PARENT_CALL_ID) - @javax.annotation.Nullable private String parentCallId; public static final String SERIALIZED_NAME_RECORDING_ID = "recordingId"; @SerializedName(SERIALIZED_NAME_RECORDING_ID) - @javax.annotation.Nullable private String recordingId; public static final String SERIALIZED_NAME_MEDIA_URL = "mediaUrl"; @SerializedName(SERIALIZED_NAME_MEDIA_URL) - @javax.annotation.Nullable private URI mediaUrl; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_END_TIME = "endTime"; @SerializedName(SERIALIZED_NAME_END_TIME) - @javax.annotation.Nullable private OffsetDateTime endTime; public static final String SERIALIZED_NAME_DURATION = "duration"; @SerializedName(SERIALIZED_NAME_DURATION) - @javax.annotation.Nullable private String duration; public static final String SERIALIZED_NAME_FILE_FORMAT = "fileFormat"; @SerializedName(SERIALIZED_NAME_FILE_FORMAT) - @javax.annotation.Nullable private FileFormatEnum fileFormat; public static final String SERIALIZED_NAME_CHANNELS = "channels"; @SerializedName(SERIALIZED_NAME_CHANNELS) - @javax.annotation.Nullable private Integer channels; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable private String status; public static final String SERIALIZED_NAME_TRANSFER_CALLER_ID = "transferCallerId"; @SerializedName(SERIALIZED_NAME_TRANSFER_CALLER_ID) - @javax.annotation.Nullable private String transferCallerId; public static final String SERIALIZED_NAME_TRANSFER_TO = "transferTo"; @SerializedName(SERIALIZED_NAME_TRANSFER_TO) - @javax.annotation.Nullable private String transferTo; public RecordingAvailableCallback() { } - public RecordingAvailableCallback eventType(@javax.annotation.Nullable String eventType) { + public RecordingAvailableCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -182,12 +160,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public RecordingAvailableCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public RecordingAvailableCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -201,12 +179,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public RecordingAvailableCallback accountId(@javax.annotation.Nullable String accountId) { + public RecordingAvailableCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -220,12 +198,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public RecordingAvailableCallback applicationId(@javax.annotation.Nullable String applicationId) { + public RecordingAvailableCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -239,12 +217,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public RecordingAvailableCallback from(@javax.annotation.Nullable String from) { + public RecordingAvailableCallback from(String from) { this.from = from; return this; } @@ -258,12 +236,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public RecordingAvailableCallback to(@javax.annotation.Nullable String to) { + public RecordingAvailableCallback to(String to) { this.to = to; return this; } @@ -277,12 +255,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public RecordingAvailableCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public RecordingAvailableCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -296,12 +274,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public RecordingAvailableCallback callId(@javax.annotation.Nullable String callId) { + public RecordingAvailableCallback callId(String callId) { this.callId = callId; return this; } @@ -315,12 +293,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public RecordingAvailableCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public RecordingAvailableCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -334,12 +312,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public RecordingAvailableCallback parentCallId(@javax.annotation.Nullable String parentCallId) { + public RecordingAvailableCallback parentCallId(String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -353,12 +331,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(@javax.annotation.Nullable String parentCallId) { + public void setParentCallId(String parentCallId) { this.parentCallId = parentCallId; } - public RecordingAvailableCallback recordingId(@javax.annotation.Nullable String recordingId) { + public RecordingAvailableCallback recordingId(String recordingId) { this.recordingId = recordingId; return this; } @@ -372,12 +350,12 @@ public String getRecordingId() { return recordingId; } - public void setRecordingId(@javax.annotation.Nullable String recordingId) { + public void setRecordingId(String recordingId) { this.recordingId = recordingId; } - public RecordingAvailableCallback mediaUrl(@javax.annotation.Nullable URI mediaUrl) { + public RecordingAvailableCallback mediaUrl(URI mediaUrl) { this.mediaUrl = mediaUrl; return this; } @@ -391,12 +369,12 @@ public URI getMediaUrl() { return mediaUrl; } - public void setMediaUrl(@javax.annotation.Nullable URI mediaUrl) { + public void setMediaUrl(URI mediaUrl) { this.mediaUrl = mediaUrl; } - public RecordingAvailableCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public RecordingAvailableCallback enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -410,12 +388,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public RecordingAvailableCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public RecordingAvailableCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -429,12 +407,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public RecordingAvailableCallback endTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public RecordingAvailableCallback endTime(OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -448,12 +426,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public void setEndTime(OffsetDateTime endTime) { this.endTime = endTime; } - public RecordingAvailableCallback duration(@javax.annotation.Nullable String duration) { + public RecordingAvailableCallback duration(String duration) { this.duration = duration; return this; } @@ -467,12 +445,12 @@ public String getDuration() { return duration; } - public void setDuration(@javax.annotation.Nullable String duration) { + public void setDuration(String duration) { this.duration = duration; } - public RecordingAvailableCallback fileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { + public RecordingAvailableCallback fileFormat(FileFormatEnum fileFormat) { this.fileFormat = fileFormat; return this; } @@ -486,12 +464,12 @@ public FileFormatEnum getFileFormat() { return fileFormat; } - public void setFileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { + public void setFileFormat(FileFormatEnum fileFormat) { this.fileFormat = fileFormat; } - public RecordingAvailableCallback channels(@javax.annotation.Nullable Integer channels) { + public RecordingAvailableCallback channels(Integer channels) { this.channels = channels; return this; } @@ -505,12 +483,12 @@ public Integer getChannels() { return channels; } - public void setChannels(@javax.annotation.Nullable Integer channels) { + public void setChannels(Integer channels) { this.channels = channels; } - public RecordingAvailableCallback tag(@javax.annotation.Nullable String tag) { + public RecordingAvailableCallback tag(String tag) { this.tag = tag; return this; } @@ -524,12 +502,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public RecordingAvailableCallback status(@javax.annotation.Nullable String status) { + public RecordingAvailableCallback status(String status) { this.status = status; return this; } @@ -543,12 +521,12 @@ public String getStatus() { return status; } - public void setStatus(@javax.annotation.Nullable String status) { + public void setStatus(String status) { this.status = status; } - public RecordingAvailableCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { + public RecordingAvailableCallback transferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -562,12 +540,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { + public void setTransferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; } - public RecordingAvailableCallback transferTo(@javax.annotation.Nullable String transferTo) { + public RecordingAvailableCallback transferTo(String transferTo) { this.transferTo = transferTo; return this; } @@ -581,7 +559,7 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(@javax.annotation.Nullable String transferTo) { + public void setTransferTo(String transferTo) { this.transferTo = transferTo; } diff --git a/src/main/java/com/bandwidth/sdk/model/RecordingCompleteCallback.java b/src/main/java/com/bandwidth/sdk/model/RecordingCompleteCallback.java index 1ae34da6..fa2d093e 100644 --- a/src/main/java/com/bandwidth/sdk/model/RecordingCompleteCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/RecordingCompleteCallback.java @@ -53,122 +53,100 @@ /** * The Record Complete event is sent after a <Record> verb has executed if the call is still active. The BXML returned by this callback is executed next. When the recording is available for download, a Recording Available event will be sent. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class RecordingCompleteCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_PARENT_CALL_ID = "parentCallId"; @SerializedName(SERIALIZED_NAME_PARENT_CALL_ID) - @javax.annotation.Nullable private String parentCallId; public static final String SERIALIZED_NAME_RECORDING_ID = "recordingId"; @SerializedName(SERIALIZED_NAME_RECORDING_ID) - @javax.annotation.Nullable private String recordingId; public static final String SERIALIZED_NAME_MEDIA_URL = "mediaUrl"; @SerializedName(SERIALIZED_NAME_MEDIA_URL) - @javax.annotation.Nullable private URI mediaUrl; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_ANSWER_TIME = "answerTime"; @SerializedName(SERIALIZED_NAME_ANSWER_TIME) - @javax.annotation.Nullable private OffsetDateTime answerTime; public static final String SERIALIZED_NAME_END_TIME = "endTime"; @SerializedName(SERIALIZED_NAME_END_TIME) - @javax.annotation.Nullable private OffsetDateTime endTime; public static final String SERIALIZED_NAME_DURATION = "duration"; @SerializedName(SERIALIZED_NAME_DURATION) - @javax.annotation.Nullable private String duration; public static final String SERIALIZED_NAME_FILE_FORMAT = "fileFormat"; @SerializedName(SERIALIZED_NAME_FILE_FORMAT) - @javax.annotation.Nullable private FileFormatEnum fileFormat; public static final String SERIALIZED_NAME_CHANNELS = "channels"; @SerializedName(SERIALIZED_NAME_CHANNELS) - @javax.annotation.Nullable private Integer channels; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_TRANSFER_CALLER_ID = "transferCallerId"; @SerializedName(SERIALIZED_NAME_TRANSFER_CALLER_ID) - @javax.annotation.Nullable private String transferCallerId; public static final String SERIALIZED_NAME_TRANSFER_TO = "transferTo"; @SerializedName(SERIALIZED_NAME_TRANSFER_TO) - @javax.annotation.Nullable private String transferTo; public RecordingCompleteCallback() { } - public RecordingCompleteCallback eventType(@javax.annotation.Nullable String eventType) { + public RecordingCompleteCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -182,12 +160,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public RecordingCompleteCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public RecordingCompleteCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -201,12 +179,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public RecordingCompleteCallback accountId(@javax.annotation.Nullable String accountId) { + public RecordingCompleteCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -220,12 +198,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public RecordingCompleteCallback applicationId(@javax.annotation.Nullable String applicationId) { + public RecordingCompleteCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -239,12 +217,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public RecordingCompleteCallback from(@javax.annotation.Nullable String from) { + public RecordingCompleteCallback from(String from) { this.from = from; return this; } @@ -258,12 +236,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public RecordingCompleteCallback to(@javax.annotation.Nullable String to) { + public RecordingCompleteCallback to(String to) { this.to = to; return this; } @@ -277,12 +255,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public RecordingCompleteCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public RecordingCompleteCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -296,12 +274,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public RecordingCompleteCallback callId(@javax.annotation.Nullable String callId) { + public RecordingCompleteCallback callId(String callId) { this.callId = callId; return this; } @@ -315,12 +293,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public RecordingCompleteCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public RecordingCompleteCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -334,12 +312,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public RecordingCompleteCallback parentCallId(@javax.annotation.Nullable String parentCallId) { + public RecordingCompleteCallback parentCallId(String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -353,12 +331,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(@javax.annotation.Nullable String parentCallId) { + public void setParentCallId(String parentCallId) { this.parentCallId = parentCallId; } - public RecordingCompleteCallback recordingId(@javax.annotation.Nullable String recordingId) { + public RecordingCompleteCallback recordingId(String recordingId) { this.recordingId = recordingId; return this; } @@ -372,12 +350,12 @@ public String getRecordingId() { return recordingId; } - public void setRecordingId(@javax.annotation.Nullable String recordingId) { + public void setRecordingId(String recordingId) { this.recordingId = recordingId; } - public RecordingCompleteCallback mediaUrl(@javax.annotation.Nullable URI mediaUrl) { + public RecordingCompleteCallback mediaUrl(URI mediaUrl) { this.mediaUrl = mediaUrl; return this; } @@ -391,12 +369,12 @@ public URI getMediaUrl() { return mediaUrl; } - public void setMediaUrl(@javax.annotation.Nullable URI mediaUrl) { + public void setMediaUrl(URI mediaUrl) { this.mediaUrl = mediaUrl; } - public RecordingCompleteCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public RecordingCompleteCallback enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -410,12 +388,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public RecordingCompleteCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public RecordingCompleteCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -429,12 +407,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public RecordingCompleteCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public RecordingCompleteCallback answerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -448,12 +426,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public void setAnswerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; } - public RecordingCompleteCallback endTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public RecordingCompleteCallback endTime(OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -467,12 +445,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public void setEndTime(OffsetDateTime endTime) { this.endTime = endTime; } - public RecordingCompleteCallback duration(@javax.annotation.Nullable String duration) { + public RecordingCompleteCallback duration(String duration) { this.duration = duration; return this; } @@ -486,12 +464,12 @@ public String getDuration() { return duration; } - public void setDuration(@javax.annotation.Nullable String duration) { + public void setDuration(String duration) { this.duration = duration; } - public RecordingCompleteCallback fileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { + public RecordingCompleteCallback fileFormat(FileFormatEnum fileFormat) { this.fileFormat = fileFormat; return this; } @@ -505,12 +483,12 @@ public FileFormatEnum getFileFormat() { return fileFormat; } - public void setFileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { + public void setFileFormat(FileFormatEnum fileFormat) { this.fileFormat = fileFormat; } - public RecordingCompleteCallback channels(@javax.annotation.Nullable Integer channels) { + public RecordingCompleteCallback channels(Integer channels) { this.channels = channels; return this; } @@ -524,12 +502,12 @@ public Integer getChannels() { return channels; } - public void setChannels(@javax.annotation.Nullable Integer channels) { + public void setChannels(Integer channels) { this.channels = channels; } - public RecordingCompleteCallback tag(@javax.annotation.Nullable String tag) { + public RecordingCompleteCallback tag(String tag) { this.tag = tag; return this; } @@ -543,12 +521,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public RecordingCompleteCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { + public RecordingCompleteCallback transferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -562,12 +540,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { + public void setTransferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; } - public RecordingCompleteCallback transferTo(@javax.annotation.Nullable String transferTo) { + public RecordingCompleteCallback transferTo(String transferTo) { this.transferTo = transferTo; return this; } @@ -581,7 +559,7 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(@javax.annotation.Nullable String transferTo) { + public void setTransferTo(String transferTo) { this.transferTo = transferTo; } diff --git a/src/main/java/com/bandwidth/sdk/model/RecordingTranscriptionMetadata.java b/src/main/java/com/bandwidth/sdk/model/RecordingTranscriptionMetadata.java index 38cda932..acdbda08 100644 --- a/src/main/java/com/bandwidth/sdk/model/RecordingTranscriptionMetadata.java +++ b/src/main/java/com/bandwidth/sdk/model/RecordingTranscriptionMetadata.java @@ -50,32 +50,28 @@ /** * If the recording was transcribed, metadata about the transcription */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class RecordingTranscriptionMetadata { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable private String id; public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable private String status; public static final String SERIALIZED_NAME_COMPLETED_TIME = "completedTime"; @SerializedName(SERIALIZED_NAME_COMPLETED_TIME) - @javax.annotation.Nullable private OffsetDateTime completedTime; public static final String SERIALIZED_NAME_URL = "url"; @SerializedName(SERIALIZED_NAME_URL) - @javax.annotation.Nullable private URI url; public RecordingTranscriptionMetadata() { } - public RecordingTranscriptionMetadata id(@javax.annotation.Nullable String id) { + public RecordingTranscriptionMetadata id(String id) { this.id = id; return this; } @@ -89,12 +85,12 @@ public String getId() { return id; } - public void setId(@javax.annotation.Nullable String id) { + public void setId(String id) { this.id = id; } - public RecordingTranscriptionMetadata status(@javax.annotation.Nullable String status) { + public RecordingTranscriptionMetadata status(String status) { this.status = status; return this; } @@ -108,12 +104,12 @@ public String getStatus() { return status; } - public void setStatus(@javax.annotation.Nullable String status) { + public void setStatus(String status) { this.status = status; } - public RecordingTranscriptionMetadata completedTime(@javax.annotation.Nullable OffsetDateTime completedTime) { + public RecordingTranscriptionMetadata completedTime(OffsetDateTime completedTime) { this.completedTime = completedTime; return this; } @@ -127,12 +123,12 @@ public OffsetDateTime getCompletedTime() { return completedTime; } - public void setCompletedTime(@javax.annotation.Nullable OffsetDateTime completedTime) { + public void setCompletedTime(OffsetDateTime completedTime) { this.completedTime = completedTime; } - public RecordingTranscriptionMetadata url(@javax.annotation.Nullable URI url) { + public RecordingTranscriptionMetadata url(URI url) { this.url = url; return this; } @@ -146,7 +142,7 @@ public URI getUrl() { return url; } - public void setUrl(@javax.annotation.Nullable URI url) { + public void setUrl(URI url) { this.url = url; } diff --git a/src/main/java/com/bandwidth/sdk/model/RecordingTranscriptions.java b/src/main/java/com/bandwidth/sdk/model/RecordingTranscriptions.java index ed6f2dd3..39c509bf 100644 --- a/src/main/java/com/bandwidth/sdk/model/RecordingTranscriptions.java +++ b/src/main/java/com/bandwidth/sdk/model/RecordingTranscriptions.java @@ -51,17 +51,16 @@ /** * RecordingTranscriptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class RecordingTranscriptions { public static final String SERIALIZED_NAME_TRANSCRIPTS = "transcripts"; @SerializedName(SERIALIZED_NAME_TRANSCRIPTS) - @javax.annotation.Nullable private List transcripts = new ArrayList<>(); public RecordingTranscriptions() { } - public RecordingTranscriptions transcripts(@javax.annotation.Nullable List transcripts) { + public RecordingTranscriptions transcripts(List transcripts) { this.transcripts = transcripts; return this; } @@ -83,7 +82,7 @@ public List getTranscripts() { return transcripts; } - public void setTranscripts(@javax.annotation.Nullable List transcripts) { + public void setTranscripts(List transcripts) { this.transcripts = transcripts; } diff --git a/src/main/java/com/bandwidth/sdk/model/RedirectCallback.java b/src/main/java/com/bandwidth/sdk/model/RedirectCallback.java index 9ba3bb5a..3940325d 100644 --- a/src/main/java/com/bandwidth/sdk/model/RedirectCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/RedirectCallback.java @@ -52,92 +52,76 @@ /** * The Redirect event is fired when a <Redirect> verb is executed. Its purpose is to get the next set of verbs from the calling application. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class RedirectCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_PARENT_CALL_ID = "parentCallId"; @SerializedName(SERIALIZED_NAME_PARENT_CALL_ID) - @javax.annotation.Nullable private String parentCallId; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_ANSWER_TIME = "answerTime"; @SerializedName(SERIALIZED_NAME_ANSWER_TIME) - @javax.annotation.Nullable private OffsetDateTime answerTime; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_TRANSFER_CALLER_ID = "transferCallerId"; @SerializedName(SERIALIZED_NAME_TRANSFER_CALLER_ID) - @javax.annotation.Nullable private String transferCallerId; public static final String SERIALIZED_NAME_TRANSFER_TO = "transferTo"; @SerializedName(SERIALIZED_NAME_TRANSFER_TO) - @javax.annotation.Nullable private String transferTo; public RedirectCallback() { } - public RedirectCallback eventType(@javax.annotation.Nullable String eventType) { + public RedirectCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -151,12 +135,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public RedirectCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public RedirectCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -170,12 +154,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public RedirectCallback accountId(@javax.annotation.Nullable String accountId) { + public RedirectCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -189,12 +173,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public RedirectCallback applicationId(@javax.annotation.Nullable String applicationId) { + public RedirectCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -208,12 +192,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public RedirectCallback from(@javax.annotation.Nullable String from) { + public RedirectCallback from(String from) { this.from = from; return this; } @@ -227,12 +211,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public RedirectCallback to(@javax.annotation.Nullable String to) { + public RedirectCallback to(String to) { this.to = to; return this; } @@ -246,12 +230,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public RedirectCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public RedirectCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -265,12 +249,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public RedirectCallback callId(@javax.annotation.Nullable String callId) { + public RedirectCallback callId(String callId) { this.callId = callId; return this; } @@ -284,12 +268,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public RedirectCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public RedirectCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -303,12 +287,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public RedirectCallback parentCallId(@javax.annotation.Nullable String parentCallId) { + public RedirectCallback parentCallId(String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -322,12 +306,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(@javax.annotation.Nullable String parentCallId) { + public void setParentCallId(String parentCallId) { this.parentCallId = parentCallId; } - public RedirectCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public RedirectCallback enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -341,12 +325,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public RedirectCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public RedirectCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -360,12 +344,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public RedirectCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public RedirectCallback answerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -379,12 +363,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public void setAnswerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; } - public RedirectCallback tag(@javax.annotation.Nullable String tag) { + public RedirectCallback tag(String tag) { this.tag = tag; return this; } @@ -398,12 +382,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public RedirectCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { + public RedirectCallback transferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -417,12 +401,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { + public void setTransferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; } - public RedirectCallback transferTo(@javax.annotation.Nullable String transferTo) { + public RedirectCallback transferTo(String transferTo) { this.transferTo = transferTo; return this; } @@ -436,7 +420,7 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(@javax.annotation.Nullable String transferTo) { + public void setTransferTo(String transferTo) { this.transferTo = transferTo; } diff --git a/src/main/java/com/bandwidth/sdk/model/StirShaken.java b/src/main/java/com/bandwidth/sdk/model/StirShaken.java index f916a5e8..7763ec87 100644 --- a/src/main/java/com/bandwidth/sdk/model/StirShaken.java +++ b/src/main/java/com/bandwidth/sdk/model/StirShaken.java @@ -48,27 +48,24 @@ /** * StirShaken */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class StirShaken { public static final String SERIALIZED_NAME_VERSTAT = "verstat"; @SerializedName(SERIALIZED_NAME_VERSTAT) - @javax.annotation.Nullable private String verstat; public static final String SERIALIZED_NAME_ATTESTATION_INDICATOR = "attestationIndicator"; @SerializedName(SERIALIZED_NAME_ATTESTATION_INDICATOR) - @javax.annotation.Nullable private String attestationIndicator; public static final String SERIALIZED_NAME_ORIGINATING_ID = "originatingId"; @SerializedName(SERIALIZED_NAME_ORIGINATING_ID) - @javax.annotation.Nullable private String originatingId; public StirShaken() { } - public StirShaken verstat(@javax.annotation.Nullable String verstat) { + public StirShaken verstat(String verstat) { this.verstat = verstat; return this; } @@ -82,12 +79,12 @@ public String getVerstat() { return verstat; } - public void setVerstat(@javax.annotation.Nullable String verstat) { + public void setVerstat(String verstat) { this.verstat = verstat; } - public StirShaken attestationIndicator(@javax.annotation.Nullable String attestationIndicator) { + public StirShaken attestationIndicator(String attestationIndicator) { this.attestationIndicator = attestationIndicator; return this; } @@ -101,12 +98,12 @@ public String getAttestationIndicator() { return attestationIndicator; } - public void setAttestationIndicator(@javax.annotation.Nullable String attestationIndicator) { + public void setAttestationIndicator(String attestationIndicator) { this.attestationIndicator = attestationIndicator; } - public StirShaken originatingId(@javax.annotation.Nullable String originatingId) { + public StirShaken originatingId(String originatingId) { this.originatingId = originatingId; return this; } @@ -120,7 +117,7 @@ public String getOriginatingId() { return originatingId; } - public void setOriginatingId(@javax.annotation.Nullable String originatingId) { + public void setOriginatingId(String originatingId) { this.originatingId = originatingId; } diff --git a/src/main/java/com/bandwidth/sdk/model/Tag.java b/src/main/java/com/bandwidth/sdk/model/Tag.java index f5d89d64..37978c6f 100644 --- a/src/main/java/com/bandwidth/sdk/model/Tag.java +++ b/src/main/java/com/bandwidth/sdk/model/Tag.java @@ -48,22 +48,20 @@ /** * Tag */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Tag { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) - @javax.annotation.Nullable private String key; public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) - @javax.annotation.Nullable private String value; public Tag() { } - public Tag key(@javax.annotation.Nullable String key) { + public Tag key(String key) { this.key = key; return this; } @@ -77,12 +75,12 @@ public String getKey() { return key; } - public void setKey(@javax.annotation.Nullable String key) { + public void setKey(String key) { this.key = key; } - public Tag value(@javax.annotation.Nullable String value) { + public Tag value(String value) { this.value = value; return this; } @@ -96,7 +94,7 @@ public String getValue() { return value; } - public void setValue(@javax.annotation.Nullable String value) { + public void setValue(String value) { this.value = value; } diff --git a/src/main/java/com/bandwidth/sdk/model/TnLookupRequestError.java b/src/main/java/com/bandwidth/sdk/model/TnLookupRequestError.java index b0b75872..a18e1f7b 100644 --- a/src/main/java/com/bandwidth/sdk/model/TnLookupRequestError.java +++ b/src/main/java/com/bandwidth/sdk/model/TnLookupRequestError.java @@ -48,17 +48,16 @@ /** * TnLookupRequestError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class TnLookupRequestError { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) - @javax.annotation.Nullable private String message; public TnLookupRequestError() { } - public TnLookupRequestError message(@javax.annotation.Nullable String message) { + public TnLookupRequestError message(String message) { this.message = message; return this; } @@ -72,7 +71,7 @@ public String getMessage() { return message; } - public void setMessage(@javax.annotation.Nullable String message) { + public void setMessage(String message) { this.message = message; } diff --git a/src/main/java/com/bandwidth/sdk/model/TranscribeRecording.java b/src/main/java/com/bandwidth/sdk/model/TranscribeRecording.java index 7d1c7fa7..cfc9fdff 100644 --- a/src/main/java/com/bandwidth/sdk/model/TranscribeRecording.java +++ b/src/main/java/com/bandwidth/sdk/model/TranscribeRecording.java @@ -51,47 +51,40 @@ /** * TranscribeRecording */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class TranscribeRecording { public static final String SERIALIZED_NAME_CALLBACK_URL = "callbackUrl"; @SerializedName(SERIALIZED_NAME_CALLBACK_URL) - @javax.annotation.Nullable private URI callbackUrl; public static final String SERIALIZED_NAME_CALLBACK_METHOD = "callbackMethod"; @SerializedName(SERIALIZED_NAME_CALLBACK_METHOD) - @javax.annotation.Nullable private CallbackMethodEnum callbackMethod = CallbackMethodEnum.POST; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_CALLBACK_TIMEOUT = "callbackTimeout"; @SerializedName(SERIALIZED_NAME_CALLBACK_TIMEOUT) - @javax.annotation.Nullable private Double callbackTimeout = 15d; public static final String SERIALIZED_NAME_DETECT_LANGUAGE = "detectLanguage"; @SerializedName(SERIALIZED_NAME_DETECT_LANGUAGE) - @javax.annotation.Nullable private Boolean detectLanguage = false; public TranscribeRecording() { } - public TranscribeRecording callbackUrl(@javax.annotation.Nullable URI callbackUrl) { + public TranscribeRecording callbackUrl(URI callbackUrl) { this.callbackUrl = callbackUrl; return this; } @@ -105,12 +98,12 @@ public URI getCallbackUrl() { return callbackUrl; } - public void setCallbackUrl(@javax.annotation.Nullable URI callbackUrl) { + public void setCallbackUrl(URI callbackUrl) { this.callbackUrl = callbackUrl; } - public TranscribeRecording callbackMethod(@javax.annotation.Nullable CallbackMethodEnum callbackMethod) { + public TranscribeRecording callbackMethod(CallbackMethodEnum callbackMethod) { this.callbackMethod = callbackMethod; return this; } @@ -124,12 +117,12 @@ public CallbackMethodEnum getCallbackMethod() { return callbackMethod; } - public void setCallbackMethod(@javax.annotation.Nullable CallbackMethodEnum callbackMethod) { + public void setCallbackMethod(CallbackMethodEnum callbackMethod) { this.callbackMethod = callbackMethod; } - public TranscribeRecording username(@javax.annotation.Nullable String username) { + public TranscribeRecording username(String username) { this.username = username; return this; } @@ -143,12 +136,12 @@ public String getUsername() { return username; } - public void setUsername(@javax.annotation.Nullable String username) { + public void setUsername(String username) { this.username = username; } - public TranscribeRecording password(@javax.annotation.Nullable String password) { + public TranscribeRecording password(String password) { this.password = password; return this; } @@ -162,12 +155,12 @@ public String getPassword() { return password; } - public void setPassword(@javax.annotation.Nullable String password) { + public void setPassword(String password) { this.password = password; } - public TranscribeRecording tag(@javax.annotation.Nullable String tag) { + public TranscribeRecording tag(String tag) { this.tag = tag; return this; } @@ -181,12 +174,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public TranscribeRecording callbackTimeout(@javax.annotation.Nullable Double callbackTimeout) { + public TranscribeRecording callbackTimeout(Double callbackTimeout) { this.callbackTimeout = callbackTimeout; return this; } @@ -202,12 +195,12 @@ public Double getCallbackTimeout() { return callbackTimeout; } - public void setCallbackTimeout(@javax.annotation.Nullable Double callbackTimeout) { + public void setCallbackTimeout(Double callbackTimeout) { this.callbackTimeout = callbackTimeout; } - public TranscribeRecording detectLanguage(@javax.annotation.Nullable Boolean detectLanguage) { + public TranscribeRecording detectLanguage(Boolean detectLanguage) { this.detectLanguage = detectLanguage; return this; } @@ -221,7 +214,7 @@ public Boolean getDetectLanguage() { return detectLanguage; } - public void setDetectLanguage(@javax.annotation.Nullable Boolean detectLanguage) { + public void setDetectLanguage(Boolean detectLanguage) { this.detectLanguage = detectLanguage; } diff --git a/src/main/java/com/bandwidth/sdk/model/Transcription.java b/src/main/java/com/bandwidth/sdk/model/Transcription.java index fc017c5c..953dabd7 100644 --- a/src/main/java/com/bandwidth/sdk/model/Transcription.java +++ b/src/main/java/com/bandwidth/sdk/model/Transcription.java @@ -48,22 +48,20 @@ /** * Transcription */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class Transcription { public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) - @javax.annotation.Nullable private String text; public static final String SERIALIZED_NAME_CONFIDENCE = "confidence"; @SerializedName(SERIALIZED_NAME_CONFIDENCE) - @javax.annotation.Nullable private Double confidence; public Transcription() { } - public Transcription text(@javax.annotation.Nullable String text) { + public Transcription text(String text) { this.text = text; return this; } @@ -77,12 +75,12 @@ public String getText() { return text; } - public void setText(@javax.annotation.Nullable String text) { + public void setText(String text) { this.text = text; } - public Transcription confidence(@javax.annotation.Nullable Double confidence) { + public Transcription confidence(Double confidence) { this.confidence = confidence; return this; } @@ -96,7 +94,7 @@ public Double getConfidence() { return confidence; } - public void setConfidence(@javax.annotation.Nullable Double confidence) { + public void setConfidence(Double confidence) { this.confidence = confidence; } diff --git a/src/main/java/com/bandwidth/sdk/model/TranscriptionAvailableCallback.java b/src/main/java/com/bandwidth/sdk/model/TranscriptionAvailableCallback.java index b1eecdc2..ad8b1eb9 100644 --- a/src/main/java/com/bandwidth/sdk/model/TranscriptionAvailableCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/TranscriptionAvailableCallback.java @@ -54,117 +54,96 @@ /** * The Transcription Available event is sent when the recording transcription is available to be downloaded. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class TranscriptionAvailableCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_MEDIA_URL = "mediaUrl"; @SerializedName(SERIALIZED_NAME_MEDIA_URL) - @javax.annotation.Nullable private URI mediaUrl; public static final String SERIALIZED_NAME_PARENT_CALL_ID = "parentCallId"; @SerializedName(SERIALIZED_NAME_PARENT_CALL_ID) - @javax.annotation.Nullable private String parentCallId; public static final String SERIALIZED_NAME_RECORDING_ID = "recordingId"; @SerializedName(SERIALIZED_NAME_RECORDING_ID) - @javax.annotation.Nullable private String recordingId; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_END_TIME = "endTime"; @SerializedName(SERIALIZED_NAME_END_TIME) - @javax.annotation.Nullable private OffsetDateTime endTime; public static final String SERIALIZED_NAME_DURATION = "duration"; @SerializedName(SERIALIZED_NAME_DURATION) - @javax.annotation.Nullable private String duration; public static final String SERIALIZED_NAME_FILE_FORMAT = "fileFormat"; @SerializedName(SERIALIZED_NAME_FILE_FORMAT) - @javax.annotation.Nullable private FileFormatEnum fileFormat; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_TRANSCRIPTION = "transcription"; @SerializedName(SERIALIZED_NAME_TRANSCRIPTION) - @javax.annotation.Nullable private Transcription transcription; public static final String SERIALIZED_NAME_TRANSFER_CALLER_ID = "transferCallerId"; @SerializedName(SERIALIZED_NAME_TRANSFER_CALLER_ID) - @javax.annotation.Nullable private String transferCallerId; public static final String SERIALIZED_NAME_TRANSFER_TO = "transferTo"; @SerializedName(SERIALIZED_NAME_TRANSFER_TO) - @javax.annotation.Nullable private String transferTo; public TranscriptionAvailableCallback() { } - public TranscriptionAvailableCallback eventType(@javax.annotation.Nullable String eventType) { + public TranscriptionAvailableCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -178,12 +157,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public TranscriptionAvailableCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public TranscriptionAvailableCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -197,12 +176,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public TranscriptionAvailableCallback accountId(@javax.annotation.Nullable String accountId) { + public TranscriptionAvailableCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -216,12 +195,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public TranscriptionAvailableCallback applicationId(@javax.annotation.Nullable String applicationId) { + public TranscriptionAvailableCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -235,12 +214,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public TranscriptionAvailableCallback from(@javax.annotation.Nullable String from) { + public TranscriptionAvailableCallback from(String from) { this.from = from; return this; } @@ -254,12 +233,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public TranscriptionAvailableCallback to(@javax.annotation.Nullable String to) { + public TranscriptionAvailableCallback to(String to) { this.to = to; return this; } @@ -273,12 +252,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public TranscriptionAvailableCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public TranscriptionAvailableCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -292,12 +271,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public TranscriptionAvailableCallback callId(@javax.annotation.Nullable String callId) { + public TranscriptionAvailableCallback callId(String callId) { this.callId = callId; return this; } @@ -311,12 +290,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public TranscriptionAvailableCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public TranscriptionAvailableCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -330,12 +309,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public TranscriptionAvailableCallback mediaUrl(@javax.annotation.Nullable URI mediaUrl) { + public TranscriptionAvailableCallback mediaUrl(URI mediaUrl) { this.mediaUrl = mediaUrl; return this; } @@ -349,12 +328,12 @@ public URI getMediaUrl() { return mediaUrl; } - public void setMediaUrl(@javax.annotation.Nullable URI mediaUrl) { + public void setMediaUrl(URI mediaUrl) { this.mediaUrl = mediaUrl; } - public TranscriptionAvailableCallback parentCallId(@javax.annotation.Nullable String parentCallId) { + public TranscriptionAvailableCallback parentCallId(String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -368,12 +347,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(@javax.annotation.Nullable String parentCallId) { + public void setParentCallId(String parentCallId) { this.parentCallId = parentCallId; } - public TranscriptionAvailableCallback recordingId(@javax.annotation.Nullable String recordingId) { + public TranscriptionAvailableCallback recordingId(String recordingId) { this.recordingId = recordingId; return this; } @@ -387,12 +366,12 @@ public String getRecordingId() { return recordingId; } - public void setRecordingId(@javax.annotation.Nullable String recordingId) { + public void setRecordingId(String recordingId) { this.recordingId = recordingId; } - public TranscriptionAvailableCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public TranscriptionAvailableCallback enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -406,12 +385,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public TranscriptionAvailableCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public TranscriptionAvailableCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -425,12 +404,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public TranscriptionAvailableCallback endTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public TranscriptionAvailableCallback endTime(OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -444,12 +423,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public void setEndTime(OffsetDateTime endTime) { this.endTime = endTime; } - public TranscriptionAvailableCallback duration(@javax.annotation.Nullable String duration) { + public TranscriptionAvailableCallback duration(String duration) { this.duration = duration; return this; } @@ -463,12 +442,12 @@ public String getDuration() { return duration; } - public void setDuration(@javax.annotation.Nullable String duration) { + public void setDuration(String duration) { this.duration = duration; } - public TranscriptionAvailableCallback fileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { + public TranscriptionAvailableCallback fileFormat(FileFormatEnum fileFormat) { this.fileFormat = fileFormat; return this; } @@ -482,12 +461,12 @@ public FileFormatEnum getFileFormat() { return fileFormat; } - public void setFileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { + public void setFileFormat(FileFormatEnum fileFormat) { this.fileFormat = fileFormat; } - public TranscriptionAvailableCallback tag(@javax.annotation.Nullable String tag) { + public TranscriptionAvailableCallback tag(String tag) { this.tag = tag; return this; } @@ -501,12 +480,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public TranscriptionAvailableCallback transcription(@javax.annotation.Nullable Transcription transcription) { + public TranscriptionAvailableCallback transcription(Transcription transcription) { this.transcription = transcription; return this; } @@ -520,12 +499,12 @@ public Transcription getTranscription() { return transcription; } - public void setTranscription(@javax.annotation.Nullable Transcription transcription) { + public void setTranscription(Transcription transcription) { this.transcription = transcription; } - public TranscriptionAvailableCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { + public TranscriptionAvailableCallback transferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -539,12 +518,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { + public void setTransferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; } - public TranscriptionAvailableCallback transferTo(@javax.annotation.Nullable String transferTo) { + public TranscriptionAvailableCallback transferTo(String transferTo) { this.transferTo = transferTo; return this; } @@ -558,7 +537,7 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(@javax.annotation.Nullable String transferTo) { + public void setTransferTo(String transferTo) { this.transferTo = transferTo; } diff --git a/src/main/java/com/bandwidth/sdk/model/TransferAnswerCallback.java b/src/main/java/com/bandwidth/sdk/model/TransferAnswerCallback.java index 4e6cbad0..fbec91ff 100644 --- a/src/main/java/com/bandwidth/sdk/model/TransferAnswerCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/TransferAnswerCallback.java @@ -52,87 +52,72 @@ /** * When processing a <Transfer> verb, this event is sent when a called party (B-leg) answers. The event is sent to the endpoint specified in the transferAnswerUrl attribute of the <PhoneNumber> tag that answered. BXML returned by this callback will be executed for the called party only. After all BXML has been executed, the called party will be bridged to the original call. Most BXML verbs are allowed in response to a transferAnswer event, but some are not allowed. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class TransferAnswerCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_ANSWER_TIME = "answerTime"; @SerializedName(SERIALIZED_NAME_ANSWER_TIME) - @javax.annotation.Nullable private OffsetDateTime answerTime; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_TRANSFER_CALLER_ID = "transferCallerId"; @SerializedName(SERIALIZED_NAME_TRANSFER_CALLER_ID) - @javax.annotation.Nullable private String transferCallerId; public static final String SERIALIZED_NAME_TRANSFER_TO = "transferTo"; @SerializedName(SERIALIZED_NAME_TRANSFER_TO) - @javax.annotation.Nullable private String transferTo; public TransferAnswerCallback() { } - public TransferAnswerCallback eventType(@javax.annotation.Nullable String eventType) { + public TransferAnswerCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -146,12 +131,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public TransferAnswerCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public TransferAnswerCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -165,12 +150,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public TransferAnswerCallback accountId(@javax.annotation.Nullable String accountId) { + public TransferAnswerCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -184,12 +169,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public TransferAnswerCallback applicationId(@javax.annotation.Nullable String applicationId) { + public TransferAnswerCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -203,12 +188,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public TransferAnswerCallback from(@javax.annotation.Nullable String from) { + public TransferAnswerCallback from(String from) { this.from = from; return this; } @@ -222,12 +207,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public TransferAnswerCallback to(@javax.annotation.Nullable String to) { + public TransferAnswerCallback to(String to) { this.to = to; return this; } @@ -241,12 +226,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public TransferAnswerCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public TransferAnswerCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -260,12 +245,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public TransferAnswerCallback callId(@javax.annotation.Nullable String callId) { + public TransferAnswerCallback callId(String callId) { this.callId = callId; return this; } @@ -279,12 +264,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public TransferAnswerCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public TransferAnswerCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -298,12 +283,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public TransferAnswerCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public TransferAnswerCallback enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -317,12 +302,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public TransferAnswerCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public TransferAnswerCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -336,12 +321,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public TransferAnswerCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public TransferAnswerCallback answerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -355,12 +340,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public void setAnswerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; } - public TransferAnswerCallback tag(@javax.annotation.Nullable String tag) { + public TransferAnswerCallback tag(String tag) { this.tag = tag; return this; } @@ -374,12 +359,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public TransferAnswerCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { + public TransferAnswerCallback transferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -393,12 +378,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { + public void setTransferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; } - public TransferAnswerCallback transferTo(@javax.annotation.Nullable String transferTo) { + public TransferAnswerCallback transferTo(String transferTo) { this.transferTo = transferTo; return this; } @@ -412,7 +397,7 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(@javax.annotation.Nullable String transferTo) { + public void setTransferTo(String transferTo) { this.transferTo = transferTo; } diff --git a/src/main/java/com/bandwidth/sdk/model/TransferCompleteCallback.java b/src/main/java/com/bandwidth/sdk/model/TransferCompleteCallback.java index 40908757..b71cf0bc 100644 --- a/src/main/java/com/bandwidth/sdk/model/TransferCompleteCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/TransferCompleteCallback.java @@ -52,102 +52,84 @@ /** * This event is sent to the transferCompleteUrl of the A-leg's <Transfer> verb when the transferred call (B-leg) completes. In a simultaneous ringing scenario, only one B-leg succeeds and this event corresponds to that successful leg. If none of the calls were answered, the transferComplete event corresponds to one of the legs. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class TransferCompleteCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_ANSWER_TIME = "answerTime"; @SerializedName(SERIALIZED_NAME_ANSWER_TIME) - @javax.annotation.Nullable private OffsetDateTime answerTime; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_TRANSFER_CALLER_ID = "transferCallerId"; @SerializedName(SERIALIZED_NAME_TRANSFER_CALLER_ID) - @javax.annotation.Nullable private String transferCallerId; public static final String SERIALIZED_NAME_TRANSFER_TO = "transferTo"; @SerializedName(SERIALIZED_NAME_TRANSFER_TO) - @javax.annotation.Nullable private String transferTo; public static final String SERIALIZED_NAME_CAUSE = "cause"; @SerializedName(SERIALIZED_NAME_CAUSE) - @javax.annotation.Nullable private String cause; public static final String SERIALIZED_NAME_ERROR_MESSAGE = "errorMessage"; @SerializedName(SERIALIZED_NAME_ERROR_MESSAGE) - @javax.annotation.Nullable private String errorMessage; public static final String SERIALIZED_NAME_ERROR_ID = "errorId"; @SerializedName(SERIALIZED_NAME_ERROR_ID) - @javax.annotation.Nullable private String errorId; public TransferCompleteCallback() { } - public TransferCompleteCallback eventType(@javax.annotation.Nullable String eventType) { + public TransferCompleteCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -161,12 +143,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public TransferCompleteCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public TransferCompleteCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -180,12 +162,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public TransferCompleteCallback accountId(@javax.annotation.Nullable String accountId) { + public TransferCompleteCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -199,12 +181,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public TransferCompleteCallback applicationId(@javax.annotation.Nullable String applicationId) { + public TransferCompleteCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -218,12 +200,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public TransferCompleteCallback from(@javax.annotation.Nullable String from) { + public TransferCompleteCallback from(String from) { this.from = from; return this; } @@ -237,12 +219,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public TransferCompleteCallback to(@javax.annotation.Nullable String to) { + public TransferCompleteCallback to(String to) { this.to = to; return this; } @@ -256,12 +238,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public TransferCompleteCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public TransferCompleteCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -275,12 +257,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public TransferCompleteCallback callId(@javax.annotation.Nullable String callId) { + public TransferCompleteCallback callId(String callId) { this.callId = callId; return this; } @@ -294,12 +276,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public TransferCompleteCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public TransferCompleteCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -313,12 +295,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public TransferCompleteCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public TransferCompleteCallback enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -332,12 +314,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public TransferCompleteCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public TransferCompleteCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -351,12 +333,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public TransferCompleteCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public TransferCompleteCallback answerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -370,12 +352,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public void setAnswerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; } - public TransferCompleteCallback tag(@javax.annotation.Nullable String tag) { + public TransferCompleteCallback tag(String tag) { this.tag = tag; return this; } @@ -389,12 +371,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public TransferCompleteCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { + public TransferCompleteCallback transferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -408,12 +390,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { + public void setTransferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; } - public TransferCompleteCallback transferTo(@javax.annotation.Nullable String transferTo) { + public TransferCompleteCallback transferTo(String transferTo) { this.transferTo = transferTo; return this; } @@ -427,12 +409,12 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(@javax.annotation.Nullable String transferTo) { + public void setTransferTo(String transferTo) { this.transferTo = transferTo; } - public TransferCompleteCallback cause(@javax.annotation.Nullable String cause) { + public TransferCompleteCallback cause(String cause) { this.cause = cause; return this; } @@ -446,12 +428,12 @@ public String getCause() { return cause; } - public void setCause(@javax.annotation.Nullable String cause) { + public void setCause(String cause) { this.cause = cause; } - public TransferCompleteCallback errorMessage(@javax.annotation.Nullable String errorMessage) { + public TransferCompleteCallback errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } @@ -465,12 +447,12 @@ public String getErrorMessage() { return errorMessage; } - public void setErrorMessage(@javax.annotation.Nullable String errorMessage) { + public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } - public TransferCompleteCallback errorId(@javax.annotation.Nullable String errorId) { + public TransferCompleteCallback errorId(String errorId) { this.errorId = errorId; return this; } @@ -484,7 +466,7 @@ public String getErrorId() { return errorId; } - public void setErrorId(@javax.annotation.Nullable String errorId) { + public void setErrorId(String errorId) { this.errorId = errorId; } diff --git a/src/main/java/com/bandwidth/sdk/model/TransferDisconnectCallback.java b/src/main/java/com/bandwidth/sdk/model/TransferDisconnectCallback.java index aac192fe..7adddbe2 100644 --- a/src/main/java/com/bandwidth/sdk/model/TransferDisconnectCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/TransferDisconnectCallback.java @@ -52,112 +52,92 @@ /** * This event is sent to the transferDisconnectUrl of each <PhoneNumber> tag when its respective call leg ends for any reason. The event is sent in the normal case, when the transferred leg is answered and later hung up, but is also sent if the new leg was never answered in the first place, if it was rejected, and if the original call leg hung up before the transferred leg. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class TransferDisconnectCallback { public static final String SERIALIZED_NAME_EVENT_TYPE = "eventType"; @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - @javax.annotation.Nullable private String eventType; public static final String SERIALIZED_NAME_EVENT_TIME = "eventTime"; @SerializedName(SERIALIZED_NAME_EVENT_TIME) - @javax.annotation.Nullable private OffsetDateTime eventTime; public static final String SERIALIZED_NAME_ACCOUNT_ID = "accountId"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - @javax.annotation.Nullable private String accountId; public static final String SERIALIZED_NAME_APPLICATION_ID = "applicationId"; @SerializedName(SERIALIZED_NAME_APPLICATION_ID) - @javax.annotation.Nullable private String applicationId; public static final String SERIALIZED_NAME_FROM = "from"; @SerializedName(SERIALIZED_NAME_FROM) - @javax.annotation.Nullable private String from; public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nullable private String to; public static final String SERIALIZED_NAME_DIRECTION = "direction"; @SerializedName(SERIALIZED_NAME_DIRECTION) - @javax.annotation.Nullable private CallDirectionEnum direction; public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public static final String SERIALIZED_NAME_CALL_URL = "callUrl"; @SerializedName(SERIALIZED_NAME_CALL_URL) - @javax.annotation.Nullable private URI callUrl; public static final String SERIALIZED_NAME_PARENT_CALL_ID = "parentCallId"; @SerializedName(SERIALIZED_NAME_PARENT_CALL_ID) - @javax.annotation.Nullable private String parentCallId; public static final String SERIALIZED_NAME_ENQUEUED_TIME = "enqueuedTime"; @SerializedName(SERIALIZED_NAME_ENQUEUED_TIME) - @javax.annotation.Nullable private OffsetDateTime enqueuedTime; public static final String SERIALIZED_NAME_START_TIME = "startTime"; @SerializedName(SERIALIZED_NAME_START_TIME) - @javax.annotation.Nullable private OffsetDateTime startTime; public static final String SERIALIZED_NAME_ANSWER_TIME = "answerTime"; @SerializedName(SERIALIZED_NAME_ANSWER_TIME) - @javax.annotation.Nullable private OffsetDateTime answerTime; public static final String SERIALIZED_NAME_END_TIME = "endTime"; @SerializedName(SERIALIZED_NAME_END_TIME) - @javax.annotation.Nullable private OffsetDateTime endTime; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public static final String SERIALIZED_NAME_TRANSFER_CALLER_ID = "transferCallerId"; @SerializedName(SERIALIZED_NAME_TRANSFER_CALLER_ID) - @javax.annotation.Nullable private String transferCallerId; public static final String SERIALIZED_NAME_TRANSFER_TO = "transferTo"; @SerializedName(SERIALIZED_NAME_TRANSFER_TO) - @javax.annotation.Nullable private String transferTo; public static final String SERIALIZED_NAME_CAUSE = "cause"; @SerializedName(SERIALIZED_NAME_CAUSE) - @javax.annotation.Nullable private String cause; public static final String SERIALIZED_NAME_ERROR_MESSAGE = "errorMessage"; @SerializedName(SERIALIZED_NAME_ERROR_MESSAGE) - @javax.annotation.Nullable private String errorMessage; public static final String SERIALIZED_NAME_ERROR_ID = "errorId"; @SerializedName(SERIALIZED_NAME_ERROR_ID) - @javax.annotation.Nullable private String errorId; public TransferDisconnectCallback() { } - public TransferDisconnectCallback eventType(@javax.annotation.Nullable String eventType) { + public TransferDisconnectCallback eventType(String eventType) { this.eventType = eventType; return this; } @@ -171,12 +151,12 @@ public String getEventType() { return eventType; } - public void setEventType(@javax.annotation.Nullable String eventType) { + public void setEventType(String eventType) { this.eventType = eventType; } - public TransferDisconnectCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public TransferDisconnectCallback eventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -190,12 +170,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { + public void setEventTime(OffsetDateTime eventTime) { this.eventTime = eventTime; } - public TransferDisconnectCallback accountId(@javax.annotation.Nullable String accountId) { + public TransferDisconnectCallback accountId(String accountId) { this.accountId = accountId; return this; } @@ -209,12 +189,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(@javax.annotation.Nullable String accountId) { + public void setAccountId(String accountId) { this.accountId = accountId; } - public TransferDisconnectCallback applicationId(@javax.annotation.Nullable String applicationId) { + public TransferDisconnectCallback applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -228,12 +208,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(@javax.annotation.Nullable String applicationId) { + public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public TransferDisconnectCallback from(@javax.annotation.Nullable String from) { + public TransferDisconnectCallback from(String from) { this.from = from; return this; } @@ -247,12 +227,12 @@ public String getFrom() { return from; } - public void setFrom(@javax.annotation.Nullable String from) { + public void setFrom(String from) { this.from = from; } - public TransferDisconnectCallback to(@javax.annotation.Nullable String to) { + public TransferDisconnectCallback to(String to) { this.to = to; return this; } @@ -266,12 +246,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nullable String to) { + public void setTo(String to) { this.to = to; } - public TransferDisconnectCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { + public TransferDisconnectCallback direction(CallDirectionEnum direction) { this.direction = direction; return this; } @@ -285,12 +265,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { + public void setDirection(CallDirectionEnum direction) { this.direction = direction; } - public TransferDisconnectCallback callId(@javax.annotation.Nullable String callId) { + public TransferDisconnectCallback callId(String callId) { this.callId = callId; return this; } @@ -304,12 +284,12 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; } - public TransferDisconnectCallback callUrl(@javax.annotation.Nullable URI callUrl) { + public TransferDisconnectCallback callUrl(URI callUrl) { this.callUrl = callUrl; return this; } @@ -323,12 +303,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(@javax.annotation.Nullable URI callUrl) { + public void setCallUrl(URI callUrl) { this.callUrl = callUrl; } - public TransferDisconnectCallback parentCallId(@javax.annotation.Nullable String parentCallId) { + public TransferDisconnectCallback parentCallId(String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -342,12 +322,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(@javax.annotation.Nullable String parentCallId) { + public void setParentCallId(String parentCallId) { this.parentCallId = parentCallId; } - public TransferDisconnectCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public TransferDisconnectCallback enqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -361,12 +341,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public TransferDisconnectCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public TransferDisconnectCallback startTime(OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -380,12 +360,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { + public void setStartTime(OffsetDateTime startTime) { this.startTime = startTime; } - public TransferDisconnectCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public TransferDisconnectCallback answerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -399,12 +379,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { + public void setAnswerTime(OffsetDateTime answerTime) { this.answerTime = answerTime; } - public TransferDisconnectCallback endTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public TransferDisconnectCallback endTime(OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -418,12 +398,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { + public void setEndTime(OffsetDateTime endTime) { this.endTime = endTime; } - public TransferDisconnectCallback tag(@javax.annotation.Nullable String tag) { + public TransferDisconnectCallback tag(String tag) { this.tag = tag; return this; } @@ -437,12 +417,12 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } - public TransferDisconnectCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { + public TransferDisconnectCallback transferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -456,12 +436,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { + public void setTransferCallerId(String transferCallerId) { this.transferCallerId = transferCallerId; } - public TransferDisconnectCallback transferTo(@javax.annotation.Nullable String transferTo) { + public TransferDisconnectCallback transferTo(String transferTo) { this.transferTo = transferTo; return this; } @@ -475,12 +455,12 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(@javax.annotation.Nullable String transferTo) { + public void setTransferTo(String transferTo) { this.transferTo = transferTo; } - public TransferDisconnectCallback cause(@javax.annotation.Nullable String cause) { + public TransferDisconnectCallback cause(String cause) { this.cause = cause; return this; } @@ -494,12 +474,12 @@ public String getCause() { return cause; } - public void setCause(@javax.annotation.Nullable String cause) { + public void setCause(String cause) { this.cause = cause; } - public TransferDisconnectCallback errorMessage(@javax.annotation.Nullable String errorMessage) { + public TransferDisconnectCallback errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } @@ -513,12 +493,12 @@ public String getErrorMessage() { return errorMessage; } - public void setErrorMessage(@javax.annotation.Nullable String errorMessage) { + public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } - public TransferDisconnectCallback errorId(@javax.annotation.Nullable String errorId) { + public TransferDisconnectCallback errorId(String errorId) { this.errorId = errorId; return this; } @@ -532,7 +512,7 @@ public String getErrorId() { return errorId; } - public void setErrorId(@javax.annotation.Nullable String errorId) { + public void setErrorId(String errorId) { this.errorId = errorId; } diff --git a/src/main/java/com/bandwidth/sdk/model/UpdateCall.java b/src/main/java/com/bandwidth/sdk/model/UpdateCall.java index 22164f89..9e0aa12d 100644 --- a/src/main/java/com/bandwidth/sdk/model/UpdateCall.java +++ b/src/main/java/com/bandwidth/sdk/model/UpdateCall.java @@ -52,62 +52,52 @@ /** * UpdateCall */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class UpdateCall { public static final String SERIALIZED_NAME_STATE = "state"; @SerializedName(SERIALIZED_NAME_STATE) - @javax.annotation.Nullable private CallStateEnum state = CallStateEnum.ACTIVE; public static final String SERIALIZED_NAME_REDIRECT_URL = "redirectUrl"; @SerializedName(SERIALIZED_NAME_REDIRECT_URL) - @javax.annotation.Nullable private URI redirectUrl; public static final String SERIALIZED_NAME_REDIRECT_METHOD = "redirectMethod"; @SerializedName(SERIALIZED_NAME_REDIRECT_METHOD) - @javax.annotation.Nullable private RedirectMethodEnum redirectMethod = RedirectMethodEnum.POST; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_REDIRECT_FALLBACK_URL = "redirectFallbackUrl"; @SerializedName(SERIALIZED_NAME_REDIRECT_FALLBACK_URL) - @javax.annotation.Nullable private URI redirectFallbackUrl; public static final String SERIALIZED_NAME_REDIRECT_FALLBACK_METHOD = "redirectFallbackMethod"; @SerializedName(SERIALIZED_NAME_REDIRECT_FALLBACK_METHOD) - @javax.annotation.Nullable private RedirectMethodEnum redirectFallbackMethod = RedirectMethodEnum.POST; public static final String SERIALIZED_NAME_FALLBACK_USERNAME = "fallbackUsername"; @SerializedName(SERIALIZED_NAME_FALLBACK_USERNAME) - @javax.annotation.Nullable private String fallbackUsername; public static final String SERIALIZED_NAME_FALLBACK_PASSWORD = "fallbackPassword"; @SerializedName(SERIALIZED_NAME_FALLBACK_PASSWORD) - @javax.annotation.Nullable private String fallbackPassword; public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) - @javax.annotation.Nullable private String tag; public UpdateCall() { } - public UpdateCall state(@javax.annotation.Nullable CallStateEnum state) { + public UpdateCall state(CallStateEnum state) { this.state = state; return this; } @@ -121,12 +111,12 @@ public CallStateEnum getState() { return state; } - public void setState(@javax.annotation.Nullable CallStateEnum state) { + public void setState(CallStateEnum state) { this.state = state; } - public UpdateCall redirectUrl(@javax.annotation.Nullable URI redirectUrl) { + public UpdateCall redirectUrl(URI redirectUrl) { this.redirectUrl = redirectUrl; return this; } @@ -140,12 +130,12 @@ public URI getRedirectUrl() { return redirectUrl; } - public void setRedirectUrl(@javax.annotation.Nullable URI redirectUrl) { + public void setRedirectUrl(URI redirectUrl) { this.redirectUrl = redirectUrl; } - public UpdateCall redirectMethod(@javax.annotation.Nullable RedirectMethodEnum redirectMethod) { + public UpdateCall redirectMethod(RedirectMethodEnum redirectMethod) { this.redirectMethod = redirectMethod; return this; } @@ -159,12 +149,12 @@ public RedirectMethodEnum getRedirectMethod() { return redirectMethod; } - public void setRedirectMethod(@javax.annotation.Nullable RedirectMethodEnum redirectMethod) { + public void setRedirectMethod(RedirectMethodEnum redirectMethod) { this.redirectMethod = redirectMethod; } - public UpdateCall username(@javax.annotation.Nullable String username) { + public UpdateCall username(String username) { this.username = username; return this; } @@ -178,12 +168,12 @@ public String getUsername() { return username; } - public void setUsername(@javax.annotation.Nullable String username) { + public void setUsername(String username) { this.username = username; } - public UpdateCall password(@javax.annotation.Nullable String password) { + public UpdateCall password(String password) { this.password = password; return this; } @@ -197,12 +187,12 @@ public String getPassword() { return password; } - public void setPassword(@javax.annotation.Nullable String password) { + public void setPassword(String password) { this.password = password; } - public UpdateCall redirectFallbackUrl(@javax.annotation.Nullable URI redirectFallbackUrl) { + public UpdateCall redirectFallbackUrl(URI redirectFallbackUrl) { this.redirectFallbackUrl = redirectFallbackUrl; return this; } @@ -216,12 +206,12 @@ public URI getRedirectFallbackUrl() { return redirectFallbackUrl; } - public void setRedirectFallbackUrl(@javax.annotation.Nullable URI redirectFallbackUrl) { + public void setRedirectFallbackUrl(URI redirectFallbackUrl) { this.redirectFallbackUrl = redirectFallbackUrl; } - public UpdateCall redirectFallbackMethod(@javax.annotation.Nullable RedirectMethodEnum redirectFallbackMethod) { + public UpdateCall redirectFallbackMethod(RedirectMethodEnum redirectFallbackMethod) { this.redirectFallbackMethod = redirectFallbackMethod; return this; } @@ -235,12 +225,12 @@ public RedirectMethodEnum getRedirectFallbackMethod() { return redirectFallbackMethod; } - public void setRedirectFallbackMethod(@javax.annotation.Nullable RedirectMethodEnum redirectFallbackMethod) { + public void setRedirectFallbackMethod(RedirectMethodEnum redirectFallbackMethod) { this.redirectFallbackMethod = redirectFallbackMethod; } - public UpdateCall fallbackUsername(@javax.annotation.Nullable String fallbackUsername) { + public UpdateCall fallbackUsername(String fallbackUsername) { this.fallbackUsername = fallbackUsername; return this; } @@ -254,12 +244,12 @@ public String getFallbackUsername() { return fallbackUsername; } - public void setFallbackUsername(@javax.annotation.Nullable String fallbackUsername) { + public void setFallbackUsername(String fallbackUsername) { this.fallbackUsername = fallbackUsername; } - public UpdateCall fallbackPassword(@javax.annotation.Nullable String fallbackPassword) { + public UpdateCall fallbackPassword(String fallbackPassword) { this.fallbackPassword = fallbackPassword; return this; } @@ -273,12 +263,12 @@ public String getFallbackPassword() { return fallbackPassword; } - public void setFallbackPassword(@javax.annotation.Nullable String fallbackPassword) { + public void setFallbackPassword(String fallbackPassword) { this.fallbackPassword = fallbackPassword; } - public UpdateCall tag(@javax.annotation.Nullable String tag) { + public UpdateCall tag(String tag) { this.tag = tag; return this; } @@ -292,7 +282,7 @@ public String getTag() { return tag; } - public void setTag(@javax.annotation.Nullable String tag) { + public void setTag(String tag) { this.tag = tag; } diff --git a/src/main/java/com/bandwidth/sdk/model/UpdateCallRecording.java b/src/main/java/com/bandwidth/sdk/model/UpdateCallRecording.java index c269d8d3..47c56deb 100644 --- a/src/main/java/com/bandwidth/sdk/model/UpdateCallRecording.java +++ b/src/main/java/com/bandwidth/sdk/model/UpdateCallRecording.java @@ -49,17 +49,16 @@ /** * UpdateCallRecording */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class UpdateCallRecording { public static final String SERIALIZED_NAME_STATE = "state"; @SerializedName(SERIALIZED_NAME_STATE) - @javax.annotation.Nonnull private RecordingStateEnum state; public UpdateCallRecording() { } - public UpdateCallRecording state(@javax.annotation.Nonnull RecordingStateEnum state) { + public UpdateCallRecording state(RecordingStateEnum state) { this.state = state; return this; } @@ -73,7 +72,7 @@ public RecordingStateEnum getState() { return state; } - public void setState(@javax.annotation.Nonnull RecordingStateEnum state) { + public void setState(RecordingStateEnum state) { this.state = state; } diff --git a/src/main/java/com/bandwidth/sdk/model/UpdateConference.java b/src/main/java/com/bandwidth/sdk/model/UpdateConference.java index 0b09b1e4..b8507d78 100644 --- a/src/main/java/com/bandwidth/sdk/model/UpdateConference.java +++ b/src/main/java/com/bandwidth/sdk/model/UpdateConference.java @@ -52,57 +52,48 @@ /** * UpdateConference */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class UpdateConference { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) - @javax.annotation.Nullable private ConferenceStateEnum status = ConferenceStateEnum.ACTIVE; public static final String SERIALIZED_NAME_REDIRECT_URL = "redirectUrl"; @SerializedName(SERIALIZED_NAME_REDIRECT_URL) - @javax.annotation.Nullable private URI redirectUrl; public static final String SERIALIZED_NAME_REDIRECT_METHOD = "redirectMethod"; @SerializedName(SERIALIZED_NAME_REDIRECT_METHOD) - @javax.annotation.Nullable private RedirectMethodEnum redirectMethod = RedirectMethodEnum.POST; public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) - @javax.annotation.Nullable private String username; public static final String SERIALIZED_NAME_PASSWORD = "password"; @SerializedName(SERIALIZED_NAME_PASSWORD) - @javax.annotation.Nullable private String password; public static final String SERIALIZED_NAME_REDIRECT_FALLBACK_URL = "redirectFallbackUrl"; @SerializedName(SERIALIZED_NAME_REDIRECT_FALLBACK_URL) - @javax.annotation.Nullable private URI redirectFallbackUrl; public static final String SERIALIZED_NAME_REDIRECT_FALLBACK_METHOD = "redirectFallbackMethod"; @SerializedName(SERIALIZED_NAME_REDIRECT_FALLBACK_METHOD) - @javax.annotation.Nullable private RedirectMethodEnum redirectFallbackMethod = RedirectMethodEnum.POST; public static final String SERIALIZED_NAME_FALLBACK_USERNAME = "fallbackUsername"; @SerializedName(SERIALIZED_NAME_FALLBACK_USERNAME) - @javax.annotation.Nullable private String fallbackUsername; public static final String SERIALIZED_NAME_FALLBACK_PASSWORD = "fallbackPassword"; @SerializedName(SERIALIZED_NAME_FALLBACK_PASSWORD) - @javax.annotation.Nullable private String fallbackPassword; public UpdateConference() { } - public UpdateConference status(@javax.annotation.Nullable ConferenceStateEnum status) { + public UpdateConference status(ConferenceStateEnum status) { this.status = status; return this; } @@ -116,12 +107,12 @@ public ConferenceStateEnum getStatus() { return status; } - public void setStatus(@javax.annotation.Nullable ConferenceStateEnum status) { + public void setStatus(ConferenceStateEnum status) { this.status = status; } - public UpdateConference redirectUrl(@javax.annotation.Nullable URI redirectUrl) { + public UpdateConference redirectUrl(URI redirectUrl) { this.redirectUrl = redirectUrl; return this; } @@ -135,12 +126,12 @@ public URI getRedirectUrl() { return redirectUrl; } - public void setRedirectUrl(@javax.annotation.Nullable URI redirectUrl) { + public void setRedirectUrl(URI redirectUrl) { this.redirectUrl = redirectUrl; } - public UpdateConference redirectMethod(@javax.annotation.Nullable RedirectMethodEnum redirectMethod) { + public UpdateConference redirectMethod(RedirectMethodEnum redirectMethod) { this.redirectMethod = redirectMethod; return this; } @@ -154,12 +145,12 @@ public RedirectMethodEnum getRedirectMethod() { return redirectMethod; } - public void setRedirectMethod(@javax.annotation.Nullable RedirectMethodEnum redirectMethod) { + public void setRedirectMethod(RedirectMethodEnum redirectMethod) { this.redirectMethod = redirectMethod; } - public UpdateConference username(@javax.annotation.Nullable String username) { + public UpdateConference username(String username) { this.username = username; return this; } @@ -173,12 +164,12 @@ public String getUsername() { return username; } - public void setUsername(@javax.annotation.Nullable String username) { + public void setUsername(String username) { this.username = username; } - public UpdateConference password(@javax.annotation.Nullable String password) { + public UpdateConference password(String password) { this.password = password; return this; } @@ -192,12 +183,12 @@ public String getPassword() { return password; } - public void setPassword(@javax.annotation.Nullable String password) { + public void setPassword(String password) { this.password = password; } - public UpdateConference redirectFallbackUrl(@javax.annotation.Nullable URI redirectFallbackUrl) { + public UpdateConference redirectFallbackUrl(URI redirectFallbackUrl) { this.redirectFallbackUrl = redirectFallbackUrl; return this; } @@ -211,12 +202,12 @@ public URI getRedirectFallbackUrl() { return redirectFallbackUrl; } - public void setRedirectFallbackUrl(@javax.annotation.Nullable URI redirectFallbackUrl) { + public void setRedirectFallbackUrl(URI redirectFallbackUrl) { this.redirectFallbackUrl = redirectFallbackUrl; } - public UpdateConference redirectFallbackMethod(@javax.annotation.Nullable RedirectMethodEnum redirectFallbackMethod) { + public UpdateConference redirectFallbackMethod(RedirectMethodEnum redirectFallbackMethod) { this.redirectFallbackMethod = redirectFallbackMethod; return this; } @@ -230,12 +221,12 @@ public RedirectMethodEnum getRedirectFallbackMethod() { return redirectFallbackMethod; } - public void setRedirectFallbackMethod(@javax.annotation.Nullable RedirectMethodEnum redirectFallbackMethod) { + public void setRedirectFallbackMethod(RedirectMethodEnum redirectFallbackMethod) { this.redirectFallbackMethod = redirectFallbackMethod; } - public UpdateConference fallbackUsername(@javax.annotation.Nullable String fallbackUsername) { + public UpdateConference fallbackUsername(String fallbackUsername) { this.fallbackUsername = fallbackUsername; return this; } @@ -249,12 +240,12 @@ public String getFallbackUsername() { return fallbackUsername; } - public void setFallbackUsername(@javax.annotation.Nullable String fallbackUsername) { + public void setFallbackUsername(String fallbackUsername) { this.fallbackUsername = fallbackUsername; } - public UpdateConference fallbackPassword(@javax.annotation.Nullable String fallbackPassword) { + public UpdateConference fallbackPassword(String fallbackPassword) { this.fallbackPassword = fallbackPassword; return this; } @@ -268,7 +259,7 @@ public String getFallbackPassword() { return fallbackPassword; } - public void setFallbackPassword(@javax.annotation.Nullable String fallbackPassword) { + public void setFallbackPassword(String fallbackPassword) { this.fallbackPassword = fallbackPassword; } diff --git a/src/main/java/com/bandwidth/sdk/model/UpdateConferenceMember.java b/src/main/java/com/bandwidth/sdk/model/UpdateConferenceMember.java index e0e385ba..a7a782cd 100644 --- a/src/main/java/com/bandwidth/sdk/model/UpdateConferenceMember.java +++ b/src/main/java/com/bandwidth/sdk/model/UpdateConferenceMember.java @@ -51,27 +51,24 @@ /** * UpdateConferenceMember */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class UpdateConferenceMember { public static final String SERIALIZED_NAME_MUTE = "mute"; @SerializedName(SERIALIZED_NAME_MUTE) - @javax.annotation.Nullable private Boolean mute; public static final String SERIALIZED_NAME_HOLD = "hold"; @SerializedName(SERIALIZED_NAME_HOLD) - @javax.annotation.Nullable private Boolean hold; public static final String SERIALIZED_NAME_CALL_IDS_TO_COACH = "callIdsToCoach"; @SerializedName(SERIALIZED_NAME_CALL_IDS_TO_COACH) - @javax.annotation.Nullable private List callIdsToCoach; public UpdateConferenceMember() { } - public UpdateConferenceMember mute(@javax.annotation.Nullable Boolean mute) { + public UpdateConferenceMember mute(Boolean mute) { this.mute = mute; return this; } @@ -85,12 +82,12 @@ public Boolean getMute() { return mute; } - public void setMute(@javax.annotation.Nullable Boolean mute) { + public void setMute(Boolean mute) { this.mute = mute; } - public UpdateConferenceMember hold(@javax.annotation.Nullable Boolean hold) { + public UpdateConferenceMember hold(Boolean hold) { this.hold = hold; return this; } @@ -104,12 +101,12 @@ public Boolean getHold() { return hold; } - public void setHold(@javax.annotation.Nullable Boolean hold) { + public void setHold(Boolean hold) { this.hold = hold; } - public UpdateConferenceMember callIdsToCoach(@javax.annotation.Nullable List callIdsToCoach) { + public UpdateConferenceMember callIdsToCoach(List callIdsToCoach) { this.callIdsToCoach = callIdsToCoach; return this; } @@ -131,7 +128,7 @@ public List getCallIdsToCoach() { return callIdsToCoach; } - public void setCallIdsToCoach(@javax.annotation.Nullable List callIdsToCoach) { + public void setCallIdsToCoach(List callIdsToCoach) { this.callIdsToCoach = callIdsToCoach; } diff --git a/src/main/java/com/bandwidth/sdk/model/VerifyCodeRequest.java b/src/main/java/com/bandwidth/sdk/model/VerifyCodeRequest.java index 98611e5c..85c6988e 100644 --- a/src/main/java/com/bandwidth/sdk/model/VerifyCodeRequest.java +++ b/src/main/java/com/bandwidth/sdk/model/VerifyCodeRequest.java @@ -49,32 +49,28 @@ /** * VerifyCodeRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class VerifyCodeRequest { public static final String SERIALIZED_NAME_TO = "to"; @SerializedName(SERIALIZED_NAME_TO) - @javax.annotation.Nonnull private String to; public static final String SERIALIZED_NAME_SCOPE = "scope"; @SerializedName(SERIALIZED_NAME_SCOPE) - @javax.annotation.Nullable private String scope; public static final String SERIALIZED_NAME_EXPIRATION_TIME_IN_MINUTES = "expirationTimeInMinutes"; @SerializedName(SERIALIZED_NAME_EXPIRATION_TIME_IN_MINUTES) - @javax.annotation.Nonnull private BigDecimal expirationTimeInMinutes; public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) - @javax.annotation.Nonnull private String code; public VerifyCodeRequest() { } - public VerifyCodeRequest to(@javax.annotation.Nonnull String to) { + public VerifyCodeRequest to(String to) { this.to = to; return this; } @@ -88,12 +84,12 @@ public String getTo() { return to; } - public void setTo(@javax.annotation.Nonnull String to) { + public void setTo(String to) { this.to = to; } - public VerifyCodeRequest scope(@javax.annotation.Nullable String scope) { + public VerifyCodeRequest scope(String scope) { this.scope = scope; return this; } @@ -107,12 +103,12 @@ public String getScope() { return scope; } - public void setScope(@javax.annotation.Nullable String scope) { + public void setScope(String scope) { this.scope = scope; } - public VerifyCodeRequest expirationTimeInMinutes(@javax.annotation.Nonnull BigDecimal expirationTimeInMinutes) { + public VerifyCodeRequest expirationTimeInMinutes(BigDecimal expirationTimeInMinutes) { this.expirationTimeInMinutes = expirationTimeInMinutes; return this; } @@ -128,12 +124,12 @@ public BigDecimal getExpirationTimeInMinutes() { return expirationTimeInMinutes; } - public void setExpirationTimeInMinutes(@javax.annotation.Nonnull BigDecimal expirationTimeInMinutes) { + public void setExpirationTimeInMinutes(BigDecimal expirationTimeInMinutes) { this.expirationTimeInMinutes = expirationTimeInMinutes; } - public VerifyCodeRequest code(@javax.annotation.Nonnull String code) { + public VerifyCodeRequest code(String code) { this.code = code; return this; } @@ -147,7 +143,7 @@ public String getCode() { return code; } - public void setCode(@javax.annotation.Nonnull String code) { + public void setCode(String code) { this.code = code; } diff --git a/src/main/java/com/bandwidth/sdk/model/VerifyCodeResponse.java b/src/main/java/com/bandwidth/sdk/model/VerifyCodeResponse.java index d8040b0b..70e59bb8 100644 --- a/src/main/java/com/bandwidth/sdk/model/VerifyCodeResponse.java +++ b/src/main/java/com/bandwidth/sdk/model/VerifyCodeResponse.java @@ -48,17 +48,16 @@ /** * VerifyCodeResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class VerifyCodeResponse { public static final String SERIALIZED_NAME_VALID = "valid"; @SerializedName(SERIALIZED_NAME_VALID) - @javax.annotation.Nullable private Boolean valid; public VerifyCodeResponse() { } - public VerifyCodeResponse valid(@javax.annotation.Nullable Boolean valid) { + public VerifyCodeResponse valid(Boolean valid) { this.valid = valid; return this; } @@ -72,7 +71,7 @@ public Boolean getValid() { return valid; } - public void setValid(@javax.annotation.Nullable Boolean valid) { + public void setValid(Boolean valid) { this.valid = valid; } diff --git a/src/main/java/com/bandwidth/sdk/model/VoiceApiError.java b/src/main/java/com/bandwidth/sdk/model/VoiceApiError.java index 589bbdbc..18973b20 100644 --- a/src/main/java/com/bandwidth/sdk/model/VoiceApiError.java +++ b/src/main/java/com/bandwidth/sdk/model/VoiceApiError.java @@ -49,27 +49,24 @@ /** * VoiceApiError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class VoiceApiError { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable private String type; public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) - @javax.annotation.Nullable private String description; public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) - @javax.annotation.Nullable private String id; public VoiceApiError() { } - public VoiceApiError type(@javax.annotation.Nullable String type) { + public VoiceApiError type(String type) { this.type = type; return this; } @@ -83,12 +80,12 @@ public String getType() { return type; } - public void setType(@javax.annotation.Nullable String type) { + public void setType(String type) { this.type = type; } - public VoiceApiError description(@javax.annotation.Nullable String description) { + public VoiceApiError description(String description) { this.description = description; return this; } @@ -102,12 +99,12 @@ public String getDescription() { return description; } - public void setDescription(@javax.annotation.Nullable String description) { + public void setDescription(String description) { this.description = description; } - public VoiceApiError id(@javax.annotation.Nullable String id) { + public VoiceApiError id(String id) { this.id = id; return this; } @@ -121,7 +118,7 @@ public String getId() { return id; } - public void setId(@javax.annotation.Nullable String id) { + public void setId(String id) { this.id = id; } diff --git a/src/main/java/com/bandwidth/sdk/model/VoiceCodeResponse.java b/src/main/java/com/bandwidth/sdk/model/VoiceCodeResponse.java index 8e0047dd..e86b3c3e 100644 --- a/src/main/java/com/bandwidth/sdk/model/VoiceCodeResponse.java +++ b/src/main/java/com/bandwidth/sdk/model/VoiceCodeResponse.java @@ -48,17 +48,16 @@ /** * VoiceCodeResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") public class VoiceCodeResponse { public static final String SERIALIZED_NAME_CALL_ID = "callId"; @SerializedName(SERIALIZED_NAME_CALL_ID) - @javax.annotation.Nullable private String callId; public VoiceCodeResponse() { } - public VoiceCodeResponse callId(@javax.annotation.Nullable String callId) { + public VoiceCodeResponse callId(String callId) { this.callId = callId; return this; } @@ -72,7 +71,7 @@ public String getCallId() { return callId; } - public void setCallId(@javax.annotation.Nullable String callId) { + public void setCallId(String callId) { this.callId = callId; }
Status Code Description Response Headers
200 OK -
400 Bad Request -