diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 4bc5d618..758bb9c8 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.9.0 +7.10.0 diff --git a/README.md b/README.md index f417e672..7f29d440 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Bandwidth - API version: 1.0.0 - - Generator version: 7.9.0 + - Generator version: 7.10.0 Bandwidth's Communication APIs diff --git a/build.gradle b/build.gradle index bd34defb..4873c2ba 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.12.0' + implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.17.0' implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.3' testImplementation 'org.mockito:mockito-core:3.12.4' diff --git a/build.sbt b/build.sbt index 56dc9700..374d4ba7 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.12.0", + "org.apache.commons" % "commons-lang3" % "3.17.0", "jakarta.ws.rs" % "jakarta.ws.rs-api" % "2.1.6", "org.openapitools" % "jackson-databind-nullable" % "0.2.6", "io.gsonfire" % "gson-fire" % "1.9.0" % "compile", diff --git a/custom_templates/api.mustache b/custom_templates/api.mustache deleted file mode 100644 index da2d1c2c..00000000 --- a/custom_templates/api.mustache +++ /dev/null @@ -1,597 +0,0 @@ -{{>licenseInfo}} - -package {{package}}; - -import {{invokerPackage}}.ApiCallback; -import {{invokerPackage}}.ApiClient; -import {{invokerPackage}}.ApiException; -{{#dynamicOperations}} -import {{invokerPackage}}.ApiOperation; -{{/dynamicOperations}} -import {{invokerPackage}}.ApiResponse; -import {{invokerPackage}}.Configuration; -import {{invokerPackage}}.Pair; -import {{invokerPackage}}.ProgressRequestBody; -import {{invokerPackage}}.ProgressResponseBody; -{{#performBeanValidation}} -import {{invokerPackage}}.BeanValidationException; -{{/performBeanValidation}} - -import com.google.gson.reflect.TypeToken; -{{#dynamicOperations}} -import io.swagger.v3.oas.models.Operation; -import io.swagger.v3.oas.models.parameters.Parameter; -{{/dynamicOperations}} - -import java.io.IOException; - -{{#useBeanValidation}} -import {{javaxPackage}}.validation.constraints.*; -import {{javaxPackage}}.validation.Valid; -{{/useBeanValidation}} -{{#performBeanValidation}} -import {{javaxPackage}}.validation.ConstraintViolation; -import {{javaxPackage}}.validation.Validation; -import {{javaxPackage}}.validation.ValidatorFactory; -import {{javaxPackage}}.validation.executable.ExecutableValidator; -import java.util.Set; -import java.lang.reflect.Method; -import java.lang.reflect.Type; -{{/performBeanValidation}} - -{{#imports}}import {{import}}; -{{/imports}} - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -{{#supportStreaming}} -import java.io.InputStream; -{{/supportStreaming}} - -{{#operations}} -public class {{classname}} { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public {{classname}}() { - this(Configuration.getDefaultApiClient()); - } - - public {{classname}}(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - {{#operation}} - {{^vendorExtensions.x-group-parameters}}/** - * Build call for {{operationId}}{{#allParams}} - * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}){{/required}}{{/allParams}} - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - {{#responses.0}} - * @http.response.details - - - {{#responses}} - - {{/responses}} -
Status Code Description Response Headers
{{code}} {{message}} {{#headers}} * {{baseName}} - {{description}}
{{/headers}}{{^headers.0}} - {{/headers.0}}
- {{/responses.0}} - {{#isDeprecated}} - * @deprecated - {{/isDeprecated}} - {{#externalDocs}} - * {{description}} - * @see {{summary}} Documentation - {{/externalDocs}} - */ - {{#isDeprecated}} - @Deprecated - {{/isDeprecated}} - public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} okhttp3.Call {{operationId}}Call({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] { {{#servers}}"{{{url}}}"{{^-last}}, {{/-last}}{{/servers}} }; - - // Determine Base Path to Use - if (localCustomBaseUrl != null){ - basePath = localCustomBaseUrl; - } else if ( localBasePaths.length > 0 ) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}}; - - // create path and map variables - {{^dynamicOperations}} - String localVarPath = "{{{path}}}"{{#pathParams}} - .replace("{" + "{{baseName}}" + "}", localVarApiClient.escapeString({{#collectionFormat}}localVarApiClient.collectionPathParameterToString("{{{collectionFormat}}}", {{{paramName}}}){{/collectionFormat}}{{^collectionFormat}}{{{paramName}}}.toString(){{/collectionFormat}})){{/pathParams}}; - {{/dynamicOperations}} - {{#dynamicOperations}} - ApiOperation apiOperation = localVarApiClient.getOperationLookupMap().get("{{{operationId}}}"); - if (apiOperation == null) { - throw new ApiException("Operation not found in OAS"); - } - Operation operation = apiOperation.getOperation(); - String localVarPath = apiOperation.getPath(); - Map paramMap = new HashMap<>(); - {{#allParams}} - {{^isFormParam}} - {{^isBodyParam}} - paramMap.put("{{baseName}}", {{paramName}}); - {{/isBodyParam}} - {{/isFormParam}} - {{/allParams}} - {{/dynamicOperations}} - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - {{#formParams}} - if ({{paramName}} != null) { - localVarFormParams.put("{{baseName}}", {{paramName}}); - } - - {{/formParams}} - {{^dynamicOperations}} - {{#queryParams}} - if ({{paramName}} != null) { - {{#isFreeFormObject}}localVarQueryParams.addAll(localVarApiClient.freeFormParameterToPairs({{paramName}}));{{/isFreeFormObject}}{{^isFreeFormObject}}{{#collectionFormat}}localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("{{{.}}}", {{/collectionFormat}}{{^collectionFormat}}localVarQueryParams.addAll(localVarApiClient.parameterToPair({{/collectionFormat}}"{{baseName}}", {{paramName}}));{{/isFreeFormObject}} - } - - {{/queryParams}} - {{#constantParams}} - {{#isQueryParam}} - // Set client side default value of Query Param "{{baseName}}". - localVarCollectionQueryParams.add(new Pair("{{baseName}}", {{#_enum}}"{{{.}}}"{{/_enum}})); - - {{/isQueryParam}} - {{/constantParams}} - {{#constantParams}} - {{#isHeaderParam}} - // Set client side default value of Header Param "{{baseName}}". - localVarHeaderParams.put("{{baseName}}", {{#_enum}}"{{{.}}}"{{/_enum}}); - - {{/isHeaderParam}} - {{/constantParams}} - {{#cookieParams}} - if ({{paramName}} != null) { - localVarCookieParams.put("{{baseName}}", localVarApiClient.parameterToString({{paramName}})); - } - - {{/cookieParams}} - {{#constantParams}} - {{#isCookieParam}} - // Set client side default value of Cookie Param "{{baseName}}". - localVarCookieParams.put("{{baseName}}", {{#_enum}}"{{{.}}}"{{/_enum}}); - - {{/isCookieParam}} - {{/constantParams}} - {{/dynamicOperations}} - {{#dynamicOperations}} - localVarPath = localVarApiClient.fillParametersFromOperation(operation, paramMap, localVarPath, localVarQueryParams, localVarCollectionQueryParams, localVarHeaderParams, localVarCookieParams); - - {{/dynamicOperations}} - final String[] localVarAccepts = { - {{#produces}} - "{{{mediaType}}}"{{^-last}},{{/-last}} - {{/produces}} - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - {{#consumes}} - "{{{mediaType}}}"{{^-last}},{{/-last}} - {{/consumes}} - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - {{#headerParams}} - - if ({{paramName}} != null) { - localVarHeaderParams.put("{{baseName}}", localVarApiClient.parameterToString({{paramName}})); - } - - {{/headerParams}} - - String[] localVarAuthNames = new String[] { {{#withAWSV4Signature}}"AWS4Auth"{{/withAWSV4Signature}}{{#authMethods}}{{#-first}}{{#withAWSV4Signature}}, {{/withAWSV4Signature}}{{/-first}}"{{name}}"{{^-last}}, {{/-last}}{{/authMethods}} }; - return localVarApiClient.buildCall(basePath, localVarPath, {{^dynamicOperations}}"{{httpMethod}}"{{/dynamicOperations}}{{#dynamicOperations}}apiOperation.getMethod(){{/dynamicOperations}}, localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - {{#isDeprecated}} - @Deprecated - {{/isDeprecated}} - @SuppressWarnings("rawtypes") - private okhttp3.Call {{operationId}}ValidateBeforeCall({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ApiCallback _callback) throws ApiException { - {{^performBeanValidation}} - {{#allParams}} - {{#required}} - // verify the required parameter '{{paramName}}' is set - if ({{paramName}} == null) { - throw new ApiException("Missing the required parameter '{{paramName}}' when calling {{operationId}}(Async)"); - } - - {{/required}} - {{/allParams}} - return {{operationId}}Call({{#allParams}}{{paramName}}, {{/allParams}}_callback); - - {{/performBeanValidation}} - {{#performBeanValidation}} - try { - ValidatorFactory factory = Validation.buildDefaultValidatorFactory(); - ExecutableValidator executableValidator = factory.getValidator().forExecutables(); - - Object[] parameterValues = { {{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}} }; - Method method = this.getClass().getMethod("{{operationId}}WithHttpInfo"{{#allParams}}, {{#isArray}}java.util.List{{/isArray}}{{#isMap}}java.util.Map{{/isMap}}{{^isArray}}{{^isMap}}{{{dataType}}}{{/isMap}}{{/isArray}}.class{{/allParams}}); - Set> violations = executableValidator.validateParameters(this, method, - parameterValues); - - if (violations.size() == 0) { - return {{operationId}}Call({{#allParams}}{{paramName}}, {{/allParams}}_callback); - } else { - throw new BeanValidationException((Set) violations); - } - } catch (NoSuchMethodException e) { - e.printStackTrace(); - throw new ApiException(e.getMessage()); - } catch (SecurityException e) { - e.printStackTrace(); - throw new ApiException(e.getMessage()); - } - {{/performBeanValidation}} - } - - {{^vendorExtensions.x-group-parameters}} - /** - * {{summary}} - * {{notes}}{{#allParams}} - * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}){{/required}}{{/allParams}}{{#returnType}} - * @return {{.}}{{/returnType}} - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - {{#responses.0}} - * @http.response.details - - - {{#responses}} - - {{/responses}} -
Status Code Description Response Headers
{{code}} {{message}} {{#headers}} * {{baseName}} - {{description}}
{{/headers}}{{^headers.0}} - {{/headers.0}}
- {{/responses.0}} - {{#isDeprecated}} - * @deprecated - {{/isDeprecated}} - {{#externalDocs}} - * {{description}} - * @see {{summary}} Documentation - {{/externalDocs}} - */ - {{#isDeprecated}} - @Deprecated - {{/isDeprecated}} - {{#vendorExtensions.x-streaming}} - public {{#returnType}}InputStream {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { - {{#returnType}}InputStream localVarResp = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}} - return localVarResp;{{/returnType}} - } - {{/vendorExtensions.x-streaming}} - {{^vendorExtensions.x-streaming}} - public {{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { - {{#returnType}}ApiResponse<{{{.}}}> localVarResp = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}} - return localVarResp.getData();{{/returnType}} - } - {{/vendorExtensions.x-streaming}} - {{/vendorExtensions.x-group-parameters}} - - {{^vendorExtensions.x-group-parameters}}/** - * {{summary}} - * {{notes}}{{#allParams}} - * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}){{/required}}{{/allParams}} - * @return ApiResponse<{{returnType}}{{^returnType}}Void{{/returnType}}> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - {{#responses.0}} - * @http.response.details - - - {{#responses}} - - {{/responses}} -
Status Code Description Response Headers
{{code}} {{message}} {{#headers}} * {{baseName}} - {{description}}
{{/headers}}{{^headers.0}} - {{/headers.0}}
- {{/responses.0}} - {{#isDeprecated}} - * @deprecated - {{/isDeprecated}} - {{#externalDocs}} - * {{description}} - * @see {{summary}} Documentation - {{/externalDocs}} - */ - {{#isDeprecated}} - @Deprecated - {{/isDeprecated}} - public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-streaming}} InputStream {{operationId}}WithHttpInfo({{#allParams}}{{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { - okhttp3.Call localVarCall = {{operationId}}ValidateBeforeCall({{#allParams}}{{paramName}}, {{/allParams}}null); - {{#returnType}} - {{#errorObjectType}} - try { - Type localVarReturnType = new TypeToken<{{{returnType}}}>(){}.getType(); - return localVarApiClient.executeStream(localVarCall, localVarReturnType); - } catch (ApiException e) { - e.setErrorObject(localVarApiClient.getJSON().getGson().fromJson(e.getResponseBody(), new TypeToken<{{{errorObjectType}}}>(){}.getType())); - throw e; - } - {{/errorObjectType}} - {{^errorObjectType}} - Type localVarReturnType = new TypeToken<{{{returnType}}}>(){}.getType(); - return localVarApiClient.executeStream(localVarCall, localVarReturnType); - {{/errorObjectType}} - {{/returnType}} - } - {{/vendorExtensions.x-streaming}}{{^vendorExtensions.x-streaming}} ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{operationId}}WithHttpInfo({{#allParams}}{{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws ApiException { - okhttp3.Call localVarCall = {{operationId}}ValidateBeforeCall({{#allParams}}{{paramName}}, {{/allParams}}null); - {{^returnType}} - return localVarApiClient.execute(localVarCall); - {{/returnType}} - {{#returnType}} - {{#errorObjectType}} - try { - Type localVarReturnType = new TypeToken<{{{returnType}}}>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } catch (ApiException e) { - e.setErrorObject(localVarApiClient.getJSON().getGson().fromJson(e.getResponseBody(), new TypeToken<{{{errorObjectType}}}>(){}.getType())); - throw e; - } - {{/errorObjectType}} - {{^errorObjectType}} - Type localVarReturnType = new TypeToken<{{{returnType}}}>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - {{/errorObjectType}} - {{/returnType}} - } - {{/vendorExtensions.x-streaming}} - - {{^vendorExtensions.x-group-parameters}}/** - * {{summary}} (asynchronously) - * {{notes}}{{#allParams}} - * @param {{paramName}} {{description}}{{#required}} (required){{/required}}{{^required}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}){{/required}}{{/allParams}} - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - {{#responses.0}} - * @http.response.details - - - {{#responses}} - - {{/responses}} -
Status Code Description Response Headers
{{code}} {{message}} {{#headers}} * {{baseName}} - {{description}}
{{/headers}}{{^headers.0}} - {{/headers.0}}
- {{/responses.0}} - {{#isDeprecated}} - * @deprecated - {{/isDeprecated}} - {{#externalDocs}} - * {{description}} - * @see {{summary}} Documentation - {{/externalDocs}} - */ - {{#isDeprecated}} - @Deprecated - {{/isDeprecated}} - public{{/vendorExtensions.x-group-parameters}}{{#vendorExtensions.x-group-parameters}}private{{/vendorExtensions.x-group-parameters}} okhttp3.Call {{operationId}}Async({{#allParams}}{{{dataType}}} {{paramName}}, {{/allParams}}final ApiCallback<{{{returnType}}}{{^returnType}}Void{{/returnType}}> _callback) throws ApiException { - - okhttp3.Call localVarCall = {{operationId}}ValidateBeforeCall({{#allParams}}{{paramName}}, {{/allParams}}_callback); - {{#returnType}}Type localVarReturnType = new TypeToken<{{{returnType}}}>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);{{/returnType}}{{^returnType}}localVarApiClient.executeAsync(localVarCall, _callback);{{/returnType}} - return localVarCall; - } - {{#vendorExtensions.x-group-parameters}} - - public class API{{operationId}}Request { - {{#requiredParams}} - private final {{{dataType}}} {{paramName}}; - {{/requiredParams}} - {{#optionalParams}} - private {{{dataType}}} {{paramName}}; - {{/optionalParams}} - - private API{{operationId}}Request({{#requiredParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}) { - {{#requiredParams}} - this.{{paramName}} = {{paramName}}; - {{/requiredParams}} - } - - {{#optionalParams}} - /** - * Set {{paramName}} - * @param {{paramName}} {{description}} (optional{{^isContainer}}{{#defaultValue}}, default to {{.}}{{/defaultValue}}{{/isContainer}}) - * @return API{{operationId}}Request - */ - public API{{operationId}}Request {{paramName}}({{{dataType}}} {{paramName}}) { - this.{{paramName}} = {{paramName}}; - return this; - } - - {{/optionalParams}} - /** - * Build call for {{operationId}} - * @param _callback ApiCallback API callback - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - {{#responses.0}} - * @http.response.details - - - {{#responses}} - - {{/responses}} -
Status Code Description Response Headers
{{code}} {{message}} {{#headers}} * {{baseName}} - {{description}}
{{/headers}}{{^headers.0}} - {{/headers.0}}
- {{/responses.0}} - {{#isDeprecated}} - * @deprecated - {{/isDeprecated}} - */ - {{#isDeprecated}} - @Deprecated - {{/isDeprecated}} - public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return {{operationId}}Call({{#allParams}}{{paramName}}, {{/allParams}}_callback); - } - - /** - * Execute {{operationId}} request{{#returnType}} - * @return {{.}}{{/returnType}} - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - {{#responses.0}} - * @http.response.details - - - {{#responses}} - - {{/responses}} -
Status Code Description Response Headers
{{code}} {{message}} {{#headers}} * {{baseName}} - {{description}}
{{/headers}}{{^headers.0}} - {{/headers.0}}
- {{/responses.0}} - {{#isDeprecated}} - * @deprecated - {{/isDeprecated}} - */ - {{#isDeprecated}} - @Deprecated - {{/isDeprecated}} - {{^vendorExtensions.x-streaming}} - public {{{returnType}}}{{^returnType}}void{{/returnType}} execute() throws ApiException { - {{#returnType}}ApiResponse<{{{.}}}> localVarResp = {{/returnType}}{{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});{{#returnType}} - return localVarResp.getData();{{/returnType}} - } - {{/vendorExtensions.x-streaming}} - {{#vendorExtensions.x-streaming}} - public InputStream execute() throws ApiException { - return {{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}); - } - {{/vendorExtensions.x-streaming}} - - /** - * Execute {{operationId}} request with HTTP info returned - * @return ApiResponse<{{returnType}}{{^returnType}}Void{{/returnType}}> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - {{#responses.0}} - * @http.response.details - - - {{#responses}} - - {{/responses}} -
Status Code Description Response Headers
{{code}} {{message}} {{#headers}} * {{baseName}} - {{description}}
{{/headers}}{{^headers.0}} - {{/headers.0}}
- {{/responses.0}} - {{#isDeprecated}} - * @deprecated - {{/isDeprecated}} - */ - {{#isDeprecated}} - @Deprecated - {{/isDeprecated}} - {{^vendorExtensions.x-streaming}} - public ApiResponse<{{{returnType}}}{{^returnType}}Void{{/returnType}}> executeWithHttpInfo() throws ApiException { - return {{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}); - } - {{/vendorExtensions.x-streaming}} - {{#vendorExtensions.x-streaming}} - public InputStream executeWithHttpInfo() throws ApiException { - return {{operationId}}WithHttpInfo({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}); - } - {{/vendorExtensions.x-streaming}} - - /** - * Execute {{operationId}} request (asynchronously) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - {{#responses.0}} - * @http.response.details - - - {{#responses}} - - {{/responses}} -
Status Code Description Response Headers
{{code}} {{message}} {{#headers}} * {{baseName}} - {{description}}
{{/headers}}{{^headers.0}} - {{/headers.0}}
- {{/responses.0}} - {{#isDeprecated}} - * @deprecated - {{/isDeprecated}} - */ - {{#isDeprecated}} - @Deprecated - {{/isDeprecated}} - public okhttp3.Call executeAsync(final ApiCallback<{{{returnType}}}{{^returnType}}Void{{/returnType}}> _callback) throws ApiException { - return {{operationId}}Async({{#allParams}}{{paramName}}, {{/allParams}}_callback); - } - } - - /** - * {{summary}} - * {{notes}}{{#requiredParams}} - * @param {{paramName}} {{description}} (required){{/requiredParams}} - * @return API{{operationId}}Request - {{#responses.0}} - * @http.response.details - - - {{#responses}} - - {{/responses}} -
Status Code Description Response Headers
{{code}} {{message}} {{#headers}} * {{baseName}} - {{description}}
{{/headers}}{{^headers.0}} - {{/headers.0}}
- {{/responses.0}} - {{#isDeprecated}} - * @deprecated - {{/isDeprecated}} - {{#externalDocs}} - * {{description}} - * @see {{summary}} Documentation - {{/externalDocs}} - */ - {{#isDeprecated}} - @Deprecated - {{/isDeprecated}} - public API{{operationId}}Request {{operationId}}({{#requiredParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}) { - return new API{{operationId}}Request({{#requiredParams}}{{paramName}}{{^-last}}, {{/-last}}{{/requiredParams}}); - } - {{/vendorExtensions.x-group-parameters}} - {{/operation}} -} -{{/operations}} diff --git a/openapitools.json b/openapitools.json index f80faaa6..f8d07ce1 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.9.0" + "version": "7.10.0" } } diff --git a/src/main/java/com/bandwidth/sdk/ApiClient.java b/src/main/java/com/bandwidth/sdk/ApiClient.java index c8ac2feb..2fcd6ffb 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,6 +749,7 @@ 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 bbd45785..1bb97746 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class ApiException extends Exception { private static final long serialVersionUID = 1L; diff --git a/src/main/java/com/bandwidth/sdk/Configuration.java b/src/main/java/com/bandwidth/sdk/Configuration.java index 5aa614dc..c84c9cef 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class Configuration { public static final String VERSION = "1.0.0-dev"; diff --git a/src/main/java/com/bandwidth/sdk/Pair.java b/src/main/java/com/bandwidth/sdk/Pair.java index 161813c1..a04697ce 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/com/bandwidth/sdk/ServerConfiguration.java b/src/main/java/com/bandwidth/sdk/ServerConfiguration.java index 756f34a3..c74fbd03 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class ServerConfiguration { public String URL; public String description; diff --git a/src/main/java/com/bandwidth/sdk/ServerVariable.java b/src/main/java/com/bandwidth/sdk/ServerVariable.java index 9786d338..beaab482 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class ServerVariable { public String description; public String defaultValue; diff --git a/src/main/java/com/bandwidth/sdk/StringUtil.java b/src/main/java/com/bandwidth/sdk/StringUtil.java index 6169441b..6ef9eb8c 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/com/bandwidth/sdk/api/CallsApi.java b/src/main/java/com/bandwidth/sdk/api/CallsApi.java index 0310cdf7..c80844d8 100644 --- a/src/main/java/com/bandwidth/sdk/api/CallsApi.java +++ b/src/main/java/com/bandwidth/sdk/api/CallsApi.java @@ -84,7 +84,8 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details - +
+ @@ -167,7 +168,8 @@ private okhttp3.Call createCallValidateBeforeCall(String accountId, CreateCall c * @return CreateCallResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Response Details
Status Code Description Response Headers
201 Created * Location - The URL for further interactions with this call
400 Bad Request -
+
+ @@ -193,7 +195,8 @@ 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 -
Response Details
Status Code Description Response Headers
201 Created * Location - The URL for further interactions with this call
400 Bad Request -
+
+ @@ -221,7 +224,8 @@ 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 -
Response Details
Status Code Description Response Headers
201 Created * Location - The URL for further interactions with this call
400 Bad Request -
+
+ @@ -249,7 +253,8 @@ public okhttp3.Call createCallAsync(String accountId, CreateCall createCall, fin * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Response Details
Status Code Description Response Headers
201 Created * Location - The URL for further interactions with this call
400 Bad Request -
+
+ @@ -332,7 +337,8 @@ private okhttp3.Call getCallStateValidateBeforeCall(String accountId, String cal * @return CallState * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -358,7 +364,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -386,7 +393,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -420,7 +428,8 @@ public okhttp3.Call getCallStateAsync(String accountId, String callId, final Api * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -531,7 +540,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -563,7 +573,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -597,7 +608,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -626,7 +638,8 @@ public okhttp3.Call listCallsAsync(String accountId, String to, String from, Str * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -716,7 +729,8 @@ private okhttp3.Call updateCallValidateBeforeCall(String accountId, String callI * @param updateCall JSON object containing information to redirect an existing call to a new BXML document (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -743,7 +757,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -772,7 +787,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -801,7 +817,8 @@ public okhttp3.Call updateCallAsync(String accountId, String callId, UpdateCall * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -891,7 +908,8 @@ private okhttp3.Call updateCallBxmlValidateBeforeCall(String accountId, String c * @param body (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details -
Response Details
Status Code Description Response Headers
204 Call BXML was successfully replaced. -
400 Bad Request -
+
+ @@ -918,7 +936,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Call BXML was successfully replaced. -
400 Bad Request -
+
+ @@ -947,7 +966,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Call BXML was successfully replaced. -
400 Bad Request -
+
+ diff --git a/src/main/java/com/bandwidth/sdk/api/ConferencesApi.java b/src/main/java/com/bandwidth/sdk/api/ConferencesApi.java index 650e00e5..aaf24a61 100644 --- a/src/main/java/com/bandwidth/sdk/api/ConferencesApi.java +++ b/src/main/java/com/bandwidth/sdk/api/ConferencesApi.java @@ -87,7 +87,8 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Response Details
Status Code Description Response Headers
204 Call BXML was successfully replaced. -
400 Bad Request -
+
+ @@ -179,7 +180,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -206,7 +208,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -235,7 +238,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -263,7 +267,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -346,7 +351,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -372,7 +378,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -400,7 +407,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -429,7 +437,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -519,7 +528,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -546,7 +556,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -575,7 +586,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -604,7 +616,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -694,7 +707,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -721,7 +735,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -750,7 +765,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -778,7 +794,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -861,7 +878,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -887,7 +905,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -915,7 +934,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -947,7 +967,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1048,7 +1069,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1078,7 +1100,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1110,7 +1133,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1139,7 +1163,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1228,7 +1253,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Conference was successfully modified. -
400 Bad Request -
+
+ @@ -1254,7 +1280,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Conference was successfully modified. -
400 Bad Request -
+
+ @@ -1282,7 +1309,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Conference was successfully modified. -
400 Bad Request -
+
+ @@ -1310,7 +1338,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Conference was successfully modified. -
400 Bad Request -
+
+ @@ -1399,7 +1428,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Conference successfully modified. -
400 Bad Request -
+
+ @@ -1425,7 +1455,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Conference successfully modified. -
400 Bad Request -
+
+ @@ -1453,7 +1484,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Conference successfully modified. -
400 Bad Request -
+
+ @@ -1482,7 +1514,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Conference successfully modified. -
400 Bad Request -
+
+ @@ -1578,7 +1611,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Conference member was successfully modified. -
400 Bad Request -
+
+ @@ -1605,7 +1639,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Conference member was successfully modified. -
400 Bad Request -
+
+ @@ -1634,7 +1669,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Conference member was successfully modified. -
400 Bad Request -
+
+ diff --git a/src/main/java/com/bandwidth/sdk/api/MediaApi.java b/src/main/java/com/bandwidth/sdk/api/MediaApi.java index 6612638a..82f67b12 100644 --- a/src/main/java/com/bandwidth/sdk/api/MediaApi.java +++ b/src/main/java/com/bandwidth/sdk/api/MediaApi.java @@ -82,7 +82,8 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Response Details
Status Code Description Response Headers
204 Conference member was successfully modified. -
400 Bad Request -
+
+ @@ -164,7 +165,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 No Content -
400 Bad Request -
+
+ @@ -189,7 +191,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 No Content -
400 Bad Request -
+
+ @@ -216,7 +219,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 No Content -
400 Bad Request -
+
+ @@ -243,7 +247,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 No Content -
400 Bad Request -
+
+ @@ -327,7 +332,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -353,7 +359,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -381,7 +388,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -409,7 +417,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -491,7 +500,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK * Continuation-Token - Continuation token used to retrieve subsequent media.
400 Bad Request -
+
+ @@ -517,7 +527,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK * Continuation-Token - Continuation token used to retrieve subsequent media.
400 Bad Request -
+
+ @@ -545,7 +556,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK * Continuation-Token - Continuation token used to retrieve subsequent media.
400 Bad Request -
+
+ @@ -576,7 +588,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK * Continuation-Token - Continuation token used to retrieve subsequent media.
400 Bad Request -
+
+ @@ -720,7 +733,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 No Content -
400 Bad Request -
+
+ @@ -748,7 +762,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 No Content -
400 Bad Request -
+
+ @@ -778,7 +793,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 No Content -
400 Bad Request -
+
+ diff --git a/src/main/java/com/bandwidth/sdk/api/MessagesApi.java b/src/main/java/com/bandwidth/sdk/api/MessagesApi.java index cf9c9914..bd4db0c3 100644 --- a/src/main/java/com/bandwidth/sdk/api/MessagesApi.java +++ b/src/main/java/com/bandwidth/sdk/api/MessagesApi.java @@ -87,7 +87,8 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Response Details
Status Code Description Response Headers
204 No Content -
400 Bad Request -
+
+ @@ -170,7 +171,8 @@ 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 -
Response Details
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
+
+ @@ -196,7 +198,8 @@ 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 -
Response Details
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
+
+ @@ -224,7 +227,8 @@ 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 -
Response Details
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
+
+ @@ -266,7 +270,8 @@ 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 -
Response Details
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
+
+ @@ -416,7 +421,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -455,7 +461,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -496,7 +503,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ diff --git a/src/main/java/com/bandwidth/sdk/api/MfaApi.java b/src/main/java/com/bandwidth/sdk/api/MfaApi.java index 20a0b22f..d13c9a70 100644 --- a/src/main/java/com/bandwidth/sdk/api/MfaApi.java +++ b/src/main/java/com/bandwidth/sdk/api/MfaApi.java @@ -87,7 +87,8 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -166,7 +167,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -188,7 +190,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -212,7 +215,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -236,7 +240,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -315,7 +320,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -337,7 +343,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -361,7 +368,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -385,7 +393,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -465,7 +474,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -488,7 +498,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -513,7 +524,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ diff --git a/src/main/java/com/bandwidth/sdk/api/PhoneNumberLookupApi.java b/src/main/java/com/bandwidth/sdk/api/PhoneNumberLookupApi.java index 36eec73b..11ff5ab2 100644 --- a/src/main/java/com/bandwidth/sdk/api/PhoneNumberLookupApi.java +++ b/src/main/java/com/bandwidth/sdk/api/PhoneNumberLookupApi.java @@ -83,7 +83,8 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -164,7 +165,8 @@ 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 -
Response Details
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
+
+ @@ -188,7 +190,8 @@ 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 -
Response Details
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
+
+ @@ -214,7 +217,8 @@ 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 -
Response Details
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
+
+ @@ -240,7 +244,8 @@ 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 -
Response Details
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
+
+ @@ -321,7 +326,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -345,7 +351,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -371,7 +378,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ diff --git a/src/main/java/com/bandwidth/sdk/api/RecordingsApi.java b/src/main/java/com/bandwidth/sdk/api/RecordingsApi.java index 07b69c33..e4700c63 100644 --- a/src/main/java/com/bandwidth/sdk/api/RecordingsApi.java +++ b/src/main/java/com/bandwidth/sdk/api/RecordingsApi.java @@ -86,7 +86,8 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -175,7 +176,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Recording was deleted. -
400 Bad Request -
+
+ @@ -201,7 +203,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Recording was deleted. -
400 Bad Request -
+
+ @@ -229,7 +232,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Recording was deleted. -
400 Bad Request -
+
+ @@ -257,7 +261,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Recording was deleted. -
400 Bad Request -
+
+ @@ -346,7 +351,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 The recording media was successfully deleted. -
400 Bad Request -
+
+ @@ -372,7 +378,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 The recording media was successfully deleted. -
400 Bad Request -
+
+ @@ -400,7 +407,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 The recording media was successfully deleted. -
400 Bad Request -
+
+ @@ -428,7 +436,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 The recording media was successfully deleted. -
400 Bad Request -
+
+ @@ -517,7 +526,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 The transcription was successfully deleted. -
400 Bad Request -
+
+ @@ -543,7 +553,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 The transcription was successfully deleted. -
400 Bad Request -
+
+ @@ -571,7 +582,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 The transcription was successfully deleted. -
400 Bad Request -
+
+ @@ -599,7 +611,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 The transcription was successfully deleted. -
400 Bad Request -
+
+ @@ -691,7 +704,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -718,7 +732,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -747,7 +762,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -776,7 +792,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -866,7 +883,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -893,7 +911,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -922,7 +941,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -951,7 +971,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1041,7 +1062,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1068,7 +1090,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1097,7 +1120,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1128,7 +1152,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1224,7 +1249,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1253,7 +1279,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1284,7 +1311,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1312,7 +1340,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1395,7 +1424,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1421,7 +1451,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1449,7 +1480,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1479,7 +1511,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1575,7 +1608,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Transcription was successfully requested. -
400 Bad Request -
+
+ @@ -1602,7 +1636,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Transcription was successfully requested. -
400 Bad Request -
+
+ @@ -1631,7 +1666,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Transcription was successfully requested. -
400 Bad Request -
+
+ @@ -1659,7 +1695,8 @@ 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 -
Response Details
Status Code Description Response Headers
204 Transcription was successfully requested. -
400 Bad Request -
+
+ @@ -1748,7 +1785,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1774,7 +1812,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -1802,7 +1841,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ diff --git a/src/main/java/com/bandwidth/sdk/api/StatisticsApi.java b/src/main/java/com/bandwidth/sdk/api/StatisticsApi.java index 91782d1f..8260db2d 100644 --- a/src/main/java/com/bandwidth/sdk/api/StatisticsApi.java +++ b/src/main/java/com/bandwidth/sdk/api/StatisticsApi.java @@ -80,7 +80,8 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -156,7 +157,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -181,7 +183,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -208,7 +211,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ diff --git a/src/main/java/com/bandwidth/sdk/api/TranscriptionsApi.java b/src/main/java/com/bandwidth/sdk/api/TranscriptionsApi.java index 9af8107d..ab0de44a 100644 --- a/src/main/java/com/bandwidth/sdk/api/TranscriptionsApi.java +++ b/src/main/java/com/bandwidth/sdk/api/TranscriptionsApi.java @@ -83,7 +83,8 @@ public void setCustomBaseUrl(String customBaseUrl) { * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -172,7 +173,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 No Content -
400 Bad Request -
+
+ @@ -198,7 +200,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 No Content -
400 Bad Request -
+
+ @@ -226,7 +229,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 No Content -
400 Bad Request -
+
+ @@ -254,7 +258,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 No Content -
400 Bad Request -
+
+ @@ -344,7 +349,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -371,7 +377,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -400,7 +407,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -428,7 +436,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -511,7 +520,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -537,7 +547,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ @@ -565,7 +576,8 @@ 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 -
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -
+
+ diff --git a/src/main/java/com/bandwidth/sdk/auth/ApiKeyAuth.java b/src/main/java/com/bandwidth/sdk/auth/ApiKeyAuth.java index 605123e4..61bbc92e 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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 942a7a45..565d3c51 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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 19e68c2b..3c487529 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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 38a7a496..6068f9f0 100644 --- a/src/main/java/com/bandwidth/sdk/model/AccountStatistics.java +++ b/src/main/java/com/bandwidth/sdk/model/AccountStatistics.java @@ -48,20 +48,22 @@ /** * AccountStatistics */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(Integer currentCallQueueSize) { + public AccountStatistics currentCallQueueSize(@javax.annotation.Nullable Integer currentCallQueueSize) { this.currentCallQueueSize = currentCallQueueSize; return this; } @@ -75,12 +77,12 @@ public Integer getCurrentCallQueueSize() { return currentCallQueueSize; } - public void setCurrentCallQueueSize(Integer currentCallQueueSize) { + public void setCurrentCallQueueSize(@javax.annotation.Nullable Integer currentCallQueueSize) { this.currentCallQueueSize = currentCallQueueSize; } - public AccountStatistics maxCallQueueSize(Integer maxCallQueueSize) { + public AccountStatistics maxCallQueueSize(@javax.annotation.Nullable Integer maxCallQueueSize) { this.maxCallQueueSize = maxCallQueueSize; return this; } @@ -94,7 +96,7 @@ public Integer getMaxCallQueueSize() { return maxCallQueueSize; } - public void setMaxCallQueueSize(Integer maxCallQueueSize) { + public void setMaxCallQueueSize(@javax.annotation.Nullable 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 a57f18e7..1805765d 100644 --- a/src/main/java/com/bandwidth/sdk/model/AnswerCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/AnswerCallback.java @@ -53,68 +53,82 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public AnswerCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -128,12 +142,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public AnswerCallback eventTime(OffsetDateTime eventTime) { + public AnswerCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -147,12 +161,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public AnswerCallback accountId(String accountId) { + public AnswerCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -166,12 +180,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public AnswerCallback applicationId(String applicationId) { + public AnswerCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -185,12 +199,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public AnswerCallback from(String from) { + public AnswerCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -204,12 +218,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public AnswerCallback to(String to) { + public AnswerCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -223,12 +237,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public AnswerCallback direction(CallDirectionEnum direction) { + public AnswerCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -242,12 +256,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public AnswerCallback callId(String callId) { + public AnswerCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -261,12 +275,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public AnswerCallback callUrl(URI callUrl) { + public AnswerCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -280,12 +294,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public AnswerCallback enqueuedTime(OffsetDateTime enqueuedTime) { + public AnswerCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -299,12 +313,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public AnswerCallback startTime(OffsetDateTime startTime) { + public AnswerCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -318,12 +332,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public AnswerCallback answerTime(OffsetDateTime answerTime) { + public AnswerCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -337,12 +351,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(OffsetDateTime answerTime) { + public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; } - public AnswerCallback tag(String tag) { + public AnswerCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -356,12 +370,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public AnswerCallback machineDetectionResult(MachineDetectionResult machineDetectionResult) { + public AnswerCallback machineDetectionResult(@javax.annotation.Nullable MachineDetectionResult machineDetectionResult) { this.machineDetectionResult = machineDetectionResult; return this; } @@ -375,7 +389,7 @@ public MachineDetectionResult getMachineDetectionResult() { return machineDetectionResult; } - public void setMachineDetectionResult(MachineDetectionResult machineDetectionResult) { + public void setMachineDetectionResult(@javax.annotation.Nullable 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 5fddd064..1550d1f6 100644 --- a/src/main/java/com/bandwidth/sdk/model/BridgeCompleteCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/BridgeCompleteCallback.java @@ -52,76 +52,92 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public BridgeCompleteCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -135,12 +151,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public BridgeCompleteCallback eventTime(OffsetDateTime eventTime) { + public BridgeCompleteCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -154,12 +170,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public BridgeCompleteCallback accountId(String accountId) { + public BridgeCompleteCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -173,12 +189,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public BridgeCompleteCallback applicationId(String applicationId) { + public BridgeCompleteCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -192,12 +208,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public BridgeCompleteCallback from(String from) { + public BridgeCompleteCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -211,12 +227,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public BridgeCompleteCallback to(String to) { + public BridgeCompleteCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -230,12 +246,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public BridgeCompleteCallback direction(CallDirectionEnum direction) { + public BridgeCompleteCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -249,12 +265,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public BridgeCompleteCallback callId(String callId) { + public BridgeCompleteCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -268,12 +284,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public BridgeCompleteCallback callUrl(URI callUrl) { + public BridgeCompleteCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -287,12 +303,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public BridgeCompleteCallback enqueuedTime(OffsetDateTime enqueuedTime) { + public BridgeCompleteCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -306,12 +322,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public BridgeCompleteCallback startTime(OffsetDateTime startTime) { + public BridgeCompleteCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -325,12 +341,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public BridgeCompleteCallback answerTime(OffsetDateTime answerTime) { + public BridgeCompleteCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -344,12 +360,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(OffsetDateTime answerTime) { + public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; } - public BridgeCompleteCallback tag(String tag) { + public BridgeCompleteCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -363,12 +379,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public BridgeCompleteCallback cause(String cause) { + public BridgeCompleteCallback cause(@javax.annotation.Nullable String cause) { this.cause = cause; return this; } @@ -382,12 +398,12 @@ public String getCause() { return cause; } - public void setCause(String cause) { + public void setCause(@javax.annotation.Nullable String cause) { this.cause = cause; } - public BridgeCompleteCallback errorMessage(String errorMessage) { + public BridgeCompleteCallback errorMessage(@javax.annotation.Nullable String errorMessage) { this.errorMessage = errorMessage; return this; } @@ -401,12 +417,12 @@ public String getErrorMessage() { return errorMessage; } - public void setErrorMessage(String errorMessage) { + public void setErrorMessage(@javax.annotation.Nullable String errorMessage) { this.errorMessage = errorMessage; } - public BridgeCompleteCallback errorId(String errorId) { + public BridgeCompleteCallback errorId(@javax.annotation.Nullable String errorId) { this.errorId = errorId; return this; } @@ -420,7 +436,7 @@ public String getErrorId() { return errorId; } - public void setErrorId(String errorId) { + public void setErrorId(@javax.annotation.Nullable 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 a4454556..204d6cf8 100644 --- a/src/main/java/com/bandwidth/sdk/model/BridgeTargetCompleteCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/BridgeTargetCompleteCallback.java @@ -52,64 +52,77 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public BridgeTargetCompleteCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -123,12 +136,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public BridgeTargetCompleteCallback eventTime(OffsetDateTime eventTime) { + public BridgeTargetCompleteCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -142,12 +155,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public BridgeTargetCompleteCallback accountId(String accountId) { + public BridgeTargetCompleteCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -161,12 +174,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public BridgeTargetCompleteCallback applicationId(String applicationId) { + public BridgeTargetCompleteCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -180,12 +193,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public BridgeTargetCompleteCallback from(String from) { + public BridgeTargetCompleteCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -199,12 +212,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public BridgeTargetCompleteCallback to(String to) { + public BridgeTargetCompleteCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -218,12 +231,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public BridgeTargetCompleteCallback direction(CallDirectionEnum direction) { + public BridgeTargetCompleteCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -237,12 +250,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public BridgeTargetCompleteCallback callId(String callId) { + public BridgeTargetCompleteCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -256,12 +269,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public BridgeTargetCompleteCallback callUrl(URI callUrl) { + public BridgeTargetCompleteCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -275,12 +288,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public BridgeTargetCompleteCallback enqueuedTime(OffsetDateTime enqueuedTime) { + public BridgeTargetCompleteCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -294,12 +307,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public BridgeTargetCompleteCallback startTime(OffsetDateTime startTime) { + public BridgeTargetCompleteCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -313,12 +326,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public BridgeTargetCompleteCallback answerTime(OffsetDateTime answerTime) { + public BridgeTargetCompleteCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -332,12 +345,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(OffsetDateTime answerTime) { + public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; } - public BridgeTargetCompleteCallback tag(String tag) { + public BridgeTargetCompleteCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -351,7 +364,7 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable 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 1d540844..6247baa9 100644 --- a/src/main/java/com/bandwidth/sdk/model/CallRecordingMetadata.java +++ b/src/main/java/com/bandwidth/sdk/model/CallRecordingMetadata.java @@ -54,88 +54,107 @@ /** * CallRecordingMetadata */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String applicationId) { + public CallRecordingMetadata applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -149,12 +168,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public CallRecordingMetadata accountId(String accountId) { + public CallRecordingMetadata accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -168,12 +187,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public CallRecordingMetadata callId(String callId) { + public CallRecordingMetadata callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -187,12 +206,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public CallRecordingMetadata parentCallId(String parentCallId) { + public CallRecordingMetadata parentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -206,12 +225,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(String parentCallId) { + public void setParentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; } - public CallRecordingMetadata recordingId(String recordingId) { + public CallRecordingMetadata recordingId(@javax.annotation.Nullable String recordingId) { this.recordingId = recordingId; return this; } @@ -225,12 +244,12 @@ public String getRecordingId() { return recordingId; } - public void setRecordingId(String recordingId) { + public void setRecordingId(@javax.annotation.Nullable String recordingId) { this.recordingId = recordingId; } - public CallRecordingMetadata to(String to) { + public CallRecordingMetadata to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -244,12 +263,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public CallRecordingMetadata from(String from) { + public CallRecordingMetadata from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -263,12 +282,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public CallRecordingMetadata transferCallerId(String transferCallerId) { + public CallRecordingMetadata transferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -282,12 +301,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(String transferCallerId) { + public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; } - public CallRecordingMetadata transferTo(String transferTo) { + public CallRecordingMetadata transferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; return this; } @@ -301,12 +320,12 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(String transferTo) { + public void setTransferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; } - public CallRecordingMetadata duration(String duration) { + public CallRecordingMetadata duration(@javax.annotation.Nullable String duration) { this.duration = duration; return this; } @@ -320,12 +339,12 @@ public String getDuration() { return duration; } - public void setDuration(String duration) { + public void setDuration(@javax.annotation.Nullable String duration) { this.duration = duration; } - public CallRecordingMetadata direction(CallDirectionEnum direction) { + public CallRecordingMetadata direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -339,12 +358,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public CallRecordingMetadata channels(Integer channels) { + public CallRecordingMetadata channels(@javax.annotation.Nullable Integer channels) { this.channels = channels; return this; } @@ -358,12 +377,12 @@ public Integer getChannels() { return channels; } - public void setChannels(Integer channels) { + public void setChannels(@javax.annotation.Nullable Integer channels) { this.channels = channels; } - public CallRecordingMetadata startTime(OffsetDateTime startTime) { + public CallRecordingMetadata startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -377,12 +396,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public CallRecordingMetadata endTime(OffsetDateTime endTime) { + public CallRecordingMetadata endTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -396,12 +415,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(OffsetDateTime endTime) { + public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; } - public CallRecordingMetadata fileFormat(FileFormatEnum fileFormat) { + public CallRecordingMetadata fileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { this.fileFormat = fileFormat; return this; } @@ -415,12 +434,12 @@ public FileFormatEnum getFileFormat() { return fileFormat; } - public void setFileFormat(FileFormatEnum fileFormat) { + public void setFileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { this.fileFormat = fileFormat; } - public CallRecordingMetadata status(String status) { + public CallRecordingMetadata status(@javax.annotation.Nullable String status) { this.status = status; return this; } @@ -434,12 +453,12 @@ public String getStatus() { return status; } - public void setStatus(String status) { + public void setStatus(@javax.annotation.Nullable String status) { this.status = status; } - public CallRecordingMetadata mediaUrl(URI mediaUrl) { + public CallRecordingMetadata mediaUrl(@javax.annotation.Nullable URI mediaUrl) { this.mediaUrl = mediaUrl; return this; } @@ -453,12 +472,12 @@ public URI getMediaUrl() { return mediaUrl; } - public void setMediaUrl(URI mediaUrl) { + public void setMediaUrl(@javax.annotation.Nullable URI mediaUrl) { this.mediaUrl = mediaUrl; } - public CallRecordingMetadata transcription(RecordingTranscriptionMetadata transcription) { + public CallRecordingMetadata transcription(@javax.annotation.Nullable RecordingTranscriptionMetadata transcription) { this.transcription = transcription; return this; } @@ -472,12 +491,12 @@ public RecordingTranscriptionMetadata getTranscription() { return transcription; } - public void setTranscription(RecordingTranscriptionMetadata transcription) { + public void setTranscription(@javax.annotation.Nullable RecordingTranscriptionMetadata transcription) { this.transcription = transcription; } - public CallRecordingMetadata recordingName(String recordingName) { + public CallRecordingMetadata recordingName(@javax.annotation.Nullable String recordingName) { this.recordingName = recordingName; return this; } @@ -491,7 +510,7 @@ public String getRecordingName() { return recordingName; } - public void setRecordingName(String recordingName) { + public void setRecordingName(@javax.annotation.Nullable 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 8926cda1..4e3a766a 100644 --- a/src/main/java/com/bandwidth/sdk/model/CallState.java +++ b/src/main/java/com/bandwidth/sdk/model/CallState.java @@ -53,84 +53,102 @@ /** * CallState */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String applicationId) { + public CallState applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -144,12 +162,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public CallState accountId(String accountId) { + public CallState accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -163,12 +181,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public CallState callId(String callId) { + public CallState callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -182,12 +200,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public CallState parentCallId(String parentCallId) { + public CallState parentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -201,12 +219,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(String parentCallId) { + public void setParentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; } - public CallState to(String to) { + public CallState to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -220,12 +238,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public CallState from(String from) { + public CallState from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -239,12 +257,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public CallState direction(CallDirectionEnum direction) { + public CallState direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -258,12 +276,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public CallState state(String state) { + public CallState state(@javax.annotation.Nullable String state) { this.state = state; return this; } @@ -277,12 +295,12 @@ public String getState() { return state; } - public void setState(String state) { + public void setState(@javax.annotation.Nullable String state) { this.state = state; } - public CallState stirShaken(Map stirShaken) { + public CallState stirShaken(@javax.annotation.Nullable Map stirShaken) { this.stirShaken = stirShaken; return this; } @@ -304,12 +322,12 @@ public Map getStirShaken() { return stirShaken; } - public void setStirShaken(Map stirShaken) { + public void setStirShaken(@javax.annotation.Nullable Map stirShaken) { this.stirShaken = stirShaken; } - public CallState identity(String identity) { + public CallState identity(@javax.annotation.Nullable String identity) { this.identity = identity; return this; } @@ -323,12 +341,12 @@ public String getIdentity() { return identity; } - public void setIdentity(String identity) { + public void setIdentity(@javax.annotation.Nullable String identity) { this.identity = identity; } - public CallState enqueuedTime(OffsetDateTime enqueuedTime) { + public CallState enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -342,12 +360,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public CallState startTime(OffsetDateTime startTime) { + public CallState startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -361,12 +379,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public CallState answerTime(OffsetDateTime answerTime) { + public CallState answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -380,12 +398,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(OffsetDateTime answerTime) { + public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; } - public CallState endTime(OffsetDateTime endTime) { + public CallState endTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -399,12 +417,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(OffsetDateTime endTime) { + public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; } - public CallState disconnectCause(String disconnectCause) { + public CallState disconnectCause(@javax.annotation.Nullable String disconnectCause) { this.disconnectCause = disconnectCause; return this; } @@ -418,12 +436,12 @@ public String getDisconnectCause() { return disconnectCause; } - public void setDisconnectCause(String disconnectCause) { + public void setDisconnectCause(@javax.annotation.Nullable String disconnectCause) { this.disconnectCause = disconnectCause; } - public CallState errorMessage(String errorMessage) { + public CallState errorMessage(@javax.annotation.Nullable String errorMessage) { this.errorMessage = errorMessage; return this; } @@ -437,12 +455,12 @@ public String getErrorMessage() { return errorMessage; } - public void setErrorMessage(String errorMessage) { + public void setErrorMessage(@javax.annotation.Nullable String errorMessage) { this.errorMessage = errorMessage; } - public CallState errorId(String errorId) { + public CallState errorId(@javax.annotation.Nullable String errorId) { this.errorId = errorId; return this; } @@ -456,12 +474,12 @@ public String getErrorId() { return errorId; } - public void setErrorId(String errorId) { + public void setErrorId(@javax.annotation.Nullable String errorId) { this.errorId = errorId; } - public CallState lastUpdate(OffsetDateTime lastUpdate) { + public CallState lastUpdate(@javax.annotation.Nullable OffsetDateTime lastUpdate) { this.lastUpdate = lastUpdate; return this; } @@ -475,7 +493,7 @@ public OffsetDateTime getLastUpdate() { return lastUpdate; } - public void setLastUpdate(OffsetDateTime lastUpdate) { + public void setLastUpdate(@javax.annotation.Nullable 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 23f372f0..c166e71b 100644 --- a/src/main/java/com/bandwidth/sdk/model/CallTranscription.java +++ b/src/main/java/com/bandwidth/sdk/model/CallTranscription.java @@ -50,28 +50,32 @@ /** * CallTranscription */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(CallTranscriptionDetectedLanguageEnum detectedLanguage) { + public CallTranscription detectedLanguage(@javax.annotation.Nullable CallTranscriptionDetectedLanguageEnum detectedLanguage) { this.detectedLanguage = detectedLanguage; return this; } @@ -85,12 +89,12 @@ public CallTranscriptionDetectedLanguageEnum getDetectedLanguage() { return detectedLanguage; } - public void setDetectedLanguage(CallTranscriptionDetectedLanguageEnum detectedLanguage) { + public void setDetectedLanguage(@javax.annotation.Nullable CallTranscriptionDetectedLanguageEnum detectedLanguage) { this.detectedLanguage = detectedLanguage; } - public CallTranscription track(CallTranscriptionTrackEnum track) { + public CallTranscription track(@javax.annotation.Nullable CallTranscriptionTrackEnum track) { this.track = track; return this; } @@ -104,12 +108,12 @@ public CallTranscriptionTrackEnum getTrack() { return track; } - public void setTrack(CallTranscriptionTrackEnum track) { + public void setTrack(@javax.annotation.Nullable CallTranscriptionTrackEnum track) { this.track = track; } - public CallTranscription transcript(String transcript) { + public CallTranscription transcript(@javax.annotation.Nullable String transcript) { this.transcript = transcript; return this; } @@ -123,12 +127,12 @@ public String getTranscript() { return transcript; } - public void setTranscript(String transcript) { + public void setTranscript(@javax.annotation.Nullable String transcript) { this.transcript = transcript; } - public CallTranscription confidence(Double confidence) { + public CallTranscription confidence(@javax.annotation.Nullable Double confidence) { this.confidence = confidence; return this; } @@ -144,7 +148,7 @@ public Double getConfidence() { return confidence; } - public void setConfidence(Double confidence) { + public void setConfidence(@javax.annotation.Nullable 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 682601b6..19bf508b 100644 --- a/src/main/java/com/bandwidth/sdk/model/CallTranscriptionMetadata.java +++ b/src/main/java/com/bandwidth/sdk/model/CallTranscriptionMetadata.java @@ -48,24 +48,27 @@ /** * CallTranscriptionMetadata */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String transcriptionId) { + public CallTranscriptionMetadata transcriptionId(@javax.annotation.Nullable String transcriptionId) { this.transcriptionId = transcriptionId; return this; } @@ -79,12 +82,12 @@ public String getTranscriptionId() { return transcriptionId; } - public void setTranscriptionId(String transcriptionId) { + public void setTranscriptionId(@javax.annotation.Nullable String transcriptionId) { this.transcriptionId = transcriptionId; } - public CallTranscriptionMetadata transcriptionName(String transcriptionName) { + public CallTranscriptionMetadata transcriptionName(@javax.annotation.Nullable String transcriptionName) { this.transcriptionName = transcriptionName; return this; } @@ -98,12 +101,12 @@ public String getTranscriptionName() { return transcriptionName; } - public void setTranscriptionName(String transcriptionName) { + public void setTranscriptionName(@javax.annotation.Nullable String transcriptionName) { this.transcriptionName = transcriptionName; } - public CallTranscriptionMetadata transcriptionUrl(String transcriptionUrl) { + public CallTranscriptionMetadata transcriptionUrl(@javax.annotation.Nullable String transcriptionUrl) { this.transcriptionUrl = transcriptionUrl; return this; } @@ -117,7 +120,7 @@ public String getTranscriptionUrl() { return transcriptionUrl; } - public void setTranscriptionUrl(String transcriptionUrl) { + public void setTranscriptionUrl(@javax.annotation.Nullable 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 9e2e6e8d..d1c4603e 100644 --- a/src/main/java/com/bandwidth/sdk/model/CallTranscriptionResponse.java +++ b/src/main/java/com/bandwidth/sdk/model/CallTranscriptionResponse.java @@ -51,28 +51,32 @@ /** * CallTranscriptionResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String accountId) { + public CallTranscriptionResponse accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -86,12 +90,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public CallTranscriptionResponse callId(String callId) { + public CallTranscriptionResponse callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -105,12 +109,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public CallTranscriptionResponse transcriptionId(String transcriptionId) { + public CallTranscriptionResponse transcriptionId(@javax.annotation.Nullable String transcriptionId) { this.transcriptionId = transcriptionId; return this; } @@ -124,12 +128,12 @@ public String getTranscriptionId() { return transcriptionId; } - public void setTranscriptionId(String transcriptionId) { + public void setTranscriptionId(@javax.annotation.Nullable String transcriptionId) { this.transcriptionId = transcriptionId; } - public CallTranscriptionResponse tracks(List tracks) { + public CallTranscriptionResponse tracks(@javax.annotation.Nullable List tracks) { this.tracks = tracks; return this; } @@ -151,7 +155,7 @@ public List getTracks() { return tracks; } - public void setTracks(List tracks) { + public void setTracks(@javax.annotation.Nullable 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 f3c2141f..06e06d9b 100644 --- a/src/main/java/com/bandwidth/sdk/model/CodeRequest.java +++ b/src/main/java/com/bandwidth/sdk/model/CodeRequest.java @@ -48,36 +48,42 @@ /** * CodeRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String to) { + public CodeRequest to(@javax.annotation.Nonnull String to) { this.to = to; return this; } @@ -91,12 +97,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nonnull String to) { this.to = to; } - public CodeRequest from(String from) { + public CodeRequest from(@javax.annotation.Nonnull String from) { this.from = from; return this; } @@ -110,12 +116,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nonnull String from) { this.from = from; } - public CodeRequest applicationId(String applicationId) { + public CodeRequest applicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; return this; } @@ -129,12 +135,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; } - public CodeRequest scope(String scope) { + public CodeRequest scope(@javax.annotation.Nullable String scope) { this.scope = scope; return this; } @@ -148,12 +154,12 @@ public String getScope() { return scope; } - public void setScope(String scope) { + public void setScope(@javax.annotation.Nullable String scope) { this.scope = scope; } - public CodeRequest message(String message) { + public CodeRequest message(@javax.annotation.Nonnull String message) { this.message = message; return this; } @@ -167,12 +173,12 @@ public String getMessage() { return message; } - public void setMessage(String message) { + public void setMessage(@javax.annotation.Nonnull String message) { this.message = message; } - public CodeRequest digits(Integer digits) { + public CodeRequest digits(@javax.annotation.Nonnull Integer digits) { this.digits = digits; return this; } @@ -188,7 +194,7 @@ public Integer getDigits() { return digits; } - public void setDigits(Integer digits) { + public void setDigits(@javax.annotation.Nonnull 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 26a4bcc3..5522b692 100644 --- a/src/main/java/com/bandwidth/sdk/model/Conference.java +++ b/src/main/java/com/bandwidth/sdk/model/Conference.java @@ -55,44 +55,52 @@ /** * Conference */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String id) { + public Conference id(@javax.annotation.Nullable String id) { this.id = id; return this; } @@ -106,12 +114,12 @@ public String getId() { return id; } - public void setId(String id) { + public void setId(@javax.annotation.Nullable String id) { this.id = id; } - public Conference name(String name) { + public Conference name(@javax.annotation.Nullable String name) { this.name = name; return this; } @@ -125,12 +133,12 @@ public String getName() { return name; } - public void setName(String name) { + public void setName(@javax.annotation.Nullable String name) { this.name = name; } - public Conference createdTime(OffsetDateTime createdTime) { + public Conference createdTime(@javax.annotation.Nullable OffsetDateTime createdTime) { this.createdTime = createdTime; return this; } @@ -144,12 +152,12 @@ public OffsetDateTime getCreatedTime() { return createdTime; } - public void setCreatedTime(OffsetDateTime createdTime) { + public void setCreatedTime(@javax.annotation.Nullable OffsetDateTime createdTime) { this.createdTime = createdTime; } - public Conference completedTime(OffsetDateTime completedTime) { + public Conference completedTime(@javax.annotation.Nullable OffsetDateTime completedTime) { this.completedTime = completedTime; return this; } @@ -163,12 +171,12 @@ public OffsetDateTime getCompletedTime() { return completedTime; } - public void setCompletedTime(OffsetDateTime completedTime) { + public void setCompletedTime(@javax.annotation.Nullable OffsetDateTime completedTime) { this.completedTime = completedTime; } - public Conference conferenceEventUrl(URI conferenceEventUrl) { + public Conference conferenceEventUrl(@javax.annotation.Nullable URI conferenceEventUrl) { this.conferenceEventUrl = conferenceEventUrl; return this; } @@ -182,12 +190,12 @@ public URI getConferenceEventUrl() { return conferenceEventUrl; } - public void setConferenceEventUrl(URI conferenceEventUrl) { + public void setConferenceEventUrl(@javax.annotation.Nullable URI conferenceEventUrl) { this.conferenceEventUrl = conferenceEventUrl; } - public Conference conferenceEventMethod(CallbackMethodEnum conferenceEventMethod) { + public Conference conferenceEventMethod(@javax.annotation.Nullable CallbackMethodEnum conferenceEventMethod) { this.conferenceEventMethod = conferenceEventMethod; return this; } @@ -201,12 +209,12 @@ public CallbackMethodEnum getConferenceEventMethod() { return conferenceEventMethod; } - public void setConferenceEventMethod(CallbackMethodEnum conferenceEventMethod) { + public void setConferenceEventMethod(@javax.annotation.Nullable CallbackMethodEnum conferenceEventMethod) { this.conferenceEventMethod = conferenceEventMethod; } - public Conference tag(String tag) { + public Conference tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -220,12 +228,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public Conference activeMembers(List activeMembers) { + public Conference activeMembers(@javax.annotation.Nullable List activeMembers) { this.activeMembers = activeMembers; return this; } @@ -247,7 +255,7 @@ public List getActiveMembers() { return activeMembers; } - public void setActiveMembers(List activeMembers) { + public void setActiveMembers(@javax.annotation.Nullable 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 83f2d420..007d0144 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceCompletedCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceCompletedCallback.java @@ -50,32 +50,37 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public ConferenceCompletedCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -89,12 +94,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public ConferenceCompletedCallback eventTime(OffsetDateTime eventTime) { + public ConferenceCompletedCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -108,12 +113,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public ConferenceCompletedCallback conferenceId(String conferenceId) { + public ConferenceCompletedCallback conferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -127,12 +132,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(String conferenceId) { + public void setConferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceCompletedCallback name(String name) { + public ConferenceCompletedCallback name(@javax.annotation.Nullable String name) { this.name = name; return this; } @@ -146,12 +151,12 @@ public String getName() { return name; } - public void setName(String name) { + public void setName(@javax.annotation.Nullable String name) { this.name = name; } - public ConferenceCompletedCallback tag(String tag) { + public ConferenceCompletedCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -165,7 +170,7 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable 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 59f0ca41..30bf3e04 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceCreatedCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceCreatedCallback.java @@ -50,32 +50,37 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public ConferenceCreatedCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -89,12 +94,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public ConferenceCreatedCallback eventTime(OffsetDateTime eventTime) { + public ConferenceCreatedCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -108,12 +113,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public ConferenceCreatedCallback conferenceId(String conferenceId) { + public ConferenceCreatedCallback conferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -127,12 +132,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(String conferenceId) { + public void setConferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceCreatedCallback name(String name) { + public ConferenceCreatedCallback name(@javax.annotation.Nullable String name) { this.name = name; return this; } @@ -146,12 +151,12 @@ public String getName() { return name; } - public void setName(String name) { + public void setName(@javax.annotation.Nullable String name) { this.name = name; } - public ConferenceCreatedCallback tag(String tag) { + public ConferenceCreatedCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -165,7 +170,7 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable 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 80cbf433..ccb7abd6 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceMember.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceMember.java @@ -52,36 +52,42 @@ /** * ConferenceMember */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String callId) { + public ConferenceMember callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -95,12 +101,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public ConferenceMember conferenceId(String conferenceId) { + public ConferenceMember conferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -114,12 +120,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(String conferenceId) { + public void setConferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceMember memberUrl(URI memberUrl) { + public ConferenceMember memberUrl(@javax.annotation.Nullable URI memberUrl) { this.memberUrl = memberUrl; return this; } @@ -133,12 +139,12 @@ public URI getMemberUrl() { return memberUrl; } - public void setMemberUrl(URI memberUrl) { + public void setMemberUrl(@javax.annotation.Nullable URI memberUrl) { this.memberUrl = memberUrl; } - public ConferenceMember mute(Boolean mute) { + public ConferenceMember mute(@javax.annotation.Nullable Boolean mute) { this.mute = mute; return this; } @@ -152,12 +158,12 @@ public Boolean getMute() { return mute; } - public void setMute(Boolean mute) { + public void setMute(@javax.annotation.Nullable Boolean mute) { this.mute = mute; } - public ConferenceMember hold(Boolean hold) { + public ConferenceMember hold(@javax.annotation.Nullable Boolean hold) { this.hold = hold; return this; } @@ -171,12 +177,12 @@ public Boolean getHold() { return hold; } - public void setHold(Boolean hold) { + public void setHold(@javax.annotation.Nullable Boolean hold) { this.hold = hold; } - public ConferenceMember callIdsToCoach(List callIdsToCoach) { + public ConferenceMember callIdsToCoach(@javax.annotation.Nullable List callIdsToCoach) { this.callIdsToCoach = callIdsToCoach; return this; } @@ -198,7 +204,7 @@ public List getCallIdsToCoach() { return callIdsToCoach; } - public void setCallIdsToCoach(List callIdsToCoach) { + public void setCallIdsToCoach(@javax.annotation.Nullable 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 6532e391..82f93c9a 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceMemberExitCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceMemberExitCallback.java @@ -50,44 +50,52 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public ConferenceMemberExitCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -101,12 +109,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public ConferenceMemberExitCallback eventTime(OffsetDateTime eventTime) { + public ConferenceMemberExitCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -120,12 +128,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public ConferenceMemberExitCallback conferenceId(String conferenceId) { + public ConferenceMemberExitCallback conferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -139,12 +147,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(String conferenceId) { + public void setConferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceMemberExitCallback name(String name) { + public ConferenceMemberExitCallback name(@javax.annotation.Nullable String name) { this.name = name; return this; } @@ -158,12 +166,12 @@ public String getName() { return name; } - public void setName(String name) { + public void setName(@javax.annotation.Nullable String name) { this.name = name; } - public ConferenceMemberExitCallback from(String from) { + public ConferenceMemberExitCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -177,12 +185,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public ConferenceMemberExitCallback to(String to) { + public ConferenceMemberExitCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -196,12 +204,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public ConferenceMemberExitCallback callId(String callId) { + public ConferenceMemberExitCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -215,12 +223,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public ConferenceMemberExitCallback tag(String tag) { + public ConferenceMemberExitCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -234,7 +242,7 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable 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 8c8e6877..780c9390 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceMemberJoinCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceMemberJoinCallback.java @@ -50,44 +50,52 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public ConferenceMemberJoinCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -101,12 +109,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public ConferenceMemberJoinCallback eventTime(OffsetDateTime eventTime) { + public ConferenceMemberJoinCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -120,12 +128,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public ConferenceMemberJoinCallback conferenceId(String conferenceId) { + public ConferenceMemberJoinCallback conferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -139,12 +147,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(String conferenceId) { + public void setConferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceMemberJoinCallback name(String name) { + public ConferenceMemberJoinCallback name(@javax.annotation.Nullable String name) { this.name = name; return this; } @@ -158,12 +166,12 @@ public String getName() { return name; } - public void setName(String name) { + public void setName(@javax.annotation.Nullable String name) { this.name = name; } - public ConferenceMemberJoinCallback from(String from) { + public ConferenceMemberJoinCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -177,12 +185,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public ConferenceMemberJoinCallback to(String to) { + public ConferenceMemberJoinCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -196,12 +204,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public ConferenceMemberJoinCallback callId(String callId) { + public ConferenceMemberJoinCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -215,12 +223,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public ConferenceMemberJoinCallback tag(String tag) { + public ConferenceMemberJoinCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -234,7 +242,7 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable 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 97754c60..84c96c4c 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceRecordingAvailableCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceRecordingAvailableCallback.java @@ -52,68 +52,82 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public ConferenceRecordingAvailableCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -127,12 +141,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public ConferenceRecordingAvailableCallback eventTime(OffsetDateTime eventTime) { + public ConferenceRecordingAvailableCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -146,12 +160,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public ConferenceRecordingAvailableCallback conferenceId(String conferenceId) { + public ConferenceRecordingAvailableCallback conferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -165,12 +179,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(String conferenceId) { + public void setConferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceRecordingAvailableCallback name(String name) { + public ConferenceRecordingAvailableCallback name(@javax.annotation.Nullable String name) { this.name = name; return this; } @@ -184,12 +198,12 @@ public String getName() { return name; } - public void setName(String name) { + public void setName(@javax.annotation.Nullable String name) { this.name = name; } - public ConferenceRecordingAvailableCallback accountId(String accountId) { + public ConferenceRecordingAvailableCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -203,12 +217,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public ConferenceRecordingAvailableCallback recordingId(String recordingId) { + public ConferenceRecordingAvailableCallback recordingId(@javax.annotation.Nullable String recordingId) { this.recordingId = recordingId; return this; } @@ -222,12 +236,12 @@ public String getRecordingId() { return recordingId; } - public void setRecordingId(String recordingId) { + public void setRecordingId(@javax.annotation.Nullable String recordingId) { this.recordingId = recordingId; } - public ConferenceRecordingAvailableCallback channels(Integer channels) { + public ConferenceRecordingAvailableCallback channels(@javax.annotation.Nullable Integer channels) { this.channels = channels; return this; } @@ -241,12 +255,12 @@ public Integer getChannels() { return channels; } - public void setChannels(Integer channels) { + public void setChannels(@javax.annotation.Nullable Integer channels) { this.channels = channels; } - public ConferenceRecordingAvailableCallback startTime(OffsetDateTime startTime) { + public ConferenceRecordingAvailableCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -260,12 +274,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public ConferenceRecordingAvailableCallback endTime(OffsetDateTime endTime) { + public ConferenceRecordingAvailableCallback endTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -279,12 +293,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(OffsetDateTime endTime) { + public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; } - public ConferenceRecordingAvailableCallback duration(String duration) { + public ConferenceRecordingAvailableCallback duration(@javax.annotation.Nullable String duration) { this.duration = duration; return this; } @@ -298,12 +312,12 @@ public String getDuration() { return duration; } - public void setDuration(String duration) { + public void setDuration(@javax.annotation.Nullable String duration) { this.duration = duration; } - public ConferenceRecordingAvailableCallback fileFormat(FileFormatEnum fileFormat) { + public ConferenceRecordingAvailableCallback fileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { this.fileFormat = fileFormat; return this; } @@ -317,12 +331,12 @@ public FileFormatEnum getFileFormat() { return fileFormat; } - public void setFileFormat(FileFormatEnum fileFormat) { + public void setFileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { this.fileFormat = fileFormat; } - public ConferenceRecordingAvailableCallback mediaUrl(URI mediaUrl) { + public ConferenceRecordingAvailableCallback mediaUrl(@javax.annotation.Nullable URI mediaUrl) { this.mediaUrl = mediaUrl; return this; } @@ -336,12 +350,12 @@ public URI getMediaUrl() { return mediaUrl; } - public void setMediaUrl(URI mediaUrl) { + public void setMediaUrl(@javax.annotation.Nullable URI mediaUrl) { this.mediaUrl = mediaUrl; } - public ConferenceRecordingAvailableCallback tag(String tag) { + public ConferenceRecordingAvailableCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -355,12 +369,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public ConferenceRecordingAvailableCallback status(String status) { + public ConferenceRecordingAvailableCallback status(@javax.annotation.Nullable String status) { this.status = status; return this; } @@ -374,7 +388,7 @@ public String getStatus() { return status; } - public void setStatus(String status) { + public void setStatus(@javax.annotation.Nullable 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 0f9c8f21..64495284 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceRecordingMetadata.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceRecordingMetadata.java @@ -52,60 +52,72 @@ /** * ConferenceRecordingMetadata */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String accountId) { + public ConferenceRecordingMetadata accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -119,12 +131,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public ConferenceRecordingMetadata conferenceId(String conferenceId) { + public ConferenceRecordingMetadata conferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -138,12 +150,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(String conferenceId) { + public void setConferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceRecordingMetadata name(String name) { + public ConferenceRecordingMetadata name(@javax.annotation.Nullable String name) { this.name = name; return this; } @@ -157,12 +169,12 @@ public String getName() { return name; } - public void setName(String name) { + public void setName(@javax.annotation.Nullable String name) { this.name = name; } - public ConferenceRecordingMetadata recordingId(String recordingId) { + public ConferenceRecordingMetadata recordingId(@javax.annotation.Nullable String recordingId) { this.recordingId = recordingId; return this; } @@ -176,12 +188,12 @@ public String getRecordingId() { return recordingId; } - public void setRecordingId(String recordingId) { + public void setRecordingId(@javax.annotation.Nullable String recordingId) { this.recordingId = recordingId; } - public ConferenceRecordingMetadata duration(String duration) { + public ConferenceRecordingMetadata duration(@javax.annotation.Nullable String duration) { this.duration = duration; return this; } @@ -195,12 +207,12 @@ public String getDuration() { return duration; } - public void setDuration(String duration) { + public void setDuration(@javax.annotation.Nullable String duration) { this.duration = duration; } - public ConferenceRecordingMetadata channels(Integer channels) { + public ConferenceRecordingMetadata channels(@javax.annotation.Nullable Integer channels) { this.channels = channels; return this; } @@ -214,12 +226,12 @@ public Integer getChannels() { return channels; } - public void setChannels(Integer channels) { + public void setChannels(@javax.annotation.Nullable Integer channels) { this.channels = channels; } - public ConferenceRecordingMetadata startTime(OffsetDateTime startTime) { + public ConferenceRecordingMetadata startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -233,12 +245,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public ConferenceRecordingMetadata endTime(OffsetDateTime endTime) { + public ConferenceRecordingMetadata endTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -252,12 +264,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(OffsetDateTime endTime) { + public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; } - public ConferenceRecordingMetadata fileFormat(FileFormatEnum fileFormat) { + public ConferenceRecordingMetadata fileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { this.fileFormat = fileFormat; return this; } @@ -271,12 +283,12 @@ public FileFormatEnum getFileFormat() { return fileFormat; } - public void setFileFormat(FileFormatEnum fileFormat) { + public void setFileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { this.fileFormat = fileFormat; } - public ConferenceRecordingMetadata status(String status) { + public ConferenceRecordingMetadata status(@javax.annotation.Nullable String status) { this.status = status; return this; } @@ -290,12 +302,12 @@ public String getStatus() { return status; } - public void setStatus(String status) { + public void setStatus(@javax.annotation.Nullable String status) { this.status = status; } - public ConferenceRecordingMetadata mediaUrl(URI mediaUrl) { + public ConferenceRecordingMetadata mediaUrl(@javax.annotation.Nullable URI mediaUrl) { this.mediaUrl = mediaUrl; return this; } @@ -309,12 +321,12 @@ public URI getMediaUrl() { return mediaUrl; } - public void setMediaUrl(URI mediaUrl) { + public void setMediaUrl(@javax.annotation.Nullable URI mediaUrl) { this.mediaUrl = mediaUrl; } - public ConferenceRecordingMetadata recordingName(String recordingName) { + public ConferenceRecordingMetadata recordingName(@javax.annotation.Nullable String recordingName) { this.recordingName = recordingName; return this; } @@ -328,7 +340,7 @@ public String getRecordingName() { return recordingName; } - public void setRecordingName(String recordingName) { + public void setRecordingName(@javax.annotation.Nullable 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 d34b6d1a..77daf53b 100644 --- a/src/main/java/com/bandwidth/sdk/model/ConferenceRedirectCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/ConferenceRedirectCallback.java @@ -50,32 +50,37 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public ConferenceRedirectCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -89,12 +94,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public ConferenceRedirectCallback eventTime(OffsetDateTime eventTime) { + public ConferenceRedirectCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -108,12 +113,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public ConferenceRedirectCallback conferenceId(String conferenceId) { + public ConferenceRedirectCallback conferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; return this; } @@ -127,12 +132,12 @@ public String getConferenceId() { return conferenceId; } - public void setConferenceId(String conferenceId) { + public void setConferenceId(@javax.annotation.Nullable String conferenceId) { this.conferenceId = conferenceId; } - public ConferenceRedirectCallback name(String name) { + public ConferenceRedirectCallback name(@javax.annotation.Nullable String name) { this.name = name; return this; } @@ -146,12 +151,12 @@ public String getName() { return name; } - public void setName(String name) { + public void setName(@javax.annotation.Nullable String name) { this.name = name; } - public ConferenceRedirectCallback tag(String tag) { + public ConferenceRedirectCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -165,7 +170,7 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable 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 691d8f46..c92451c4 100644 --- a/src/main/java/com/bandwidth/sdk/model/CreateCall.java +++ b/src/main/java/com/bandwidth/sdk/model/CreateCall.java @@ -52,96 +52,117 @@ /** * CreateCall */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String to) { + public CreateCall to(@javax.annotation.Nonnull String to) { this.to = to; return this; } @@ -155,12 +176,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nonnull String to) { this.to = to; } - public CreateCall from(String from) { + public CreateCall from(@javax.annotation.Nonnull String from) { this.from = from; return this; } @@ -174,12 +195,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nonnull String from) { this.from = from; } - public CreateCall privacy(Boolean privacy) { + public CreateCall privacy(@javax.annotation.Nullable Boolean privacy) { this.privacy = privacy; return this; } @@ -193,12 +214,12 @@ public Boolean getPrivacy() { return privacy; } - public void setPrivacy(Boolean privacy) { + public void setPrivacy(@javax.annotation.Nullable Boolean privacy) { this.privacy = privacy; } - public CreateCall displayName(String displayName) { + public CreateCall displayName(@javax.annotation.Nullable String displayName) { this.displayName = displayName; return this; } @@ -212,12 +233,12 @@ public String getDisplayName() { return displayName; } - public void setDisplayName(String displayName) { + public void setDisplayName(@javax.annotation.Nullable String displayName) { this.displayName = displayName; } - public CreateCall uui(String uui) { + public CreateCall uui(@javax.annotation.Nullable String uui) { this.uui = uui; return this; } @@ -231,12 +252,12 @@ public String getUui() { return uui; } - public void setUui(String uui) { + public void setUui(@javax.annotation.Nullable String uui) { this.uui = uui; } - public CreateCall applicationId(String applicationId) { + public CreateCall applicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; return this; } @@ -250,12 +271,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; } - public CreateCall answerUrl(URI answerUrl) { + public CreateCall answerUrl(@javax.annotation.Nonnull URI answerUrl) { this.answerUrl = answerUrl; return this; } @@ -269,12 +290,12 @@ public URI getAnswerUrl() { return answerUrl; } - public void setAnswerUrl(URI answerUrl) { + public void setAnswerUrl(@javax.annotation.Nonnull URI answerUrl) { this.answerUrl = answerUrl; } - public CreateCall answerMethod(CallbackMethodEnum answerMethod) { + public CreateCall answerMethod(@javax.annotation.Nullable CallbackMethodEnum answerMethod) { this.answerMethod = answerMethod; return this; } @@ -288,12 +309,12 @@ public CallbackMethodEnum getAnswerMethod() { return answerMethod; } - public void setAnswerMethod(CallbackMethodEnum answerMethod) { + public void setAnswerMethod(@javax.annotation.Nullable CallbackMethodEnum answerMethod) { this.answerMethod = answerMethod; } - public CreateCall username(String username) { + public CreateCall username(@javax.annotation.Nullable String username) { this.username = username; return this; } @@ -307,12 +328,12 @@ public String getUsername() { return username; } - public void setUsername(String username) { + public void setUsername(@javax.annotation.Nullable String username) { this.username = username; } - public CreateCall password(String password) { + public CreateCall password(@javax.annotation.Nullable String password) { this.password = password; return this; } @@ -326,12 +347,12 @@ public String getPassword() { return password; } - public void setPassword(String password) { + public void setPassword(@javax.annotation.Nullable String password) { this.password = password; } - public CreateCall answerFallbackUrl(URI answerFallbackUrl) { + public CreateCall answerFallbackUrl(@javax.annotation.Nullable URI answerFallbackUrl) { this.answerFallbackUrl = answerFallbackUrl; return this; } @@ -345,12 +366,12 @@ public URI getAnswerFallbackUrl() { return answerFallbackUrl; } - public void setAnswerFallbackUrl(URI answerFallbackUrl) { + public void setAnswerFallbackUrl(@javax.annotation.Nullable URI answerFallbackUrl) { this.answerFallbackUrl = answerFallbackUrl; } - public CreateCall answerFallbackMethod(CallbackMethodEnum answerFallbackMethod) { + public CreateCall answerFallbackMethod(@javax.annotation.Nullable CallbackMethodEnum answerFallbackMethod) { this.answerFallbackMethod = answerFallbackMethod; return this; } @@ -364,12 +385,12 @@ public CallbackMethodEnum getAnswerFallbackMethod() { return answerFallbackMethod; } - public void setAnswerFallbackMethod(CallbackMethodEnum answerFallbackMethod) { + public void setAnswerFallbackMethod(@javax.annotation.Nullable CallbackMethodEnum answerFallbackMethod) { this.answerFallbackMethod = answerFallbackMethod; } - public CreateCall fallbackUsername(String fallbackUsername) { + public CreateCall fallbackUsername(@javax.annotation.Nullable String fallbackUsername) { this.fallbackUsername = fallbackUsername; return this; } @@ -383,12 +404,12 @@ public String getFallbackUsername() { return fallbackUsername; } - public void setFallbackUsername(String fallbackUsername) { + public void setFallbackUsername(@javax.annotation.Nullable String fallbackUsername) { this.fallbackUsername = fallbackUsername; } - public CreateCall fallbackPassword(String fallbackPassword) { + public CreateCall fallbackPassword(@javax.annotation.Nullable String fallbackPassword) { this.fallbackPassword = fallbackPassword; return this; } @@ -402,12 +423,12 @@ public String getFallbackPassword() { return fallbackPassword; } - public void setFallbackPassword(String fallbackPassword) { + public void setFallbackPassword(@javax.annotation.Nullable String fallbackPassword) { this.fallbackPassword = fallbackPassword; } - public CreateCall disconnectUrl(URI disconnectUrl) { + public CreateCall disconnectUrl(@javax.annotation.Nullable URI disconnectUrl) { this.disconnectUrl = disconnectUrl; return this; } @@ -421,12 +442,12 @@ public URI getDisconnectUrl() { return disconnectUrl; } - public void setDisconnectUrl(URI disconnectUrl) { + public void setDisconnectUrl(@javax.annotation.Nullable URI disconnectUrl) { this.disconnectUrl = disconnectUrl; } - public CreateCall disconnectMethod(CallbackMethodEnum disconnectMethod) { + public CreateCall disconnectMethod(@javax.annotation.Nullable CallbackMethodEnum disconnectMethod) { this.disconnectMethod = disconnectMethod; return this; } @@ -440,12 +461,12 @@ public CallbackMethodEnum getDisconnectMethod() { return disconnectMethod; } - public void setDisconnectMethod(CallbackMethodEnum disconnectMethod) { + public void setDisconnectMethod(@javax.annotation.Nullable CallbackMethodEnum disconnectMethod) { this.disconnectMethod = disconnectMethod; } - public CreateCall callTimeout(Double callTimeout) { + public CreateCall callTimeout(@javax.annotation.Nullable Double callTimeout) { this.callTimeout = callTimeout; return this; } @@ -461,12 +482,12 @@ public Double getCallTimeout() { return callTimeout; } - public void setCallTimeout(Double callTimeout) { + public void setCallTimeout(@javax.annotation.Nullable Double callTimeout) { this.callTimeout = callTimeout; } - public CreateCall callbackTimeout(Double callbackTimeout) { + public CreateCall callbackTimeout(@javax.annotation.Nullable Double callbackTimeout) { this.callbackTimeout = callbackTimeout; return this; } @@ -482,12 +503,12 @@ public Double getCallbackTimeout() { return callbackTimeout; } - public void setCallbackTimeout(Double callbackTimeout) { + public void setCallbackTimeout(@javax.annotation.Nullable Double callbackTimeout) { this.callbackTimeout = callbackTimeout; } - public CreateCall machineDetection(MachineDetectionConfiguration machineDetection) { + public CreateCall machineDetection(@javax.annotation.Nullable MachineDetectionConfiguration machineDetection) { this.machineDetection = machineDetection; return this; } @@ -501,12 +522,12 @@ public MachineDetectionConfiguration getMachineDetection() { return machineDetection; } - public void setMachineDetection(MachineDetectionConfiguration machineDetection) { + public void setMachineDetection(@javax.annotation.Nullable MachineDetectionConfiguration machineDetection) { this.machineDetection = machineDetection; } - public CreateCall priority(Integer priority) { + public CreateCall priority(@javax.annotation.Nullable Integer priority) { this.priority = priority; return this; } @@ -522,12 +543,12 @@ public Integer getPriority() { return priority; } - public void setPriority(Integer priority) { + public void setPriority(@javax.annotation.Nullable Integer priority) { this.priority = priority; } - public CreateCall tag(String tag) { + public CreateCall tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -541,7 +562,7 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable 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 880bf270..c8263e3b 100644 --- a/src/main/java/com/bandwidth/sdk/model/CreateCallResponse.java +++ b/src/main/java/com/bandwidth/sdk/model/CreateCallResponse.java @@ -52,96 +52,117 @@ /** * CreateCallResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String applicationId) { + public CreateCallResponse applicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; return this; } @@ -155,12 +176,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; } - public CreateCallResponse accountId(String accountId) { + public CreateCallResponse accountId(@javax.annotation.Nonnull String accountId) { this.accountId = accountId; return this; } @@ -174,12 +195,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nonnull String accountId) { this.accountId = accountId; } - public CreateCallResponse callId(String callId) { + public CreateCallResponse callId(@javax.annotation.Nonnull String callId) { this.callId = callId; return this; } @@ -193,12 +214,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nonnull String callId) { this.callId = callId; } - public CreateCallResponse to(String to) { + public CreateCallResponse to(@javax.annotation.Nonnull String to) { this.to = to; return this; } @@ -212,12 +233,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nonnull String to) { this.to = to; } - public CreateCallResponse from(String from) { + public CreateCallResponse from(@javax.annotation.Nonnull String from) { this.from = from; return this; } @@ -231,12 +252,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nonnull String from) { this.from = from; } - public CreateCallResponse enqueuedTime(OffsetDateTime enqueuedTime) { + public CreateCallResponse enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -250,12 +271,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public CreateCallResponse callUrl(URI callUrl) { + public CreateCallResponse callUrl(@javax.annotation.Nonnull URI callUrl) { this.callUrl = callUrl; return this; } @@ -269,12 +290,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nonnull URI callUrl) { this.callUrl = callUrl; } - public CreateCallResponse callTimeout(Double callTimeout) { + public CreateCallResponse callTimeout(@javax.annotation.Nullable Double callTimeout) { this.callTimeout = callTimeout; return this; } @@ -288,12 +309,12 @@ public Double getCallTimeout() { return callTimeout; } - public void setCallTimeout(Double callTimeout) { + public void setCallTimeout(@javax.annotation.Nullable Double callTimeout) { this.callTimeout = callTimeout; } - public CreateCallResponse callbackTimeout(Double callbackTimeout) { + public CreateCallResponse callbackTimeout(@javax.annotation.Nullable Double callbackTimeout) { this.callbackTimeout = callbackTimeout; return this; } @@ -307,12 +328,12 @@ public Double getCallbackTimeout() { return callbackTimeout; } - public void setCallbackTimeout(Double callbackTimeout) { + public void setCallbackTimeout(@javax.annotation.Nullable Double callbackTimeout) { this.callbackTimeout = callbackTimeout; } - public CreateCallResponse tag(String tag) { + public CreateCallResponse tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -326,12 +347,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public CreateCallResponse answerMethod(CallbackMethodEnum answerMethod) { + public CreateCallResponse answerMethod(@javax.annotation.Nullable CallbackMethodEnum answerMethod) { this.answerMethod = answerMethod; return this; } @@ -345,12 +366,12 @@ public CallbackMethodEnum getAnswerMethod() { return answerMethod; } - public void setAnswerMethod(CallbackMethodEnum answerMethod) { + public void setAnswerMethod(@javax.annotation.Nullable CallbackMethodEnum answerMethod) { this.answerMethod = answerMethod; } - public CreateCallResponse answerUrl(URI answerUrl) { + public CreateCallResponse answerUrl(@javax.annotation.Nonnull URI answerUrl) { this.answerUrl = answerUrl; return this; } @@ -364,12 +385,12 @@ public URI getAnswerUrl() { return answerUrl; } - public void setAnswerUrl(URI answerUrl) { + public void setAnswerUrl(@javax.annotation.Nonnull URI answerUrl) { this.answerUrl = answerUrl; } - public CreateCallResponse answerFallbackMethod(CallbackMethodEnum answerFallbackMethod) { + public CreateCallResponse answerFallbackMethod(@javax.annotation.Nullable CallbackMethodEnum answerFallbackMethod) { this.answerFallbackMethod = answerFallbackMethod; return this; } @@ -383,12 +404,12 @@ public CallbackMethodEnum getAnswerFallbackMethod() { return answerFallbackMethod; } - public void setAnswerFallbackMethod(CallbackMethodEnum answerFallbackMethod) { + public void setAnswerFallbackMethod(@javax.annotation.Nullable CallbackMethodEnum answerFallbackMethod) { this.answerFallbackMethod = answerFallbackMethod; } - public CreateCallResponse answerFallbackUrl(URI answerFallbackUrl) { + public CreateCallResponse answerFallbackUrl(@javax.annotation.Nullable URI answerFallbackUrl) { this.answerFallbackUrl = answerFallbackUrl; return this; } @@ -402,12 +423,12 @@ public URI getAnswerFallbackUrl() { return answerFallbackUrl; } - public void setAnswerFallbackUrl(URI answerFallbackUrl) { + public void setAnswerFallbackUrl(@javax.annotation.Nullable URI answerFallbackUrl) { this.answerFallbackUrl = answerFallbackUrl; } - public CreateCallResponse disconnectMethod(CallbackMethodEnum disconnectMethod) { + public CreateCallResponse disconnectMethod(@javax.annotation.Nullable CallbackMethodEnum disconnectMethod) { this.disconnectMethod = disconnectMethod; return this; } @@ -421,12 +442,12 @@ public CallbackMethodEnum getDisconnectMethod() { return disconnectMethod; } - public void setDisconnectMethod(CallbackMethodEnum disconnectMethod) { + public void setDisconnectMethod(@javax.annotation.Nullable CallbackMethodEnum disconnectMethod) { this.disconnectMethod = disconnectMethod; } - public CreateCallResponse disconnectUrl(URI disconnectUrl) { + public CreateCallResponse disconnectUrl(@javax.annotation.Nullable URI disconnectUrl) { this.disconnectUrl = disconnectUrl; return this; } @@ -440,12 +461,12 @@ public URI getDisconnectUrl() { return disconnectUrl; } - public void setDisconnectUrl(URI disconnectUrl) { + public void setDisconnectUrl(@javax.annotation.Nullable URI disconnectUrl) { this.disconnectUrl = disconnectUrl; } - public CreateCallResponse username(String username) { + public CreateCallResponse username(@javax.annotation.Nullable String username) { this.username = username; return this; } @@ -459,12 +480,12 @@ public String getUsername() { return username; } - public void setUsername(String username) { + public void setUsername(@javax.annotation.Nullable String username) { this.username = username; } - public CreateCallResponse password(String password) { + public CreateCallResponse password(@javax.annotation.Nullable String password) { this.password = password; return this; } @@ -478,12 +499,12 @@ public String getPassword() { return password; } - public void setPassword(String password) { + public void setPassword(@javax.annotation.Nullable String password) { this.password = password; } - public CreateCallResponse fallbackUsername(String fallbackUsername) { + public CreateCallResponse fallbackUsername(@javax.annotation.Nullable String fallbackUsername) { this.fallbackUsername = fallbackUsername; return this; } @@ -497,12 +518,12 @@ public String getFallbackUsername() { return fallbackUsername; } - public void setFallbackUsername(String fallbackUsername) { + public void setFallbackUsername(@javax.annotation.Nullable String fallbackUsername) { this.fallbackUsername = fallbackUsername; } - public CreateCallResponse fallbackPassword(String fallbackPassword) { + public CreateCallResponse fallbackPassword(@javax.annotation.Nullable String fallbackPassword) { this.fallbackPassword = fallbackPassword; return this; } @@ -516,12 +537,12 @@ public String getFallbackPassword() { return fallbackPassword; } - public void setFallbackPassword(String fallbackPassword) { + public void setFallbackPassword(@javax.annotation.Nullable String fallbackPassword) { this.fallbackPassword = fallbackPassword; } - public CreateCallResponse priority(Integer priority) { + public CreateCallResponse priority(@javax.annotation.Nullable Integer priority) { this.priority = priority; return this; } @@ -535,7 +556,7 @@ public Integer getPriority() { return priority; } - public void setPriority(Integer priority) { + public void setPriority(@javax.annotation.Nullable 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 a5839c6a..76a1af9a 100644 --- a/src/main/java/com/bandwidth/sdk/model/CreateLookupResponse.java +++ b/src/main/java/com/bandwidth/sdk/model/CreateLookupResponse.java @@ -49,20 +49,22 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String requestId) { + public CreateLookupResponse requestId(@javax.annotation.Nullable String requestId) { this.requestId = requestId; return this; } @@ -76,12 +78,12 @@ public String getRequestId() { return requestId; } - public void setRequestId(String requestId) { + public void setRequestId(@javax.annotation.Nullable String requestId) { this.requestId = requestId; } - public CreateLookupResponse status(LookupStatusEnum status) { + public CreateLookupResponse status(@javax.annotation.Nullable LookupStatusEnum status) { this.status = status; return this; } @@ -95,7 +97,7 @@ public LookupStatusEnum getStatus() { return status; } - public void setStatus(LookupStatusEnum status) { + public void setStatus(@javax.annotation.Nullable 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 078dd0d5..b0dd177f 100644 --- a/src/main/java/com/bandwidth/sdk/model/CreateMessageRequestError.java +++ b/src/main/java/com/bandwidth/sdk/model/CreateMessageRequestError.java @@ -51,24 +51,27 @@ /** * CreateMessageRequestError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String type) { + public CreateMessageRequestError type(@javax.annotation.Nonnull String type) { this.type = type; return this; } @@ -82,12 +85,12 @@ public String getType() { return type; } - public void setType(String type) { + public void setType(@javax.annotation.Nonnull String type) { this.type = type; } - public CreateMessageRequestError description(String description) { + public CreateMessageRequestError description(@javax.annotation.Nonnull String description) { this.description = description; return this; } @@ -101,12 +104,12 @@ public String getDescription() { return description; } - public void setDescription(String description) { + public void setDescription(@javax.annotation.Nonnull String description) { this.description = description; } - public CreateMessageRequestError fieldErrors(List fieldErrors) { + public CreateMessageRequestError fieldErrors(@javax.annotation.Nullable List fieldErrors) { this.fieldErrors = fieldErrors; return this; } @@ -128,7 +131,7 @@ public List getFieldErrors() { return fieldErrors; } - public void setFieldErrors(List fieldErrors) { + public void setFieldErrors(@javax.annotation.Nullable 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 e9d80841..bdd0a817 100644 --- a/src/main/java/com/bandwidth/sdk/model/DeferredResult.java +++ b/src/main/java/com/bandwidth/sdk/model/DeferredResult.java @@ -48,20 +48,22 @@ /** * DeferredResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(Object result) { + public DeferredResult result(@javax.annotation.Nullable Object result) { this.result = result; return this; } @@ -75,12 +77,12 @@ public Object getResult() { return result; } - public void setResult(Object result) { + public void setResult(@javax.annotation.Nullable Object result) { this.result = result; } - public DeferredResult setOrExpired(Boolean setOrExpired) { + public DeferredResult setOrExpired(@javax.annotation.Nullable Boolean setOrExpired) { this.setOrExpired = setOrExpired; return this; } @@ -94,7 +96,7 @@ public Boolean getSetOrExpired() { return setOrExpired; } - public void setSetOrExpired(Boolean setOrExpired) { + public void setSetOrExpired(@javax.annotation.Nullable 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 f7535530..c4756ba0 100644 --- a/src/main/java/com/bandwidth/sdk/model/DisconnectCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/DisconnectCallback.java @@ -52,80 +52,97 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public DisconnectCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -139,12 +156,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public DisconnectCallback eventTime(OffsetDateTime eventTime) { + public DisconnectCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -158,12 +175,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public DisconnectCallback accountId(String accountId) { + public DisconnectCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -177,12 +194,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public DisconnectCallback applicationId(String applicationId) { + public DisconnectCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -196,12 +213,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public DisconnectCallback from(String from) { + public DisconnectCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -215,12 +232,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public DisconnectCallback to(String to) { + public DisconnectCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -234,12 +251,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public DisconnectCallback callId(String callId) { + public DisconnectCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -253,12 +270,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public DisconnectCallback direction(CallDirectionEnum direction) { + public DisconnectCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -272,12 +289,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public DisconnectCallback callUrl(URI callUrl) { + public DisconnectCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -291,12 +308,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public DisconnectCallback enqueuedTime(OffsetDateTime enqueuedTime) { + public DisconnectCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -310,12 +327,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public DisconnectCallback startTime(OffsetDateTime startTime) { + public DisconnectCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -329,12 +346,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public DisconnectCallback answerTime(OffsetDateTime answerTime) { + public DisconnectCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -348,12 +365,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(OffsetDateTime answerTime) { + public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; } - public DisconnectCallback endTime(OffsetDateTime endTime) { + public DisconnectCallback endTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -367,12 +384,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(OffsetDateTime endTime) { + public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; } - public DisconnectCallback cause(String cause) { + public DisconnectCallback cause(@javax.annotation.Nullable String cause) { this.cause = cause; return this; } @@ -386,12 +403,12 @@ public String getCause() { return cause; } - public void setCause(String cause) { + public void setCause(@javax.annotation.Nullable String cause) { this.cause = cause; } - public DisconnectCallback errorMessage(String errorMessage) { + public DisconnectCallback errorMessage(@javax.annotation.Nullable String errorMessage) { this.errorMessage = errorMessage; return this; } @@ -405,12 +422,12 @@ public String getErrorMessage() { return errorMessage; } - public void setErrorMessage(String errorMessage) { + public void setErrorMessage(@javax.annotation.Nullable String errorMessage) { this.errorMessage = errorMessage; } - public DisconnectCallback errorId(String errorId) { + public DisconnectCallback errorId(@javax.annotation.Nullable String errorId) { this.errorId = errorId; return this; } @@ -424,12 +441,12 @@ public String getErrorId() { return errorId; } - public void setErrorId(String errorId) { + public void setErrorId(@javax.annotation.Nullable String errorId) { this.errorId = errorId; } - public DisconnectCallback tag(String tag) { + public DisconnectCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -443,7 +460,7 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable 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 1082c8ef..61159811 100644 --- a/src/main/java/com/bandwidth/sdk/model/Diversion.java +++ b/src/main/java/com/bandwidth/sdk/model/Diversion.java @@ -48,40 +48,47 @@ /** * Diversion */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String reason) { + public Diversion reason(@javax.annotation.Nullable String reason) { this.reason = reason; return this; } @@ -95,12 +102,12 @@ public String getReason() { return reason; } - public void setReason(String reason) { + public void setReason(@javax.annotation.Nullable String reason) { this.reason = reason; } - public Diversion privacy(String privacy) { + public Diversion privacy(@javax.annotation.Nullable String privacy) { this.privacy = privacy; return this; } @@ -114,12 +121,12 @@ public String getPrivacy() { return privacy; } - public void setPrivacy(String privacy) { + public void setPrivacy(@javax.annotation.Nullable String privacy) { this.privacy = privacy; } - public Diversion screen(String screen) { + public Diversion screen(@javax.annotation.Nullable String screen) { this.screen = screen; return this; } @@ -133,12 +140,12 @@ public String getScreen() { return screen; } - public void setScreen(String screen) { + public void setScreen(@javax.annotation.Nullable String screen) { this.screen = screen; } - public Diversion counter(String counter) { + public Diversion counter(@javax.annotation.Nullable String counter) { this.counter = counter; return this; } @@ -152,12 +159,12 @@ public String getCounter() { return counter; } - public void setCounter(String counter) { + public void setCounter(@javax.annotation.Nullable String counter) { this.counter = counter; } - public Diversion limit(String limit) { + public Diversion limit(@javax.annotation.Nullable String limit) { this.limit = limit; return this; } @@ -171,12 +178,12 @@ public String getLimit() { return limit; } - public void setLimit(String limit) { + public void setLimit(@javax.annotation.Nullable String limit) { this.limit = limit; } - public Diversion unknown(String unknown) { + public Diversion unknown(@javax.annotation.Nullable String unknown) { this.unknown = unknown; return this; } @@ -190,12 +197,12 @@ public String getUnknown() { return unknown; } - public void setUnknown(String unknown) { + public void setUnknown(@javax.annotation.Nullable String unknown) { this.unknown = unknown; } - public Diversion origTo(String origTo) { + public Diversion origTo(@javax.annotation.Nullable String origTo) { this.origTo = origTo; return this; } @@ -209,7 +216,7 @@ public String getOrigTo() { return origTo; } - public void setOrigTo(String origTo) { + public void setOrigTo(@javax.annotation.Nullable 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 6b9812eb..599cf1bd 100644 --- a/src/main/java/com/bandwidth/sdk/model/DtmfCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/DtmfCallback.java @@ -52,80 +52,97 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public DtmfCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -139,12 +156,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public DtmfCallback eventTime(OffsetDateTime eventTime) { + public DtmfCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -158,12 +175,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public DtmfCallback accountId(String accountId) { + public DtmfCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -177,12 +194,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public DtmfCallback applicationId(String applicationId) { + public DtmfCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -196,12 +213,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public DtmfCallback from(String from) { + public DtmfCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -215,12 +232,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public DtmfCallback to(String to) { + public DtmfCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -234,12 +251,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public DtmfCallback callId(String callId) { + public DtmfCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -253,12 +270,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public DtmfCallback direction(CallDirectionEnum direction) { + public DtmfCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -272,12 +289,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public DtmfCallback digit(String digit) { + public DtmfCallback digit(@javax.annotation.Nullable String digit) { this.digit = digit; return this; } @@ -291,12 +308,12 @@ public String getDigit() { return digit; } - public void setDigit(String digit) { + public void setDigit(@javax.annotation.Nullable String digit) { this.digit = digit; } - public DtmfCallback callUrl(URI callUrl) { + public DtmfCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -310,12 +327,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public DtmfCallback enqueuedTime(OffsetDateTime enqueuedTime) { + public DtmfCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -329,12 +346,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public DtmfCallback startTime(OffsetDateTime startTime) { + public DtmfCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -348,12 +365,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public DtmfCallback answerTime(OffsetDateTime answerTime) { + public DtmfCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -367,12 +384,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(OffsetDateTime answerTime) { + public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; } - public DtmfCallback parentCallId(String parentCallId) { + public DtmfCallback parentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -386,12 +403,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(String parentCallId) { + public void setParentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; } - public DtmfCallback transferCallerId(String transferCallerId) { + public DtmfCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -405,12 +422,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(String transferCallerId) { + public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; } - public DtmfCallback transferTo(String transferTo) { + public DtmfCallback transferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; return this; } @@ -424,12 +441,12 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(String transferTo) { + public void setTransferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; } - public DtmfCallback tag(String tag) { + public DtmfCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -443,7 +460,7 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable 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 dccddd62..b3aa98a4 100644 --- a/src/main/java/com/bandwidth/sdk/model/FieldError.java +++ b/src/main/java/com/bandwidth/sdk/model/FieldError.java @@ -48,20 +48,22 @@ /** * FieldError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String fieldName) { + public FieldError fieldName(@javax.annotation.Nullable String fieldName) { this.fieldName = fieldName; return this; } @@ -75,12 +77,12 @@ public String getFieldName() { return fieldName; } - public void setFieldName(String fieldName) { + public void setFieldName(@javax.annotation.Nullable String fieldName) { this.fieldName = fieldName; } - public FieldError description(String description) { + public FieldError description(@javax.annotation.Nullable String description) { this.description = description; return this; } @@ -94,7 +96,7 @@ public String getDescription() { return description; } - public void setDescription(String description) { + public void setDescription(@javax.annotation.Nullable 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 f45fe885..66a4eb37 100644 --- a/src/main/java/com/bandwidth/sdk/model/GatherCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/GatherCallback.java @@ -52,84 +52,102 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public GatherCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -143,12 +161,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public GatherCallback eventTime(OffsetDateTime eventTime) { + public GatherCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -162,12 +180,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public GatherCallback accountId(String accountId) { + public GatherCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -181,12 +199,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public GatherCallback applicationId(String applicationId) { + public GatherCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -200,12 +218,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public GatherCallback from(String from) { + public GatherCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -219,12 +237,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public GatherCallback to(String to) { + public GatherCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -238,12 +256,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public GatherCallback direction(CallDirectionEnum direction) { + public GatherCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -257,12 +275,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public GatherCallback callId(String callId) { + public GatherCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -276,12 +294,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public GatherCallback digits(String digits) { + public GatherCallback digits(@javax.annotation.Nullable String digits) { this.digits = digits; return this; } @@ -295,12 +313,12 @@ public String getDigits() { return digits; } - public void setDigits(String digits) { + public void setDigits(@javax.annotation.Nullable String digits) { this.digits = digits; } - public GatherCallback callUrl(URI callUrl) { + public GatherCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -314,12 +332,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public GatherCallback enqueuedTime(OffsetDateTime enqueuedTime) { + public GatherCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -333,12 +351,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public GatherCallback startTime(OffsetDateTime startTime) { + public GatherCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -352,12 +370,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public GatherCallback answerTime(OffsetDateTime answerTime) { + public GatherCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -371,12 +389,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(OffsetDateTime answerTime) { + public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; } - public GatherCallback parentCallId(String parentCallId) { + public GatherCallback parentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -390,12 +408,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(String parentCallId) { + public void setParentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; } - public GatherCallback terminatingDigit(String terminatingDigit) { + public GatherCallback terminatingDigit(@javax.annotation.Nullable String terminatingDigit) { this.terminatingDigit = terminatingDigit; return this; } @@ -409,12 +427,12 @@ public String getTerminatingDigit() { return terminatingDigit; } - public void setTerminatingDigit(String terminatingDigit) { + public void setTerminatingDigit(@javax.annotation.Nullable String terminatingDigit) { this.terminatingDigit = terminatingDigit; } - public GatherCallback transferCallerId(String transferCallerId) { + public GatherCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -428,12 +446,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(String transferCallerId) { + public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; } - public GatherCallback transferTo(String transferTo) { + public GatherCallback transferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; return this; } @@ -447,12 +465,12 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(String transferTo) { + public void setTransferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; } - public GatherCallback tag(String tag) { + public GatherCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -466,7 +484,7 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable 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 2440039b..eca692b9 100644 --- a/src/main/java/com/bandwidth/sdk/model/InboundMessageCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/InboundMessageCallback.java @@ -50,32 +50,37 @@ /** * Inbound Message Callback */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(OffsetDateTime time) { + public InboundMessageCallback time(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; return this; } @@ -89,12 +94,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(OffsetDateTime time) { + public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; } - public InboundMessageCallback type(String type) { + public InboundMessageCallback type(@javax.annotation.Nonnull String type) { this.type = type; return this; } @@ -108,12 +113,12 @@ public String getType() { return type; } - public void setType(String type) { + public void setType(@javax.annotation.Nonnull String type) { this.type = type; } - public InboundMessageCallback to(String to) { + public InboundMessageCallback to(@javax.annotation.Nonnull String to) { this.to = to; return this; } @@ -127,12 +132,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nonnull String to) { this.to = to; } - public InboundMessageCallback description(String description) { + public InboundMessageCallback description(@javax.annotation.Nonnull String description) { this.description = description; return this; } @@ -146,12 +151,12 @@ public String getDescription() { return description; } - public void setDescription(String description) { + public void setDescription(@javax.annotation.Nonnull String description) { this.description = description; } - public InboundMessageCallback message(InboundMessageCallbackMessage message) { + public InboundMessageCallback message(@javax.annotation.Nonnull InboundMessageCallbackMessage message) { this.message = message; return this; } @@ -165,7 +170,7 @@ public InboundMessageCallbackMessage getMessage() { return message; } - public void setMessage(InboundMessageCallbackMessage message) { + public void setMessage(@javax.annotation.Nonnull 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 525bcf46..faab65bf 100644 --- a/src/main/java/com/bandwidth/sdk/model/InboundMessageCallbackMessage.java +++ b/src/main/java/com/bandwidth/sdk/model/InboundMessageCallbackMessage.java @@ -56,60 +56,72 @@ /** * Inbound Message Callback Message Schema */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String id) { + public InboundMessageCallbackMessage id(@javax.annotation.Nonnull String id) { this.id = id; return this; } @@ -123,12 +135,12 @@ public String getId() { return id; } - public void setId(String id) { + public void setId(@javax.annotation.Nonnull String id) { this.id = id; } - public InboundMessageCallbackMessage owner(String owner) { + public InboundMessageCallbackMessage owner(@javax.annotation.Nonnull String owner) { this.owner = owner; return this; } @@ -142,12 +154,12 @@ public String getOwner() { return owner; } - public void setOwner(String owner) { + public void setOwner(@javax.annotation.Nonnull String owner) { this.owner = owner; } - public InboundMessageCallbackMessage applicationId(String applicationId) { + public InboundMessageCallbackMessage applicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; return this; } @@ -161,12 +173,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; } - public InboundMessageCallbackMessage time(OffsetDateTime time) { + public InboundMessageCallbackMessage time(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; return this; } @@ -180,12 +192,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(OffsetDateTime time) { + public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; } - public InboundMessageCallbackMessage segmentCount(Integer segmentCount) { + public InboundMessageCallbackMessage segmentCount(@javax.annotation.Nonnull Integer segmentCount) { this.segmentCount = segmentCount; return this; } @@ -199,12 +211,12 @@ public Integer getSegmentCount() { return segmentCount; } - public void setSegmentCount(Integer segmentCount) { + public void setSegmentCount(@javax.annotation.Nonnull Integer segmentCount) { this.segmentCount = segmentCount; } - public InboundMessageCallbackMessage direction(MessageDirectionEnum direction) { + public InboundMessageCallbackMessage direction(@javax.annotation.Nonnull MessageDirectionEnum direction) { this.direction = direction; return this; } @@ -218,12 +230,12 @@ public MessageDirectionEnum getDirection() { return direction; } - public void setDirection(MessageDirectionEnum direction) { + public void setDirection(@javax.annotation.Nonnull MessageDirectionEnum direction) { this.direction = direction; } - public InboundMessageCallbackMessage to(Set to) { + public InboundMessageCallbackMessage to(@javax.annotation.Nonnull Set to) { this.to = to; return this; } @@ -245,12 +257,12 @@ public Set getTo() { return to; } - public void setTo(Set to) { + public void setTo(@javax.annotation.Nonnull Set to) { this.to = to; } - public InboundMessageCallbackMessage from(String from) { + public InboundMessageCallbackMessage from(@javax.annotation.Nonnull String from) { this.from = from; return this; } @@ -264,12 +276,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nonnull String from) { this.from = from; } - public InboundMessageCallbackMessage text(String text) { + public InboundMessageCallbackMessage text(@javax.annotation.Nonnull String text) { this.text = text; return this; } @@ -283,12 +295,12 @@ public String getText() { return text; } - public void setText(String text) { + public void setText(@javax.annotation.Nonnull String text) { this.text = text; } - public InboundMessageCallbackMessage tag(String tag) { + public InboundMessageCallbackMessage tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -302,12 +314,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public InboundMessageCallbackMessage media(List media) { + public InboundMessageCallbackMessage media(@javax.annotation.Nullable List media) { this.media = media; return this; } @@ -329,12 +341,12 @@ public List getMedia() { return media; } - public void setMedia(List media) { + public void setMedia(@javax.annotation.Nullable List media) { this.media = media; } - public InboundMessageCallbackMessage priority(PriorityEnum priority) { + public InboundMessageCallbackMessage priority(@javax.annotation.Nullable PriorityEnum priority) { this.priority = priority; return this; } @@ -348,7 +360,7 @@ public PriorityEnum getPriority() { return priority; } - public void setPriority(PriorityEnum priority) { + public void setPriority(@javax.annotation.Nullable 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 ea9c01c8..7012e80b 100644 --- a/src/main/java/com/bandwidth/sdk/model/InitiateCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/InitiateCallback.java @@ -53,60 +53,72 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public InitiateCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -120,12 +132,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public InitiateCallback eventTime(OffsetDateTime eventTime) { + public InitiateCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -139,12 +151,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public InitiateCallback accountId(String accountId) { + public InitiateCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -158,12 +170,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public InitiateCallback applicationId(String applicationId) { + public InitiateCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -177,12 +189,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public InitiateCallback from(String from) { + public InitiateCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -196,12 +208,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public InitiateCallback to(String to) { + public InitiateCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -215,12 +227,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public InitiateCallback direction(CallDirectionEnum direction) { + public InitiateCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -234,12 +246,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public InitiateCallback callId(String callId) { + public InitiateCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -253,12 +265,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public InitiateCallback callUrl(URI callUrl) { + public InitiateCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -272,12 +284,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public InitiateCallback startTime(OffsetDateTime startTime) { + public InitiateCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -291,12 +303,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public InitiateCallback diversion(Diversion diversion) { + public InitiateCallback diversion(@javax.annotation.Nullable Diversion diversion) { this.diversion = diversion; return this; } @@ -310,12 +322,12 @@ public Diversion getDiversion() { return diversion; } - public void setDiversion(Diversion diversion) { + public void setDiversion(@javax.annotation.Nullable Diversion diversion) { this.diversion = diversion; } - public InitiateCallback stirShaken(StirShaken stirShaken) { + public InitiateCallback stirShaken(@javax.annotation.Nullable StirShaken stirShaken) { this.stirShaken = stirShaken; return this; } @@ -329,7 +341,7 @@ public StirShaken getStirShaken() { return stirShaken; } - public void setStirShaken(StirShaken stirShaken) { + public void setStirShaken(@javax.annotation.Nullable 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 1f9925a1..8791e5c8 100644 --- a/src/main/java/com/bandwidth/sdk/model/ListMessageItem.java +++ b/src/main/java/com/bandwidth/sdk/model/ListMessageItem.java @@ -53,80 +53,97 @@ /** * ListMessageItem */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String messageId) { + public ListMessageItem messageId(@javax.annotation.Nullable String messageId) { this.messageId = messageId; return this; } @@ -140,12 +157,12 @@ public String getMessageId() { return messageId; } - public void setMessageId(String messageId) { + public void setMessageId(@javax.annotation.Nullable String messageId) { this.messageId = messageId; } - public ListMessageItem accountId(String accountId) { + public ListMessageItem accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -159,12 +176,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public ListMessageItem sourceTn(String sourceTn) { + public ListMessageItem sourceTn(@javax.annotation.Nullable String sourceTn) { this.sourceTn = sourceTn; return this; } @@ -178,12 +195,12 @@ public String getSourceTn() { return sourceTn; } - public void setSourceTn(String sourceTn) { + public void setSourceTn(@javax.annotation.Nullable String sourceTn) { this.sourceTn = sourceTn; } - public ListMessageItem destinationTn(String destinationTn) { + public ListMessageItem destinationTn(@javax.annotation.Nullable String destinationTn) { this.destinationTn = destinationTn; return this; } @@ -197,12 +214,12 @@ public String getDestinationTn() { return destinationTn; } - public void setDestinationTn(String destinationTn) { + public void setDestinationTn(@javax.annotation.Nullable String destinationTn) { this.destinationTn = destinationTn; } - public ListMessageItem messageStatus(MessageStatusEnum messageStatus) { + public ListMessageItem messageStatus(@javax.annotation.Nullable MessageStatusEnum messageStatus) { this.messageStatus = messageStatus; return this; } @@ -216,12 +233,12 @@ public MessageStatusEnum getMessageStatus() { return messageStatus; } - public void setMessageStatus(MessageStatusEnum messageStatus) { + public void setMessageStatus(@javax.annotation.Nullable MessageStatusEnum messageStatus) { this.messageStatus = messageStatus; } - public ListMessageItem messageDirection(ListMessageDirectionEnum messageDirection) { + public ListMessageItem messageDirection(@javax.annotation.Nullable ListMessageDirectionEnum messageDirection) { this.messageDirection = messageDirection; return this; } @@ -235,12 +252,12 @@ public ListMessageDirectionEnum getMessageDirection() { return messageDirection; } - public void setMessageDirection(ListMessageDirectionEnum messageDirection) { + public void setMessageDirection(@javax.annotation.Nullable ListMessageDirectionEnum messageDirection) { this.messageDirection = messageDirection; } - public ListMessageItem messageType(MessageTypeEnum messageType) { + public ListMessageItem messageType(@javax.annotation.Nullable MessageTypeEnum messageType) { this.messageType = messageType; return this; } @@ -254,12 +271,12 @@ public MessageTypeEnum getMessageType() { return messageType; } - public void setMessageType(MessageTypeEnum messageType) { + public void setMessageType(@javax.annotation.Nullable MessageTypeEnum messageType) { this.messageType = messageType; } - public ListMessageItem segmentCount(Integer segmentCount) { + public ListMessageItem segmentCount(@javax.annotation.Nullable Integer segmentCount) { this.segmentCount = segmentCount; return this; } @@ -273,12 +290,12 @@ public Integer getSegmentCount() { return segmentCount; } - public void setSegmentCount(Integer segmentCount) { + public void setSegmentCount(@javax.annotation.Nullable Integer segmentCount) { this.segmentCount = segmentCount; } - public ListMessageItem errorCode(Integer errorCode) { + public ListMessageItem errorCode(@javax.annotation.Nullable Integer errorCode) { this.errorCode = errorCode; return this; } @@ -292,12 +309,12 @@ public Integer getErrorCode() { return errorCode; } - public void setErrorCode(Integer errorCode) { + public void setErrorCode(@javax.annotation.Nullable Integer errorCode) { this.errorCode = errorCode; } - public ListMessageItem receiveTime(OffsetDateTime receiveTime) { + public ListMessageItem receiveTime(@javax.annotation.Nullable OffsetDateTime receiveTime) { this.receiveTime = receiveTime; return this; } @@ -311,12 +328,12 @@ public OffsetDateTime getReceiveTime() { return receiveTime; } - public void setReceiveTime(OffsetDateTime receiveTime) { + public void setReceiveTime(@javax.annotation.Nullable OffsetDateTime receiveTime) { this.receiveTime = receiveTime; } - public ListMessageItem carrierName(String carrierName) { + public ListMessageItem carrierName(@javax.annotation.Nullable String carrierName) { this.carrierName = carrierName; return this; } @@ -330,12 +347,12 @@ public String getCarrierName() { return carrierName; } - public void setCarrierName(String carrierName) { + public void setCarrierName(@javax.annotation.Nullable String carrierName) { this.carrierName = carrierName; } - public ListMessageItem messageSize(Integer messageSize) { + public ListMessageItem messageSize(@javax.annotation.Nullable Integer messageSize) { this.messageSize = messageSize; return this; } @@ -349,12 +366,12 @@ public Integer getMessageSize() { return messageSize; } - public void setMessageSize(Integer messageSize) { + public void setMessageSize(@javax.annotation.Nullable Integer messageSize) { this.messageSize = messageSize; } - public ListMessageItem messageLength(Integer messageLength) { + public ListMessageItem messageLength(@javax.annotation.Nullable Integer messageLength) { this.messageLength = messageLength; return this; } @@ -368,12 +385,12 @@ public Integer getMessageLength() { return messageLength; } - public void setMessageLength(Integer messageLength) { + public void setMessageLength(@javax.annotation.Nullable Integer messageLength) { this.messageLength = messageLength; } - public ListMessageItem attachmentCount(Integer attachmentCount) { + public ListMessageItem attachmentCount(@javax.annotation.Nullable Integer attachmentCount) { this.attachmentCount = attachmentCount; return this; } @@ -387,12 +404,12 @@ public Integer getAttachmentCount() { return attachmentCount; } - public void setAttachmentCount(Integer attachmentCount) { + public void setAttachmentCount(@javax.annotation.Nullable Integer attachmentCount) { this.attachmentCount = attachmentCount; } - public ListMessageItem recipientCount(Integer recipientCount) { + public ListMessageItem recipientCount(@javax.annotation.Nullable Integer recipientCount) { this.recipientCount = recipientCount; return this; } @@ -406,12 +423,12 @@ public Integer getRecipientCount() { return recipientCount; } - public void setRecipientCount(Integer recipientCount) { + public void setRecipientCount(@javax.annotation.Nullable Integer recipientCount) { this.recipientCount = recipientCount; } - public ListMessageItem campaignClass(String campaignClass) { + public ListMessageItem campaignClass(@javax.annotation.Nullable String campaignClass) { this.campaignClass = campaignClass; return this; } @@ -425,12 +442,12 @@ public String getCampaignClass() { return campaignClass; } - public void setCampaignClass(String campaignClass) { + public void setCampaignClass(@javax.annotation.Nullable String campaignClass) { this.campaignClass = campaignClass; } - public ListMessageItem campaignId(String campaignId) { + public ListMessageItem campaignId(@javax.annotation.Nullable String campaignId) { this.campaignId = campaignId; return this; } @@ -444,7 +461,7 @@ public String getCampaignId() { return campaignId; } - public void setCampaignId(String campaignId) { + public void setCampaignId(@javax.annotation.Nullable 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 f09f7fdc..9a20f90e 100644 --- a/src/main/java/com/bandwidth/sdk/model/LookupRequest.java +++ b/src/main/java/com/bandwidth/sdk/model/LookupRequest.java @@ -50,16 +50,17 @@ /** * Create phone number lookup request. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(List tns) { + public LookupRequest tns(@javax.annotation.Nonnull List tns) { this.tns = tns; return this; } @@ -81,7 +82,7 @@ public List getTns() { return tns; } - public void setTns(List tns) { + public void setTns(@javax.annotation.Nonnull 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 846acd11..4b89b117 100644 --- a/src/main/java/com/bandwidth/sdk/model/LookupResult.java +++ b/src/main/java/com/bandwidth/sdk/model/LookupResult.java @@ -48,48 +48,57 @@ /** * Carrier information results for the specified telephone number. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(Integer responseCode) { + public LookupResult responseCode(@javax.annotation.Nullable Integer responseCode) { this.responseCode = responseCode; return this; } @@ -103,12 +112,12 @@ public Integer getResponseCode() { return responseCode; } - public void setResponseCode(Integer responseCode) { + public void setResponseCode(@javax.annotation.Nullable Integer responseCode) { this.responseCode = responseCode; } - public LookupResult message(String message) { + public LookupResult message(@javax.annotation.Nullable String message) { this.message = message; return this; } @@ -122,12 +131,12 @@ public String getMessage() { return message; } - public void setMessage(String message) { + public void setMessage(@javax.annotation.Nullable String message) { this.message = message; } - public LookupResult e164Format(String e164Format) { + public LookupResult e164Format(@javax.annotation.Nullable String e164Format) { this.e164Format = e164Format; return this; } @@ -141,12 +150,12 @@ public String getE164Format() { return e164Format; } - public void setE164Format(String e164Format) { + public void setE164Format(@javax.annotation.Nullable String e164Format) { this.e164Format = e164Format; } - public LookupResult formatted(String formatted) { + public LookupResult formatted(@javax.annotation.Nullable String formatted) { this.formatted = formatted; return this; } @@ -160,12 +169,12 @@ public String getFormatted() { return formatted; } - public void setFormatted(String formatted) { + public void setFormatted(@javax.annotation.Nullable String formatted) { this.formatted = formatted; } - public LookupResult country(String country) { + public LookupResult country(@javax.annotation.Nullable String country) { this.country = country; return this; } @@ -179,12 +188,12 @@ public String getCountry() { return country; } - public void setCountry(String country) { + public void setCountry(@javax.annotation.Nullable String country) { this.country = country; } - public LookupResult lineType(String lineType) { + public LookupResult lineType(@javax.annotation.Nullable String lineType) { this.lineType = lineType; return this; } @@ -198,12 +207,12 @@ public String getLineType() { return lineType; } - public void setLineType(String lineType) { + public void setLineType(@javax.annotation.Nullable String lineType) { this.lineType = lineType; } - public LookupResult lineProvider(String lineProvider) { + public LookupResult lineProvider(@javax.annotation.Nullable String lineProvider) { this.lineProvider = lineProvider; return this; } @@ -217,12 +226,12 @@ public String getLineProvider() { return lineProvider; } - public void setLineProvider(String lineProvider) { + public void setLineProvider(@javax.annotation.Nullable String lineProvider) { this.lineProvider = lineProvider; } - public LookupResult mobileCountryCode(String mobileCountryCode) { + public LookupResult mobileCountryCode(@javax.annotation.Nullable String mobileCountryCode) { this.mobileCountryCode = mobileCountryCode; return this; } @@ -236,12 +245,12 @@ public String getMobileCountryCode() { return mobileCountryCode; } - public void setMobileCountryCode(String mobileCountryCode) { + public void setMobileCountryCode(@javax.annotation.Nullable String mobileCountryCode) { this.mobileCountryCode = mobileCountryCode; } - public LookupResult mobileNetworkCode(String mobileNetworkCode) { + public LookupResult mobileNetworkCode(@javax.annotation.Nullable String mobileNetworkCode) { this.mobileNetworkCode = mobileNetworkCode; return this; } @@ -255,7 +264,7 @@ public String getMobileNetworkCode() { return mobileNetworkCode; } - public void setMobileNetworkCode(String mobileNetworkCode) { + public void setMobileNetworkCode(@javax.annotation.Nullable 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 cdc1ac26..c1474231 100644 --- a/src/main/java/com/bandwidth/sdk/model/LookupStatus.java +++ b/src/main/java/com/bandwidth/sdk/model/LookupStatus.java @@ -52,28 +52,32 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String requestId) { + public LookupStatus requestId(@javax.annotation.Nullable String requestId) { this.requestId = requestId; return this; } @@ -87,12 +91,12 @@ public String getRequestId() { return requestId; } - public void setRequestId(String requestId) { + public void setRequestId(@javax.annotation.Nullable String requestId) { this.requestId = requestId; } - public LookupStatus status(LookupStatusEnum status) { + public LookupStatus status(@javax.annotation.Nullable LookupStatusEnum status) { this.status = status; return this; } @@ -106,12 +110,12 @@ public LookupStatusEnum getStatus() { return status; } - public void setStatus(LookupStatusEnum status) { + public void setStatus(@javax.annotation.Nullable LookupStatusEnum status) { this.status = status; } - public LookupStatus result(List result) { + public LookupStatus result(@javax.annotation.Nullable List result) { this.result = result; return this; } @@ -133,12 +137,12 @@ public List getResult() { return result; } - public void setResult(List result) { + public void setResult(@javax.annotation.Nullable List result) { this.result = result; } - public LookupStatus failedTelephoneNumbers(List failedTelephoneNumbers) { + public LookupStatus failedTelephoneNumbers(@javax.annotation.Nullable List failedTelephoneNumbers) { this.failedTelephoneNumbers = failedTelephoneNumbers; return this; } @@ -160,7 +164,7 @@ public List getFailedTelephoneNumbers() { return failedTelephoneNumbers; } - public void setFailedTelephoneNumbers(List failedTelephoneNumbers) { + public void setFailedTelephoneNumbers(@javax.annotation.Nullable 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 5cf68101..0f3f0a98 100644 --- a/src/main/java/com/bandwidth/sdk/model/MachineDetectionCompleteCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/MachineDetectionCompleteCallback.java @@ -53,68 +53,82 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public MachineDetectionCompleteCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -128,12 +142,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public MachineDetectionCompleteCallback eventTime(OffsetDateTime eventTime) { + public MachineDetectionCompleteCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -147,12 +161,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public MachineDetectionCompleteCallback accountId(String accountId) { + public MachineDetectionCompleteCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -166,12 +180,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public MachineDetectionCompleteCallback applicationId(String applicationId) { + public MachineDetectionCompleteCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -185,12 +199,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public MachineDetectionCompleteCallback from(String from) { + public MachineDetectionCompleteCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -204,12 +218,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public MachineDetectionCompleteCallback to(String to) { + public MachineDetectionCompleteCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -223,12 +237,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public MachineDetectionCompleteCallback direction(CallDirectionEnum direction) { + public MachineDetectionCompleteCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -242,12 +256,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public MachineDetectionCompleteCallback callId(String callId) { + public MachineDetectionCompleteCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -261,12 +275,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public MachineDetectionCompleteCallback callUrl(URI callUrl) { + public MachineDetectionCompleteCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -280,12 +294,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public MachineDetectionCompleteCallback enqueuedTime(OffsetDateTime enqueuedTime) { + public MachineDetectionCompleteCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -299,12 +313,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public MachineDetectionCompleteCallback startTime(OffsetDateTime startTime) { + public MachineDetectionCompleteCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -318,12 +332,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public MachineDetectionCompleteCallback answerTime(OffsetDateTime answerTime) { + public MachineDetectionCompleteCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -337,12 +351,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(OffsetDateTime answerTime) { + public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; } - public MachineDetectionCompleteCallback tag(String tag) { + public MachineDetectionCompleteCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -356,12 +370,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public MachineDetectionCompleteCallback machineDetectionResult(MachineDetectionResult machineDetectionResult) { + public MachineDetectionCompleteCallback machineDetectionResult(@javax.annotation.Nullable MachineDetectionResult machineDetectionResult) { this.machineDetectionResult = machineDetectionResult; return this; } @@ -375,7 +389,7 @@ public MachineDetectionResult getMachineDetectionResult() { return machineDetectionResult; } - public void setMachineDetectionResult(MachineDetectionResult machineDetectionResult) { + public void setMachineDetectionResult(@javax.annotation.Nullable 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 5b22e432..4b168f9f 100644 --- a/src/main/java/com/bandwidth/sdk/model/MachineDetectionConfiguration.java +++ b/src/main/java/com/bandwidth/sdk/model/MachineDetectionConfiguration.java @@ -52,72 +52,87 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(MachineDetectionModeEnum mode) { + public MachineDetectionConfiguration mode(@javax.annotation.Nullable MachineDetectionModeEnum mode) { this.mode = mode; return this; } @@ -131,12 +146,12 @@ public MachineDetectionModeEnum getMode() { return mode; } - public void setMode(MachineDetectionModeEnum mode) { + public void setMode(@javax.annotation.Nullable MachineDetectionModeEnum mode) { this.mode = mode; } - public MachineDetectionConfiguration detectionTimeout(Double detectionTimeout) { + public MachineDetectionConfiguration detectionTimeout(@javax.annotation.Nullable Double detectionTimeout) { this.detectionTimeout = detectionTimeout; return this; } @@ -150,12 +165,12 @@ public Double getDetectionTimeout() { return detectionTimeout; } - public void setDetectionTimeout(Double detectionTimeout) { + public void setDetectionTimeout(@javax.annotation.Nullable Double detectionTimeout) { this.detectionTimeout = detectionTimeout; } - public MachineDetectionConfiguration silenceTimeout(Double silenceTimeout) { + public MachineDetectionConfiguration silenceTimeout(@javax.annotation.Nullable Double silenceTimeout) { this.silenceTimeout = silenceTimeout; return this; } @@ -169,12 +184,12 @@ public Double getSilenceTimeout() { return silenceTimeout; } - public void setSilenceTimeout(Double silenceTimeout) { + public void setSilenceTimeout(@javax.annotation.Nullable Double silenceTimeout) { this.silenceTimeout = silenceTimeout; } - public MachineDetectionConfiguration speechThreshold(Double speechThreshold) { + public MachineDetectionConfiguration speechThreshold(@javax.annotation.Nullable Double speechThreshold) { this.speechThreshold = speechThreshold; return this; } @@ -188,12 +203,12 @@ public Double getSpeechThreshold() { return speechThreshold; } - public void setSpeechThreshold(Double speechThreshold) { + public void setSpeechThreshold(@javax.annotation.Nullable Double speechThreshold) { this.speechThreshold = speechThreshold; } - public MachineDetectionConfiguration speechEndThreshold(Double speechEndThreshold) { + public MachineDetectionConfiguration speechEndThreshold(@javax.annotation.Nullable Double speechEndThreshold) { this.speechEndThreshold = speechEndThreshold; return this; } @@ -207,12 +222,12 @@ public Double getSpeechEndThreshold() { return speechEndThreshold; } - public void setSpeechEndThreshold(Double speechEndThreshold) { + public void setSpeechEndThreshold(@javax.annotation.Nullable Double speechEndThreshold) { this.speechEndThreshold = speechEndThreshold; } - public MachineDetectionConfiguration machineSpeechEndThreshold(Double machineSpeechEndThreshold) { + public MachineDetectionConfiguration machineSpeechEndThreshold(@javax.annotation.Nullable Double machineSpeechEndThreshold) { this.machineSpeechEndThreshold = machineSpeechEndThreshold; return this; } @@ -226,12 +241,12 @@ public Double getMachineSpeechEndThreshold() { return machineSpeechEndThreshold; } - public void setMachineSpeechEndThreshold(Double machineSpeechEndThreshold) { + public void setMachineSpeechEndThreshold(@javax.annotation.Nullable Double machineSpeechEndThreshold) { this.machineSpeechEndThreshold = machineSpeechEndThreshold; } - public MachineDetectionConfiguration delayResult(Boolean delayResult) { + public MachineDetectionConfiguration delayResult(@javax.annotation.Nullable Boolean delayResult) { this.delayResult = delayResult; return this; } @@ -245,12 +260,12 @@ public Boolean getDelayResult() { return delayResult; } - public void setDelayResult(Boolean delayResult) { + public void setDelayResult(@javax.annotation.Nullable Boolean delayResult) { this.delayResult = delayResult; } - public MachineDetectionConfiguration callbackUrl(URI callbackUrl) { + public MachineDetectionConfiguration callbackUrl(@javax.annotation.Nullable URI callbackUrl) { this.callbackUrl = callbackUrl; return this; } @@ -264,12 +279,12 @@ public URI getCallbackUrl() { return callbackUrl; } - public void setCallbackUrl(URI callbackUrl) { + public void setCallbackUrl(@javax.annotation.Nullable URI callbackUrl) { this.callbackUrl = callbackUrl; } - public MachineDetectionConfiguration callbackMethod(CallbackMethodEnum callbackMethod) { + public MachineDetectionConfiguration callbackMethod(@javax.annotation.Nullable CallbackMethodEnum callbackMethod) { this.callbackMethod = callbackMethod; return this; } @@ -283,12 +298,12 @@ public CallbackMethodEnum getCallbackMethod() { return callbackMethod; } - public void setCallbackMethod(CallbackMethodEnum callbackMethod) { + public void setCallbackMethod(@javax.annotation.Nullable CallbackMethodEnum callbackMethod) { this.callbackMethod = callbackMethod; } - public MachineDetectionConfiguration username(String username) { + public MachineDetectionConfiguration username(@javax.annotation.Nullable String username) { this.username = username; return this; } @@ -302,12 +317,12 @@ public String getUsername() { return username; } - public void setUsername(String username) { + public void setUsername(@javax.annotation.Nullable String username) { this.username = username; } - public MachineDetectionConfiguration password(String password) { + public MachineDetectionConfiguration password(@javax.annotation.Nullable String password) { this.password = password; return this; } @@ -321,12 +336,12 @@ public String getPassword() { return password; } - public void setPassword(String password) { + public void setPassword(@javax.annotation.Nullable String password) { this.password = password; } - public MachineDetectionConfiguration fallbackUrl(URI fallbackUrl) { + public MachineDetectionConfiguration fallbackUrl(@javax.annotation.Nullable URI fallbackUrl) { this.fallbackUrl = fallbackUrl; return this; } @@ -340,12 +355,12 @@ public URI getFallbackUrl() { return fallbackUrl; } - public void setFallbackUrl(URI fallbackUrl) { + public void setFallbackUrl(@javax.annotation.Nullable URI fallbackUrl) { this.fallbackUrl = fallbackUrl; } - public MachineDetectionConfiguration fallbackMethod(CallbackMethodEnum fallbackMethod) { + public MachineDetectionConfiguration fallbackMethod(@javax.annotation.Nullable CallbackMethodEnum fallbackMethod) { this.fallbackMethod = fallbackMethod; return this; } @@ -359,12 +374,12 @@ public CallbackMethodEnum getFallbackMethod() { return fallbackMethod; } - public void setFallbackMethod(CallbackMethodEnum fallbackMethod) { + public void setFallbackMethod(@javax.annotation.Nullable CallbackMethodEnum fallbackMethod) { this.fallbackMethod = fallbackMethod; } - public MachineDetectionConfiguration fallbackUsername(String fallbackUsername) { + public MachineDetectionConfiguration fallbackUsername(@javax.annotation.Nullable String fallbackUsername) { this.fallbackUsername = fallbackUsername; return this; } @@ -378,12 +393,12 @@ public String getFallbackUsername() { return fallbackUsername; } - public void setFallbackUsername(String fallbackUsername) { + public void setFallbackUsername(@javax.annotation.Nullable String fallbackUsername) { this.fallbackUsername = fallbackUsername; } - public MachineDetectionConfiguration fallbackPassword(String fallbackPassword) { + public MachineDetectionConfiguration fallbackPassword(@javax.annotation.Nullable String fallbackPassword) { this.fallbackPassword = fallbackPassword; return this; } @@ -397,7 +412,7 @@ public String getFallbackPassword() { return fallbackPassword; } - public void setFallbackPassword(String fallbackPassword) { + public void setFallbackPassword(@javax.annotation.Nullable 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 b33891ea..a424bdfb 100644 --- a/src/main/java/com/bandwidth/sdk/model/MachineDetectionResult.java +++ b/src/main/java/com/bandwidth/sdk/model/MachineDetectionResult.java @@ -48,20 +48,22 @@ /** * (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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String value) { + public MachineDetectionResult value(@javax.annotation.Nullable String value) { this.value = value; return this; } @@ -75,12 +77,12 @@ public String getValue() { return value; } - public void setValue(String value) { + public void setValue(@javax.annotation.Nullable String value) { this.value = value; } - public MachineDetectionResult duration(String duration) { + public MachineDetectionResult duration(@javax.annotation.Nullable String duration) { this.duration = duration; return this; } @@ -94,7 +96,7 @@ public String getDuration() { return duration; } - public void setDuration(String duration) { + public void setDuration(@javax.annotation.Nullable 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 6271307d..551b9a39 100644 --- a/src/main/java/com/bandwidth/sdk/model/Media.java +++ b/src/main/java/com/bandwidth/sdk/model/Media.java @@ -48,24 +48,27 @@ /** * Media */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String content) { + public Media content(@javax.annotation.Nullable String content) { this.content = content; return this; } @@ -79,12 +82,12 @@ public String getContent() { return content; } - public void setContent(String content) { + public void setContent(@javax.annotation.Nullable String content) { this.content = content; } - public Media contentLength(Integer contentLength) { + public Media contentLength(@javax.annotation.Nullable Integer contentLength) { this.contentLength = contentLength; return this; } @@ -98,12 +101,12 @@ public Integer getContentLength() { return contentLength; } - public void setContentLength(Integer contentLength) { + public void setContentLength(@javax.annotation.Nullable Integer contentLength) { this.contentLength = contentLength; } - public Media mediaName(String mediaName) { + public Media mediaName(@javax.annotation.Nullable String mediaName) { this.mediaName = mediaName; return this; } @@ -117,7 +120,7 @@ public String getMediaName() { return mediaName; } - public void setMediaName(String mediaName) { + public void setMediaName(@javax.annotation.Nullable 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 f8647be4..4e2bde24 100644 --- a/src/main/java/com/bandwidth/sdk/model/Message.java +++ b/src/main/java/com/bandwidth/sdk/model/Message.java @@ -53,64 +53,77 @@ /** * Message */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String id) { + public Message id(@javax.annotation.Nullable String id) { this.id = id; return this; } @@ -124,12 +137,12 @@ public String getId() { return id; } - public void setId(String id) { + public void setId(@javax.annotation.Nullable String id) { this.id = id; } - public Message owner(String owner) { + public Message owner(@javax.annotation.Nullable String owner) { this.owner = owner; return this; } @@ -143,12 +156,12 @@ public String getOwner() { return owner; } - public void setOwner(String owner) { + public void setOwner(@javax.annotation.Nullable String owner) { this.owner = owner; } - public Message applicationId(String applicationId) { + public Message applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -162,12 +175,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public Message time(OffsetDateTime time) { + public Message time(@javax.annotation.Nullable OffsetDateTime time) { this.time = time; return this; } @@ -181,12 +194,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(OffsetDateTime time) { + public void setTime(@javax.annotation.Nullable OffsetDateTime time) { this.time = time; } - public Message segmentCount(Integer segmentCount) { + public Message segmentCount(@javax.annotation.Nullable Integer segmentCount) { this.segmentCount = segmentCount; return this; } @@ -200,12 +213,12 @@ public Integer getSegmentCount() { return segmentCount; } - public void setSegmentCount(Integer segmentCount) { + public void setSegmentCount(@javax.annotation.Nullable Integer segmentCount) { this.segmentCount = segmentCount; } - public Message direction(MessageDirectionEnum direction) { + public Message direction(@javax.annotation.Nullable MessageDirectionEnum direction) { this.direction = direction; return this; } @@ -219,12 +232,12 @@ public MessageDirectionEnum getDirection() { return direction; } - public void setDirection(MessageDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable MessageDirectionEnum direction) { this.direction = direction; } - public Message to(Set to) { + public Message to(@javax.annotation.Nullable Set to) { this.to = to; return this; } @@ -246,12 +259,12 @@ public Set getTo() { return to; } - public void setTo(Set to) { + public void setTo(@javax.annotation.Nullable Set to) { this.to = to; } - public Message from(String from) { + public Message from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -265,12 +278,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public Message media(Set media) { + public Message media(@javax.annotation.Nullable Set media) { this.media = media; return this; } @@ -292,12 +305,12 @@ public Set getMedia() { return media; } - public void setMedia(Set media) { + public void setMedia(@javax.annotation.Nullable Set media) { this.media = media; } - public Message text(String text) { + public Message text(@javax.annotation.Nullable String text) { this.text = text; return this; } @@ -311,12 +324,12 @@ public String getText() { return text; } - public void setText(String text) { + public void setText(@javax.annotation.Nullable String text) { this.text = text; } - public Message tag(String tag) { + public Message tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -330,12 +343,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public Message priority(PriorityEnum priority) { + public Message priority(@javax.annotation.Nullable PriorityEnum priority) { this.priority = priority; return this; } @@ -349,12 +362,12 @@ public PriorityEnum getPriority() { return priority; } - public void setPriority(PriorityEnum priority) { + public void setPriority(@javax.annotation.Nullable PriorityEnum priority) { this.priority = priority; } - public Message expiration(OffsetDateTime expiration) { + public Message expiration(@javax.annotation.Nullable OffsetDateTime expiration) { this.expiration = expiration; return this; } @@ -368,7 +381,7 @@ public OffsetDateTime getExpiration() { return expiration; } - public void setExpiration(OffsetDateTime expiration) { + public void setExpiration(@javax.annotation.Nullable 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 78b2e050..2a9b1c7e 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessageDeliveredCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/MessageDeliveredCallback.java @@ -50,32 +50,37 @@ /** * Message Delivered Callback */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(OffsetDateTime time) { + public MessageDeliveredCallback time(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; return this; } @@ -89,12 +94,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(OffsetDateTime time) { + public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; } - public MessageDeliveredCallback type(String type) { + public MessageDeliveredCallback type(@javax.annotation.Nonnull String type) { this.type = type; return this; } @@ -108,12 +113,12 @@ public String getType() { return type; } - public void setType(String type) { + public void setType(@javax.annotation.Nonnull String type) { this.type = type; } - public MessageDeliveredCallback to(String to) { + public MessageDeliveredCallback to(@javax.annotation.Nonnull String to) { this.to = to; return this; } @@ -127,12 +132,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nonnull String to) { this.to = to; } - public MessageDeliveredCallback description(String description) { + public MessageDeliveredCallback description(@javax.annotation.Nonnull String description) { this.description = description; return this; } @@ -146,12 +151,12 @@ public String getDescription() { return description; } - public void setDescription(String description) { + public void setDescription(@javax.annotation.Nonnull String description) { this.description = description; } - public MessageDeliveredCallback message(MessageDeliveredCallbackMessage message) { + public MessageDeliveredCallback message(@javax.annotation.Nonnull MessageDeliveredCallbackMessage message) { this.message = message; return this; } @@ -165,7 +170,7 @@ public MessageDeliveredCallbackMessage getMessage() { return message; } - public void setMessage(MessageDeliveredCallbackMessage message) { + public void setMessage(@javax.annotation.Nonnull 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 a89369c2..c4c644bc 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessageDeliveredCallbackMessage.java +++ b/src/main/java/com/bandwidth/sdk/model/MessageDeliveredCallbackMessage.java @@ -56,60 +56,72 @@ /** * Message Delivered Callback Message Schema */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String id) { + public MessageDeliveredCallbackMessage id(@javax.annotation.Nonnull String id) { this.id = id; return this; } @@ -123,12 +135,12 @@ public String getId() { return id; } - public void setId(String id) { + public void setId(@javax.annotation.Nonnull String id) { this.id = id; } - public MessageDeliveredCallbackMessage owner(String owner) { + public MessageDeliveredCallbackMessage owner(@javax.annotation.Nonnull String owner) { this.owner = owner; return this; } @@ -142,12 +154,12 @@ public String getOwner() { return owner; } - public void setOwner(String owner) { + public void setOwner(@javax.annotation.Nonnull String owner) { this.owner = owner; } - public MessageDeliveredCallbackMessage applicationId(String applicationId) { + public MessageDeliveredCallbackMessage applicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; return this; } @@ -161,12 +173,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; } - public MessageDeliveredCallbackMessage time(OffsetDateTime time) { + public MessageDeliveredCallbackMessage time(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; return this; } @@ -180,12 +192,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(OffsetDateTime time) { + public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; } - public MessageDeliveredCallbackMessage segmentCount(Integer segmentCount) { + public MessageDeliveredCallbackMessage segmentCount(@javax.annotation.Nonnull Integer segmentCount) { this.segmentCount = segmentCount; return this; } @@ -199,12 +211,12 @@ public Integer getSegmentCount() { return segmentCount; } - public void setSegmentCount(Integer segmentCount) { + public void setSegmentCount(@javax.annotation.Nonnull Integer segmentCount) { this.segmentCount = segmentCount; } - public MessageDeliveredCallbackMessage direction(MessageDirectionEnum direction) { + public MessageDeliveredCallbackMessage direction(@javax.annotation.Nonnull MessageDirectionEnum direction) { this.direction = direction; return this; } @@ -218,12 +230,12 @@ public MessageDirectionEnum getDirection() { return direction; } - public void setDirection(MessageDirectionEnum direction) { + public void setDirection(@javax.annotation.Nonnull MessageDirectionEnum direction) { this.direction = direction; } - public MessageDeliveredCallbackMessage to(Set to) { + public MessageDeliveredCallbackMessage to(@javax.annotation.Nonnull Set to) { this.to = to; return this; } @@ -245,12 +257,12 @@ public Set getTo() { return to; } - public void setTo(Set to) { + public void setTo(@javax.annotation.Nonnull Set to) { this.to = to; } - public MessageDeliveredCallbackMessage from(String from) { + public MessageDeliveredCallbackMessage from(@javax.annotation.Nonnull String from) { this.from = from; return this; } @@ -264,12 +276,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nonnull String from) { this.from = from; } - public MessageDeliveredCallbackMessage text(String text) { + public MessageDeliveredCallbackMessage text(@javax.annotation.Nonnull String text) { this.text = text; return this; } @@ -283,12 +295,12 @@ public String getText() { return text; } - public void setText(String text) { + public void setText(@javax.annotation.Nonnull String text) { this.text = text; } - public MessageDeliveredCallbackMessage tag(String tag) { + public MessageDeliveredCallbackMessage tag(@javax.annotation.Nonnull String tag) { this.tag = tag; return this; } @@ -302,12 +314,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nonnull String tag) { this.tag = tag; } - public MessageDeliveredCallbackMessage media(List media) { + public MessageDeliveredCallbackMessage media(@javax.annotation.Nullable List media) { this.media = media; return this; } @@ -329,12 +341,12 @@ public List getMedia() { return media; } - public void setMedia(List media) { + public void setMedia(@javax.annotation.Nullable List media) { this.media = media; } - public MessageDeliveredCallbackMessage priority(PriorityEnum priority) { + public MessageDeliveredCallbackMessage priority(@javax.annotation.Nullable PriorityEnum priority) { this.priority = priority; return this; } @@ -348,7 +360,7 @@ public PriorityEnum getPriority() { return priority; } - public void setPriority(PriorityEnum priority) { + public void setPriority(@javax.annotation.Nullable 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 5dbd1a65..076afbef 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessageFailedCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/MessageFailedCallback.java @@ -50,36 +50,42 @@ /** * Message Failed Callback */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(OffsetDateTime time) { + public MessageFailedCallback time(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; return this; } @@ -93,12 +99,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(OffsetDateTime time) { + public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; } - public MessageFailedCallback type(String type) { + public MessageFailedCallback type(@javax.annotation.Nonnull String type) { this.type = type; return this; } @@ -112,12 +118,12 @@ public String getType() { return type; } - public void setType(String type) { + public void setType(@javax.annotation.Nonnull String type) { this.type = type; } - public MessageFailedCallback to(String to) { + public MessageFailedCallback to(@javax.annotation.Nonnull String to) { this.to = to; return this; } @@ -131,12 +137,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nonnull String to) { this.to = to; } - public MessageFailedCallback description(String description) { + public MessageFailedCallback description(@javax.annotation.Nonnull String description) { this.description = description; return this; } @@ -150,12 +156,12 @@ public String getDescription() { return description; } - public void setDescription(String description) { + public void setDescription(@javax.annotation.Nonnull String description) { this.description = description; } - public MessageFailedCallback message(MessageFailedCallbackMessage message) { + public MessageFailedCallback message(@javax.annotation.Nonnull MessageFailedCallbackMessage message) { this.message = message; return this; } @@ -169,12 +175,12 @@ public MessageFailedCallbackMessage getMessage() { return message; } - public void setMessage(MessageFailedCallbackMessage message) { + public void setMessage(@javax.annotation.Nonnull MessageFailedCallbackMessage message) { this.message = message; } - public MessageFailedCallback errorCode(Integer errorCode) { + public MessageFailedCallback errorCode(@javax.annotation.Nonnull Integer errorCode) { this.errorCode = errorCode; return this; } @@ -188,7 +194,7 @@ public Integer getErrorCode() { return errorCode; } - public void setErrorCode(Integer errorCode) { + public void setErrorCode(@javax.annotation.Nonnull 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 c819c0e7..37dadda7 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessageFailedCallbackMessage.java +++ b/src/main/java/com/bandwidth/sdk/model/MessageFailedCallbackMessage.java @@ -56,60 +56,72 @@ /** * Message Failed Callback Message Schema */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String id) { + public MessageFailedCallbackMessage id(@javax.annotation.Nonnull String id) { this.id = id; return this; } @@ -123,12 +135,12 @@ public String getId() { return id; } - public void setId(String id) { + public void setId(@javax.annotation.Nonnull String id) { this.id = id; } - public MessageFailedCallbackMessage owner(String owner) { + public MessageFailedCallbackMessage owner(@javax.annotation.Nonnull String owner) { this.owner = owner; return this; } @@ -142,12 +154,12 @@ public String getOwner() { return owner; } - public void setOwner(String owner) { + public void setOwner(@javax.annotation.Nonnull String owner) { this.owner = owner; } - public MessageFailedCallbackMessage applicationId(String applicationId) { + public MessageFailedCallbackMessage applicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; return this; } @@ -161,12 +173,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; } - public MessageFailedCallbackMessage time(OffsetDateTime time) { + public MessageFailedCallbackMessage time(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; return this; } @@ -180,12 +192,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(OffsetDateTime time) { + public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; } - public MessageFailedCallbackMessage segmentCount(Integer segmentCount) { + public MessageFailedCallbackMessage segmentCount(@javax.annotation.Nonnull Integer segmentCount) { this.segmentCount = segmentCount; return this; } @@ -199,12 +211,12 @@ public Integer getSegmentCount() { return segmentCount; } - public void setSegmentCount(Integer segmentCount) { + public void setSegmentCount(@javax.annotation.Nonnull Integer segmentCount) { this.segmentCount = segmentCount; } - public MessageFailedCallbackMessage direction(MessageDirectionEnum direction) { + public MessageFailedCallbackMessage direction(@javax.annotation.Nonnull MessageDirectionEnum direction) { this.direction = direction; return this; } @@ -218,12 +230,12 @@ public MessageDirectionEnum getDirection() { return direction; } - public void setDirection(MessageDirectionEnum direction) { + public void setDirection(@javax.annotation.Nonnull MessageDirectionEnum direction) { this.direction = direction; } - public MessageFailedCallbackMessage to(Set to) { + public MessageFailedCallbackMessage to(@javax.annotation.Nonnull Set to) { this.to = to; return this; } @@ -245,12 +257,12 @@ public Set getTo() { return to; } - public void setTo(Set to) { + public void setTo(@javax.annotation.Nonnull Set to) { this.to = to; } - public MessageFailedCallbackMessage from(String from) { + public MessageFailedCallbackMessage from(@javax.annotation.Nonnull String from) { this.from = from; return this; } @@ -264,12 +276,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nonnull String from) { this.from = from; } - public MessageFailedCallbackMessage text(String text) { + public MessageFailedCallbackMessage text(@javax.annotation.Nonnull String text) { this.text = text; return this; } @@ -283,12 +295,12 @@ public String getText() { return text; } - public void setText(String text) { + public void setText(@javax.annotation.Nonnull String text) { this.text = text; } - public MessageFailedCallbackMessage tag(String tag) { + public MessageFailedCallbackMessage tag(@javax.annotation.Nonnull String tag) { this.tag = tag; return this; } @@ -302,12 +314,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nonnull String tag) { this.tag = tag; } - public MessageFailedCallbackMessage media(List media) { + public MessageFailedCallbackMessage media(@javax.annotation.Nullable List media) { this.media = media; return this; } @@ -329,12 +341,12 @@ public List getMedia() { return media; } - public void setMedia(List media) { + public void setMedia(@javax.annotation.Nullable List media) { this.media = media; } - public MessageFailedCallbackMessage priority(PriorityEnum priority) { + public MessageFailedCallbackMessage priority(@javax.annotation.Nullable PriorityEnum priority) { this.priority = priority; return this; } @@ -348,7 +360,7 @@ public PriorityEnum getPriority() { return priority; } - public void setPriority(PriorityEnum priority) { + public void setPriority(@javax.annotation.Nullable 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 b29f4740..3859eed6 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessageRequest.java +++ b/src/main/java/com/bandwidth/sdk/model/MessageRequest.java @@ -55,44 +55,52 @@ /** * MessageRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String applicationId) { + public MessageRequest applicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; return this; } @@ -106,12 +114,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; } - public MessageRequest to(Set to) { + public MessageRequest to(@javax.annotation.Nonnull Set to) { this.to = to; return this; } @@ -133,12 +141,12 @@ public Set getTo() { return to; } - public void setTo(Set to) { + public void setTo(@javax.annotation.Nonnull Set to) { this.to = to; } - public MessageRequest from(String from) { + public MessageRequest from(@javax.annotation.Nonnull String from) { this.from = from; return this; } @@ -152,12 +160,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nonnull String from) { this.from = from; } - public MessageRequest text(String text) { + public MessageRequest text(@javax.annotation.Nullable String text) { this.text = text; return this; } @@ -171,12 +179,12 @@ public String getText() { return text; } - public void setText(String text) { + public void setText(@javax.annotation.Nullable String text) { this.text = text; } - public MessageRequest media(List media) { + public MessageRequest media(@javax.annotation.Nullable List media) { this.media = media; return this; } @@ -198,12 +206,12 @@ public List getMedia() { return media; } - public void setMedia(List media) { + public void setMedia(@javax.annotation.Nullable List media) { this.media = media; } - public MessageRequest tag(String tag) { + public MessageRequest tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -217,12 +225,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public MessageRequest priority(PriorityEnum priority) { + public MessageRequest priority(@javax.annotation.Nullable PriorityEnum priority) { this.priority = priority; return this; } @@ -236,12 +244,12 @@ public PriorityEnum getPriority() { return priority; } - public void setPriority(PriorityEnum priority) { + public void setPriority(@javax.annotation.Nullable PriorityEnum priority) { this.priority = priority; } - public MessageRequest expiration(OffsetDateTime expiration) { + public MessageRequest expiration(@javax.annotation.Nullable OffsetDateTime expiration) { this.expiration = expiration; return this; } @@ -255,7 +263,7 @@ public OffsetDateTime getExpiration() { return expiration; } - public void setExpiration(OffsetDateTime expiration) { + public void setExpiration(@javax.annotation.Nullable 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 4fe2cff5..14d81e84 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessageSendingCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/MessageSendingCallback.java @@ -50,32 +50,37 @@ /** * Message Sending Callback */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(OffsetDateTime time) { + public MessageSendingCallback time(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; return this; } @@ -89,12 +94,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(OffsetDateTime time) { + public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; } - public MessageSendingCallback type(String type) { + public MessageSendingCallback type(@javax.annotation.Nonnull String type) { this.type = type; return this; } @@ -108,12 +113,12 @@ public String getType() { return type; } - public void setType(String type) { + public void setType(@javax.annotation.Nonnull String type) { this.type = type; } - public MessageSendingCallback to(String to) { + public MessageSendingCallback to(@javax.annotation.Nonnull String to) { this.to = to; return this; } @@ -127,12 +132,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nonnull String to) { this.to = to; } - public MessageSendingCallback description(String description) { + public MessageSendingCallback description(@javax.annotation.Nonnull String description) { this.description = description; return this; } @@ -146,12 +151,12 @@ public String getDescription() { return description; } - public void setDescription(String description) { + public void setDescription(@javax.annotation.Nonnull String description) { this.description = description; } - public MessageSendingCallback message(MessageSendingCallbackMessage message) { + public MessageSendingCallback message(@javax.annotation.Nonnull MessageSendingCallbackMessage message) { this.message = message; return this; } @@ -165,7 +170,7 @@ public MessageSendingCallbackMessage getMessage() { return message; } - public void setMessage(MessageSendingCallbackMessage message) { + public void setMessage(@javax.annotation.Nonnull 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 58085741..1db3d24a 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessageSendingCallbackMessage.java +++ b/src/main/java/com/bandwidth/sdk/model/MessageSendingCallbackMessage.java @@ -56,60 +56,72 @@ /** * Message Sending Callback Message Schema */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String id) { + public MessageSendingCallbackMessage id(@javax.annotation.Nonnull String id) { this.id = id; return this; } @@ -123,12 +135,12 @@ public String getId() { return id; } - public void setId(String id) { + public void setId(@javax.annotation.Nonnull String id) { this.id = id; } - public MessageSendingCallbackMessage owner(String owner) { + public MessageSendingCallbackMessage owner(@javax.annotation.Nonnull String owner) { this.owner = owner; return this; } @@ -142,12 +154,12 @@ public String getOwner() { return owner; } - public void setOwner(String owner) { + public void setOwner(@javax.annotation.Nonnull String owner) { this.owner = owner; } - public MessageSendingCallbackMessage applicationId(String applicationId) { + public MessageSendingCallbackMessage applicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; return this; } @@ -161,12 +173,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nonnull String applicationId) { this.applicationId = applicationId; } - public MessageSendingCallbackMessage time(OffsetDateTime time) { + public MessageSendingCallbackMessage time(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; return this; } @@ -180,12 +192,12 @@ public OffsetDateTime getTime() { return time; } - public void setTime(OffsetDateTime time) { + public void setTime(@javax.annotation.Nonnull OffsetDateTime time) { this.time = time; } - public MessageSendingCallbackMessage segmentCount(Integer segmentCount) { + public MessageSendingCallbackMessage segmentCount(@javax.annotation.Nonnull Integer segmentCount) { this.segmentCount = segmentCount; return this; } @@ -199,12 +211,12 @@ public Integer getSegmentCount() { return segmentCount; } - public void setSegmentCount(Integer segmentCount) { + public void setSegmentCount(@javax.annotation.Nonnull Integer segmentCount) { this.segmentCount = segmentCount; } - public MessageSendingCallbackMessage direction(MessageDirectionEnum direction) { + public MessageSendingCallbackMessage direction(@javax.annotation.Nonnull MessageDirectionEnum direction) { this.direction = direction; return this; } @@ -218,12 +230,12 @@ public MessageDirectionEnum getDirection() { return direction; } - public void setDirection(MessageDirectionEnum direction) { + public void setDirection(@javax.annotation.Nonnull MessageDirectionEnum direction) { this.direction = direction; } - public MessageSendingCallbackMessage to(Set to) { + public MessageSendingCallbackMessage to(@javax.annotation.Nonnull Set to) { this.to = to; return this; } @@ -245,12 +257,12 @@ public Set getTo() { return to; } - public void setTo(Set to) { + public void setTo(@javax.annotation.Nonnull Set to) { this.to = to; } - public MessageSendingCallbackMessage from(String from) { + public MessageSendingCallbackMessage from(@javax.annotation.Nonnull String from) { this.from = from; return this; } @@ -264,12 +276,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nonnull String from) { this.from = from; } - public MessageSendingCallbackMessage text(String text) { + public MessageSendingCallbackMessage text(@javax.annotation.Nonnull String text) { this.text = text; return this; } @@ -283,12 +295,12 @@ public String getText() { return text; } - public void setText(String text) { + public void setText(@javax.annotation.Nonnull String text) { this.text = text; } - public MessageSendingCallbackMessage tag(String tag) { + public MessageSendingCallbackMessage tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -302,12 +314,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public MessageSendingCallbackMessage media(List media) { + public MessageSendingCallbackMessage media(@javax.annotation.Nonnull List media) { this.media = media; return this; } @@ -329,12 +341,12 @@ public List getMedia() { return media; } - public void setMedia(List media) { + public void setMedia(@javax.annotation.Nonnull List media) { this.media = media; } - public MessageSendingCallbackMessage priority(PriorityEnum priority) { + public MessageSendingCallbackMessage priority(@javax.annotation.Nullable PriorityEnum priority) { this.priority = priority; return this; } @@ -348,7 +360,7 @@ public PriorityEnum getPriority() { return priority; } - public void setPriority(PriorityEnum priority) { + public void setPriority(@javax.annotation.Nullable 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 41876834..1f74bd1e 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessagesList.java +++ b/src/main/java/com/bandwidth/sdk/model/MessagesList.java @@ -52,24 +52,27 @@ /** * MessagesList */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(Integer totalCount) { + public MessagesList totalCount(@javax.annotation.Nullable Integer totalCount) { this.totalCount = totalCount; return this; } @@ -83,12 +86,12 @@ public Integer getTotalCount() { return totalCount; } - public void setTotalCount(Integer totalCount) { + public void setTotalCount(@javax.annotation.Nullable Integer totalCount) { this.totalCount = totalCount; } - public MessagesList pageInfo(PageInfo pageInfo) { + public MessagesList pageInfo(@javax.annotation.Nullable PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } @@ -102,12 +105,12 @@ public PageInfo getPageInfo() { return pageInfo; } - public void setPageInfo(PageInfo pageInfo) { + public void setPageInfo(@javax.annotation.Nullable PageInfo pageInfo) { this.pageInfo = pageInfo; } - public MessagesList messages(List messages) { + public MessagesList messages(@javax.annotation.Nullable List messages) { this.messages = messages; return this; } @@ -129,7 +132,7 @@ public List getMessages() { return messages; } - public void setMessages(List messages) { + public void setMessages(@javax.annotation.Nullable 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 bf999660..8fe89b02 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessagingCodeResponse.java +++ b/src/main/java/com/bandwidth/sdk/model/MessagingCodeResponse.java @@ -48,16 +48,17 @@ /** * MessagingCodeResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String messageId) { + public MessagingCodeResponse messageId(@javax.annotation.Nullable String messageId) { this.messageId = messageId; return this; } @@ -71,7 +72,7 @@ public String getMessageId() { return messageId; } - public void setMessageId(String messageId) { + public void setMessageId(@javax.annotation.Nullable 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 7153b7bc..b42f7150 100644 --- a/src/main/java/com/bandwidth/sdk/model/MessagingRequestError.java +++ b/src/main/java/com/bandwidth/sdk/model/MessagingRequestError.java @@ -48,20 +48,22 @@ /** * MessagingRequestError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String type) { + public MessagingRequestError type(@javax.annotation.Nonnull String type) { this.type = type; return this; } @@ -75,12 +77,12 @@ public String getType() { return type; } - public void setType(String type) { + public void setType(@javax.annotation.Nonnull String type) { this.type = type; } - public MessagingRequestError description(String description) { + public MessagingRequestError description(@javax.annotation.Nonnull String description) { this.description = description; return this; } @@ -94,7 +96,7 @@ public String getDescription() { return description; } - public void setDescription(String description) { + public void setDescription(@javax.annotation.Nonnull 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 41ad730a..206737b2 100644 --- a/src/main/java/com/bandwidth/sdk/model/MfaForbiddenRequestError.java +++ b/src/main/java/com/bandwidth/sdk/model/MfaForbiddenRequestError.java @@ -48,16 +48,17 @@ /** * MfaForbiddenRequestError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class MfaForbiddenRequestError { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) + @javax.annotation.Nullable private String message; public MfaForbiddenRequestError() { } - public MfaForbiddenRequestError message(String message) { + public MfaForbiddenRequestError message(@javax.annotation.Nullable String message) { this.message = message; return this; } @@ -71,7 +72,7 @@ public String getMessage() { return message; } - public void setMessage(String message) { + public void setMessage(@javax.annotation.Nullable 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 e1b36fc3..b4674ca8 100644 --- a/src/main/java/com/bandwidth/sdk/model/MfaRequestError.java +++ b/src/main/java/com/bandwidth/sdk/model/MfaRequestError.java @@ -48,20 +48,22 @@ /** * MfaRequestError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String error) { + public MfaRequestError error(@javax.annotation.Nullable String error) { this.error = error; return this; } @@ -75,12 +77,12 @@ public String getError() { return error; } - public void setError(String error) { + public void setError(@javax.annotation.Nullable String error) { this.error = error; } - public MfaRequestError requestId(String requestId) { + public MfaRequestError requestId(@javax.annotation.Nullable String requestId) { this.requestId = requestId; return this; } @@ -94,7 +96,7 @@ public String getRequestId() { return requestId; } - public void setRequestId(String requestId) { + public void setRequestId(@javax.annotation.Nullable 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 0ffc2ac6..63173e46 100644 --- a/src/main/java/com/bandwidth/sdk/model/MfaUnauthorizedRequestError.java +++ b/src/main/java/com/bandwidth/sdk/model/MfaUnauthorizedRequestError.java @@ -48,16 +48,17 @@ /** * MfaUnauthorizedRequestError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class MfaUnauthorizedRequestError { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) + @javax.annotation.Nullable private String message; public MfaUnauthorizedRequestError() { } - public MfaUnauthorizedRequestError message(String message) { + public MfaUnauthorizedRequestError message(@javax.annotation.Nullable String message) { this.message = message; return this; } @@ -71,7 +72,7 @@ public String getMessage() { return message; } - public void setMessage(String message) { + public void setMessage(@javax.annotation.Nullable 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 56cef96e..b0bfd585 100644 --- a/src/main/java/com/bandwidth/sdk/model/PageInfo.java +++ b/src/main/java/com/bandwidth/sdk/model/PageInfo.java @@ -48,28 +48,32 @@ /** * PageInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String prevPage) { + public PageInfo prevPage(@javax.annotation.Nullable String prevPage) { this.prevPage = prevPage; return this; } @@ -83,12 +87,12 @@ public String getPrevPage() { return prevPage; } - public void setPrevPage(String prevPage) { + public void setPrevPage(@javax.annotation.Nullable String prevPage) { this.prevPage = prevPage; } - public PageInfo nextPage(String nextPage) { + public PageInfo nextPage(@javax.annotation.Nullable String nextPage) { this.nextPage = nextPage; return this; } @@ -102,12 +106,12 @@ public String getNextPage() { return nextPage; } - public void setNextPage(String nextPage) { + public void setNextPage(@javax.annotation.Nullable String nextPage) { this.nextPage = nextPage; } - public PageInfo prevPageToken(String prevPageToken) { + public PageInfo prevPageToken(@javax.annotation.Nullable String prevPageToken) { this.prevPageToken = prevPageToken; return this; } @@ -121,12 +125,12 @@ public String getPrevPageToken() { return prevPageToken; } - public void setPrevPageToken(String prevPageToken) { + public void setPrevPageToken(@javax.annotation.Nullable String prevPageToken) { this.prevPageToken = prevPageToken; } - public PageInfo nextPageToken(String nextPageToken) { + public PageInfo nextPageToken(@javax.annotation.Nullable String nextPageToken) { this.nextPageToken = nextPageToken; return this; } @@ -140,7 +144,7 @@ public String getNextPageToken() { return nextPageToken; } - public void setNextPageToken(String nextPageToken) { + public void setNextPageToken(@javax.annotation.Nullable 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 67113014..806b6afb 100644 --- a/src/main/java/com/bandwidth/sdk/model/RecordingAvailableCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/RecordingAvailableCallback.java @@ -53,100 +53,122 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public RecordingAvailableCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -160,12 +182,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public RecordingAvailableCallback eventTime(OffsetDateTime eventTime) { + public RecordingAvailableCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -179,12 +201,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public RecordingAvailableCallback accountId(String accountId) { + public RecordingAvailableCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -198,12 +220,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public RecordingAvailableCallback applicationId(String applicationId) { + public RecordingAvailableCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -217,12 +239,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public RecordingAvailableCallback from(String from) { + public RecordingAvailableCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -236,12 +258,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public RecordingAvailableCallback to(String to) { + public RecordingAvailableCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -255,12 +277,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public RecordingAvailableCallback direction(CallDirectionEnum direction) { + public RecordingAvailableCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -274,12 +296,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public RecordingAvailableCallback callId(String callId) { + public RecordingAvailableCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -293,12 +315,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public RecordingAvailableCallback callUrl(URI callUrl) { + public RecordingAvailableCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -312,12 +334,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public RecordingAvailableCallback parentCallId(String parentCallId) { + public RecordingAvailableCallback parentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -331,12 +353,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(String parentCallId) { + public void setParentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; } - public RecordingAvailableCallback recordingId(String recordingId) { + public RecordingAvailableCallback recordingId(@javax.annotation.Nullable String recordingId) { this.recordingId = recordingId; return this; } @@ -350,12 +372,12 @@ public String getRecordingId() { return recordingId; } - public void setRecordingId(String recordingId) { + public void setRecordingId(@javax.annotation.Nullable String recordingId) { this.recordingId = recordingId; } - public RecordingAvailableCallback mediaUrl(URI mediaUrl) { + public RecordingAvailableCallback mediaUrl(@javax.annotation.Nullable URI mediaUrl) { this.mediaUrl = mediaUrl; return this; } @@ -369,12 +391,12 @@ public URI getMediaUrl() { return mediaUrl; } - public void setMediaUrl(URI mediaUrl) { + public void setMediaUrl(@javax.annotation.Nullable URI mediaUrl) { this.mediaUrl = mediaUrl; } - public RecordingAvailableCallback enqueuedTime(OffsetDateTime enqueuedTime) { + public RecordingAvailableCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -388,12 +410,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public RecordingAvailableCallback startTime(OffsetDateTime startTime) { + public RecordingAvailableCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -407,12 +429,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public RecordingAvailableCallback endTime(OffsetDateTime endTime) { + public RecordingAvailableCallback endTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -426,12 +448,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(OffsetDateTime endTime) { + public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; } - public RecordingAvailableCallback duration(String duration) { + public RecordingAvailableCallback duration(@javax.annotation.Nullable String duration) { this.duration = duration; return this; } @@ -445,12 +467,12 @@ public String getDuration() { return duration; } - public void setDuration(String duration) { + public void setDuration(@javax.annotation.Nullable String duration) { this.duration = duration; } - public RecordingAvailableCallback fileFormat(FileFormatEnum fileFormat) { + public RecordingAvailableCallback fileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { this.fileFormat = fileFormat; return this; } @@ -464,12 +486,12 @@ public FileFormatEnum getFileFormat() { return fileFormat; } - public void setFileFormat(FileFormatEnum fileFormat) { + public void setFileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { this.fileFormat = fileFormat; } - public RecordingAvailableCallback channels(Integer channels) { + public RecordingAvailableCallback channels(@javax.annotation.Nullable Integer channels) { this.channels = channels; return this; } @@ -483,12 +505,12 @@ public Integer getChannels() { return channels; } - public void setChannels(Integer channels) { + public void setChannels(@javax.annotation.Nullable Integer channels) { this.channels = channels; } - public RecordingAvailableCallback tag(String tag) { + public RecordingAvailableCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -502,12 +524,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public RecordingAvailableCallback status(String status) { + public RecordingAvailableCallback status(@javax.annotation.Nullable String status) { this.status = status; return this; } @@ -521,12 +543,12 @@ public String getStatus() { return status; } - public void setStatus(String status) { + public void setStatus(@javax.annotation.Nullable String status) { this.status = status; } - public RecordingAvailableCallback transferCallerId(String transferCallerId) { + public RecordingAvailableCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -540,12 +562,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(String transferCallerId) { + public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; } - public RecordingAvailableCallback transferTo(String transferTo) { + public RecordingAvailableCallback transferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; return this; } @@ -559,7 +581,7 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(String transferTo) { + public void setTransferTo(@javax.annotation.Nullable 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 fa2d093e..1ae34da6 100644 --- a/src/main/java/com/bandwidth/sdk/model/RecordingCompleteCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/RecordingCompleteCallback.java @@ -53,100 +53,122 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public RecordingCompleteCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -160,12 +182,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public RecordingCompleteCallback eventTime(OffsetDateTime eventTime) { + public RecordingCompleteCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -179,12 +201,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public RecordingCompleteCallback accountId(String accountId) { + public RecordingCompleteCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -198,12 +220,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public RecordingCompleteCallback applicationId(String applicationId) { + public RecordingCompleteCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -217,12 +239,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public RecordingCompleteCallback from(String from) { + public RecordingCompleteCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -236,12 +258,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public RecordingCompleteCallback to(String to) { + public RecordingCompleteCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -255,12 +277,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public RecordingCompleteCallback direction(CallDirectionEnum direction) { + public RecordingCompleteCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -274,12 +296,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public RecordingCompleteCallback callId(String callId) { + public RecordingCompleteCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -293,12 +315,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public RecordingCompleteCallback callUrl(URI callUrl) { + public RecordingCompleteCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -312,12 +334,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public RecordingCompleteCallback parentCallId(String parentCallId) { + public RecordingCompleteCallback parentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -331,12 +353,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(String parentCallId) { + public void setParentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; } - public RecordingCompleteCallback recordingId(String recordingId) { + public RecordingCompleteCallback recordingId(@javax.annotation.Nullable String recordingId) { this.recordingId = recordingId; return this; } @@ -350,12 +372,12 @@ public String getRecordingId() { return recordingId; } - public void setRecordingId(String recordingId) { + public void setRecordingId(@javax.annotation.Nullable String recordingId) { this.recordingId = recordingId; } - public RecordingCompleteCallback mediaUrl(URI mediaUrl) { + public RecordingCompleteCallback mediaUrl(@javax.annotation.Nullable URI mediaUrl) { this.mediaUrl = mediaUrl; return this; } @@ -369,12 +391,12 @@ public URI getMediaUrl() { return mediaUrl; } - public void setMediaUrl(URI mediaUrl) { + public void setMediaUrl(@javax.annotation.Nullable URI mediaUrl) { this.mediaUrl = mediaUrl; } - public RecordingCompleteCallback enqueuedTime(OffsetDateTime enqueuedTime) { + public RecordingCompleteCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -388,12 +410,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public RecordingCompleteCallback startTime(OffsetDateTime startTime) { + public RecordingCompleteCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -407,12 +429,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public RecordingCompleteCallback answerTime(OffsetDateTime answerTime) { + public RecordingCompleteCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -426,12 +448,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(OffsetDateTime answerTime) { + public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; } - public RecordingCompleteCallback endTime(OffsetDateTime endTime) { + public RecordingCompleteCallback endTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -445,12 +467,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(OffsetDateTime endTime) { + public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; } - public RecordingCompleteCallback duration(String duration) { + public RecordingCompleteCallback duration(@javax.annotation.Nullable String duration) { this.duration = duration; return this; } @@ -464,12 +486,12 @@ public String getDuration() { return duration; } - public void setDuration(String duration) { + public void setDuration(@javax.annotation.Nullable String duration) { this.duration = duration; } - public RecordingCompleteCallback fileFormat(FileFormatEnum fileFormat) { + public RecordingCompleteCallback fileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { this.fileFormat = fileFormat; return this; } @@ -483,12 +505,12 @@ public FileFormatEnum getFileFormat() { return fileFormat; } - public void setFileFormat(FileFormatEnum fileFormat) { + public void setFileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { this.fileFormat = fileFormat; } - public RecordingCompleteCallback channels(Integer channels) { + public RecordingCompleteCallback channels(@javax.annotation.Nullable Integer channels) { this.channels = channels; return this; } @@ -502,12 +524,12 @@ public Integer getChannels() { return channels; } - public void setChannels(Integer channels) { + public void setChannels(@javax.annotation.Nullable Integer channels) { this.channels = channels; } - public RecordingCompleteCallback tag(String tag) { + public RecordingCompleteCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -521,12 +543,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public RecordingCompleteCallback transferCallerId(String transferCallerId) { + public RecordingCompleteCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -540,12 +562,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(String transferCallerId) { + public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; } - public RecordingCompleteCallback transferTo(String transferTo) { + public RecordingCompleteCallback transferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; return this; } @@ -559,7 +581,7 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(String transferTo) { + public void setTransferTo(@javax.annotation.Nullable 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 acdbda08..38cda932 100644 --- a/src/main/java/com/bandwidth/sdk/model/RecordingTranscriptionMetadata.java +++ b/src/main/java/com/bandwidth/sdk/model/RecordingTranscriptionMetadata.java @@ -50,28 +50,32 @@ /** * If the recording was transcribed, metadata about the transcription */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String id) { + public RecordingTranscriptionMetadata id(@javax.annotation.Nullable String id) { this.id = id; return this; } @@ -85,12 +89,12 @@ public String getId() { return id; } - public void setId(String id) { + public void setId(@javax.annotation.Nullable String id) { this.id = id; } - public RecordingTranscriptionMetadata status(String status) { + public RecordingTranscriptionMetadata status(@javax.annotation.Nullable String status) { this.status = status; return this; } @@ -104,12 +108,12 @@ public String getStatus() { return status; } - public void setStatus(String status) { + public void setStatus(@javax.annotation.Nullable String status) { this.status = status; } - public RecordingTranscriptionMetadata completedTime(OffsetDateTime completedTime) { + public RecordingTranscriptionMetadata completedTime(@javax.annotation.Nullable OffsetDateTime completedTime) { this.completedTime = completedTime; return this; } @@ -123,12 +127,12 @@ public OffsetDateTime getCompletedTime() { return completedTime; } - public void setCompletedTime(OffsetDateTime completedTime) { + public void setCompletedTime(@javax.annotation.Nullable OffsetDateTime completedTime) { this.completedTime = completedTime; } - public RecordingTranscriptionMetadata url(URI url) { + public RecordingTranscriptionMetadata url(@javax.annotation.Nullable URI url) { this.url = url; return this; } @@ -142,7 +146,7 @@ public URI getUrl() { return url; } - public void setUrl(URI url) { + public void setUrl(@javax.annotation.Nullable 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 39c509bf..ed6f2dd3 100644 --- a/src/main/java/com/bandwidth/sdk/model/RecordingTranscriptions.java +++ b/src/main/java/com/bandwidth/sdk/model/RecordingTranscriptions.java @@ -51,16 +51,17 @@ /** * RecordingTranscriptions */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(List transcripts) { + public RecordingTranscriptions transcripts(@javax.annotation.Nullable List transcripts) { this.transcripts = transcripts; return this; } @@ -82,7 +83,7 @@ public List getTranscripts() { return transcripts; } - public void setTranscripts(List transcripts) { + public void setTranscripts(@javax.annotation.Nullable 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 3940325d..9ba3bb5a 100644 --- a/src/main/java/com/bandwidth/sdk/model/RedirectCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/RedirectCallback.java @@ -52,76 +52,92 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public RedirectCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -135,12 +151,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public RedirectCallback eventTime(OffsetDateTime eventTime) { + public RedirectCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -154,12 +170,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public RedirectCallback accountId(String accountId) { + public RedirectCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -173,12 +189,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public RedirectCallback applicationId(String applicationId) { + public RedirectCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -192,12 +208,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public RedirectCallback from(String from) { + public RedirectCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -211,12 +227,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public RedirectCallback to(String to) { + public RedirectCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -230,12 +246,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public RedirectCallback direction(CallDirectionEnum direction) { + public RedirectCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -249,12 +265,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public RedirectCallback callId(String callId) { + public RedirectCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -268,12 +284,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public RedirectCallback callUrl(URI callUrl) { + public RedirectCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -287,12 +303,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public RedirectCallback parentCallId(String parentCallId) { + public RedirectCallback parentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -306,12 +322,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(String parentCallId) { + public void setParentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; } - public RedirectCallback enqueuedTime(OffsetDateTime enqueuedTime) { + public RedirectCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -325,12 +341,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public RedirectCallback startTime(OffsetDateTime startTime) { + public RedirectCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -344,12 +360,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public RedirectCallback answerTime(OffsetDateTime answerTime) { + public RedirectCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -363,12 +379,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(OffsetDateTime answerTime) { + public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; } - public RedirectCallback tag(String tag) { + public RedirectCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -382,12 +398,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public RedirectCallback transferCallerId(String transferCallerId) { + public RedirectCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -401,12 +417,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(String transferCallerId) { + public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; } - public RedirectCallback transferTo(String transferTo) { + public RedirectCallback transferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; return this; } @@ -420,7 +436,7 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(String transferTo) { + public void setTransferTo(@javax.annotation.Nullable 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 7763ec87..f916a5e8 100644 --- a/src/main/java/com/bandwidth/sdk/model/StirShaken.java +++ b/src/main/java/com/bandwidth/sdk/model/StirShaken.java @@ -48,24 +48,27 @@ /** * StirShaken */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String verstat) { + public StirShaken verstat(@javax.annotation.Nullable String verstat) { this.verstat = verstat; return this; } @@ -79,12 +82,12 @@ public String getVerstat() { return verstat; } - public void setVerstat(String verstat) { + public void setVerstat(@javax.annotation.Nullable String verstat) { this.verstat = verstat; } - public StirShaken attestationIndicator(String attestationIndicator) { + public StirShaken attestationIndicator(@javax.annotation.Nullable String attestationIndicator) { this.attestationIndicator = attestationIndicator; return this; } @@ -98,12 +101,12 @@ public String getAttestationIndicator() { return attestationIndicator; } - public void setAttestationIndicator(String attestationIndicator) { + public void setAttestationIndicator(@javax.annotation.Nullable String attestationIndicator) { this.attestationIndicator = attestationIndicator; } - public StirShaken originatingId(String originatingId) { + public StirShaken originatingId(@javax.annotation.Nullable String originatingId) { this.originatingId = originatingId; return this; } @@ -117,7 +120,7 @@ public String getOriginatingId() { return originatingId; } - public void setOriginatingId(String originatingId) { + public void setOriginatingId(@javax.annotation.Nullable 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 37978c6f..f5d89d64 100644 --- a/src/main/java/com/bandwidth/sdk/model/Tag.java +++ b/src/main/java/com/bandwidth/sdk/model/Tag.java @@ -48,20 +48,22 @@ /** * Tag */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String key) { + public Tag key(@javax.annotation.Nullable String key) { this.key = key; return this; } @@ -75,12 +77,12 @@ public String getKey() { return key; } - public void setKey(String key) { + public void setKey(@javax.annotation.Nullable String key) { this.key = key; } - public Tag value(String value) { + public Tag value(@javax.annotation.Nullable String value) { this.value = value; return this; } @@ -94,7 +96,7 @@ public String getValue() { return value; } - public void setValue(String value) { + public void setValue(@javax.annotation.Nullable 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 a18e1f7b..b0b75872 100644 --- a/src/main/java/com/bandwidth/sdk/model/TnLookupRequestError.java +++ b/src/main/java/com/bandwidth/sdk/model/TnLookupRequestError.java @@ -48,16 +48,17 @@ /** * TnLookupRequestError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class TnLookupRequestError { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) + @javax.annotation.Nullable private String message; public TnLookupRequestError() { } - public TnLookupRequestError message(String message) { + public TnLookupRequestError message(@javax.annotation.Nullable String message) { this.message = message; return this; } @@ -71,7 +72,7 @@ public String getMessage() { return message; } - public void setMessage(String message) { + public void setMessage(@javax.annotation.Nullable 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 cfc9fdff..7d1c7fa7 100644 --- a/src/main/java/com/bandwidth/sdk/model/TranscribeRecording.java +++ b/src/main/java/com/bandwidth/sdk/model/TranscribeRecording.java @@ -51,40 +51,47 @@ /** * TranscribeRecording */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(URI callbackUrl) { + public TranscribeRecording callbackUrl(@javax.annotation.Nullable URI callbackUrl) { this.callbackUrl = callbackUrl; return this; } @@ -98,12 +105,12 @@ public URI getCallbackUrl() { return callbackUrl; } - public void setCallbackUrl(URI callbackUrl) { + public void setCallbackUrl(@javax.annotation.Nullable URI callbackUrl) { this.callbackUrl = callbackUrl; } - public TranscribeRecording callbackMethod(CallbackMethodEnum callbackMethod) { + public TranscribeRecording callbackMethod(@javax.annotation.Nullable CallbackMethodEnum callbackMethod) { this.callbackMethod = callbackMethod; return this; } @@ -117,12 +124,12 @@ public CallbackMethodEnum getCallbackMethod() { return callbackMethod; } - public void setCallbackMethod(CallbackMethodEnum callbackMethod) { + public void setCallbackMethod(@javax.annotation.Nullable CallbackMethodEnum callbackMethod) { this.callbackMethod = callbackMethod; } - public TranscribeRecording username(String username) { + public TranscribeRecording username(@javax.annotation.Nullable String username) { this.username = username; return this; } @@ -136,12 +143,12 @@ public String getUsername() { return username; } - public void setUsername(String username) { + public void setUsername(@javax.annotation.Nullable String username) { this.username = username; } - public TranscribeRecording password(String password) { + public TranscribeRecording password(@javax.annotation.Nullable String password) { this.password = password; return this; } @@ -155,12 +162,12 @@ public String getPassword() { return password; } - public void setPassword(String password) { + public void setPassword(@javax.annotation.Nullable String password) { this.password = password; } - public TranscribeRecording tag(String tag) { + public TranscribeRecording tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -174,12 +181,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public TranscribeRecording callbackTimeout(Double callbackTimeout) { + public TranscribeRecording callbackTimeout(@javax.annotation.Nullable Double callbackTimeout) { this.callbackTimeout = callbackTimeout; return this; } @@ -195,12 +202,12 @@ public Double getCallbackTimeout() { return callbackTimeout; } - public void setCallbackTimeout(Double callbackTimeout) { + public void setCallbackTimeout(@javax.annotation.Nullable Double callbackTimeout) { this.callbackTimeout = callbackTimeout; } - public TranscribeRecording detectLanguage(Boolean detectLanguage) { + public TranscribeRecording detectLanguage(@javax.annotation.Nullable Boolean detectLanguage) { this.detectLanguage = detectLanguage; return this; } @@ -214,7 +221,7 @@ public Boolean getDetectLanguage() { return detectLanguage; } - public void setDetectLanguage(Boolean detectLanguage) { + public void setDetectLanguage(@javax.annotation.Nullable 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 953dabd7..fc017c5c 100644 --- a/src/main/java/com/bandwidth/sdk/model/Transcription.java +++ b/src/main/java/com/bandwidth/sdk/model/Transcription.java @@ -48,20 +48,22 @@ /** * Transcription */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String text) { + public Transcription text(@javax.annotation.Nullable String text) { this.text = text; return this; } @@ -75,12 +77,12 @@ public String getText() { return text; } - public void setText(String text) { + public void setText(@javax.annotation.Nullable String text) { this.text = text; } - public Transcription confidence(Double confidence) { + public Transcription confidence(@javax.annotation.Nullable Double confidence) { this.confidence = confidence; return this; } @@ -94,7 +96,7 @@ public Double getConfidence() { return confidence; } - public void setConfidence(Double confidence) { + public void setConfidence(@javax.annotation.Nullable 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 ad8b1eb9..b1eecdc2 100644 --- a/src/main/java/com/bandwidth/sdk/model/TranscriptionAvailableCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/TranscriptionAvailableCallback.java @@ -54,96 +54,117 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public TranscriptionAvailableCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -157,12 +178,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public TranscriptionAvailableCallback eventTime(OffsetDateTime eventTime) { + public TranscriptionAvailableCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -176,12 +197,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public TranscriptionAvailableCallback accountId(String accountId) { + public TranscriptionAvailableCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -195,12 +216,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public TranscriptionAvailableCallback applicationId(String applicationId) { + public TranscriptionAvailableCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -214,12 +235,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public TranscriptionAvailableCallback from(String from) { + public TranscriptionAvailableCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -233,12 +254,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public TranscriptionAvailableCallback to(String to) { + public TranscriptionAvailableCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -252,12 +273,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public TranscriptionAvailableCallback direction(CallDirectionEnum direction) { + public TranscriptionAvailableCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -271,12 +292,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public TranscriptionAvailableCallback callId(String callId) { + public TranscriptionAvailableCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -290,12 +311,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public TranscriptionAvailableCallback callUrl(URI callUrl) { + public TranscriptionAvailableCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -309,12 +330,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public TranscriptionAvailableCallback mediaUrl(URI mediaUrl) { + public TranscriptionAvailableCallback mediaUrl(@javax.annotation.Nullable URI mediaUrl) { this.mediaUrl = mediaUrl; return this; } @@ -328,12 +349,12 @@ public URI getMediaUrl() { return mediaUrl; } - public void setMediaUrl(URI mediaUrl) { + public void setMediaUrl(@javax.annotation.Nullable URI mediaUrl) { this.mediaUrl = mediaUrl; } - public TranscriptionAvailableCallback parentCallId(String parentCallId) { + public TranscriptionAvailableCallback parentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -347,12 +368,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(String parentCallId) { + public void setParentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; } - public TranscriptionAvailableCallback recordingId(String recordingId) { + public TranscriptionAvailableCallback recordingId(@javax.annotation.Nullable String recordingId) { this.recordingId = recordingId; return this; } @@ -366,12 +387,12 @@ public String getRecordingId() { return recordingId; } - public void setRecordingId(String recordingId) { + public void setRecordingId(@javax.annotation.Nullable String recordingId) { this.recordingId = recordingId; } - public TranscriptionAvailableCallback enqueuedTime(OffsetDateTime enqueuedTime) { + public TranscriptionAvailableCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -385,12 +406,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public TranscriptionAvailableCallback startTime(OffsetDateTime startTime) { + public TranscriptionAvailableCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -404,12 +425,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public TranscriptionAvailableCallback endTime(OffsetDateTime endTime) { + public TranscriptionAvailableCallback endTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -423,12 +444,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(OffsetDateTime endTime) { + public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; } - public TranscriptionAvailableCallback duration(String duration) { + public TranscriptionAvailableCallback duration(@javax.annotation.Nullable String duration) { this.duration = duration; return this; } @@ -442,12 +463,12 @@ public String getDuration() { return duration; } - public void setDuration(String duration) { + public void setDuration(@javax.annotation.Nullable String duration) { this.duration = duration; } - public TranscriptionAvailableCallback fileFormat(FileFormatEnum fileFormat) { + public TranscriptionAvailableCallback fileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { this.fileFormat = fileFormat; return this; } @@ -461,12 +482,12 @@ public FileFormatEnum getFileFormat() { return fileFormat; } - public void setFileFormat(FileFormatEnum fileFormat) { + public void setFileFormat(@javax.annotation.Nullable FileFormatEnum fileFormat) { this.fileFormat = fileFormat; } - public TranscriptionAvailableCallback tag(String tag) { + public TranscriptionAvailableCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -480,12 +501,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public TranscriptionAvailableCallback transcription(Transcription transcription) { + public TranscriptionAvailableCallback transcription(@javax.annotation.Nullable Transcription transcription) { this.transcription = transcription; return this; } @@ -499,12 +520,12 @@ public Transcription getTranscription() { return transcription; } - public void setTranscription(Transcription transcription) { + public void setTranscription(@javax.annotation.Nullable Transcription transcription) { this.transcription = transcription; } - public TranscriptionAvailableCallback transferCallerId(String transferCallerId) { + public TranscriptionAvailableCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -518,12 +539,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(String transferCallerId) { + public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; } - public TranscriptionAvailableCallback transferTo(String transferTo) { + public TranscriptionAvailableCallback transferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; return this; } @@ -537,7 +558,7 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(String transferTo) { + public void setTransferTo(@javax.annotation.Nullable 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 fbec91ff..4e6cbad0 100644 --- a/src/main/java/com/bandwidth/sdk/model/TransferAnswerCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/TransferAnswerCallback.java @@ -52,72 +52,87 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public TransferAnswerCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -131,12 +146,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public TransferAnswerCallback eventTime(OffsetDateTime eventTime) { + public TransferAnswerCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -150,12 +165,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public TransferAnswerCallback accountId(String accountId) { + public TransferAnswerCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -169,12 +184,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public TransferAnswerCallback applicationId(String applicationId) { + public TransferAnswerCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -188,12 +203,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public TransferAnswerCallback from(String from) { + public TransferAnswerCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -207,12 +222,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public TransferAnswerCallback to(String to) { + public TransferAnswerCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -226,12 +241,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public TransferAnswerCallback direction(CallDirectionEnum direction) { + public TransferAnswerCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -245,12 +260,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public TransferAnswerCallback callId(String callId) { + public TransferAnswerCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -264,12 +279,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public TransferAnswerCallback callUrl(URI callUrl) { + public TransferAnswerCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -283,12 +298,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public TransferAnswerCallback enqueuedTime(OffsetDateTime enqueuedTime) { + public TransferAnswerCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -302,12 +317,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public TransferAnswerCallback startTime(OffsetDateTime startTime) { + public TransferAnswerCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -321,12 +336,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public TransferAnswerCallback answerTime(OffsetDateTime answerTime) { + public TransferAnswerCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -340,12 +355,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(OffsetDateTime answerTime) { + public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; } - public TransferAnswerCallback tag(String tag) { + public TransferAnswerCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -359,12 +374,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public TransferAnswerCallback transferCallerId(String transferCallerId) { + public TransferAnswerCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -378,12 +393,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(String transferCallerId) { + public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; } - public TransferAnswerCallback transferTo(String transferTo) { + public TransferAnswerCallback transferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; return this; } @@ -397,7 +412,7 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(String transferTo) { + public void setTransferTo(@javax.annotation.Nullable 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 b71cf0bc..40908757 100644 --- a/src/main/java/com/bandwidth/sdk/model/TransferCompleteCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/TransferCompleteCallback.java @@ -52,84 +52,102 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public TransferCompleteCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -143,12 +161,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public TransferCompleteCallback eventTime(OffsetDateTime eventTime) { + public TransferCompleteCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -162,12 +180,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public TransferCompleteCallback accountId(String accountId) { + public TransferCompleteCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -181,12 +199,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public TransferCompleteCallback applicationId(String applicationId) { + public TransferCompleteCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -200,12 +218,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public TransferCompleteCallback from(String from) { + public TransferCompleteCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -219,12 +237,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public TransferCompleteCallback to(String to) { + public TransferCompleteCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -238,12 +256,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public TransferCompleteCallback direction(CallDirectionEnum direction) { + public TransferCompleteCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -257,12 +275,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public TransferCompleteCallback callId(String callId) { + public TransferCompleteCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -276,12 +294,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public TransferCompleteCallback callUrl(URI callUrl) { + public TransferCompleteCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -295,12 +313,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public TransferCompleteCallback enqueuedTime(OffsetDateTime enqueuedTime) { + public TransferCompleteCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -314,12 +332,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public TransferCompleteCallback startTime(OffsetDateTime startTime) { + public TransferCompleteCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -333,12 +351,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public TransferCompleteCallback answerTime(OffsetDateTime answerTime) { + public TransferCompleteCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -352,12 +370,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(OffsetDateTime answerTime) { + public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; } - public TransferCompleteCallback tag(String tag) { + public TransferCompleteCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -371,12 +389,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public TransferCompleteCallback transferCallerId(String transferCallerId) { + public TransferCompleteCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -390,12 +408,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(String transferCallerId) { + public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; } - public TransferCompleteCallback transferTo(String transferTo) { + public TransferCompleteCallback transferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; return this; } @@ -409,12 +427,12 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(String transferTo) { + public void setTransferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; } - public TransferCompleteCallback cause(String cause) { + public TransferCompleteCallback cause(@javax.annotation.Nullable String cause) { this.cause = cause; return this; } @@ -428,12 +446,12 @@ public String getCause() { return cause; } - public void setCause(String cause) { + public void setCause(@javax.annotation.Nullable String cause) { this.cause = cause; } - public TransferCompleteCallback errorMessage(String errorMessage) { + public TransferCompleteCallback errorMessage(@javax.annotation.Nullable String errorMessage) { this.errorMessage = errorMessage; return this; } @@ -447,12 +465,12 @@ public String getErrorMessage() { return errorMessage; } - public void setErrorMessage(String errorMessage) { + public void setErrorMessage(@javax.annotation.Nullable String errorMessage) { this.errorMessage = errorMessage; } - public TransferCompleteCallback errorId(String errorId) { + public TransferCompleteCallback errorId(@javax.annotation.Nullable String errorId) { this.errorId = errorId; return this; } @@ -466,7 +484,7 @@ public String getErrorId() { return errorId; } - public void setErrorId(String errorId) { + public void setErrorId(@javax.annotation.Nullable 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 7adddbe2..aac192fe 100644 --- a/src/main/java/com/bandwidth/sdk/model/TransferDisconnectCallback.java +++ b/src/main/java/com/bandwidth/sdk/model/TransferDisconnectCallback.java @@ -52,92 +52,112 @@ /** * 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.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.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(String eventType) { + public TransferDisconnectCallback eventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; return this; } @@ -151,12 +171,12 @@ public String getEventType() { return eventType; } - public void setEventType(String eventType) { + public void setEventType(@javax.annotation.Nullable String eventType) { this.eventType = eventType; } - public TransferDisconnectCallback eventTime(OffsetDateTime eventTime) { + public TransferDisconnectCallback eventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; return this; } @@ -170,12 +190,12 @@ public OffsetDateTime getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(@javax.annotation.Nullable OffsetDateTime eventTime) { this.eventTime = eventTime; } - public TransferDisconnectCallback accountId(String accountId) { + public TransferDisconnectCallback accountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; return this; } @@ -189,12 +209,12 @@ public String getAccountId() { return accountId; } - public void setAccountId(String accountId) { + public void setAccountId(@javax.annotation.Nullable String accountId) { this.accountId = accountId; } - public TransferDisconnectCallback applicationId(String applicationId) { + public TransferDisconnectCallback applicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; return this; } @@ -208,12 +228,12 @@ public String getApplicationId() { return applicationId; } - public void setApplicationId(String applicationId) { + public void setApplicationId(@javax.annotation.Nullable String applicationId) { this.applicationId = applicationId; } - public TransferDisconnectCallback from(String from) { + public TransferDisconnectCallback from(@javax.annotation.Nullable String from) { this.from = from; return this; } @@ -227,12 +247,12 @@ public String getFrom() { return from; } - public void setFrom(String from) { + public void setFrom(@javax.annotation.Nullable String from) { this.from = from; } - public TransferDisconnectCallback to(String to) { + public TransferDisconnectCallback to(@javax.annotation.Nullable String to) { this.to = to; return this; } @@ -246,12 +266,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nullable String to) { this.to = to; } - public TransferDisconnectCallback direction(CallDirectionEnum direction) { + public TransferDisconnectCallback direction(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; return this; } @@ -265,12 +285,12 @@ public CallDirectionEnum getDirection() { return direction; } - public void setDirection(CallDirectionEnum direction) { + public void setDirection(@javax.annotation.Nullable CallDirectionEnum direction) { this.direction = direction; } - public TransferDisconnectCallback callId(String callId) { + public TransferDisconnectCallback callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -284,12 +304,12 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; } - public TransferDisconnectCallback callUrl(URI callUrl) { + public TransferDisconnectCallback callUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; return this; } @@ -303,12 +323,12 @@ public URI getCallUrl() { return callUrl; } - public void setCallUrl(URI callUrl) { + public void setCallUrl(@javax.annotation.Nullable URI callUrl) { this.callUrl = callUrl; } - public TransferDisconnectCallback parentCallId(String parentCallId) { + public TransferDisconnectCallback parentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; return this; } @@ -322,12 +342,12 @@ public String getParentCallId() { return parentCallId; } - public void setParentCallId(String parentCallId) { + public void setParentCallId(@javax.annotation.Nullable String parentCallId) { this.parentCallId = parentCallId; } - public TransferDisconnectCallback enqueuedTime(OffsetDateTime enqueuedTime) { + public TransferDisconnectCallback enqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; return this; } @@ -341,12 +361,12 @@ public OffsetDateTime getEnqueuedTime() { return enqueuedTime; } - public void setEnqueuedTime(OffsetDateTime enqueuedTime) { + public void setEnqueuedTime(@javax.annotation.Nullable OffsetDateTime enqueuedTime) { this.enqueuedTime = enqueuedTime; } - public TransferDisconnectCallback startTime(OffsetDateTime startTime) { + public TransferDisconnectCallback startTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; return this; } @@ -360,12 +380,12 @@ public OffsetDateTime getStartTime() { return startTime; } - public void setStartTime(OffsetDateTime startTime) { + public void setStartTime(@javax.annotation.Nullable OffsetDateTime startTime) { this.startTime = startTime; } - public TransferDisconnectCallback answerTime(OffsetDateTime answerTime) { + public TransferDisconnectCallback answerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; return this; } @@ -379,12 +399,12 @@ public OffsetDateTime getAnswerTime() { return answerTime; } - public void setAnswerTime(OffsetDateTime answerTime) { + public void setAnswerTime(@javax.annotation.Nullable OffsetDateTime answerTime) { this.answerTime = answerTime; } - public TransferDisconnectCallback endTime(OffsetDateTime endTime) { + public TransferDisconnectCallback endTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; return this; } @@ -398,12 +418,12 @@ public OffsetDateTime getEndTime() { return endTime; } - public void setEndTime(OffsetDateTime endTime) { + public void setEndTime(@javax.annotation.Nullable OffsetDateTime endTime) { this.endTime = endTime; } - public TransferDisconnectCallback tag(String tag) { + public TransferDisconnectCallback tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -417,12 +437,12 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable String tag) { this.tag = tag; } - public TransferDisconnectCallback transferCallerId(String transferCallerId) { + public TransferDisconnectCallback transferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; return this; } @@ -436,12 +456,12 @@ public String getTransferCallerId() { return transferCallerId; } - public void setTransferCallerId(String transferCallerId) { + public void setTransferCallerId(@javax.annotation.Nullable String transferCallerId) { this.transferCallerId = transferCallerId; } - public TransferDisconnectCallback transferTo(String transferTo) { + public TransferDisconnectCallback transferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; return this; } @@ -455,12 +475,12 @@ public String getTransferTo() { return transferTo; } - public void setTransferTo(String transferTo) { + public void setTransferTo(@javax.annotation.Nullable String transferTo) { this.transferTo = transferTo; } - public TransferDisconnectCallback cause(String cause) { + public TransferDisconnectCallback cause(@javax.annotation.Nullable String cause) { this.cause = cause; return this; } @@ -474,12 +494,12 @@ public String getCause() { return cause; } - public void setCause(String cause) { + public void setCause(@javax.annotation.Nullable String cause) { this.cause = cause; } - public TransferDisconnectCallback errorMessage(String errorMessage) { + public TransferDisconnectCallback errorMessage(@javax.annotation.Nullable String errorMessage) { this.errorMessage = errorMessage; return this; } @@ -493,12 +513,12 @@ public String getErrorMessage() { return errorMessage; } - public void setErrorMessage(String errorMessage) { + public void setErrorMessage(@javax.annotation.Nullable String errorMessage) { this.errorMessage = errorMessage; } - public TransferDisconnectCallback errorId(String errorId) { + public TransferDisconnectCallback errorId(@javax.annotation.Nullable String errorId) { this.errorId = errorId; return this; } @@ -512,7 +532,7 @@ public String getErrorId() { return errorId; } - public void setErrorId(String errorId) { + public void setErrorId(@javax.annotation.Nullable 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 9e0aa12d..22164f89 100644 --- a/src/main/java/com/bandwidth/sdk/model/UpdateCall.java +++ b/src/main/java/com/bandwidth/sdk/model/UpdateCall.java @@ -52,52 +52,62 @@ /** * UpdateCall */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(CallStateEnum state) { + public UpdateCall state(@javax.annotation.Nullable CallStateEnum state) { this.state = state; return this; } @@ -111,12 +121,12 @@ public CallStateEnum getState() { return state; } - public void setState(CallStateEnum state) { + public void setState(@javax.annotation.Nullable CallStateEnum state) { this.state = state; } - public UpdateCall redirectUrl(URI redirectUrl) { + public UpdateCall redirectUrl(@javax.annotation.Nullable URI redirectUrl) { this.redirectUrl = redirectUrl; return this; } @@ -130,12 +140,12 @@ public URI getRedirectUrl() { return redirectUrl; } - public void setRedirectUrl(URI redirectUrl) { + public void setRedirectUrl(@javax.annotation.Nullable URI redirectUrl) { this.redirectUrl = redirectUrl; } - public UpdateCall redirectMethod(RedirectMethodEnum redirectMethod) { + public UpdateCall redirectMethod(@javax.annotation.Nullable RedirectMethodEnum redirectMethod) { this.redirectMethod = redirectMethod; return this; } @@ -149,12 +159,12 @@ public RedirectMethodEnum getRedirectMethod() { return redirectMethod; } - public void setRedirectMethod(RedirectMethodEnum redirectMethod) { + public void setRedirectMethod(@javax.annotation.Nullable RedirectMethodEnum redirectMethod) { this.redirectMethod = redirectMethod; } - public UpdateCall username(String username) { + public UpdateCall username(@javax.annotation.Nullable String username) { this.username = username; return this; } @@ -168,12 +178,12 @@ public String getUsername() { return username; } - public void setUsername(String username) { + public void setUsername(@javax.annotation.Nullable String username) { this.username = username; } - public UpdateCall password(String password) { + public UpdateCall password(@javax.annotation.Nullable String password) { this.password = password; return this; } @@ -187,12 +197,12 @@ public String getPassword() { return password; } - public void setPassword(String password) { + public void setPassword(@javax.annotation.Nullable String password) { this.password = password; } - public UpdateCall redirectFallbackUrl(URI redirectFallbackUrl) { + public UpdateCall redirectFallbackUrl(@javax.annotation.Nullable URI redirectFallbackUrl) { this.redirectFallbackUrl = redirectFallbackUrl; return this; } @@ -206,12 +216,12 @@ public URI getRedirectFallbackUrl() { return redirectFallbackUrl; } - public void setRedirectFallbackUrl(URI redirectFallbackUrl) { + public void setRedirectFallbackUrl(@javax.annotation.Nullable URI redirectFallbackUrl) { this.redirectFallbackUrl = redirectFallbackUrl; } - public UpdateCall redirectFallbackMethod(RedirectMethodEnum redirectFallbackMethod) { + public UpdateCall redirectFallbackMethod(@javax.annotation.Nullable RedirectMethodEnum redirectFallbackMethod) { this.redirectFallbackMethod = redirectFallbackMethod; return this; } @@ -225,12 +235,12 @@ public RedirectMethodEnum getRedirectFallbackMethod() { return redirectFallbackMethod; } - public void setRedirectFallbackMethod(RedirectMethodEnum redirectFallbackMethod) { + public void setRedirectFallbackMethod(@javax.annotation.Nullable RedirectMethodEnum redirectFallbackMethod) { this.redirectFallbackMethod = redirectFallbackMethod; } - public UpdateCall fallbackUsername(String fallbackUsername) { + public UpdateCall fallbackUsername(@javax.annotation.Nullable String fallbackUsername) { this.fallbackUsername = fallbackUsername; return this; } @@ -244,12 +254,12 @@ public String getFallbackUsername() { return fallbackUsername; } - public void setFallbackUsername(String fallbackUsername) { + public void setFallbackUsername(@javax.annotation.Nullable String fallbackUsername) { this.fallbackUsername = fallbackUsername; } - public UpdateCall fallbackPassword(String fallbackPassword) { + public UpdateCall fallbackPassword(@javax.annotation.Nullable String fallbackPassword) { this.fallbackPassword = fallbackPassword; return this; } @@ -263,12 +273,12 @@ public String getFallbackPassword() { return fallbackPassword; } - public void setFallbackPassword(String fallbackPassword) { + public void setFallbackPassword(@javax.annotation.Nullable String fallbackPassword) { this.fallbackPassword = fallbackPassword; } - public UpdateCall tag(String tag) { + public UpdateCall tag(@javax.annotation.Nullable String tag) { this.tag = tag; return this; } @@ -282,7 +292,7 @@ public String getTag() { return tag; } - public void setTag(String tag) { + public void setTag(@javax.annotation.Nullable 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 47c56deb..c269d8d3 100644 --- a/src/main/java/com/bandwidth/sdk/model/UpdateCallRecording.java +++ b/src/main/java/com/bandwidth/sdk/model/UpdateCallRecording.java @@ -49,16 +49,17 @@ /** * UpdateCallRecording */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class UpdateCallRecording { public static final String SERIALIZED_NAME_STATE = "state"; @SerializedName(SERIALIZED_NAME_STATE) + @javax.annotation.Nonnull private RecordingStateEnum state; public UpdateCallRecording() { } - public UpdateCallRecording state(RecordingStateEnum state) { + public UpdateCallRecording state(@javax.annotation.Nonnull RecordingStateEnum state) { this.state = state; return this; } @@ -72,7 +73,7 @@ public RecordingStateEnum getState() { return state; } - public void setState(RecordingStateEnum state) { + public void setState(@javax.annotation.Nonnull 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 b8507d78..0b09b1e4 100644 --- a/src/main/java/com/bandwidth/sdk/model/UpdateConference.java +++ b/src/main/java/com/bandwidth/sdk/model/UpdateConference.java @@ -52,48 +52,57 @@ /** * UpdateConference */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(ConferenceStateEnum status) { + public UpdateConference status(@javax.annotation.Nullable ConferenceStateEnum status) { this.status = status; return this; } @@ -107,12 +116,12 @@ public ConferenceStateEnum getStatus() { return status; } - public void setStatus(ConferenceStateEnum status) { + public void setStatus(@javax.annotation.Nullable ConferenceStateEnum status) { this.status = status; } - public UpdateConference redirectUrl(URI redirectUrl) { + public UpdateConference redirectUrl(@javax.annotation.Nullable URI redirectUrl) { this.redirectUrl = redirectUrl; return this; } @@ -126,12 +135,12 @@ public URI getRedirectUrl() { return redirectUrl; } - public void setRedirectUrl(URI redirectUrl) { + public void setRedirectUrl(@javax.annotation.Nullable URI redirectUrl) { this.redirectUrl = redirectUrl; } - public UpdateConference redirectMethod(RedirectMethodEnum redirectMethod) { + public UpdateConference redirectMethod(@javax.annotation.Nullable RedirectMethodEnum redirectMethod) { this.redirectMethod = redirectMethod; return this; } @@ -145,12 +154,12 @@ public RedirectMethodEnum getRedirectMethod() { return redirectMethod; } - public void setRedirectMethod(RedirectMethodEnum redirectMethod) { + public void setRedirectMethod(@javax.annotation.Nullable RedirectMethodEnum redirectMethod) { this.redirectMethod = redirectMethod; } - public UpdateConference username(String username) { + public UpdateConference username(@javax.annotation.Nullable String username) { this.username = username; return this; } @@ -164,12 +173,12 @@ public String getUsername() { return username; } - public void setUsername(String username) { + public void setUsername(@javax.annotation.Nullable String username) { this.username = username; } - public UpdateConference password(String password) { + public UpdateConference password(@javax.annotation.Nullable String password) { this.password = password; return this; } @@ -183,12 +192,12 @@ public String getPassword() { return password; } - public void setPassword(String password) { + public void setPassword(@javax.annotation.Nullable String password) { this.password = password; } - public UpdateConference redirectFallbackUrl(URI redirectFallbackUrl) { + public UpdateConference redirectFallbackUrl(@javax.annotation.Nullable URI redirectFallbackUrl) { this.redirectFallbackUrl = redirectFallbackUrl; return this; } @@ -202,12 +211,12 @@ public URI getRedirectFallbackUrl() { return redirectFallbackUrl; } - public void setRedirectFallbackUrl(URI redirectFallbackUrl) { + public void setRedirectFallbackUrl(@javax.annotation.Nullable URI redirectFallbackUrl) { this.redirectFallbackUrl = redirectFallbackUrl; } - public UpdateConference redirectFallbackMethod(RedirectMethodEnum redirectFallbackMethod) { + public UpdateConference redirectFallbackMethod(@javax.annotation.Nullable RedirectMethodEnum redirectFallbackMethod) { this.redirectFallbackMethod = redirectFallbackMethod; return this; } @@ -221,12 +230,12 @@ public RedirectMethodEnum getRedirectFallbackMethod() { return redirectFallbackMethod; } - public void setRedirectFallbackMethod(RedirectMethodEnum redirectFallbackMethod) { + public void setRedirectFallbackMethod(@javax.annotation.Nullable RedirectMethodEnum redirectFallbackMethod) { this.redirectFallbackMethod = redirectFallbackMethod; } - public UpdateConference fallbackUsername(String fallbackUsername) { + public UpdateConference fallbackUsername(@javax.annotation.Nullable String fallbackUsername) { this.fallbackUsername = fallbackUsername; return this; } @@ -240,12 +249,12 @@ public String getFallbackUsername() { return fallbackUsername; } - public void setFallbackUsername(String fallbackUsername) { + public void setFallbackUsername(@javax.annotation.Nullable String fallbackUsername) { this.fallbackUsername = fallbackUsername; } - public UpdateConference fallbackPassword(String fallbackPassword) { + public UpdateConference fallbackPassword(@javax.annotation.Nullable String fallbackPassword) { this.fallbackPassword = fallbackPassword; return this; } @@ -259,7 +268,7 @@ public String getFallbackPassword() { return fallbackPassword; } - public void setFallbackPassword(String fallbackPassword) { + public void setFallbackPassword(@javax.annotation.Nullable 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 a7a782cd..e0e385ba 100644 --- a/src/main/java/com/bandwidth/sdk/model/UpdateConferenceMember.java +++ b/src/main/java/com/bandwidth/sdk/model/UpdateConferenceMember.java @@ -51,24 +51,27 @@ /** * UpdateConferenceMember */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(Boolean mute) { + public UpdateConferenceMember mute(@javax.annotation.Nullable Boolean mute) { this.mute = mute; return this; } @@ -82,12 +85,12 @@ public Boolean getMute() { return mute; } - public void setMute(Boolean mute) { + public void setMute(@javax.annotation.Nullable Boolean mute) { this.mute = mute; } - public UpdateConferenceMember hold(Boolean hold) { + public UpdateConferenceMember hold(@javax.annotation.Nullable Boolean hold) { this.hold = hold; return this; } @@ -101,12 +104,12 @@ public Boolean getHold() { return hold; } - public void setHold(Boolean hold) { + public void setHold(@javax.annotation.Nullable Boolean hold) { this.hold = hold; } - public UpdateConferenceMember callIdsToCoach(List callIdsToCoach) { + public UpdateConferenceMember callIdsToCoach(@javax.annotation.Nullable List callIdsToCoach) { this.callIdsToCoach = callIdsToCoach; return this; } @@ -128,7 +131,7 @@ public List getCallIdsToCoach() { return callIdsToCoach; } - public void setCallIdsToCoach(List callIdsToCoach) { + public void setCallIdsToCoach(@javax.annotation.Nullable 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 85c6988e..98611e5c 100644 --- a/src/main/java/com/bandwidth/sdk/model/VerifyCodeRequest.java +++ b/src/main/java/com/bandwidth/sdk/model/VerifyCodeRequest.java @@ -49,28 +49,32 @@ /** * VerifyCodeRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String to) { + public VerifyCodeRequest to(@javax.annotation.Nonnull String to) { this.to = to; return this; } @@ -84,12 +88,12 @@ public String getTo() { return to; } - public void setTo(String to) { + public void setTo(@javax.annotation.Nonnull String to) { this.to = to; } - public VerifyCodeRequest scope(String scope) { + public VerifyCodeRequest scope(@javax.annotation.Nullable String scope) { this.scope = scope; return this; } @@ -103,12 +107,12 @@ public String getScope() { return scope; } - public void setScope(String scope) { + public void setScope(@javax.annotation.Nullable String scope) { this.scope = scope; } - public VerifyCodeRequest expirationTimeInMinutes(BigDecimal expirationTimeInMinutes) { + public VerifyCodeRequest expirationTimeInMinutes(@javax.annotation.Nonnull BigDecimal expirationTimeInMinutes) { this.expirationTimeInMinutes = expirationTimeInMinutes; return this; } @@ -124,12 +128,12 @@ public BigDecimal getExpirationTimeInMinutes() { return expirationTimeInMinutes; } - public void setExpirationTimeInMinutes(BigDecimal expirationTimeInMinutes) { + public void setExpirationTimeInMinutes(@javax.annotation.Nonnull BigDecimal expirationTimeInMinutes) { this.expirationTimeInMinutes = expirationTimeInMinutes; } - public VerifyCodeRequest code(String code) { + public VerifyCodeRequest code(@javax.annotation.Nonnull String code) { this.code = code; return this; } @@ -143,7 +147,7 @@ public String getCode() { return code; } - public void setCode(String code) { + public void setCode(@javax.annotation.Nonnull 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 70e59bb8..d8040b0b 100644 --- a/src/main/java/com/bandwidth/sdk/model/VerifyCodeResponse.java +++ b/src/main/java/com/bandwidth/sdk/model/VerifyCodeResponse.java @@ -48,16 +48,17 @@ /** * VerifyCodeResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class VerifyCodeResponse { public static final String SERIALIZED_NAME_VALID = "valid"; @SerializedName(SERIALIZED_NAME_VALID) + @javax.annotation.Nullable private Boolean valid; public VerifyCodeResponse() { } - public VerifyCodeResponse valid(Boolean valid) { + public VerifyCodeResponse valid(@javax.annotation.Nullable Boolean valid) { this.valid = valid; return this; } @@ -71,7 +72,7 @@ public Boolean getValid() { return valid; } - public void setValid(Boolean valid) { + public void setValid(@javax.annotation.Nullable 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 18973b20..589bbdbc 100644 --- a/src/main/java/com/bandwidth/sdk/model/VoiceApiError.java +++ b/src/main/java/com/bandwidth/sdk/model/VoiceApiError.java @@ -49,24 +49,27 @@ /** * VoiceApiError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String type) { + public VoiceApiError type(@javax.annotation.Nullable String type) { this.type = type; return this; } @@ -80,12 +83,12 @@ public String getType() { return type; } - public void setType(String type) { + public void setType(@javax.annotation.Nullable String type) { this.type = type; } - public VoiceApiError description(String description) { + public VoiceApiError description(@javax.annotation.Nullable String description) { this.description = description; return this; } @@ -99,12 +102,12 @@ public String getDescription() { return description; } - public void setDescription(String description) { + public void setDescription(@javax.annotation.Nullable String description) { this.description = description; } - public VoiceApiError id(String id) { + public VoiceApiError id(@javax.annotation.Nullable String id) { this.id = id; return this; } @@ -118,7 +121,7 @@ public String getId() { return id; } - public void setId(String id) { + public void setId(@javax.annotation.Nullable 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 e86b3c3e..8e0047dd 100644 --- a/src/main/java/com/bandwidth/sdk/model/VoiceCodeResponse.java +++ b/src/main/java/com/bandwidth/sdk/model/VoiceCodeResponse.java @@ -48,16 +48,17 @@ /** * VoiceCodeResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.10.0") public class 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(String callId) { + public VoiceCodeResponse callId(@javax.annotation.Nullable String callId) { this.callId = callId; return this; } @@ -71,7 +72,7 @@ public String getCallId() { return callId; } - public void setCallId(String callId) { + public void setCallId(@javax.annotation.Nullable String callId) { this.callId = callId; }
Response Details
Status Code Description Response Headers
200 OK -
400 Bad Request -