findOptional(Predicate super E> predicate) {
- return enums.stream().filter(predicate).findFirst();
- }
-
- /**
- * Finds an enum based on a {@code Predicate} that must match otherwise an {@code IllegalArgumentException} will be
- * thrown.
- *
- * @param predicate the predicate to match the enum against
- * @return the enum matching the predicate
- * @throws IllegalArgumentException thrown if predicate doesn't match
- * @see #find(Predicate)
- * @see #findOptional(Predicate)
- */
- public E findRequired(Predicate super E> predicate) {
- return findOptional(predicate).orElseThrow(IllegalArgumentException::new);
- }
-
- /**
- * Finds an enum based on a {@code Predicate}.
- *
- * @param predicate the predicate to match the enum against
- * @return the enum matching the predicate, {@code null} if no match
- * @see #findRequired(Predicate)
- * @see #findOptional(Predicate)
- */
- public E find(Predicate super E> predicate) {
- return findOptional(predicate).orElse(null);
- }
-
- /**
- * Convenience method to create an enum finder with less generics mess.
- *
- * {@code AnEnum anEnum = EnumFinder.of(AnEnum.class).find(e -> e.code == code).orElse(null)}
- *
- * @param enumClass the type of the enum
- * @return the enum finder
- */
- public static > EnumFinder of(Class enumClass) {
- return new EnumFinder<>(enumClass);
- }
-}
diff --git a/src/main/java/org/openapitools/client/model/bxml/utils/TtsGender.java b/src/main/java/org/openapitools/client/model/bxml/utils/TtsGender.java
deleted file mode 100644
index 6ba7e461..00000000
--- a/src/main/java/org/openapitools/client/model/bxml/utils/TtsGender.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package org.openapitools.client.model.bxml.utils;
-
-import com.fasterxml.jackson.annotation.JsonCreator;
-import jakarta.xml.bind.annotation.XmlEnum;
-import jakarta.xml.bind.annotation.XmlEnumValue;
-
-@XmlEnum
-public enum TtsGender {
- @XmlEnumValue("female") FEMALE("female"),
- @XmlEnumValue("male") MALE("male");
-
- private final String genderString;
-
- TtsGender(String genderString) {
- this.genderString = genderString;
- }
-
- @JsonCreator
- public static TtsGender resolve(String gender) {
- return EnumFinder.of(TtsGender.class).find(g -> g.genderString.equals(gender));
- }
-
- public String toString() {
- return genderString;
- }
-}
diff --git a/src/main/java/org/openapitools/client/model/bxml/utils/TtsLocale.java b/src/main/java/org/openapitools/client/model/bxml/utils/TtsLocale.java
deleted file mode 100644
index f8e5ee64..00000000
--- a/src/main/java/org/openapitools/client/model/bxml/utils/TtsLocale.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.openapitools.client.model.bxml.utils;
-
-import com.fasterxml.jackson.annotation.JsonCreator;
-
-import jakarta.xml.bind.annotation.XmlEnum;
-import jakarta.xml.bind.annotation.XmlEnumValue;
-
-@XmlEnum
-public enum TtsLocale {
- @XmlEnumValue("en_US") EN_US("en_US"),
- @XmlEnumValue("en_UK") EN_UK("en_UK"),
- @XmlEnumValue("de") DE("de"),
- @XmlEnumValue("es") ES("es"),
- @XmlEnumValue("es_MX") ES_MX("es_MX"),
- @XmlEnumValue("fr") FR("fr"),
- @XmlEnumValue("it") IT("it"),
- @XmlEnumValue("ru") RU("ru"),
- @XmlEnumValue("ja") JA("ja"),
- @XmlEnumValue("arb") ARB("arb"),
- @XmlEnumValue("cmn-CN") CMN_CN("cmn-CN");
-
- private final String locale;
-
- TtsLocale(String locale) {
- this.locale = locale;
- }
-
- @JsonCreator
- public static TtsLocale resolve(String localeString) {
- return EnumFinder.of(TtsLocale.class)
- .find(loc -> loc.locale.equals(localeString));
- }
-
- public String toString() {
- return locale;
- }
-}
diff --git a/src/main/java/org/openapitools/client/model/bxml/utils/TtsVoice.java b/src/main/java/org/openapitools/client/model/bxml/utils/TtsVoice.java
deleted file mode 100644
index a686db27..00000000
--- a/src/main/java/org/openapitools/client/model/bxml/utils/TtsVoice.java
+++ /dev/null
@@ -1,93 +0,0 @@
-package org.openapitools.client.model.bxml.utils;
-
-import static org.openapitools.client.model.bxml.utils.TtsGender.FEMALE;
-import static org.openapitools.client.model.bxml.utils.TtsGender.MALE;
-import static org.openapitools.client.model.bxml.utils.TtsLocale.ARB;
-import static org.openapitools.client.model.bxml.utils.TtsLocale.CMN_CN;
-import static org.openapitools.client.model.bxml.utils.TtsLocale.DE;
-import static org.openapitools.client.model.bxml.utils.TtsLocale.EN_UK;
-import static org.openapitools.client.model.bxml.utils.TtsLocale.EN_US;
-import static org.openapitools.client.model.bxml.utils.TtsLocale.ES;
-import static org.openapitools.client.model.bxml.utils.TtsLocale.ES_MX;
-import static org.openapitools.client.model.bxml.utils.TtsLocale.FR;
-import static org.openapitools.client.model.bxml.utils.TtsLocale.IT;
-import static org.openapitools.client.model.bxml.utils.TtsLocale.JA;
-import static org.openapitools.client.model.bxml.utils.TtsLocale.RU;
-
-import com.fasterxml.jackson.annotation.JsonCreator;
-import jakarta.xml.bind.annotation.XmlEnumValue;
-
-public enum TtsVoice {
-
- // The enum declaration order is the order in which the enums are searched by EnumFinder
- // This establishes priority, as voices with the same locale and gender that are higher on the list
- // are reached and returned first when searching with resolveGenderLocale()
- @XmlEnumValue("susan") SUSAN(EN_US, FEMALE, "susan", "Kimberly"),
- @XmlEnumValue("paul") PAUL(EN_US, MALE, "paul", "Matthew"),
- @XmlEnumValue("julie") JULIE(EN_US, FEMALE, "julie", "Joanna"),
- @XmlEnumValue("kate") KATE(EN_US, FEMALE, "kate", "Kendra"),
- @XmlEnumValue("bridget") BRIDGET(EN_UK, FEMALE, "bridget", "Amy"),
- @XmlEnumValue("katrin") KATRIN(DE, FEMALE, "katrin", "Marlene"),
- @XmlEnumValue("esperanza") ESPERANZA(ES, FEMALE, "esperanza", "Conchita"),
- @XmlEnumValue("violeta") VIOLETA(ES, FEMALE, "violeta", "Lucia"),
- @XmlEnumValue("rosa") ROSA(ES_MX, FEMALE, "rosa", "Mia"),
- @XmlEnumValue("jolie") JOLIE(FR, FEMALE, "jolie", "Celine"),
- @XmlEnumValue("paola") PAOLA(IT, FEMALE, "paola", "Carla"),
- @XmlEnumValue("nadiya") NADIYA(RU, FEMALE, "nadiya", "Tatyana"),
- @XmlEnumValue("masako") MASAKO(JA, FEMALE, "masako", "Mizuki"),
- @XmlEnumValue("zeina") ZEINA(ARB, FEMALE, "zeina", "Zeina"),
- @XmlEnumValue("zhiyu") ZHIYU(CMN_CN, FEMALE, "zhiyu", "Zhiyu"),
- @XmlEnumValue("dave") DAVE(EN_US, MALE, "dave", "Matthew"),
- @XmlEnumValue("simon") SIMON(EN_UK, MALE, "simon", "Brian"),
- @XmlEnumValue("stefan") STEFAN(DE, MALE, "stefan", "Hans"),
- @XmlEnumValue("jorge") JORGE(ES, MALE, "jorge", "Enrique"),
- @XmlEnumValue("bernard") BERNARD(FR, MALE, "bernard", "Mathieu"),
- @XmlEnumValue("luca") LUCA(IT, MALE, "luca", "Giorgio"),
- @XmlEnumValue("anatoli") ANATOLI(RU, MALE, "anatoli", "Maxim"),
- @XmlEnumValue("kenji") KENJI(JA, MALE, "kenji", "Takumi");
-
-
- private final TtsLocale locale;
- private final TtsGender gender;
-
- /**
- * What we present this voice as to our customers.
- */
- private final String ourName;
-
- /**
- * What our TTS provider calls this voice.
- */
- private final String providerName;
-
- TtsVoice(TtsLocale locale, TtsGender gender, String ourName, String providerName) {
- this.locale = locale;
- this.gender = gender;
- this.ourName = ourName;
- this.providerName = providerName;
- }
-
- public String getProviderName() {
- return providerName;
- }
-
- @JsonCreator
- public static TtsVoice fromOurName(String ourName) {
- return EnumFinder.of(TtsVoice.class).find(e -> e.ourName.equals(ourName));
- }
-
- public static TtsVoice resolveGenderLocale(TtsGender gender, TtsLocale locale) {
- TtsVoice voice = EnumFinder.of(TtsVoice.class)
- .find(e -> e.locale == locale && e.gender == gender);
- if (null == voice) {
- return EnumFinder.of(TtsVoice.class)
- .find(e -> e.locale == locale);
- }
- return voice;
- }
-
- @Override
- public String toString() {
- return this.ourName;
- }
-}
diff --git a/src/test/java/com/bandwidth/sdk/api/CallsApiTest.java b/src/test/java/com/bandwidth/sdk/api/CallsApiTest.java
new file mode 100644
index 00000000..3da759b9
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/api/CallsApiTest.java
@@ -0,0 +1,400 @@
+package com.bandwidth.sdk.api;
+
+import com.bandwidth.sdk.ApiResponse;
+import com.bandwidth.sdk.ApiException;
+import com.bandwidth.sdk.ApiClient;
+import com.bandwidth.sdk.auth.HttpBasicAuth;
+import com.bandwidth.sdk.Configuration;
+import com.bandwidth.sdk.model.CallbackMethodEnum;
+import com.bandwidth.sdk.model.CreateCall;
+import com.bandwidth.sdk.model.CreateCallResponse;
+import com.bandwidth.sdk.model.CallDirectionEnum;
+import com.bandwidth.sdk.model.CallState;
+import com.bandwidth.sdk.model.CallStateEnum;
+import com.bandwidth.sdk.model.MachineDetectionConfiguration;
+import com.bandwidth.sdk.model.MachineDetectionModeEnum;
+import com.bandwidth.sdk.model.UpdateCall;
+import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.MethodOrderer;
+import org.junit.jupiter.api.Order;
+import org.junit.jupiter.api.AfterAll;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.TestInstance;
+import org.junit.jupiter.api.TestMethodOrder;
+import org.junit.jupiter.api.Assertions;
+
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.concurrent.TimeUnit;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.CoreMatchers.instanceOf;
+import static org.hamcrest.Matchers.is;
+import static org.hamcrest.Matchers.anyOf;
+import static org.hamcrest.beans.HasPropertyWithValue.hasProperty;
+
+import static com.bandwidth.sdk.utils.TestingEnvironmentVariables.*;
+import static com.bandwidth.sdk.utils.CallCleanup.Cleanup;
+
+@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
+@TestInstance(TestInstance.Lifecycle.PER_CLASS)
+public class CallsApiTest {
+ public ApiClient defaultClient = Configuration.getDefaultApiClient();
+ public HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
+ public final CallsApi api = new CallsApi(defaultClient);
+
+ private static List callIdList = new ArrayList();
+ private static MachineDetectionConfiguration machineDetection = new MachineDetectionConfiguration();
+ private static CreateCall createCallBody = new CreateCall();
+ private static CreateCall createMantecaCallBody = new CreateCall();
+ private static UpdateCall updateMantecaCallBody = new UpdateCall();
+ private static UpdateCall completeMantecaCallBody = new UpdateCall();
+ private static URI answerUrl;
+ private static URI mantecaAnswerUrl;
+ private static URI mantecaRedirectUrl;
+ private static URI fallbackUrl;
+ private static URI disconnectUrl;
+ private static URI machineDetectionUrl;
+ private static URI machineDetectionCompleteUrl;
+ private static CallbackMethodEnum callbackMethod = CallbackMethodEnum.POST;
+ private static String testCallId = "Call-Id";
+ private static String testXmlBody = "This is a test bxml response";
+ private static int TEST_SLEEP = 3;
+
+ @BeforeAll
+ public static void setupBeforeClass() throws URISyntaxException {
+ answerUrl = new URI(BASE_CALLBACK_URL);
+ mantecaAnswerUrl = new URI(MANTECA_BASE_URL + "/bxml/pause");
+ mantecaRedirectUrl = new URI(MANTECA_BASE_URL + "/bxml/pause");
+ fallbackUrl = new URI("https://www.myFallbackServer.com/webhooks/answer");
+ disconnectUrl = new URI("https://myServer.com/bandwidth/webhooks/disconnectUrl");
+ machineDetectionUrl = new URI("https://myServer.com/bandwidth/webhooks/machineDetectionComplete");
+ machineDetectionCompleteUrl = new URI(
+ "https://myFallbackServer.com/bandwidth/webhooks/machineDetectionComplete");
+
+ machineDetection.setMode(MachineDetectionModeEnum.ASYNC);
+ machineDetection.setDetectionTimeout(15.0);
+ machineDetection.setSilenceTimeout(10.0);
+ machineDetection.setSpeechThreshold(10.0);
+ machineDetection.setSpeechEndThreshold(5.0);
+ machineDetection.setMachineSpeechEndThreshold(5.0);
+ machineDetection.setDelayResult(false);
+ machineDetection.setCallbackUrl(machineDetectionUrl);
+ machineDetection.setCallbackMethod(callbackMethod);
+ machineDetection.setUsername("mySecretUsername");
+ machineDetection.setPassword("mySecretPassword1!");
+ machineDetection.setFallbackUrl(machineDetectionCompleteUrl);
+ machineDetection.setFallbackMethod(callbackMethod);
+ machineDetection.setFallbackUsername("mySecretUsername");
+ machineDetection.setFallbackPassword("mySecretPassword1!");
+
+ createCallBody.setTo(USER_NUMBER);
+ createCallBody.setFrom(BW_NUMBER);
+ createCallBody.setApplicationId(BW_VOICE_APPLICATION_ID);
+ createCallBody.setAnswerUrl(answerUrl);
+ createCallBody.setAnswerMethod(callbackMethod);
+ createCallBody.setUsername("mySecretUsername");
+ createCallBody.setPassword("mySecretPassword1!");
+ createCallBody.setAnswerFallbackUrl(fallbackUrl);
+ createCallBody.setAnswerFallbackMethod(callbackMethod);
+ createCallBody.setFallbackUsername("mySecretUsername");
+ createCallBody.setFallbackPassword("mySecretPassword1!");
+ createCallBody.setDisconnectUrl(disconnectUrl);
+ createCallBody.setDisconnectMethod(callbackMethod);
+ createCallBody.setCallTimeout(30.0);
+ createCallBody.setCallbackTimeout(15.0);
+ createCallBody.setMachineDetection(machineDetection);
+ createCallBody.setPriority(5);
+ createCallBody.setTag("tag_example");
+
+ createMantecaCallBody.setFrom(MANTECA_ACTIVE_NUMBER);
+ createMantecaCallBody.setTo(MANTECA_IDLE_NUMBER);
+ createMantecaCallBody.setApplicationId(MANTECA_APPLICATION_ID);
+ createMantecaCallBody.setAnswerUrl(mantecaAnswerUrl);
+
+ updateMantecaCallBody.setState(CallStateEnum.ACTIVE);
+ updateMantecaCallBody.setRedirectUrl(mantecaRedirectUrl);
+
+ completeMantecaCallBody.setState(CallStateEnum.COMPLETED);
+ }
+
+ @AfterAll
+ public void tearDownAfterClass() throws Exception {
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ Cleanup(this, callIdList);
+ }
+
+ @Test
+ @Order(1)
+ public void createCall() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ ApiResponse response = api.createCallWithHttpInfo(BW_ACCOUNT_ID, createCallBody);
+ callIdList.add(response.getData().getCallId());
+
+ assertThat(response.getStatusCode(), is(201));
+ assertThat(response.getData(), hasProperty("callId", is(instanceOf(String.class))));
+ assertThat(response.getData(), hasProperty("accountId", is(BW_ACCOUNT_ID)));
+ assertThat(response.getData(), hasProperty("applicationId", is(BW_VOICE_APPLICATION_ID)));
+ assertThat(response.getData(), hasProperty("to", is(USER_NUMBER)));
+ assertThat(response.getData(), hasProperty("from", is(BW_NUMBER)));
+ }
+
+ @Test
+ public void createCallBadRequest() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ CreateCall badCallRequest = new CreateCall();
+ createCallBody.setTo("invalid_number");
+ createCallBody.setFrom(BW_NUMBER);
+ createCallBody.setApplicationId(BW_VOICE_APPLICATION_ID);
+ createCallBody.setAnswerUrl(answerUrl);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.createCallWithHttpInfo(BW_ACCOUNT_ID, badCallRequest));
+
+ assertThat(exception.getCode(), is(400));
+ }
+
+ @Test
+ public void createCallUnauthorized() throws ApiException {
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ CreateCall badCallRequest = new CreateCall();
+ createCallBody.setTo("invalid_number");
+ createCallBody.setFrom(BW_NUMBER);
+ createCallBody.setApplicationId(BW_VOICE_APPLICATION_ID);
+ createCallBody.setAnswerUrl(answerUrl);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.createCallWithHttpInfo(BW_ACCOUNT_ID, badCallRequest));
+
+ assertThat(exception.getCode(), is(401));
+ }
+
+ @Test
+ public void createCallForbidden() throws ApiException {
+ Basic.setUsername(FORBIDDEN_USERNAME);
+ Basic.setPassword(FORBIDDEN_PASSWORD);
+
+ CreateCall badCallRequest = new CreateCall();
+ createCallBody.setTo("invalid_number");
+ createCallBody.setFrom(BW_NUMBER);
+ createCallBody.setApplicationId(BW_VOICE_APPLICATION_ID);
+ createCallBody.setAnswerUrl(answerUrl);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.createCallWithHttpInfo(BW_ACCOUNT_ID, badCallRequest));
+
+ assertThat(exception.getCode(), is(403));
+ }
+
+ // @Test
+ // @Order(2)
+ // public void getCallState() throws ApiException, InterruptedException {
+ // Basic.setUsername(BW_USERNAME);
+ // Basic.setPassword(BW_PASSWORD);
+
+ // TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ // ApiResponse response = api.getCallStateWithHttpInfo(BW_ACCOUNT_ID, callIdList.get(0));
+
+ // assertThat(response.getStatusCode(), anyOf(is(200),is(404)));
+ // assertThat(response.getData(), hasProperty("callId", is(instanceOf(String.class))));
+ // assertThat(response.getData(), hasProperty("state", is(instanceOf(String.class))));
+ // assertThat(response.getData(), hasProperty("direction", is(CallDirectionEnum.OUTBOUND)));
+ // }
+
+ @Test
+ public void getCallStateUnauthorized() throws ApiException {
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.getCallStateWithHttpInfo(BW_ACCOUNT_ID, "not a call id"));
+
+ assertThat(exception.getCode(), is(401));
+ }
+
+ @Test
+ public void getCallStateForbidden() throws ApiException {
+ Basic.setUsername(FORBIDDEN_USERNAME);
+ Basic.setPassword(FORBIDDEN_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.getCallStateWithHttpInfo(BW_ACCOUNT_ID, "not a call id"));
+
+ assertThat(exception.getCode(), is(403));
+ }
+
+ @Test
+ public void getCallStateNotFound() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.getCallStateWithHttpInfo(BW_ACCOUNT_ID, "not a call id"));
+
+ assertThat(exception.getCode(), is(404));
+ }
+
+ @Test
+ @Order(3)
+ public void updateCall() throws ApiException, InterruptedException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ // Create call
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ ApiResponse createCallResponse = api.createCallWithHttpInfo(BW_ACCOUNT_ID,
+ createMantecaCallBody);
+ callIdList.add(createCallResponse.getData().getCallId());
+
+ assertThat(createCallResponse.getStatusCode(), is(201));
+
+ // Redirect call to different url
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ ApiResponse updateCallResponse = api.updateCallWithHttpInfo(BW_ACCOUNT_ID,
+ createCallResponse.getData().getCallId(), updateMantecaCallBody);
+
+ assertThat(updateCallResponse.getStatusCode(), is(200));
+
+ // Complete call
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ ApiResponse completeCallResponse = api.updateCallWithHttpInfo(BW_ACCOUNT_ID,
+ createCallResponse.getData().getCallId(), completeMantecaCallBody);
+
+ assertThat(completeCallResponse.getStatusCode(), is(200));
+ }
+
+ @Test
+ public void updateCallBadRequest() throws ApiException, InterruptedException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ UpdateCall badRequest = new UpdateCall();
+ badRequest.state(null);
+
+ // Create call
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ ApiResponse createCallResponse = api.createCallWithHttpInfo(BW_ACCOUNT_ID,
+ createMantecaCallBody);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.updateCallWithHttpInfo(BW_ACCOUNT_ID, createCallResponse.getData().getCallId(),
+ badRequest));
+
+ assertThat(exception.getCode(), is(400));
+ }
+
+ @Test
+ public void updateCallUnauthorized() throws ApiException {
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.updateCallWithHttpInfo(BW_ACCOUNT_ID, testCallId,
+ new UpdateCall().state(CallStateEnum.COMPLETED)));
+
+ assertThat(exception.getCode(), is(401));
+
+ }
+
+ @Test
+ public void updateCallForbidden() throws ApiException {
+ Basic.setUsername(FORBIDDEN_USERNAME);
+ Basic.setPassword(FORBIDDEN_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.updateCallWithHttpInfo(BW_ACCOUNT_ID, testCallId,
+ new UpdateCall().state(CallStateEnum.COMPLETED)));
+
+ assertThat(exception.getCode(), is(403));
+ }
+
+ @Test
+ public void updateCallNotFound() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.updateCallWithHttpInfo(BW_ACCOUNT_ID, testCallId,
+ new UpdateCall().state(CallStateEnum.COMPLETED)));
+
+ assertThat(exception.getCode(), is(404));
+ }
+
+ @Test
+ @Order(4)
+ public void updateCallBxml() throws ApiException, InterruptedException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ // Create call
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ ApiResponse createCallResponse = api.createCallWithHttpInfo(BW_ACCOUNT_ID,
+ createMantecaCallBody);
+ callIdList.add(createCallResponse.getData().getCallId());
+
+ assertThat(createCallResponse.getStatusCode(), is(201));
+
+ // Redirect call to different url
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ ApiResponse updateCallResponse = api.updateCallBxmlWithHttpInfo(BW_ACCOUNT_ID,
+ createCallResponse.getData().getCallId(), testXmlBody);
+
+ assertThat(updateCallResponse.getStatusCode(), is(204));
+
+ // Complete call
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ ApiResponse completeCallResponse = api.updateCallWithHttpInfo(BW_ACCOUNT_ID,
+ createCallResponse.getData().getCallId(), completeMantecaCallBody);
+
+ assertThat(completeCallResponse.getStatusCode(), is(200));
+ }
+
+ @Test
+ public void updateCallBxmlBadRequest() throws ApiException {
+
+ }
+
+ @Test
+ public void updateCallBxmlUnauthorized() throws ApiException {
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.updateCallBxmlWithHttpInfo(BW_ACCOUNT_ID, testCallId,
+ testXmlBody));
+
+ assertThat(exception.getCode(), is(401));
+ }
+
+ @Test
+ public void updateCallBxmlForbidden() throws ApiException {
+ Basic.setUsername(FORBIDDEN_USERNAME);
+ Basic.setPassword(FORBIDDEN_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.updateCallBxmlWithHttpInfo(BW_ACCOUNT_ID, testCallId,
+ testXmlBody));
+
+ assertThat(exception.getCode(), is(403));
+ }
+
+ @Test
+ public void updateCallBxmlNotFound() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.updateCallBxmlWithHttpInfo(BW_ACCOUNT_ID, testCallId,
+ testXmlBody));
+
+ assertThat(exception.getCode(), is(404));
+ }
+}
diff --git a/src/test/java/com/bandwidth/sdk/api/ConferencesApiTest.java b/src/test/java/com/bandwidth/sdk/api/ConferencesApiTest.java
new file mode 100644
index 00000000..7774e5f0
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/api/ConferencesApiTest.java
@@ -0,0 +1,235 @@
+package com.bandwidth.sdk.api;
+
+import org.openapitools.client.ApiResponse;
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.auth.HttpBasicAuth;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.model.ConferenceRecordingMetadata;
+import org.openapitools.client.model.ConferenceStateEnum;
+import org.openapitools.client.model.CreateCall;
+import org.openapitools.client.model.CreateCallResponse;
+import org.openapitools.client.model.FileFormatEnum;
+import org.openapitools.client.model.Conference;
+import org.openapitools.client.model.ConferenceMember;
+import org.openapitools.client.model.RedirectMethodEnum;
+import org.openapitools.client.model.UpdateConference;
+import org.openapitools.client.model.UpdateConferenceMember;
+import com.bandwidth.sdk.utils.MantecaStatusResponse;
+
+import com.google.gson.Gson;
+
+import okhttp3.Call;
+import okhttp3.MediaType;
+import okhttp3.OkHttpClient;
+import okhttp3.Request;
+import okhttp3.RequestBody;
+import okhttp3.Response;
+
+import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.MethodOrderer;
+import org.junit.jupiter.api.Order;
+import org.junit.jupiter.api.AfterAll;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.TestInstance;
+import org.junit.jupiter.api.TestMethodOrder;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.util.List;
+import java.util.concurrent.TimeUnit;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
+import static com.bandwidth.sdk.utils.TestingEnvironmentVariables.*;
+import static com.bandwidth.sdk.utils.CallCleanup.Cleanup;
+
+@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
+@TestInstance(TestInstance.Lifecycle.PER_CLASS)
+public class ConferencesApiTest {
+ public ApiClient defaultClient = Configuration.getDefaultApiClient();
+ public HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
+ public final CallsApi callsApi = new CallsApi(defaultClient);
+ public final ConferencesApi conferencesApi = new ConferencesApi(defaultClient);
+
+ private static final OkHttpClient mantecaClient = new OkHttpClient();
+ public static final MediaType jsonMediaType = MediaType.get("application/json; charset=utf-8");
+
+ private static String testId;
+ private static String callId;
+ private static String conferenceId;
+ private static URI answerUrl;
+ private static URI conferenceRedirectUrl;
+ private static String updateRecordingBxml = "This should be a conference recording.";
+ private static int TEST_SLEEP = 3;
+ private static int MAX_RETRIES = 40;
+
+ @BeforeAll
+ public static void setUpBeforeClass() throws URISyntaxException {
+ answerUrl = new URI(MANTECA_BASE_URL + "/bxml/joinConferencePause");
+ conferenceRedirectUrl = new URI(MANTECA_BASE_URL + "/bxml/pause");
+ }
+
+ @AfterAll
+ public void tearDownAfterClass() throws Exception {
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ Cleanup(this, callId);
+ }
+
+ static final String constructMantecaJsonBody(String os, String language) {
+ return "{\"os\": \"" + os + "\", \"language\":\"JAVA" + JAVA_VERSION + "\", \"type\":\"conference\"}";
+ }
+
+ public void validateRecording(ConferenceRecordingMetadata recording, String conferenceId) {
+
+ }
+
+ public Boolean getTestRecordedStatus(String mantecaTestId) throws Exception {
+ try {
+ // Setup the test with Manteca
+ Request mantecaStatusRequest = new Request.Builder()
+ .url(MANTECA_STATUS_URL + mantecaTestId)
+ .build();
+ Call mantecaStatusApiCall = mantecaClient.newCall(mantecaStatusRequest);
+ Response mantecaStatusResponse = mantecaStatusApiCall.execute();
+
+ Gson gson = new Gson();
+ MantecaStatusResponse mantecaStatus = gson.fromJson(
+ mantecaStatusResponse.peekBody(2048).string(),
+ MantecaStatusResponse.class);
+ if (mantecaStatusResponse.isSuccessful()) {
+ return mantecaStatus.callRecorded;
+ } else {
+ System.out.println(mantecaStatusResponse.body().string());
+ throw new Exception(
+ "Received HTTP " + String.valueOf(mantecaStatusResponse.code()) + " status code from Manteca");
+ }
+ } catch (IOException e) {
+ System.out.println(e.toString());
+ throw new Exception("Failed to get test status from Manteca, aborting test run :(");
+ }
+ }
+
+ @Test
+ @Order(1)
+ public void testCreateAndFetchConference() throws Exception {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ String mantecaJsonBody = constructMantecaJsonBody(OPERATING_SYSTEM, JAVA_VERSION);
+ RequestBody mantecaRequestBody = RequestBody.create(mantecaJsonBody, jsonMediaType);
+
+ try {
+ // Setup the test with Manteca
+ Request mantecaRequest = new Request.Builder()
+ .url(MANTECA_BASE_URL + "/tests")
+ .post(mantecaRequestBody)
+ .build();
+ Call mantecaApiCall = mantecaClient.newCall(mantecaRequest);
+ testId = mantecaApiCall.execute().body().string();
+ } catch (IOException e) {
+ System.out.println(e.toString());
+ throw new Exception("Failed to initialize conference tests with Manteca, aborting test run :(");
+ }
+
+ CreateCall conferenceCallBody = new CreateCall();
+ conferenceCallBody.setTo(MANTECA_IDLE_NUMBER);
+ conferenceCallBody.setFrom(MANTECA_ACTIVE_NUMBER);
+ conferenceCallBody.setApplicationId(MANTECA_APPLICATION_ID);
+ conferenceCallBody.setAnswerUrl(answerUrl);
+ conferenceCallBody.setTag(testId);
+
+ ApiResponse createCallResponse = callsApi.createCallWithHttpInfo(BW_ACCOUNT_ID,
+ conferenceCallBody);
+
+ assertThat(createCallResponse.getStatusCode(), is(201));
+ callId = createCallResponse.getData().getCallId();
+
+ // TODO: Remove after successful test in GHA runners
+ System.out.println("TestId: " + testId);
+ System.out.println("CallId: " + callId);
+
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+
+ ApiResponse> listConferencesResponse = conferencesApi
+ .listConferencesWithHttpInfo(BW_ACCOUNT_ID, testId, null, null, null, null);
+ assertThat(listConferencesResponse.getStatusCode(), is(200));
+
+ conferenceId = listConferencesResponse.getData().get(0).getId();
+
+ ApiResponse getConferenceResponse = conferencesApi.getConferenceWithHttpInfo(BW_ACCOUNT_ID,
+ conferenceId);
+ assertThat(getConferenceResponse.getStatusCode(), is(200));
+
+ }
+
+ @Test
+ @Order(2)
+ public void testConferenceAndMembers() throws Exception {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ ApiResponse listConferenceMembersResponse = conferencesApi
+ .getConferenceMemberWithHttpInfo(BW_ACCOUNT_ID, conferenceId, callId);
+ assertThat(listConferenceMembersResponse.getStatusCode(), is(200));
+
+ UpdateConferenceMember updateMember = new UpdateConferenceMember();
+ updateMember.setMute(false);
+
+ ApiResponse updateConferenceMemberResponse = conferencesApi
+ .updateConferenceMemberWithHttpInfo(BW_ACCOUNT_ID, conferenceId, callId, updateMember);
+ assertThat(updateConferenceMemberResponse.getStatusCode(), is(204));
+
+ UpdateConference updateConference = new UpdateConference();
+ updateConference.setStatus(ConferenceStateEnum.ACTIVE);
+ updateConference.setRedirectUrl(conferenceRedirectUrl);
+ updateConference.setRedirectMethod(RedirectMethodEnum.POST);
+ updateConference.setUsername("myUsername");
+ updateConference.setPassword("myPassword1!");
+ updateConference.setRedirectFallbackUrl(conferenceRedirectUrl);
+ updateConference.setRedirectFallbackMethod(RedirectMethodEnum.POST);
+ updateConference.setFallbackUsername("myUsername");
+ updateConference.setFallbackPassword("myPassword1!");
+
+ ApiResponse updateConferenceResponse = conferencesApi.updateConferenceWithHttpInfo(BW_ACCOUNT_ID,
+ conferenceId, updateConference);
+ assertThat(updateConferenceResponse.getStatusCode(), is(204));
+
+ ApiResponse updateConferenceBxmlResponse = conferencesApi.updateConferenceBxmlWithHttpInfo(BW_ACCOUNT_ID,
+ conferenceId, updateRecordingBxml);
+ assertThat(updateConferenceBxmlResponse.getStatusCode(), is(204));
+ }
+
+ @Test
+ @Order(3)
+ public void testConferenceRecordings() throws Exception {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ Boolean testRecordingStatus = false;
+ for (int i = 0; i < MAX_RETRIES; i++) {
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ testRecordingStatus = getTestRecordedStatus(testId);
+ }
+ assertThat(testRecordingStatus, is(true));
+
+ ApiResponse> listConferenceRecordingsResponse = conferencesApi
+ .listConferenceRecordingsWithHttpInfo(BW_ACCOUNT_ID, conferenceId);
+ assertThat(listConferenceRecordingsResponse.getStatusCode(), is(200));
+
+ ConferenceRecordingMetadata conferenceRecording = listConferenceRecordingsResponse.getData().get(0);
+
+ ApiResponse conferenceRecordingMetadataResponse = conferencesApi
+ .getConferenceRecordingWithHttpInfo(BW_ACCOUNT_ID, conferenceId,
+ conferenceRecording.getRecordingId());
+ assertThat(conferenceRecordingMetadataResponse.getStatusCode(), is(200));
+ assertThat(conferenceRecordingMetadataResponse.getData().getStatus(), is("complete"));
+ assertThat(conferenceRecordingMetadataResponse.getData().getFileFormat(), is(FileFormatEnum.WAV));
+
+ ApiResponse downloadRecordingResponse = conferencesApi.downloadConferenceRecordingWithHttpInfo(
+ BW_ACCOUNT_ID, conferenceId,
+ conferenceRecording.getRecordingId());
+ assertThat(downloadRecordingResponse.getStatusCode(), is(200));
+ }
+}
diff --git a/src/test/java/com/bandwidth/sdk/api/MediaApiTest.java b/src/test/java/com/bandwidth/sdk/api/MediaApiTest.java
new file mode 100644
index 00000000..d52164df
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/api/MediaApiTest.java
@@ -0,0 +1,90 @@
+package com.bandwidth.sdk.api;
+
+import org.openapitools.client.ApiException;
+import org.openapitools.client.ApiResponse;
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.auth.HttpBasicAuth;
+import org.openapitools.client.model.Media;
+import org.openapitools.client.Configuration;
+import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.Order;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.TestMethodOrder;
+import org.junit.jupiter.api.MethodOrderer.OrderAnnotation;
+import org.apache.commons.io.FileUtils;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.List;
+import java.util.UUID;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
+
+import static com.bandwidth.sdk.utils.TestingEnvironmentVariables.*;
+
+@TestMethodOrder(OrderAnnotation.class)
+public class MediaApiTest {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
+ private final MediaApi api = new MediaApi(defaultClient);
+
+ private static String mediaPath = "src/test/java/org/openapitools/client/fixtures/";
+ private static String mediaFile = "java_cat.jpeg";
+ private static String mediaId;
+ private static UUID uuid;
+ private static File media = new File(mediaPath + mediaFile);
+ private static String contentType = "image/jpeg";
+ private static String cacheControl = "no-cache";
+
+ @BeforeAll
+ public static void setupBeforeClass() {
+ uuid = UUID.randomUUID();
+ mediaId = JAVA_VERSION + "_" + RUNNER_OS + "_" + uuid + "_" + mediaFile;
+ }
+
+ @Test
+ @Order(1)
+ public void uploadMedia() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ ApiResponse response = api.uploadMediaWithHttpInfo(BW_ACCOUNT_ID, mediaId, media,
+ contentType,
+ cacheControl);
+
+ assertThat(response.getStatusCode(), is(204));
+ }
+
+ @Test
+ @Order(2)
+ public void listMedia() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+ ApiResponse> response = api.listMediaWithHttpInfo(BW_ACCOUNT_ID, null);
+
+ assertThat(response.getStatusCode(), is(200));
+ }
+
+ @Test
+ @Order(3)
+ public void getMedia() throws ApiException, IOException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ ApiResponse response = api.getMediaWithHttpInfo(BW_ACCOUNT_ID, mediaId);
+
+ assertThat(response.getStatusCode(), is(200));
+ assertThat(FileUtils.readLines(response.getData(), "utf-8"), is(FileUtils.readLines(media, "utf-8")));
+ }
+
+ @Test
+ @Order(4)
+ public void deleteMedia() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ ApiResponse response = api.deleteMediaWithHttpInfo(BW_ACCOUNT_ID, mediaId);
+ assertThat(response.getStatusCode(), is(204));
+ }
+}
diff --git a/src/test/java/com/bandwidth/sdk/api/MessagesApiTest.java b/src/test/java/com/bandwidth/sdk/api/MessagesApiTest.java
new file mode 100644
index 00000000..634389b9
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/api/MessagesApiTest.java
@@ -0,0 +1,186 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ */
+
+package com.bandwidth.sdk.api;
+
+import org.openapitools.client.ApiException;
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.auth.HttpBasicAuth;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.model.ListMessageDirectionEnum;
+import org.openapitools.client.model.ListMessageItem;
+import org.openapitools.client.model.Message;
+import org.openapitools.client.model.MessageRequest;
+import org.openapitools.client.model.MessageStatusEnum;
+import org.openapitools.client.model.MessageTypeEnum;
+import org.openapitools.client.model.MessagesList;
+import org.openapitools.client.model.PriorityEnum;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Test;
+
+import java.net.URI;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.CoreMatchers.instanceOf;
+import static org.hamcrest.Matchers.greaterThan;
+import static org.hamcrest.Matchers.is;
+import static org.hamcrest.Matchers.matchesRegex;
+import static org.hamcrest.Matchers.contains;
+
+import static com.bandwidth.sdk.utils.TestingEnvironmentVariables.*;
+
+/**
+ * API tests for MessagesApi
+ */
+public class MessagesApiTest {
+
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
+ private final MessagesApi api = new MessagesApi(defaultClient);
+
+ // Setting up variables
+ String accountId = BW_ACCOUNT_ID;
+ String messageId = null;
+ String sourceTn = null;
+ String destinationTn = null;
+ MessageStatusEnum messageStatus = null;
+ ListMessageDirectionEnum messageDirection = null;
+ String carrierName = null;
+ MessageTypeEnum messageType = MessageTypeEnum.fromValue("sms");
+ Integer errorCode = null;
+ String fromDateTime = null;
+ String toDateTime = null;
+ String campaignId = null;
+ String sort = "sourceTn:desc";
+ String pageToken = null;
+ Integer limit = 50;
+
+ String applicationId = (BW_MESSAGING_APPLICATION_ID);
+
+ public MessageRequest messageRequest = new MessageRequest();
+
+ /**
+ * List Messages
+ *
+ * Returns a list of messages based on query parameters.
+ *
+ * @throws ApiException if the Api call fails
+ */
+
+ @Test
+ public void listMessagesTest() throws ApiException {
+
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+ MessagesList response = api.listMessages(accountId, messageId, sourceTn, destinationTn, messageStatus,
+ messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken,
+ limit, false);
+
+ assertThat(response, instanceOf(MessagesList.class));
+ assertThat(response.getTotalCount(), greaterThan(0));
+
+ ListMessageItem message = response.getMessages().get(0);
+ assertThat(message, instanceOf(ListMessageItem.class));
+ assertThat(message.getAccountId(), is(System.getenv("BW_ACCOUNT_ID")));
+ assertThat(message.getDestinationTn(), matchesRegex("^\\+[1-9]\\d{1,14}$"));
+ assertThat(message.getMessageDirection(), instanceOf(ListMessageDirectionEnum.class));
+ assertThat(message.getMessageId(), matchesRegex("^.+$"));
+ assertThat(message.getMessageStatus(), instanceOf(MessageStatusEnum.class));
+ assertThat(message.getMessageType(), instanceOf(MessageTypeEnum.class));
+ assertThat(message.getSegmentCount(), greaterThan(0));
+ }
+
+ @Test
+ public void listMessageBadRequestTest() {
+
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+ String pageToken = "gdEewhcJLQRB5"; // Bad Token
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.listMessages(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection,
+ carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken, limit, false));
+ assertThat(exception.getCode(), is(400));
+
+ }
+
+ @Test
+ public void listMessageUnauthorizedTest() {
+
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.listMessages(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection,
+ carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken, limit, false));
+ assertThat(exception.getCode(), is(401));
+ }
+
+ /**
+ * Create Message
+ *
+ * Endpoint for sending text messages and picture messages using V2 messaging.
+ *
+ * @throws ApiException if the Api call fails
+ */
+
+ @Test
+ public void createMessageTest() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+ messageRequest.applicationId(applicationId);
+ messageRequest.addToItem(USER_NUMBER);
+ messageRequest.from(BW_NUMBER);
+ messageRequest.text("Sample Text");
+ messageRequest.addMediaItem(URI.create("https://cdn2.thecatapi.com/images/MTY3ODIyMQ.jpg"));
+ messageRequest.tag("Java Integration Test");
+ messageRequest.priority(PriorityEnum.DEFAULT);
+ Message response = api.createMessage(accountId, messageRequest);
+
+ assertThat(response, instanceOf(Message.class));
+ assertThat(response.getFrom(), is(System.getenv("BW_NUMBER")));
+ assertThat(response.getTo(), contains(System.getenv("USER_NUMBER")));
+ assertThat(response.getApplicationId(), is(System.getenv("BW_MESSAGING_APPLICATION_ID")));
+ assertThat(response.getText(), is("Sample Text"));
+ assertThat(response.getTag(), is("Java Integration Test"));
+ assertThat(response.getMedia(), contains("https://cdn2.thecatapi.com/images/MTY3ODIyMQ.jpg"));
+ assertThat(response.getPriority(), instanceOf(PriorityEnum.class));
+ assertThat(response.getSegmentCount(), greaterThan(0));
+ }
+
+ @Test
+ public void createMessageBadRequestTest() {
+
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+ messageRequest.applicationId(null);
+ messageRequest.addToItem(USER_NUMBER);
+ messageRequest.from(BW_NUMBER);
+ messageRequest.text("Sample Text");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.createMessage(accountId, messageRequest));
+ assertThat(exception.getCode(), is(400));
+ }
+
+ @Test
+ public void createMessageUnauthorizedTest() {
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ messageRequest.applicationId(BW_MESSAGING_APPLICATION_ID);
+ messageRequest.addToItem(USER_NUMBER);
+ messageRequest.from(BW_NUMBER);
+ messageRequest.text("Sample Text");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.createMessage(accountId, messageRequest));
+ assertThat(exception.getCode(), is(401));
+ }
+}
diff --git a/src/test/java/com/bandwidth/sdk/api/MfaApiTest.java b/src/test/java/com/bandwidth/sdk/api/MfaApiTest.java
new file mode 100644
index 00000000..10493957
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/api/MfaApiTest.java
@@ -0,0 +1,151 @@
+package com.bandwidth.sdk.api;
+
+import org.openapitools.client.ApiResponse;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.auth.HttpBasicAuth;
+import org.openapitools.client.model.CodeRequest;
+import org.openapitools.client.model.MessagingCodeResponse;
+import org.openapitools.client.model.VerifyCodeRequest;
+import org.openapitools.client.model.VerifyCodeResponse;
+import org.openapitools.client.model.VoiceCodeResponse;
+import org.openapitools.client.Configuration;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Test;
+
+import java.math.BigDecimal;
+import java.util.concurrent.ThreadLocalRandom;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.CoreMatchers.instanceOf;
+import static org.hamcrest.Matchers.is;
+
+import static com.bandwidth.sdk.utils.TestingEnvironmentVariables.*;
+
+public class MfaApiTest {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
+ private final MfaApi api = new MfaApi(defaultClient);
+
+ @Test
+ public void successfulMfaGenerateMessagingCodeRequest() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ CodeRequest request = new CodeRequest();
+ request.setTo(USER_NUMBER);
+ request.setFrom(BW_NUMBER);
+ request.setApplicationId(BW_MESSAGING_APPLICATION_ID);
+ request.setScope("scope");
+ request.setMessage("Your temporary {NAME} {SCOPE} code is {CODE}");
+ request.setDigits(6);
+ ApiResponse response = api.generateMessagingCodeWithHttpInfo(BW_ACCOUNT_ID, request);
+ assertThat(response.getStatusCode(), is(200));
+
+ assertThat(response.getData(), instanceOf(MessagingCodeResponse.class));
+ }
+
+ @Test
+ public void successfulMfaGenerateVoiceCodeRequest() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ CodeRequest request = new CodeRequest();
+ request.setTo(USER_NUMBER);
+ request.setFrom(BW_NUMBER);
+ request.setApplicationId(BW_VOICE_APPLICATION_ID);
+ request.setScope("scope");
+ request.setMessage("Your temporary {NAME} {SCOPE} code is {CODE}");
+ request.setDigits(6);
+ ApiResponse response = api.generateVoiceCodeWithHttpInfo(BW_ACCOUNT_ID, request);
+ assertThat(response.getStatusCode(), is(200));
+
+ assertThat(response.getData(), instanceOf(VoiceCodeResponse.class));
+ }
+
+ @Test
+ public void successfulMfaVerifyCodeRequest() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+ BigDecimal expirationTime = new BigDecimal(3);
+
+ // Generate a random TN for the setTo - otherwise we get heavily rate limited
+ Long minTn = 1111111111L;
+ Long maxTn = 9999999999L;
+ Long randomInt = ThreadLocalRandom.current().nextLong(maxTn - minTn) + minTn;
+
+ VerifyCodeRequest request = new VerifyCodeRequest();
+ request.setTo("+1" + randomInt.toString());
+ request.setScope("2FA");
+ request.setExpirationTimeInMinutes(expirationTime);
+ request.setCode("123456");
+
+ ApiResponse response = api.verifyCodeWithHttpInfo(BW_ACCOUNT_ID, request);
+
+ assertThat(response.getStatusCode(), is(200));
+ assertThat(response.getData().getValid(), is(false));
+ }
+
+ @Test
+ public void badRequest() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ CodeRequest badRequest = new CodeRequest();
+ badRequest.setTo(USER_NUMBER);
+ badRequest.setFrom(BW_NUMBER);
+ badRequest.setApplicationId("not_an_application_id");
+ badRequest.setScope("scope");
+ badRequest.setMessage("Your temporary {NAME} {SCOPE} code is {CODE}");
+ badRequest.setDigits(6);
+
+ ApiException messagingException = Assertions.assertThrows(ApiException.class,
+ () -> api.generateMessagingCodeWithHttpInfo(BW_ACCOUNT_ID,
+ badRequest));
+ assertThat(messagingException.getCode(), is(400));
+
+ ApiException voiceException = Assertions.assertThrows(ApiException.class,
+ () -> api.generateVoiceCodeWithHttpInfo(BW_ACCOUNT_ID,
+ badRequest));
+ assertThat(voiceException.getCode(), is(400));
+ }
+
+ @Test
+ public void unauthorizedRequest() throws ApiException {
+ Basic.setUsername(null);
+ Basic.setPassword(null);
+
+ CodeRequest request = new CodeRequest();
+ request.setTo(USER_NUMBER);
+ request.setFrom(BW_NUMBER);
+ request.setApplicationId(BW_VOICE_APPLICATION_ID);
+ request.setScope("scope");
+ request.setMessage("Your temporary {NAME} {SCOPE} code is {CODE}");
+ request.setDigits(6);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.generateMessagingCodeWithHttpInfo(BW_ACCOUNT_ID,
+ request));
+ assertThat(exception.getCode(), is(401));
+ }
+
+ @Test
+ public void forbiddenRequest() {
+ Basic.setUsername(FORBIDDEN_USERNAME);
+ Basic.setPassword("bad_password");
+
+ CodeRequest request = new CodeRequest();
+ request.setTo(USER_NUMBER);
+ request.setFrom(BW_NUMBER);
+ request.setApplicationId(BW_MESSAGING_APPLICATION_ID);
+ request.setScope("scope");
+ request.setMessage("Your temporary {NAME} {SCOPE} code is {CODE}");
+ request.setDigits(6);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.generateMessagingCodeWithHttpInfo(BW_ACCOUNT_ID,
+ request));
+ assertThat(exception.getCode(), is(403));
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/api/PhoneNumberLookupApiTest.java b/src/test/java/com/bandwidth/sdk/api/PhoneNumberLookupApiTest.java
new file mode 100644
index 00000000..f19a5a00
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/api/PhoneNumberLookupApiTest.java
@@ -0,0 +1,185 @@
+package com.bandwidth.sdk.api;
+
+import org.openapitools.client.ApiResponse;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.auth.HttpBasicAuth;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.model.LookupRequest;
+import org.openapitools.client.model.LookupStatus;
+import org.openapitools.client.model.LookupStatusEnum;
+import org.openapitools.client.model.CreateLookupResponse;
+import org.openapitools.client.model.LookupResult;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+import java.util.concurrent.TimeUnit;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.CoreMatchers.instanceOf;
+import static org.hamcrest.Matchers.hasProperty;
+import static org.hamcrest.Matchers.is;
+import static org.hamcrest.Matchers.matchesRegex;
+
+import static com.bandwidth.sdk.utils.TestingEnvironmentVariables.*;
+
+public class PhoneNumberLookupApiTest {
+
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
+ private final PhoneNumberLookupApi api = new PhoneNumberLookupApi(defaultClient);
+ LookupRequest lookupRequest = new LookupRequest();
+
+ /**
+ * Validate a LookupResult object
+ *
+ * @param result A LookupResult object
+ * @param phoneNumber A String phone number in E164 format to check against the
+ * E164 format value in the result
+ */
+ private void validateResult(LookupResult result, String phoneNumber) {
+ if (result.getMobileCountryCode() != null || result.getMobileNetworkCode() != null) {
+ assertThat(result.getMobileCountryCode(), instanceOf(String.class));
+ assertThat(result.getMobileNetworkCode(), instanceOf(String.class));
+ }
+
+ assertThat(result, hasProperty("responseCode"));
+ assertThat(result, hasProperty("message"));
+ assertThat(result, hasProperty("e164Format"));
+ assertThat(result, hasProperty("formatted"));
+ assertThat(result, hasProperty("country"));
+ assertThat(result, hasProperty("lineType"));
+ assertThat(result, hasProperty("lineProvider"));
+ assertThat(result, hasProperty("mobileCountryCode"));
+ assertThat(result, hasProperty("mobileNetworkCode"));
+
+ assertThat(result.getE164Format(), is(phoneNumber));
+ }
+
+ /**
+ * Poll for a completed TN Lookup order
+ *
+ * @param requestId String requestId to poll for
+ * @return the completed lookup status
+ * @throws Exception If status was not complete after 5 attempts
+ */
+ private LookupStatus pollLookupStatus(String requestId) throws Exception {
+ int attempt = 1;
+ LookupStatus lookupStatus = this.api.getLookupStatus(BW_ACCOUNT_ID, requestId);
+
+ do {
+ try {
+ lookupStatus = this.api.getLookupStatus(BW_ACCOUNT_ID, requestId);
+ TimeUnit.SECONDS.sleep(2);
+ attempt += 1;
+ } catch (ApiException e) {
+ throw new Exception(
+ "Polling for TnLookup order status failed. \nStatus Code: " + String.valueOf(e.getCode())
+ + "\nMessage: " + e.getMessage());
+ }
+ } while (attempt <= 5 && lookupStatus.getStatus() != LookupStatusEnum.COMPLETE);
+ return lookupStatus;
+ }
+
+ @Test
+ public void successfulPhoneNumberLookup() throws Exception, ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ lookupRequest.addTnsItem(BW_NUMBER);
+ lookupRequest.addTnsItem(VZW_NUMBER);
+ lookupRequest.addTnsItem(ATT_NUMBER);
+ lookupRequest.addTnsItem(T_MOBILE_NUMBER);
+
+ // Create the lookup request and validate the response
+ ApiResponse response = api.createLookupWithHttpInfo(BW_ACCOUNT_ID, lookupRequest);
+ CreateLookupResponse lookupResponse = response.getData();
+ assertThat(response.getStatusCode(), is(202));
+ assertThat(response.getData(), instanceOf(CreateLookupResponse.class));
+ assertThat(lookupResponse.getStatus(), is(LookupStatusEnum.IN_PROGRESS));
+ assertThat(lookupResponse.getRequestId(), instanceOf(String.class));
+ assertThat(lookupResponse.getRequestId(),
+ matchesRegex("^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"));
+
+ // Test GET LookupStatus Response
+ ApiResponse lookupStatusResponse = api.getLookupStatusWithHttpInfo(BW_ACCOUNT_ID,
+ lookupResponse.getRequestId());
+ assertThat(lookupStatusResponse.getStatusCode(), is(200));
+
+ LookupStatus completedLookup = null;
+ try {
+ completedLookup = pollLookupStatus(lookupStatusResponse.getData().getRequestId());
+ } catch (Exception e) {
+ throw e;
+ }
+ assertThat(lookupStatusResponse.getData().getRequestId(), is(completedLookup.getRequestId()));
+
+ for (LookupResult result : completedLookup.getResult()) {
+ assertThat(result, instanceOf(LookupResult.class));
+ }
+
+ LookupResult bwLookupResult = completedLookup.getResult().get(0);
+ validateResult(bwLookupResult, BW_NUMBER);
+
+ LookupResult vzwLookupResult = completedLookup.getResult().get(1);
+ validateResult(vzwLookupResult, VZW_NUMBER);
+
+ LookupResult attLookupResult = completedLookup.getResult().get(2);
+ validateResult(attLookupResult, ATT_NUMBER);
+
+ LookupResult tMobileLookupResult = completedLookup.getResult().get(3);
+ validateResult(tMobileLookupResult, T_MOBILE_NUMBER);
+
+ }
+
+ @Test
+ public void failedPhoneNumberLookup() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ lookupRequest.addTnsItem("not a number");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.createLookup(BW_ACCOUNT_ID, lookupRequest));
+ assertThat(exception.getCode(), is(400));
+ }
+
+ @Test
+ public void duplicatePhoneNumberLookup() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ lookupRequest.addTnsItem(BW_NUMBER);
+ lookupRequest.addTnsItem(BW_NUMBER);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.createLookup(BW_ACCOUNT_ID, lookupRequest));
+ assertThat(exception.getCode(), is(400));
+ }
+
+ @Test
+ public void unauthorizedRequest() throws ApiException {
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ lookupRequest.addTnsItem(BW_NUMBER);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.createLookup(BW_ACCOUNT_ID, lookupRequest));
+ assertThat(exception.getCode(), is(401));
+ }
+
+ @Disabled(("403 Response is not implemented in the API"))
+ @Test
+ public void forbiddenRequest() throws ApiException {
+ Basic.setUsername(FORBIDDEN_USERNAME);
+ Basic.setPassword(FORBIDDEN_PASSWORD);
+
+ lookupRequest.addTnsItem(BW_NUMBER);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> api.createLookup(BW_ACCOUNT_ID, lookupRequest));
+ assertThat(exception.getCode(), is(403));
+ }
+}
diff --git a/src/test/java/com/bandwidth/sdk/api/RecordingsApiTest.java b/src/test/java/com/bandwidth/sdk/api/RecordingsApiTest.java
new file mode 100644
index 00000000..a9cb0fa5
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/api/RecordingsApiTest.java
@@ -0,0 +1,436 @@
+package com.bandwidth.sdk.api;
+
+import org.openapitools.client.ApiResponse;
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.auth.HttpBasicAuth;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.model.CallRecordingMetadata;
+import org.openapitools.client.model.CallStateEnum;
+import org.openapitools.client.model.CreateCall;
+import org.openapitools.client.model.CreateCallResponse;
+import org.openapitools.client.model.RecordingStateEnum;
+import org.openapitools.client.model.TranscribeRecording;
+import org.openapitools.client.model.TranscriptionList;
+import org.openapitools.client.model.UpdateCall;
+import org.openapitools.client.model.UpdateCallRecording;
+import com.bandwidth.sdk.utils.MantecaStatusResponse;
+
+import com.google.gson.Gson;
+
+import okhttp3.Call;
+import okhttp3.MediaType;
+import okhttp3.OkHttpClient;
+import okhttp3.Request;
+import okhttp3.RequestBody;
+import okhttp3.Response;
+
+import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.MethodOrderer;
+import org.junit.jupiter.api.Order;
+import org.junit.jupiter.api.AfterAll;
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.TestInstance;
+import org.junit.jupiter.api.TestMethodOrder;
+
+import java.io.IOException;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.util.List;
+import java.util.concurrent.TimeUnit;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
+import static com.bandwidth.sdk.utils.TestingEnvironmentVariables.*;
+import static com.bandwidth.sdk.utils.CallCleanup.Cleanup;
+
+@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
+@TestInstance(TestInstance.Lifecycle.PER_CLASS)
+public class RecordingsApiTest {
+ public ApiClient defaultClient = Configuration.getDefaultApiClient();
+ public HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
+ public final CallsApi callsApi = new CallsApi(defaultClient);
+ public final RecordingsApi recordingsApi = new RecordingsApi(defaultClient);
+
+ private static final OkHttpClient mantecaClient = new OkHttpClient();
+ public static final MediaType jsonMediaType = MediaType.get("application/json; charset=utf-8");
+
+ public static TranscribeRecording transcribeRecording = new TranscribeRecording();
+
+ private static String testId;
+ private static URI answerUrl;
+ private static String callId;
+ private static String recordingId;
+ private static int TEST_SLEEP = 3;
+ private static int MAX_RETRIES = 40;
+
+ private static CreateCall createCallBody = new CreateCall();
+
+ @BeforeAll
+ public static void setUpBeforeClass() throws URISyntaxException {
+ // answerUrl = new URI(MANTECA_BASE_URL + "/bxml/startRecording");
+ answerUrl = new URI(MANTECA_BASE_URL + "/bxml/startLongRecording");
+ }
+
+ @AfterAll
+ public void tearDownAfterClass() throws Exception {
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ Cleanup(this, callId);
+ }
+
+ static final String constructMantecaJsonBody() {
+ return "{\"os\": \"" + OPERATING_SYSTEM + "\", \"language\":\"JAVA" + JAVA_VERSION + "_" + DISTRIBUTION
+ + "\", \"type\":\"CALL\"}";
+ }
+
+ public MantecaStatusResponse getTestStatus(String mantecaTestId) throws Exception {
+ try {
+ // Setup the test with Manteca
+ Request mantecaStatusRequest = new Request.Builder()
+ .url(MANTECA_STATUS_URL + mantecaTestId)
+ .build();
+ Call mantecaStatusApiCall = mantecaClient.newCall(mantecaStatusRequest);
+ Response mantecaStatusResponse = mantecaStatusApiCall.execute();
+
+ Gson gson = new Gson();
+ MantecaStatusResponse mantecaStatus = gson.fromJson(
+ mantecaStatusResponse.peekBody(2048).string(),
+ MantecaStatusResponse.class);
+ if (mantecaStatusResponse.isSuccessful()) {
+ return mantecaStatus;
+ } else {
+ System.out.println(mantecaStatusResponse.body().string());
+ throw new Exception(
+ "Received HTTP " + String.valueOf(mantecaStatusResponse.code()) + " status code from Manteca");
+ }
+ } catch (IOException e) {
+ System.out.println(e.toString());
+ throw new Exception("Failed to get test status from Manteca, aborting test run :(");
+ }
+ }
+
+ @Test
+ @Order(1)
+ public void testCallRecordingAndTranscription() throws Exception {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ String mantecaJsonBody = constructMantecaJsonBody();
+ RequestBody mantecaRequestBody = RequestBody.create(mantecaJsonBody, jsonMediaType);
+
+ try {
+ // Setup the test with Manteca
+ Request mantecaRequest = new Request.Builder()
+ .url(MANTECA_BASE_URL + "/tests")
+ .post(mantecaRequestBody)
+ .build();
+ Call mantecaApiCall = mantecaClient.newCall(mantecaRequest);
+ testId = mantecaApiCall.execute().body().string();
+ } catch (IOException e) {
+ System.out.println(e.toString());
+ throw new Exception("Failed to initialize conference tests with Manteca, aborting test run :(");
+ }
+
+ createCallBody.setTo(MANTECA_IDLE_NUMBER);
+ createCallBody.setFrom(MANTECA_ACTIVE_NUMBER);
+ createCallBody.setApplicationId(MANTECA_APPLICATION_ID);
+ createCallBody.setAnswerUrl(answerUrl);
+ createCallBody.setTag(testId);
+
+ // Create Call
+ CreateCallResponse callResponse = callsApi.createCall(BW_ACCOUNT_ID, createCallBody);
+ callId = callResponse.getCallId();
+
+ // Update Recording
+ TimeUnit.SECONDS.sleep(TEST_SLEEP * 2);
+ UpdateCallRecording updateRecording = new UpdateCallRecording();
+ updateRecording.setState(RecordingStateEnum.PAUSED);
+
+ ApiResponse pauseRecordingResponse = recordingsApi.updateCallRecordingStateWithHttpInfo(BW_ACCOUNT_ID,
+ callId, updateRecording);
+ assertThat(pauseRecordingResponse.getStatusCode(), is(200));
+
+ // Update Recording
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ updateRecording.setState(RecordingStateEnum.RECORDING);
+
+ ApiResponse resumeRecordingResponse = recordingsApi.updateCallRecordingStateWithHttpInfo(BW_ACCOUNT_ID,
+ callId, updateRecording);
+ assertThat(resumeRecordingResponse.getStatusCode(), is(200));
+
+ // Terminate the call
+ UpdateCall updateCall = new UpdateCall();
+ updateCall.setState(CallStateEnum.COMPLETED);
+ ApiResponse updateCallResponse = callsApi.updateCallWithHttpInfo(BW_ACCOUNT_ID, callId,
+ updateCall);
+ assertThat(updateCallResponse.getStatusCode(), is(200));
+
+ // Make sure its been recorded by fetching the status from Manteca
+ int x = 0;
+ Boolean recordingStatus = false;
+ while (recordingStatus != true && x < MAX_RETRIES) {
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ recordingStatus = getTestStatus(testId).callRecorded;
+ x++;
+ }
+ assertThat(recordingStatus, is(true));
+
+ // Validate the recording metadata endpoint
+ ApiResponse> listRecordingMetadataResponse = recordingsApi
+ .listCallRecordingsWithHttpInfo(BW_ACCOUNT_ID, callId);
+ assertThat(listRecordingMetadataResponse.getStatusCode(), is(200));
+ recordingId = listRecordingMetadataResponse.getData().get(0).getRecordingId();
+
+ ApiResponse recordingMetadataResponse = recordingsApi.getCallRecordingWithHttpInfo(
+ BW_ACCOUNT_ID, callId, recordingId);
+ assertThat(recordingMetadataResponse.getStatusCode(), is(200));
+
+ // Pass the tag to transcribeRecording to receive the callback
+ transcribeRecording.callbackUrl(new URI(MANTECA_BASE_URL + "/transcriptions"));
+ transcribeRecording.setTag(testId);
+
+ ApiResponse requestTranscriptionResponse = recordingsApi.transcribeCallRecordingWithHttpInfo(
+ BW_ACCOUNT_ID, callId, recordingId, transcribeRecording);
+ assertThat(requestTranscriptionResponse.getStatusCode(), is(204));
+
+ // Make sure its been transcribed by fetching status from manteca
+ int i = 0;
+ Boolean transcriptionStatus = false;
+ while (transcriptionStatus != true && i < MAX_RETRIES) {
+ TimeUnit.SECONDS.sleep(TEST_SLEEP);
+ transcriptionStatus = getTestStatus(testId).callTranscribed;
+ i++;
+ }
+ assertThat(transcriptionStatus, is(true));
+
+ // Validate the transcription metadata endpoint
+ ApiResponse listTranscriptionsResponse = recordingsApi
+ .getCallTranscriptionWithHttpInfo(BW_ACCOUNT_ID, callId, recordingId);
+ assertThat(listTranscriptionsResponse.getStatusCode(), is(200));
+
+ // Delete transcription
+ ApiResponse deleteTranscriptionResponse = recordingsApi.deleteCallTranscriptionWithHttpInfo(BW_ACCOUNT_ID,
+ callId, recordingId);
+ assertThat(deleteTranscriptionResponse.getStatusCode(), is(204));
+
+ // Delete recording media
+ ApiResponse deleteRecordingMediaResponse = recordingsApi.deleteRecordingMediaWithHttpInfo(BW_ACCOUNT_ID,
+ callId, recordingId);
+ assertThat(deleteRecordingMediaResponse.getStatusCode(), is(204));
+
+ // Delete recording metadata
+ ApiResponse deleteRecordingMetadataResponse = recordingsApi.deleteRecordingWithHttpInfo(BW_ACCOUNT_ID,
+ callId, recordingId);
+ assertThat(deleteRecordingMetadataResponse.getStatusCode(), is(204));
+ }
+
+ @Test
+ public void testGetAccountRecordings() throws ApiException {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ ApiResponse> response = recordingsApi
+ .listAccountCallRecordingsWithHttpInfo(BW_ACCOUNT_ID, null, null, null,
+ null);
+
+ assertThat(response.getStatusCode(), is(200));
+ }
+
+ @Test
+ public void testGetAccountRecordingsUnauthorized() {
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.listAccountCallRecordingsWithHttpInfo(BW_ACCOUNT_ID,
+ null, null, null, null));
+
+ assertThat(exception.getCode(), is(401));
+ }
+
+ @Test
+ public void testGetAccountRecordingsForbidden() {
+ Basic.setUsername(FORBIDDEN_USERNAME);
+ Basic.setPassword(FORBIDDEN_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.listAccountCallRecordingsWithHttpInfo(BW_ACCOUNT_ID,
+ null, null, null, null));
+
+ assertThat(exception.getCode(), is(403));
+ }
+
+ @Test
+ public void testRecordingNotFound() {
+ Basic.setUsername(BW_USERNAME);
+ Basic.setPassword(BW_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.getCallRecording(BW_ACCOUNT_ID, "not a call", "not a recording"));
+
+ assertThat(exception.getCode(), is(404));
+ }
+
+ @Test
+ public void testUnauthorizedGetRecording() {
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.getCallRecording(BW_ACCOUNT_ID, callId, recordingId));
+
+ assertThat(exception.getCode(), is(401));
+ }
+
+ @Test
+ public void testForbiddenGetRecording() {
+ Basic.setUsername(FORBIDDEN_USERNAME);
+ Basic.setPassword(FORBIDDEN_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.getCallRecording(BW_ACCOUNT_ID, callId, recordingId));
+
+ assertThat(exception.getCode(), is(403));
+ }
+
+ @Test
+ public void testUnauthorizedDeleteRecording() {
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.deleteRecording(BW_ACCOUNT_ID, callId, recordingId));
+
+ assertThat(exception.getCode(), is(401));
+ }
+
+ @Test
+ public void testForbiddenDeleteRecording() {
+ Basic.setUsername(FORBIDDEN_USERNAME);
+ Basic.setPassword(FORBIDDEN_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.deleteRecording(BW_ACCOUNT_ID, callId, recordingId));
+
+ assertThat(exception.getCode(), is(403));
+ }
+
+ @Test
+ public void testUnauthorizedDownloadRecording() {
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.downloadCallRecording(BW_ACCOUNT_ID, callId,
+ recordingId));
+
+ assertThat(exception.getCode(), is(401));
+ }
+
+ @Test
+ public void testForbiddenDownloadRecording() {
+ Basic.setUsername(FORBIDDEN_USERNAME);
+ Basic.setPassword(FORBIDDEN_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.downloadCallRecording(BW_ACCOUNT_ID, callId,
+ recordingId));
+
+ assertThat(exception.getCode(), is(403));
+ }
+
+ @Test
+ public void testUnauthorizedDeleteRecordingMedia() {
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.deleteRecording(BW_ACCOUNT_ID, callId, recordingId));
+
+ assertThat(exception.getCode(), is(401));
+ }
+
+ @Test
+ public void testForbiddenDeleteRecordingMedia() {
+ Basic.setUsername(FORBIDDEN_USERNAME);
+ Basic.setPassword(FORBIDDEN_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.deleteRecording(BW_ACCOUNT_ID, callId, recordingId));
+
+ assertThat(exception.getCode(), is(403));
+ }
+
+ @Test
+ public void testUnauthorizedGetTranscription() {
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.deleteCallTranscription(BW_ACCOUNT_ID, callId,
+ recordingId));
+
+ assertThat(exception.getCode(), is(401));
+ }
+
+ @Test
+ public void testForbiddenGetTranscription() {
+ Basic.setUsername(FORBIDDEN_USERNAME);
+ Basic.setPassword(FORBIDDEN_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.deleteCallTranscription(BW_ACCOUNT_ID, callId,
+ recordingId));
+
+ assertThat(exception.getCode(), is(403));
+ }
+
+ @Test
+ public void testUnauthorizedCreateTranscriptionRequest() {
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.transcribeCallRecording(BW_ACCOUNT_ID, callId,
+ recordingId, transcribeRecording));
+
+ assertThat(exception.getCode(), is(401));
+ }
+
+ @Test
+ public void testForbiddenCreateTranscriptionRequest() {
+ Basic.setUsername(FORBIDDEN_USERNAME);
+ Basic.setPassword(FORBIDDEN_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.transcribeCallRecording(BW_ACCOUNT_ID, callId,
+ recordingId, transcribeRecording));
+
+ assertThat(exception.getCode(), is(403));
+ }
+
+ @Test
+ public void testUnauthorizedDeleteTranscription() throws ApiException {
+ Basic.setUsername("bad_username");
+ Basic.setPassword("bad_password");
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.deleteCallTranscription(BW_ACCOUNT_ID, callId,
+ recordingId));
+
+ assertThat(exception.getCode(), is(401));
+ }
+
+ @Test
+ public void testForbiddenDeleteTranscription() {
+ Basic.setUsername(FORBIDDEN_USERNAME);
+ Basic.setPassword(FORBIDDEN_PASSWORD);
+
+ ApiException exception = Assertions.assertThrows(ApiException.class,
+ () -> recordingsApi.deleteCallTranscription(BW_ACCOUNT_ID, callId,
+ recordingId));
+
+ assertThat(exception.getCode(), is(403));
+ }
+}
diff --git a/src/test/java/com/bandwidth/sdk/api/StatisticsApiTest.java b/src/test/java/com/bandwidth/sdk/api/StatisticsApiTest.java
new file mode 100644
index 00000000..0d4cc6b7
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/api/StatisticsApiTest.java
@@ -0,0 +1,49 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.api;
+
+import org.openapitools.client.ApiException;
+import org.openapitools.client.model.AccountStatistics;
+import org.openapitools.client.model.VoiceApiError;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * API tests for StatisticsApi
+ */
+@Disabled
+public class StatisticsApiTest {
+
+ private final StatisticsApi api = new StatisticsApi();
+
+ /**
+ * Get Account Statistics
+ *
+ * Returns details about the current state of the account.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getStatisticsTest() throws ApiException {
+ String accountId = null;
+ AccountStatistics response = api.getStatistics(accountId);
+ // TODO: test validations
+ }
+
+}
diff --git a/src/test/java/org/openapitools/client/fixtures/cat_download.jpeg b/src/test/java/com/bandwidth/sdk/fixtures/cat_download.jpeg
similarity index 100%
rename from src/test/java/org/openapitools/client/fixtures/cat_download.jpeg
rename to src/test/java/com/bandwidth/sdk/fixtures/cat_download.jpeg
diff --git a/src/test/java/org/openapitools/client/fixtures/java_cat.jpeg b/src/test/java/com/bandwidth/sdk/fixtures/java_cat.jpeg
similarity index 100%
rename from src/test/java/org/openapitools/client/fixtures/java_cat.jpeg
rename to src/test/java/com/bandwidth/sdk/fixtures/java_cat.jpeg
diff --git a/src/test/java/com/bandwidth/sdk/model/AccountStatisticsTest.java b/src/test/java/com/bandwidth/sdk/model/AccountStatisticsTest.java
new file mode 100644
index 00000000..bdb327e6
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/AccountStatisticsTest.java
@@ -0,0 +1,58 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for AccountStatistics
+ */
+public class AccountStatisticsTest {
+ private final AccountStatistics model = new AccountStatistics();
+
+ /**
+ * Model tests for AccountStatistics
+ */
+ @Test
+ public void testAccountStatistics() {
+ // TODO: test AccountStatistics
+ }
+
+ /**
+ * Test the property 'currentCallQueueSize'
+ */
+ @Test
+ public void currentCallQueueSizeTest() {
+ // TODO: test currentCallQueueSize
+ }
+
+ /**
+ * Test the property 'maxCallQueueSize'
+ */
+ @Test
+ public void maxCallQueueSizeTest() {
+ // TODO: test maxCallQueueSize
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/AnswerCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/AnswerCallbackTest.java
new file mode 100644
index 00000000..2de03c8c
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/AnswerCallbackTest.java
@@ -0,0 +1,157 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for AnswerCallback
+ */
+public class AnswerCallbackTest {
+ private final AnswerCallback model = new AnswerCallback();
+
+ /**
+ * Model tests for AnswerCallback
+ */
+ @Test
+ public void testAnswerCallback() {
+ // TODO: test AnswerCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'answerTime'
+ */
+ @Test
+ public void answerTimeTest() {
+ // TODO: test answerTime
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'machineDetectionResult'
+ */
+ @Test
+ public void machineDetectionResultTest() {
+ // TODO: test machineDetectionResult
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/BridgeCompleteCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/BridgeCompleteCallbackTest.java
new file mode 100644
index 00000000..ebf60d4c
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/BridgeCompleteCallbackTest.java
@@ -0,0 +1,173 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for BridgeCompleteCallback
+ */
+public class BridgeCompleteCallbackTest {
+ private final BridgeCompleteCallback model = new BridgeCompleteCallback();
+
+ /**
+ * Model tests for BridgeCompleteCallback
+ */
+ @Test
+ public void testBridgeCompleteCallback() {
+ // TODO: test BridgeCompleteCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'answerTime'
+ */
+ @Test
+ public void answerTimeTest() {
+ // TODO: test answerTime
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'cause'
+ */
+ @Test
+ public void causeTest() {
+ // TODO: test cause
+ }
+
+ /**
+ * Test the property 'errorMessage'
+ */
+ @Test
+ public void errorMessageTest() {
+ // TODO: test errorMessage
+ }
+
+ /**
+ * Test the property 'errorId'
+ */
+ @Test
+ public void errorIdTest() {
+ // TODO: test errorId
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/BridgeTargetCompleteCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/BridgeTargetCompleteCallbackTest.java
new file mode 100644
index 00000000..9a168531
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/BridgeTargetCompleteCallbackTest.java
@@ -0,0 +1,149 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for BridgeTargetCompleteCallback
+ */
+public class BridgeTargetCompleteCallbackTest {
+ private final BridgeTargetCompleteCallback model = new BridgeTargetCompleteCallback();
+
+ /**
+ * Model tests for BridgeTargetCompleteCallback
+ */
+ @Test
+ public void testBridgeTargetCompleteCallback() {
+ // TODO: test BridgeTargetCompleteCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'answerTime'
+ */
+ @Test
+ public void answerTimeTest() {
+ // TODO: test answerTime
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/CallDirectionEnumTest.java b/src/test/java/com/bandwidth/sdk/model/CallDirectionEnumTest.java
new file mode 100644
index 00000000..f61d6e0c
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/CallDirectionEnumTest.java
@@ -0,0 +1,34 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import io.swagger.annotations.ApiModel;
+import com.google.gson.annotations.SerializedName;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for CallDirectionEnum
+ */
+public class CallDirectionEnumTest {
+ /**
+ * Model tests for CallDirectionEnum
+ */
+ @Test
+ public void testCallDirectionEnum() {
+ // TODO: test CallDirectionEnum
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/CallRecordingMetadataTest.java b/src/test/java/com/bandwidth/sdk/model/CallRecordingMetadataTest.java
new file mode 100644
index 00000000..23abe0fa
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/CallRecordingMetadataTest.java
@@ -0,0 +1,192 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.client.model.FileFormatEnum;
+import org.openapitools.client.model.TranscriptionMetadata;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for CallRecordingMetadata
+ */
+public class CallRecordingMetadataTest {
+ private final CallRecordingMetadata model = new CallRecordingMetadata();
+
+ /**
+ * Model tests for CallRecordingMetadata
+ */
+ @Test
+ public void testCallRecordingMetadata() {
+ // TODO: test CallRecordingMetadata
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'parentCallId'
+ */
+ @Test
+ public void parentCallIdTest() {
+ // TODO: test parentCallId
+ }
+
+ /**
+ * Test the property 'recordingId'
+ */
+ @Test
+ public void recordingIdTest() {
+ // TODO: test recordingId
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'transferCallerId'
+ */
+ @Test
+ public void transferCallerIdTest() {
+ // TODO: test transferCallerId
+ }
+
+ /**
+ * Test the property 'transferTo'
+ */
+ @Test
+ public void transferToTest() {
+ // TODO: test transferTo
+ }
+
+ /**
+ * Test the property 'duration'
+ */
+ @Test
+ public void durationTest() {
+ // TODO: test duration
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'channels'
+ */
+ @Test
+ public void channelsTest() {
+ // TODO: test channels
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'endTime'
+ */
+ @Test
+ public void endTimeTest() {
+ // TODO: test endTime
+ }
+
+ /**
+ * Test the property 'fileFormat'
+ */
+ @Test
+ public void fileFormatTest() {
+ // TODO: test fileFormat
+ }
+
+ /**
+ * Test the property 'status'
+ */
+ @Test
+ public void statusTest() {
+ // TODO: test status
+ }
+
+ /**
+ * Test the property 'mediaUrl'
+ */
+ @Test
+ public void mediaUrlTest() {
+ // TODO: test mediaUrl
+ }
+
+ /**
+ * Test the property 'transcription'
+ */
+ @Test
+ public void transcriptionTest() {
+ // TODO: test transcription
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/CallStateEnumTest.java b/src/test/java/com/bandwidth/sdk/model/CallStateEnumTest.java
new file mode 100644
index 00000000..4e869b08
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/CallStateEnumTest.java
@@ -0,0 +1,34 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import io.swagger.annotations.ApiModel;
+import com.google.gson.annotations.SerializedName;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for CallStateEnum
+ */
+public class CallStateEnumTest {
+ /**
+ * Model tests for CallStateEnum
+ */
+ @Test
+ public void testCallStateEnum() {
+ // TODO: test CallStateEnum
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/CallStateTest.java b/src/test/java/com/bandwidth/sdk/model/CallStateTest.java
new file mode 100644
index 00000000..f8d81445
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/CallStateTest.java
@@ -0,0 +1,191 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.util.HashMap;
+import java.util.Map;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for CallState
+ */
+public class CallStateTest {
+ private final CallState model = new CallState();
+
+ /**
+ * Model tests for CallState
+ */
+ @Test
+ public void testCallState() {
+ // TODO: test CallState
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'parentCallId'
+ */
+ @Test
+ public void parentCallIdTest() {
+ // TODO: test parentCallId
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'state'
+ */
+ @Test
+ public void stateTest() {
+ // TODO: test state
+ }
+
+ /**
+ * Test the property 'stirShaken'
+ */
+ @Test
+ public void stirShakenTest() {
+ // TODO: test stirShaken
+ }
+
+ /**
+ * Test the property 'identity'
+ */
+ @Test
+ public void identityTest() {
+ // TODO: test identity
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'answerTime'
+ */
+ @Test
+ public void answerTimeTest() {
+ // TODO: test answerTime
+ }
+
+ /**
+ * Test the property 'endTime'
+ */
+ @Test
+ public void endTimeTest() {
+ // TODO: test endTime
+ }
+
+ /**
+ * Test the property 'disconnectCause'
+ */
+ @Test
+ public void disconnectCauseTest() {
+ // TODO: test disconnectCause
+ }
+
+ /**
+ * Test the property 'errorMessage'
+ */
+ @Test
+ public void errorMessageTest() {
+ // TODO: test errorMessage
+ }
+
+ /**
+ * Test the property 'errorId'
+ */
+ @Test
+ public void errorIdTest() {
+ // TODO: test errorId
+ }
+
+ /**
+ * Test the property 'lastUpdate'
+ */
+ @Test
+ public void lastUpdateTest() {
+ // TODO: test lastUpdate
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/CallbackMethodEnumTest.java b/src/test/java/com/bandwidth/sdk/model/CallbackMethodEnumTest.java
new file mode 100644
index 00000000..75858623
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/CallbackMethodEnumTest.java
@@ -0,0 +1,34 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import io.swagger.annotations.ApiModel;
+import com.google.gson.annotations.SerializedName;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for CallbackMethodEnum
+ */
+public class CallbackMethodEnumTest {
+ /**
+ * Model tests for CallbackMethodEnum
+ */
+ @Test
+ public void testCallbackMethodEnum() {
+ // TODO: test CallbackMethodEnum
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/CodeRequestTest.java b/src/test/java/com/bandwidth/sdk/model/CodeRequestTest.java
new file mode 100644
index 00000000..e088e0ed
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/CodeRequestTest.java
@@ -0,0 +1,90 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for CodeRequest
+ */
+public class CodeRequestTest {
+ private final CodeRequest model = new CodeRequest();
+
+ /**
+ * Model tests for CodeRequest
+ */
+ @Test
+ public void testCodeRequest() {
+ // TODO: test CodeRequest
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'scope'
+ */
+ @Test
+ public void scopeTest() {
+ // TODO: test scope
+ }
+
+ /**
+ * Test the property 'message'
+ */
+ @Test
+ public void messageTest() {
+ // TODO: test message
+ }
+
+ /**
+ * Test the property 'digits'
+ */
+ @Test
+ public void digitsTest() {
+ // TODO: test digits
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/ConferenceCompletedCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/ConferenceCompletedCallbackTest.java
new file mode 100644
index 00000000..9881efa7
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/ConferenceCompletedCallbackTest.java
@@ -0,0 +1,83 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for ConferenceCompletedCallback
+ */
+public class ConferenceCompletedCallbackTest {
+ private final ConferenceCompletedCallback model = new ConferenceCompletedCallback();
+
+ /**
+ * Model tests for ConferenceCompletedCallback
+ */
+ @Test
+ public void testConferenceCompletedCallback() {
+ // TODO: test ConferenceCompletedCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'conferenceId'
+ */
+ @Test
+ public void conferenceIdTest() {
+ // TODO: test conferenceId
+ }
+
+ /**
+ * Test the property 'name'
+ */
+ @Test
+ public void nameTest() {
+ // TODO: test name
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/ConferenceCreatedCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/ConferenceCreatedCallbackTest.java
new file mode 100644
index 00000000..62f2a0db
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/ConferenceCreatedCallbackTest.java
@@ -0,0 +1,83 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for ConferenceCreatedCallback
+ */
+public class ConferenceCreatedCallbackTest {
+ private final ConferenceCreatedCallback model = new ConferenceCreatedCallback();
+
+ /**
+ * Model tests for ConferenceCreatedCallback
+ */
+ @Test
+ public void testConferenceCreatedCallback() {
+ // TODO: test ConferenceCreatedCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'conferenceId'
+ */
+ @Test
+ public void conferenceIdTest() {
+ // TODO: test conferenceId
+ }
+
+ /**
+ * Test the property 'name'
+ */
+ @Test
+ public void nameTest() {
+ // TODO: test name
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/ConferenceMemberExitCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/ConferenceMemberExitCallbackTest.java
new file mode 100644
index 00000000..bb4c9956
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/ConferenceMemberExitCallbackTest.java
@@ -0,0 +1,107 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for ConferenceMemberExitCallback
+ */
+public class ConferenceMemberExitCallbackTest {
+ private final ConferenceMemberExitCallback model = new ConferenceMemberExitCallback();
+
+ /**
+ * Model tests for ConferenceMemberExitCallback
+ */
+ @Test
+ public void testConferenceMemberExitCallback() {
+ // TODO: test ConferenceMemberExitCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'conferenceId'
+ */
+ @Test
+ public void conferenceIdTest() {
+ // TODO: test conferenceId
+ }
+
+ /**
+ * Test the property 'name'
+ */
+ @Test
+ public void nameTest() {
+ // TODO: test name
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/ConferenceMemberJoinCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/ConferenceMemberJoinCallbackTest.java
new file mode 100644
index 00000000..ffcadd6f
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/ConferenceMemberJoinCallbackTest.java
@@ -0,0 +1,107 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for ConferenceMemberJoinCallback
+ */
+public class ConferenceMemberJoinCallbackTest {
+ private final ConferenceMemberJoinCallback model = new ConferenceMemberJoinCallback();
+
+ /**
+ * Model tests for ConferenceMemberJoinCallback
+ */
+ @Test
+ public void testConferenceMemberJoinCallback() {
+ // TODO: test ConferenceMemberJoinCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'conferenceId'
+ */
+ @Test
+ public void conferenceIdTest() {
+ // TODO: test conferenceId
+ }
+
+ /**
+ * Test the property 'name'
+ */
+ @Test
+ public void nameTest() {
+ // TODO: test name
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/ConferenceMemberTest.java b/src/test/java/com/bandwidth/sdk/model/ConferenceMemberTest.java
new file mode 100644
index 00000000..d651c1ff
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/ConferenceMemberTest.java
@@ -0,0 +1,93 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for ConferenceMember
+ */
+public class ConferenceMemberTest {
+ private final ConferenceMember model = new ConferenceMember();
+
+ /**
+ * Model tests for ConferenceMember
+ */
+ @Test
+ public void testConferenceMember() {
+ // TODO: test ConferenceMember
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'conferenceId'
+ */
+ @Test
+ public void conferenceIdTest() {
+ // TODO: test conferenceId
+ }
+
+ /**
+ * Test the property 'memberUrl'
+ */
+ @Test
+ public void memberUrlTest() {
+ // TODO: test memberUrl
+ }
+
+ /**
+ * Test the property 'mute'
+ */
+ @Test
+ public void muteTest() {
+ // TODO: test mute
+ }
+
+ /**
+ * Test the property 'hold'
+ */
+ @Test
+ public void holdTest() {
+ // TODO: test hold
+ }
+
+ /**
+ * Test the property 'callIdsToCoach'
+ */
+ @Test
+ public void callIdsToCoachTest() {
+ // TODO: test callIdsToCoach
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/ConferenceRecordingAvailableCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/ConferenceRecordingAvailableCallbackTest.java
new file mode 100644
index 00000000..e5c35f20
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/ConferenceRecordingAvailableCallbackTest.java
@@ -0,0 +1,158 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.FileFormatEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for ConferenceRecordingAvailableCallback
+ */
+public class ConferenceRecordingAvailableCallbackTest {
+ private final ConferenceRecordingAvailableCallback model = new ConferenceRecordingAvailableCallback();
+
+ /**
+ * Model tests for ConferenceRecordingAvailableCallback
+ */
+ @Test
+ public void testConferenceRecordingAvailableCallback() {
+ // TODO: test ConferenceRecordingAvailableCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'conferenceId'
+ */
+ @Test
+ public void conferenceIdTest() {
+ // TODO: test conferenceId
+ }
+
+ /**
+ * Test the property 'name'
+ */
+ @Test
+ public void nameTest() {
+ // TODO: test name
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'recordingId'
+ */
+ @Test
+ public void recordingIdTest() {
+ // TODO: test recordingId
+ }
+
+ /**
+ * Test the property 'channels'
+ */
+ @Test
+ public void channelsTest() {
+ // TODO: test channels
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'endTime'
+ */
+ @Test
+ public void endTimeTest() {
+ // TODO: test endTime
+ }
+
+ /**
+ * Test the property 'duration'
+ */
+ @Test
+ public void durationTest() {
+ // TODO: test duration
+ }
+
+ /**
+ * Test the property 'fileFormat'
+ */
+ @Test
+ public void fileFormatTest() {
+ // TODO: test fileFormat
+ }
+
+ /**
+ * Test the property 'mediaUrl'
+ */
+ @Test
+ public void mediaUrlTest() {
+ // TODO: test mediaUrl
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'status'
+ */
+ @Test
+ public void statusTest() {
+ // TODO: test status
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/ConferenceRecordingMetadataTest.java b/src/test/java/com/bandwidth/sdk/model/ConferenceRecordingMetadataTest.java
new file mode 100644
index 00000000..2ab7468b
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/ConferenceRecordingMetadataTest.java
@@ -0,0 +1,134 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.FileFormatEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for ConferenceRecordingMetadata
+ */
+public class ConferenceRecordingMetadataTest {
+ private final ConferenceRecordingMetadata model = new ConferenceRecordingMetadata();
+
+ /**
+ * Model tests for ConferenceRecordingMetadata
+ */
+ @Test
+ public void testConferenceRecordingMetadata() {
+ // TODO: test ConferenceRecordingMetadata
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'conferenceId'
+ */
+ @Test
+ public void conferenceIdTest() {
+ // TODO: test conferenceId
+ }
+
+ /**
+ * Test the property 'name'
+ */
+ @Test
+ public void nameTest() {
+ // TODO: test name
+ }
+
+ /**
+ * Test the property 'recordingId'
+ */
+ @Test
+ public void recordingIdTest() {
+ // TODO: test recordingId
+ }
+
+ /**
+ * Test the property 'duration'
+ */
+ @Test
+ public void durationTest() {
+ // TODO: test duration
+ }
+
+ /**
+ * Test the property 'channels'
+ */
+ @Test
+ public void channelsTest() {
+ // TODO: test channels
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'endTime'
+ */
+ @Test
+ public void endTimeTest() {
+ // TODO: test endTime
+ }
+
+ /**
+ * Test the property 'fileFormat'
+ */
+ @Test
+ public void fileFormatTest() {
+ // TODO: test fileFormat
+ }
+
+ /**
+ * Test the property 'status'
+ */
+ @Test
+ public void statusTest() {
+ // TODO: test status
+ }
+
+ /**
+ * Test the property 'mediaUrl'
+ */
+ @Test
+ public void mediaUrlTest() {
+ // TODO: test mediaUrl
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/ConferenceRedirectCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/ConferenceRedirectCallbackTest.java
new file mode 100644
index 00000000..e893500f
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/ConferenceRedirectCallbackTest.java
@@ -0,0 +1,83 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for ConferenceRedirectCallback
+ */
+public class ConferenceRedirectCallbackTest {
+ private final ConferenceRedirectCallback model = new ConferenceRedirectCallback();
+
+ /**
+ * Model tests for ConferenceRedirectCallback
+ */
+ @Test
+ public void testConferenceRedirectCallback() {
+ // TODO: test ConferenceRedirectCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'conferenceId'
+ */
+ @Test
+ public void conferenceIdTest() {
+ // TODO: test conferenceId
+ }
+
+ /**
+ * Test the property 'name'
+ */
+ @Test
+ public void nameTest() {
+ // TODO: test name
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/ConferenceStateEnumTest.java b/src/test/java/com/bandwidth/sdk/model/ConferenceStateEnumTest.java
new file mode 100644
index 00000000..f95a6a27
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/ConferenceStateEnumTest.java
@@ -0,0 +1,34 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import io.swagger.annotations.ApiModel;
+import com.google.gson.annotations.SerializedName;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for ConferenceStateEnum
+ */
+public class ConferenceStateEnumTest {
+ /**
+ * Model tests for ConferenceStateEnum
+ */
+ @Test
+ public void testConferenceStateEnum() {
+ // TODO: test ConferenceStateEnum
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/ConferenceTest.java b/src/test/java/com/bandwidth/sdk/model/ConferenceTest.java
new file mode 100644
index 00000000..d7e39d5b
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/ConferenceTest.java
@@ -0,0 +1,113 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import java.util.ArrayList;
+import java.util.List;
+import org.openapitools.client.model.CallbackMethodEnum;
+import org.openapitools.client.model.ConferenceMember;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for Conference
+ */
+public class ConferenceTest {
+ private final Conference model = new Conference();
+
+ /**
+ * Model tests for Conference
+ */
+ @Test
+ public void testConference() {
+ // TODO: test Conference
+ }
+
+ /**
+ * Test the property 'id'
+ */
+ @Test
+ public void idTest() {
+ // TODO: test id
+ }
+
+ /**
+ * Test the property 'name'
+ */
+ @Test
+ public void nameTest() {
+ // TODO: test name
+ }
+
+ /**
+ * Test the property 'createdTime'
+ */
+ @Test
+ public void createdTimeTest() {
+ // TODO: test createdTime
+ }
+
+ /**
+ * Test the property 'completedTime'
+ */
+ @Test
+ public void completedTimeTest() {
+ // TODO: test completedTime
+ }
+
+ /**
+ * Test the property 'conferenceEventUrl'
+ */
+ @Test
+ public void conferenceEventUrlTest() {
+ // TODO: test conferenceEventUrl
+ }
+
+ /**
+ * Test the property 'conferenceEventMethod'
+ */
+ @Test
+ public void conferenceEventMethodTest() {
+ // TODO: test conferenceEventMethod
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'activeMembers'
+ */
+ @Test
+ public void activeMembersTest() {
+ // TODO: test activeMembers
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/CreateCallResponseTest.java b/src/test/java/com/bandwidth/sdk/model/CreateCallResponseTest.java
new file mode 100644
index 00000000..3c5b261b
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/CreateCallResponseTest.java
@@ -0,0 +1,215 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.math.BigDecimal;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallbackMethodEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for CreateCallResponse
+ */
+public class CreateCallResponseTest {
+ private final CreateCallResponse model = new CreateCallResponse();
+
+ /**
+ * Model tests for CreateCallResponse
+ */
+ @Test
+ public void testCreateCallResponse() {
+ // TODO: test CreateCallResponse
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'callTimeout'
+ */
+ @Test
+ public void callTimeoutTest() {
+ // TODO: test callTimeout
+ }
+
+ /**
+ * Test the property 'callbackTimeout'
+ */
+ @Test
+ public void callbackTimeoutTest() {
+ // TODO: test callbackTimeout
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'answerMethod'
+ */
+ @Test
+ public void answerMethodTest() {
+ // TODO: test answerMethod
+ }
+
+ /**
+ * Test the property 'answerUrl'
+ */
+ @Test
+ public void answerUrlTest() {
+ // TODO: test answerUrl
+ }
+
+ /**
+ * Test the property 'answerFallbackMethod'
+ */
+ @Test
+ public void answerFallbackMethodTest() {
+ // TODO: test answerFallbackMethod
+ }
+
+ /**
+ * Test the property 'answerFallbackUrl'
+ */
+ @Test
+ public void answerFallbackUrlTest() {
+ // TODO: test answerFallbackUrl
+ }
+
+ /**
+ * Test the property 'disconnectMethod'
+ */
+ @Test
+ public void disconnectMethodTest() {
+ // TODO: test disconnectMethod
+ }
+
+ /**
+ * Test the property 'disconnectUrl'
+ */
+ @Test
+ public void disconnectUrlTest() {
+ // TODO: test disconnectUrl
+ }
+
+ /**
+ * Test the property 'username'
+ */
+ @Test
+ public void usernameTest() {
+ // TODO: test username
+ }
+
+ /**
+ * Test the property 'password'
+ */
+ @Test
+ public void passwordTest() {
+ // TODO: test password
+ }
+
+ /**
+ * Test the property 'fallbackUsername'
+ */
+ @Test
+ public void fallbackUsernameTest() {
+ // TODO: test fallbackUsername
+ }
+
+ /**
+ * Test the property 'fallbackPassword'
+ */
+ @Test
+ public void fallbackPasswordTest() {
+ // TODO: test fallbackPassword
+ }
+
+ /**
+ * Test the property 'priority'
+ */
+ @Test
+ public void priorityTest() {
+ // TODO: test priority
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/CreateCallTest.java b/src/test/java/com/bandwidth/sdk/model/CreateCallTest.java
new file mode 100644
index 00000000..a6f44bca
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/CreateCallTest.java
@@ -0,0 +1,198 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.net.URI;
+import org.openapitools.client.model.CallbackMethodEnum;
+import org.openapitools.client.model.MachineDetectionConfiguration;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for CreateCall
+ */
+public class CreateCallTest {
+ private final CreateCall model = new CreateCall();
+
+ /**
+ * Model tests for CreateCall
+ */
+ @Test
+ public void testCreateCall() {
+ // TODO: test CreateCall
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'uui'
+ */
+ @Test
+ public void uuiTest() {
+ // TODO: test uui
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'answerUrl'
+ */
+ @Test
+ public void answerUrlTest() {
+ // TODO: test answerUrl
+ }
+
+ /**
+ * Test the property 'answerMethod'
+ */
+ @Test
+ public void answerMethodTest() {
+ // TODO: test answerMethod
+ }
+
+ /**
+ * Test the property 'username'
+ */
+ @Test
+ public void usernameTest() {
+ // TODO: test username
+ }
+
+ /**
+ * Test the property 'password'
+ */
+ @Test
+ public void passwordTest() {
+ // TODO: test password
+ }
+
+ /**
+ * Test the property 'answerFallbackUrl'
+ */
+ @Test
+ public void answerFallbackUrlTest() {
+ // TODO: test answerFallbackUrl
+ }
+
+ /**
+ * Test the property 'answerFallbackMethod'
+ */
+ @Test
+ public void answerFallbackMethodTest() {
+ // TODO: test answerFallbackMethod
+ }
+
+ /**
+ * Test the property 'fallbackUsername'
+ */
+ @Test
+ public void fallbackUsernameTest() {
+ // TODO: test fallbackUsername
+ }
+
+ /**
+ * Test the property 'fallbackPassword'
+ */
+ @Test
+ public void fallbackPasswordTest() {
+ // TODO: test fallbackPassword
+ }
+
+ /**
+ * Test the property 'disconnectUrl'
+ */
+ @Test
+ public void disconnectUrlTest() {
+ // TODO: test disconnectUrl
+ }
+
+ /**
+ * Test the property 'disconnectMethod'
+ */
+ @Test
+ public void disconnectMethodTest() {
+ // TODO: test disconnectMethod
+ }
+
+ /**
+ * Test the property 'callTimeout'
+ */
+ @Test
+ public void callTimeoutTest() {
+ // TODO: test callTimeout
+ }
+
+ /**
+ * Test the property 'callbackTimeout'
+ */
+ @Test
+ public void callbackTimeoutTest() {
+ // TODO: test callbackTimeout
+ }
+
+ /**
+ * Test the property 'machineDetection'
+ */
+ @Test
+ public void machineDetectionTest() {
+ // TODO: test machineDetection
+ }
+
+ /**
+ * Test the property 'priority'
+ */
+ @Test
+ public void priorityTest() {
+ // TODO: test priority
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/CreateLookupResponseTest.java b/src/test/java/com/bandwidth/sdk/model/CreateLookupResponseTest.java
new file mode 100644
index 00000000..4cd9c976
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/CreateLookupResponseTest.java
@@ -0,0 +1,59 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.openapitools.client.model.LookupStatusEnum;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for CreateLookupResponse
+ */
+public class CreateLookupResponseTest {
+ private final CreateLookupResponse model = new CreateLookupResponse();
+
+ /**
+ * Model tests for CreateLookupResponse
+ */
+ @Test
+ public void testCreateLookupResponse() {
+ // TODO: test CreateLookupResponse
+ }
+
+ /**
+ * Test the property 'requestId'
+ */
+ @Test
+ public void requestIdTest() {
+ // TODO: test requestId
+ }
+
+ /**
+ * Test the property 'status'
+ */
+ @Test
+ public void statusTest() {
+ // TODO: test status
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/CreateMessageRequestErrorTest.java b/src/test/java/com/bandwidth/sdk/model/CreateMessageRequestErrorTest.java
new file mode 100644
index 00000000..26a07406
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/CreateMessageRequestErrorTest.java
@@ -0,0 +1,69 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import org.openapitools.client.model.FieldError;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for CreateMessageRequestError
+ */
+public class CreateMessageRequestErrorTest {
+ private final CreateMessageRequestError model = new CreateMessageRequestError();
+
+ /**
+ * Model tests for CreateMessageRequestError
+ */
+ @Test
+ public void testCreateMessageRequestError() {
+ // TODO: test CreateMessageRequestError
+ }
+
+ /**
+ * Test the property 'type'
+ */
+ @Test
+ public void typeTest() {
+ // TODO: test type
+ }
+
+ /**
+ * Test the property 'description'
+ */
+ @Test
+ public void descriptionTest() {
+ // TODO: test description
+ }
+
+ /**
+ * Test the property 'fieldErrors'
+ */
+ @Test
+ public void fieldErrorsTest() {
+ // TODO: test fieldErrors
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/DeferredResultTest.java b/src/test/java/com/bandwidth/sdk/model/DeferredResultTest.java
new file mode 100644
index 00000000..a583c7d7
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/DeferredResultTest.java
@@ -0,0 +1,58 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for DeferredResult
+ */
+public class DeferredResultTest {
+ private final DeferredResult model = new DeferredResult();
+
+ /**
+ * Model tests for DeferredResult
+ */
+ @Test
+ public void testDeferredResult() {
+ // TODO: test DeferredResult
+ }
+
+ /**
+ * Test the property 'result'
+ */
+ @Test
+ public void resultTest() {
+ // TODO: test result
+ }
+
+ /**
+ * Test the property 'setOrExpired'
+ */
+ @Test
+ public void setOrExpiredTest() {
+ // TODO: test setOrExpired
+ }
+
+}
diff --git a/src/test/java/org/openapitools/client/model/DisconenctCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/DisconenctCallbackTest.java
similarity index 98%
rename from src/test/java/org/openapitools/client/model/DisconenctCallbackTest.java
rename to src/test/java/com/bandwidth/sdk/model/DisconenctCallbackTest.java
index b89dfd6c..84f13a71 100644
--- a/src/test/java/org/openapitools/client/model/DisconenctCallbackTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/DisconenctCallbackTest.java
@@ -11,7 +11,7 @@
*/
-package org.openapitools.client.model;
+package com.bandwidth.sdk.model;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
diff --git a/src/test/java/com/bandwidth/sdk/model/DisconnectCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/DisconnectCallbackTest.java
new file mode 100644
index 00000000..f3b9f036
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/DisconnectCallbackTest.java
@@ -0,0 +1,179 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for DisconnectCallback
+ */
+public class DisconnectCallbackTest {
+ private final DisconnectCallback model = new DisconnectCallback();
+
+ /**
+ * Model tests for DisconnectCallback
+ */
+ @Test
+ public void testDisconnectCallback() {
+ // TODO: test DisconnectCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'answerTime'
+ */
+ @Test
+ public void answerTimeTest() {
+ // TODO: test answerTime
+ }
+
+ /**
+ * Test the property 'endTime'
+ */
+ @Test
+ public void endTimeTest() {
+ // TODO: test endTime
+ }
+
+ /**
+ * Test the property 'cause'
+ */
+ @Test
+ public void causeTest() {
+ // TODO: test cause
+ }
+
+ /**
+ * Test the property 'errorMessage'
+ */
+ @Test
+ public void errorMessageTest() {
+ // TODO: test errorMessage
+ }
+
+ /**
+ * Test the property 'errorId'
+ */
+ @Test
+ public void errorIdTest() {
+ // TODO: test errorId
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/DiversionTest.java b/src/test/java/com/bandwidth/sdk/model/DiversionTest.java
new file mode 100644
index 00000000..60c5dbad
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/DiversionTest.java
@@ -0,0 +1,98 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for Diversion
+ */
+public class DiversionTest {
+ private final Diversion model = new Diversion();
+
+ /**
+ * Model tests for Diversion
+ */
+ @Test
+ public void testDiversion() {
+ // TODO: test Diversion
+ }
+
+ /**
+ * Test the property 'reason'
+ */
+ @Test
+ public void reasonTest() {
+ // TODO: test reason
+ }
+
+ /**
+ * Test the property 'privacy'
+ */
+ @Test
+ public void privacyTest() {
+ // TODO: test privacy
+ }
+
+ /**
+ * Test the property 'screen'
+ */
+ @Test
+ public void screenTest() {
+ // TODO: test screen
+ }
+
+ /**
+ * Test the property 'counter'
+ */
+ @Test
+ public void counterTest() {
+ // TODO: test counter
+ }
+
+ /**
+ * Test the property 'limit'
+ */
+ @Test
+ public void limitTest() {
+ // TODO: test limit
+ }
+
+ /**
+ * Test the property 'unknown'
+ */
+ @Test
+ public void unknownTest() {
+ // TODO: test unknown
+ }
+
+ /**
+ * Test the property 'origTo'
+ */
+ @Test
+ public void origToTest() {
+ // TODO: test origTo
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/DtmfCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/DtmfCallbackTest.java
new file mode 100644
index 00000000..53477525
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/DtmfCallbackTest.java
@@ -0,0 +1,181 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for DtmfCallback
+ */
+public class DtmfCallbackTest {
+ private final DtmfCallback model = new DtmfCallback();
+
+ /**
+ * Model tests for DtmfCallback
+ */
+ @Test
+ public void testDtmfCallback() {
+ // TODO: test DtmfCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'digit'
+ */
+ @Test
+ public void digitTest() {
+ // TODO: test digit
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'answerTime'
+ */
+ @Test
+ public void answerTimeTest() {
+ // TODO: test answerTime
+ }
+
+ /**
+ * Test the property 'parentCallId'
+ */
+ @Test
+ public void parentCallIdTest() {
+ // TODO: test parentCallId
+ }
+
+ /**
+ * Test the property 'transferCallerId'
+ */
+ @Test
+ public void transferCallerIdTest() {
+ // TODO: test transferCallerId
+ }
+
+ /**
+ * Test the property 'transferTo'
+ */
+ @Test
+ public void transferToTest() {
+ // TODO: test transferTo
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/FieldErrorTest.java b/src/test/java/com/bandwidth/sdk/model/FieldErrorTest.java
new file mode 100644
index 00000000..5f0aea81
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/FieldErrorTest.java
@@ -0,0 +1,58 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for FieldError
+ */
+public class FieldErrorTest {
+ private final FieldError model = new FieldError();
+
+ /**
+ * Model tests for FieldError
+ */
+ @Test
+ public void testFieldError() {
+ // TODO: test FieldError
+ }
+
+ /**
+ * Test the property 'fieldName'
+ */
+ @Test
+ public void fieldNameTest() {
+ // TODO: test fieldName
+ }
+
+ /**
+ * Test the property 'description'
+ */
+ @Test
+ public void descriptionTest() {
+ // TODO: test description
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/FileFormatEnumTest.java b/src/test/java/com/bandwidth/sdk/model/FileFormatEnumTest.java
new file mode 100644
index 00000000..eaa520db
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/FileFormatEnumTest.java
@@ -0,0 +1,34 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import io.swagger.annotations.ApiModel;
+import com.google.gson.annotations.SerializedName;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for FileFormatEnum
+ */
+public class FileFormatEnumTest {
+ /**
+ * Model tests for FileFormatEnum
+ */
+ @Test
+ public void testFileFormatEnum() {
+ // TODO: test FileFormatEnum
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/GatherCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/GatherCallbackTest.java
new file mode 100644
index 00000000..87738edf
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/GatherCallbackTest.java
@@ -0,0 +1,189 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for GatherCallback
+ */
+public class GatherCallbackTest {
+ private final GatherCallback model = new GatherCallback();
+
+ /**
+ * Model tests for GatherCallback
+ */
+ @Test
+ public void testGatherCallback() {
+ // TODO: test GatherCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'digits'
+ */
+ @Test
+ public void digitsTest() {
+ // TODO: test digits
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'answerTime'
+ */
+ @Test
+ public void answerTimeTest() {
+ // TODO: test answerTime
+ }
+
+ /**
+ * Test the property 'parentCallId'
+ */
+ @Test
+ public void parentCallIdTest() {
+ // TODO: test parentCallId
+ }
+
+ /**
+ * Test the property 'terminatingDigit'
+ */
+ @Test
+ public void terminatingDigitTest() {
+ // TODO: test terminatingDigit
+ }
+
+ /**
+ * Test the property 'transferCallerId'
+ */
+ @Test
+ public void transferCallerIdTest() {
+ // TODO: test transferCallerId
+ }
+
+ /**
+ * Test the property 'transferTo'
+ */
+ @Test
+ public void transferToTest() {
+ // TODO: test transferTo
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/InboundMessageCallbackMessageTest.java b/src/test/java/com/bandwidth/sdk/model/InboundMessageCallbackMessageTest.java
new file mode 100644
index 00000000..82bfb527
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/InboundMessageCallbackMessageTest.java
@@ -0,0 +1,144 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import java.util.ArrayList;
+import java.util.LinkedHashSet;
+import java.util.List;
+import java.util.Set;
+import org.openapitools.client.model.MessageDirectionEnum;
+import org.openapitools.client.model.PriorityEnum;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for InboundMessageCallbackMessage
+ */
+public class InboundMessageCallbackMessageTest {
+ private final InboundMessageCallbackMessage model = new InboundMessageCallbackMessage();
+
+ /**
+ * Model tests for InboundMessageCallbackMessage
+ */
+ @Test
+ public void testInboundMessageCallbackMessage() {
+ // TODO: test InboundMessageCallbackMessage
+ }
+
+ /**
+ * Test the property 'id'
+ */
+ @Test
+ public void idTest() {
+ // TODO: test id
+ }
+
+ /**
+ * Test the property 'owner'
+ */
+ @Test
+ public void ownerTest() {
+ // TODO: test owner
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'time'
+ */
+ @Test
+ public void timeTest() {
+ // TODO: test time
+ }
+
+ /**
+ * Test the property 'segmentCount'
+ */
+ @Test
+ public void segmentCountTest() {
+ // TODO: test segmentCount
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'text'
+ */
+ @Test
+ public void textTest() {
+ // TODO: test text
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'media'
+ */
+ @Test
+ public void mediaTest() {
+ // TODO: test media
+ }
+
+ /**
+ * Test the property 'priority'
+ */
+ @Test
+ public void priorityTest() {
+ // TODO: test priority
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/InboundMessageCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/InboundMessageCallbackTest.java
new file mode 100644
index 00000000..cb22ec90
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/InboundMessageCallbackTest.java
@@ -0,0 +1,82 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.InboundMessageCallbackMessage;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for InboundMessageCallback
+ */
+public class InboundMessageCallbackTest {
+ private final InboundMessageCallback model = new InboundMessageCallback();
+
+ /**
+ * Model tests for InboundMessageCallback
+ */
+ @Test
+ public void testInboundMessageCallback() {
+ // TODO: test InboundMessageCallback
+ }
+
+ /**
+ * Test the property 'time'
+ */
+ @Test
+ public void timeTest() {
+ // TODO: test time
+ }
+
+ /**
+ * Test the property 'type'
+ */
+ @Test
+ public void typeTest() {
+ // TODO: test type
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'description'
+ */
+ @Test
+ public void descriptionTest() {
+ // TODO: test description
+ }
+
+ /**
+ * Test the property 'message'
+ */
+ @Test
+ public void messageTest() {
+ // TODO: test message
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/InitiateCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/InitiateCallbackTest.java
new file mode 100644
index 00000000..fecca730
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/InitiateCallbackTest.java
@@ -0,0 +1,142 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.client.model.Diversion;
+import org.openapitools.client.model.StirShaken;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for InitiateCallback
+ */
+public class InitiateCallbackTest {
+ private final InitiateCallback model = new InitiateCallback();
+
+ /**
+ * Model tests for InitiateCallback
+ */
+ @Test
+ public void testInitiateCallback() {
+ // TODO: test InitiateCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'diversion'
+ */
+ @Test
+ public void diversionTest() {
+ // TODO: test diversion
+ }
+
+ /**
+ * Test the property 'stirShaken'
+ */
+ @Test
+ public void stirShakenTest() {
+ // TODO: test stirShaken
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/ListMessageDirectionEnumTest.java b/src/test/java/com/bandwidth/sdk/model/ListMessageDirectionEnumTest.java
new file mode 100644
index 00000000..5973a778
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/ListMessageDirectionEnumTest.java
@@ -0,0 +1,34 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import io.swagger.annotations.ApiModel;
+import com.google.gson.annotations.SerializedName;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for ListMessageDirectionEnum
+ */
+public class ListMessageDirectionEnumTest {
+ /**
+ * Model tests for ListMessageDirectionEnum
+ */
+ @Test
+ public void testListMessageDirectionEnum() {
+ // TODO: test ListMessageDirectionEnum
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/ListMessageItemTest.java b/src/test/java/com/bandwidth/sdk/model/ListMessageItemTest.java
new file mode 100644
index 00000000..b3445df4
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/ListMessageItemTest.java
@@ -0,0 +1,174 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.openapitools.client.model.ListMessageDirectionEnum;
+import org.openapitools.client.model.MessageStatusEnum;
+import org.openapitools.client.model.MessageTypeEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for ListMessageItem
+ */
+public class ListMessageItemTest {
+ private final ListMessageItem model = new ListMessageItem();
+
+ /**
+ * Model tests for ListMessageItem
+ */
+ @Test
+ public void testListMessageItem() {
+ // TODO: test ListMessageItem
+ }
+
+ /**
+ * Test the property 'messageId'
+ */
+ @Test
+ public void messageIdTest() {
+ // TODO: test messageId
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'sourceTn'
+ */
+ @Test
+ public void sourceTnTest() {
+ // TODO: test sourceTn
+ }
+
+ /**
+ * Test the property 'destinationTn'
+ */
+ @Test
+ public void destinationTnTest() {
+ // TODO: test destinationTn
+ }
+
+ /**
+ * Test the property 'messageStatus'
+ */
+ @Test
+ public void messageStatusTest() {
+ // TODO: test messageStatus
+ }
+
+ /**
+ * Test the property 'messageDirection'
+ */
+ @Test
+ public void messageDirectionTest() {
+ // TODO: test messageDirection
+ }
+
+ /**
+ * Test the property 'messageType'
+ */
+ @Test
+ public void messageTypeTest() {
+ // TODO: test messageType
+ }
+
+ /**
+ * Test the property 'segmentCount'
+ */
+ @Test
+ public void segmentCountTest() {
+ // TODO: test segmentCount
+ }
+
+ /**
+ * Test the property 'errorCode'
+ */
+ @Test
+ public void errorCodeTest() {
+ // TODO: test errorCode
+ }
+
+ /**
+ * Test the property 'receiveTime'
+ */
+ @Test
+ public void receiveTimeTest() {
+ // TODO: test receiveTime
+ }
+
+ /**
+ * Test the property 'carrierName'
+ */
+ @Test
+ public void carrierNameTest() {
+ // TODO: test carrierName
+ }
+
+ /**
+ * Test the property 'messageSize'
+ */
+ @Test
+ public void messageSizeTest() {
+ // TODO: test messageSize
+ }
+
+ /**
+ * Test the property 'messageLength'
+ */
+ @Test
+ public void messageLengthTest() {
+ // TODO: test messageLength
+ }
+
+ /**
+ * Test the property 'attachmentCount'
+ */
+ @Test
+ public void attachmentCountTest() {
+ // TODO: test attachmentCount
+ }
+
+ /**
+ * Test the property 'recipientCount'
+ */
+ @Test
+ public void recipientCountTest() {
+ // TODO: test recipientCount
+ }
+
+ /**
+ * Test the property 'campaignClass'
+ */
+ @Test
+ public void campaignClassTest() {
+ // TODO: test campaignClass
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/LookupRequestTest.java b/src/test/java/com/bandwidth/sdk/model/LookupRequestTest.java
new file mode 100644
index 00000000..1190cf3c
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/LookupRequestTest.java
@@ -0,0 +1,52 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for LookupRequest
+ */
+public class LookupRequestTest {
+ private final LookupRequest model = new LookupRequest();
+
+ /**
+ * Model tests for LookupRequest
+ */
+ @Test
+ public void testLookupRequest() {
+ // TODO: test LookupRequest
+ }
+
+ /**
+ * Test the property 'tns'
+ */
+ @Test
+ public void tnsTest() {
+ // TODO: test tns
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/LookupResultTest.java b/src/test/java/com/bandwidth/sdk/model/LookupResultTest.java
new file mode 100644
index 00000000..1e6d0fb0
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/LookupResultTest.java
@@ -0,0 +1,114 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for LookupResult
+ */
+public class LookupResultTest {
+ private final LookupResult model = new LookupResult();
+
+ /**
+ * Model tests for LookupResult
+ */
+ @Test
+ public void testLookupResult() {
+ // TODO: test LookupResult
+ }
+
+ /**
+ * Test the property 'responseCode'
+ */
+ @Test
+ public void responseCodeTest() {
+ // TODO: test responseCode
+ }
+
+ /**
+ * Test the property 'message'
+ */
+ @Test
+ public void messageTest() {
+ // TODO: test message
+ }
+
+ /**
+ * Test the property 'e164Format'
+ */
+ @Test
+ public void e164FormatTest() {
+ // TODO: test e164Format
+ }
+
+ /**
+ * Test the property 'formatted'
+ */
+ @Test
+ public void formattedTest() {
+ // TODO: test formatted
+ }
+
+ /**
+ * Test the property 'country'
+ */
+ @Test
+ public void countryTest() {
+ // TODO: test country
+ }
+
+ /**
+ * Test the property 'lineType'
+ */
+ @Test
+ public void lineTypeTest() {
+ // TODO: test lineType
+ }
+
+ /**
+ * Test the property 'lineProvider'
+ */
+ @Test
+ public void lineProviderTest() {
+ // TODO: test lineProvider
+ }
+
+ /**
+ * Test the property 'mobileCountryCode'
+ */
+ @Test
+ public void mobileCountryCodeTest() {
+ // TODO: test mobileCountryCode
+ }
+
+ /**
+ * Test the property 'mobileNetworkCode'
+ */
+ @Test
+ public void mobileNetworkCodeTest() {
+ // TODO: test mobileNetworkCode
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/LookupStatusEnumTest.java b/src/test/java/com/bandwidth/sdk/model/LookupStatusEnumTest.java
new file mode 100644
index 00000000..c2ef93c1
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/LookupStatusEnumTest.java
@@ -0,0 +1,34 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import io.swagger.annotations.ApiModel;
+import com.google.gson.annotations.SerializedName;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for LookupStatusEnum
+ */
+public class LookupStatusEnumTest {
+ /**
+ * Model tests for LookupStatusEnum
+ */
+ @Test
+ public void testLookupStatusEnum() {
+ // TODO: test LookupStatusEnum
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/LookupStatusTest.java b/src/test/java/com/bandwidth/sdk/model/LookupStatusTest.java
new file mode 100644
index 00000000..9b4738ed
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/LookupStatusTest.java
@@ -0,0 +1,78 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import org.openapitools.client.model.LookupResult;
+import org.openapitools.client.model.LookupStatusEnum;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for LookupStatus
+ */
+public class LookupStatusTest {
+ private final LookupStatus model = new LookupStatus();
+
+ /**
+ * Model tests for LookupStatus
+ */
+ @Test
+ public void testLookupStatus() {
+ // TODO: test LookupStatus
+ }
+
+ /**
+ * Test the property 'requestId'
+ */
+ @Test
+ public void requestIdTest() {
+ // TODO: test requestId
+ }
+
+ /**
+ * Test the property 'status'
+ */
+ @Test
+ public void statusTest() {
+ // TODO: test status
+ }
+
+ /**
+ * Test the property 'result'
+ */
+ @Test
+ public void resultTest() {
+ // TODO: test result
+ }
+
+ /**
+ * Test the property 'failedTelephoneNumbers'
+ */
+ @Test
+ public void failedTelephoneNumbersTest() {
+ // TODO: test failedTelephoneNumbers
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MachineDetectionCompleteCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/MachineDetectionCompleteCallbackTest.java
new file mode 100644
index 00000000..21d48db8
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MachineDetectionCompleteCallbackTest.java
@@ -0,0 +1,157 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MachineDetectionCompleteCallback
+ */
+public class MachineDetectionCompleteCallbackTest {
+ private final MachineDetectionCompleteCallback model = new MachineDetectionCompleteCallback();
+
+ /**
+ * Model tests for MachineDetectionCompleteCallback
+ */
+ @Test
+ public void testMachineDetectionCompleteCallback() {
+ // TODO: test MachineDetectionCompleteCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'answerTime'
+ */
+ @Test
+ public void answerTimeTest() {
+ // TODO: test answerTime
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'machineDetectionResult'
+ */
+ @Test
+ public void machineDetectionResultTest() {
+ // TODO: test machineDetectionResult
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MachineDetectionConfigurationTest.java b/src/test/java/com/bandwidth/sdk/model/MachineDetectionConfigurationTest.java
new file mode 100644
index 00000000..8298bbf3
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MachineDetectionConfigurationTest.java
@@ -0,0 +1,166 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.net.URI;
+import org.openapitools.client.model.CallbackMethodEnum;
+import org.openapitools.client.model.MachineDetectionModeEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MachineDetectionConfiguration
+ */
+public class MachineDetectionConfigurationTest {
+ private final MachineDetectionConfiguration model = new MachineDetectionConfiguration();
+
+ /**
+ * Model tests for MachineDetectionConfiguration
+ */
+ @Test
+ public void testMachineDetectionConfiguration() {
+ // TODO: test MachineDetectionConfiguration
+ }
+
+ /**
+ * Test the property 'mode'
+ */
+ @Test
+ public void modeTest() {
+ // TODO: test mode
+ }
+
+ /**
+ * Test the property 'detectionTimeout'
+ */
+ @Test
+ public void detectionTimeoutTest() {
+ // TODO: test detectionTimeout
+ }
+
+ /**
+ * Test the property 'silenceTimeout'
+ */
+ @Test
+ public void silenceTimeoutTest() {
+ // TODO: test silenceTimeout
+ }
+
+ /**
+ * Test the property 'speechThreshold'
+ */
+ @Test
+ public void speechThresholdTest() {
+ // TODO: test speechThreshold
+ }
+
+ /**
+ * Test the property 'speechEndThreshold'
+ */
+ @Test
+ public void speechEndThresholdTest() {
+ // TODO: test speechEndThreshold
+ }
+
+ /**
+ * Test the property 'machineSpeechEndThreshold'
+ */
+ @Test
+ public void machineSpeechEndThresholdTest() {
+ // TODO: test machineSpeechEndThreshold
+ }
+
+ /**
+ * Test the property 'delayResult'
+ */
+ @Test
+ public void delayResultTest() {
+ // TODO: test delayResult
+ }
+
+ /**
+ * Test the property 'callbackUrl'
+ */
+ @Test
+ public void callbackUrlTest() {
+ // TODO: test callbackUrl
+ }
+
+ /**
+ * Test the property 'callbackMethod'
+ */
+ @Test
+ public void callbackMethodTest() {
+ // TODO: test callbackMethod
+ }
+
+ /**
+ * Test the property 'username'
+ */
+ @Test
+ public void usernameTest() {
+ // TODO: test username
+ }
+
+ /**
+ * Test the property 'password'
+ */
+ @Test
+ public void passwordTest() {
+ // TODO: test password
+ }
+
+ /**
+ * Test the property 'fallbackUrl'
+ */
+ @Test
+ public void fallbackUrlTest() {
+ // TODO: test fallbackUrl
+ }
+
+ /**
+ * Test the property 'fallbackMethod'
+ */
+ @Test
+ public void fallbackMethodTest() {
+ // TODO: test fallbackMethod
+ }
+
+ /**
+ * Test the property 'fallbackUsername'
+ */
+ @Test
+ public void fallbackUsernameTest() {
+ // TODO: test fallbackUsername
+ }
+
+ /**
+ * Test the property 'fallbackPassword'
+ */
+ @Test
+ public void fallbackPasswordTest() {
+ // TODO: test fallbackPassword
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MachineDetectionModeEnumTest.java b/src/test/java/com/bandwidth/sdk/model/MachineDetectionModeEnumTest.java
new file mode 100644
index 00000000..308eed02
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MachineDetectionModeEnumTest.java
@@ -0,0 +1,34 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import io.swagger.annotations.ApiModel;
+import com.google.gson.annotations.SerializedName;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MachineDetectionModeEnum
+ */
+public class MachineDetectionModeEnumTest {
+ /**
+ * Model tests for MachineDetectionModeEnum
+ */
+ @Test
+ public void testMachineDetectionModeEnum() {
+ // TODO: test MachineDetectionModeEnum
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MachineDetectionResultTest.java b/src/test/java/com/bandwidth/sdk/model/MachineDetectionResultTest.java
new file mode 100644
index 00000000..dd5f361e
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MachineDetectionResultTest.java
@@ -0,0 +1,56 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.util.Arrays;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+/**
+ * Model tests for MachineDetectionResult
+ */
+public class MachineDetectionResultTest {
+ private final MachineDetectionResult model = new MachineDetectionResult();
+
+ /**
+ * Model tests for MachineDetectionResult
+ */
+ @Test
+ public void testMachineDetectionResult() {
+ // TODO: test MachineDetectionResult
+ }
+
+ /**
+ * Test the property 'value'
+ */
+ @Test
+ public void valueTest() {
+ // TODO: test value
+ }
+
+ /**
+ * Test the property 'duration'
+ */
+ @Test
+ public void durationTest() {
+ // TODO: test duration
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MediaTest.java b/src/test/java/com/bandwidth/sdk/model/MediaTest.java
new file mode 100644
index 00000000..6ab62a52
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MediaTest.java
@@ -0,0 +1,66 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for Media
+ */
+public class MediaTest {
+ private final Media model = new Media();
+
+ /**
+ * Model tests for Media
+ */
+ @Test
+ public void testMedia() {
+ // TODO: test Media
+ }
+
+ /**
+ * Test the property 'content'
+ */
+ @Test
+ public void contentTest() {
+ // TODO: test content
+ }
+
+ /**
+ * Test the property 'contentLength'
+ */
+ @Test
+ public void contentLengthTest() {
+ // TODO: test contentLength
+ }
+
+ /**
+ * Test the property 'mediaName'
+ */
+ @Test
+ public void mediaNameTest() {
+ // TODO: test mediaName
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MessageDeliveredCallbackMessageTest.java b/src/test/java/com/bandwidth/sdk/model/MessageDeliveredCallbackMessageTest.java
new file mode 100644
index 00000000..61031240
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MessageDeliveredCallbackMessageTest.java
@@ -0,0 +1,144 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import java.util.ArrayList;
+import java.util.LinkedHashSet;
+import java.util.List;
+import java.util.Set;
+import org.openapitools.client.model.MessageDirectionEnum;
+import org.openapitools.client.model.PriorityEnum;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MessageDeliveredCallbackMessage
+ */
+public class MessageDeliveredCallbackMessageTest {
+ private final MessageDeliveredCallbackMessage model = new MessageDeliveredCallbackMessage();
+
+ /**
+ * Model tests for MessageDeliveredCallbackMessage
+ */
+ @Test
+ public void testMessageDeliveredCallbackMessage() {
+ // TODO: test MessageDeliveredCallbackMessage
+ }
+
+ /**
+ * Test the property 'id'
+ */
+ @Test
+ public void idTest() {
+ // TODO: test id
+ }
+
+ /**
+ * Test the property 'owner'
+ */
+ @Test
+ public void ownerTest() {
+ // TODO: test owner
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'time'
+ */
+ @Test
+ public void timeTest() {
+ // TODO: test time
+ }
+
+ /**
+ * Test the property 'segmentCount'
+ */
+ @Test
+ public void segmentCountTest() {
+ // TODO: test segmentCount
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'text'
+ */
+ @Test
+ public void textTest() {
+ // TODO: test text
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'media'
+ */
+ @Test
+ public void mediaTest() {
+ // TODO: test media
+ }
+
+ /**
+ * Test the property 'priority'
+ */
+ @Test
+ public void priorityTest() {
+ // TODO: test priority
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MessageDeliveredCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/MessageDeliveredCallbackTest.java
new file mode 100644
index 00000000..9ede0a99
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MessageDeliveredCallbackTest.java
@@ -0,0 +1,82 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.MessageDeliveredCallbackMessage;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MessageDeliveredCallback
+ */
+public class MessageDeliveredCallbackTest {
+ private final MessageDeliveredCallback model = new MessageDeliveredCallback();
+
+ /**
+ * Model tests for MessageDeliveredCallback
+ */
+ @Test
+ public void testMessageDeliveredCallback() {
+ // TODO: test MessageDeliveredCallback
+ }
+
+ /**
+ * Test the property 'time'
+ */
+ @Test
+ public void timeTest() {
+ // TODO: test time
+ }
+
+ /**
+ * Test the property 'type'
+ */
+ @Test
+ public void typeTest() {
+ // TODO: test type
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'description'
+ */
+ @Test
+ public void descriptionTest() {
+ // TODO: test description
+ }
+
+ /**
+ * Test the property 'message'
+ */
+ @Test
+ public void messageTest() {
+ // TODO: test message
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MessageDirectionEnumTest.java b/src/test/java/com/bandwidth/sdk/model/MessageDirectionEnumTest.java
new file mode 100644
index 00000000..1b497d48
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MessageDirectionEnumTest.java
@@ -0,0 +1,34 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import io.swagger.annotations.ApiModel;
+import com.google.gson.annotations.SerializedName;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MessageDirectionEnum
+ */
+public class MessageDirectionEnumTest {
+ /**
+ * Model tests for MessageDirectionEnum
+ */
+ @Test
+ public void testMessageDirectionEnum() {
+ // TODO: test MessageDirectionEnum
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MessageFailedCallbackMessageTest.java b/src/test/java/com/bandwidth/sdk/model/MessageFailedCallbackMessageTest.java
new file mode 100644
index 00000000..d5bd4442
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MessageFailedCallbackMessageTest.java
@@ -0,0 +1,144 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import java.util.ArrayList;
+import java.util.LinkedHashSet;
+import java.util.List;
+import java.util.Set;
+import org.openapitools.client.model.MessageDirectionEnum;
+import org.openapitools.client.model.PriorityEnum;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MessageFailedCallbackMessage
+ */
+public class MessageFailedCallbackMessageTest {
+ private final MessageFailedCallbackMessage model = new MessageFailedCallbackMessage();
+
+ /**
+ * Model tests for MessageFailedCallbackMessage
+ */
+ @Test
+ public void testMessageFailedCallbackMessage() {
+ // TODO: test MessageFailedCallbackMessage
+ }
+
+ /**
+ * Test the property 'id'
+ */
+ @Test
+ public void idTest() {
+ // TODO: test id
+ }
+
+ /**
+ * Test the property 'owner'
+ */
+ @Test
+ public void ownerTest() {
+ // TODO: test owner
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'time'
+ */
+ @Test
+ public void timeTest() {
+ // TODO: test time
+ }
+
+ /**
+ * Test the property 'segmentCount'
+ */
+ @Test
+ public void segmentCountTest() {
+ // TODO: test segmentCount
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'text'
+ */
+ @Test
+ public void textTest() {
+ // TODO: test text
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'media'
+ */
+ @Test
+ public void mediaTest() {
+ // TODO: test media
+ }
+
+ /**
+ * Test the property 'priority'
+ */
+ @Test
+ public void priorityTest() {
+ // TODO: test priority
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MessageFailedCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/MessageFailedCallbackTest.java
new file mode 100644
index 00000000..3c759920
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MessageFailedCallbackTest.java
@@ -0,0 +1,90 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.MessageFailedCallbackMessage;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MessageFailedCallback
+ */
+public class MessageFailedCallbackTest {
+ private final MessageFailedCallback model = new MessageFailedCallback();
+
+ /**
+ * Model tests for MessageFailedCallback
+ */
+ @Test
+ public void testMessageFailedCallback() {
+ // TODO: test MessageFailedCallback
+ }
+
+ /**
+ * Test the property 'time'
+ */
+ @Test
+ public void timeTest() {
+ // TODO: test time
+ }
+
+ /**
+ * Test the property 'type'
+ */
+ @Test
+ public void typeTest() {
+ // TODO: test type
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'description'
+ */
+ @Test
+ public void descriptionTest() {
+ // TODO: test description
+ }
+
+ /**
+ * Test the property 'message'
+ */
+ @Test
+ public void messageTest() {
+ // TODO: test message
+ }
+
+ /**
+ * Test the property 'errorCode'
+ */
+ @Test
+ public void errorCodeTest() {
+ // TODO: test errorCode
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MessageRequestTest.java b/src/test/java/com/bandwidth/sdk/model/MessageRequestTest.java
new file mode 100644
index 00000000..442539b8
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MessageRequestTest.java
@@ -0,0 +1,112 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.net.URI;
+import java.util.ArrayList;
+import java.util.LinkedHashSet;
+import java.util.List;
+import java.util.Set;
+import org.openapitools.client.model.PriorityEnum;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MessageRequest
+ */
+public class MessageRequestTest {
+ private final MessageRequest model = new MessageRequest();
+
+ /**
+ * Model tests for MessageRequest
+ */
+ @Test
+ public void testMessageRequest() {
+ // TODO: test MessageRequest
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'text'
+ */
+ @Test
+ public void textTest() {
+ // TODO: test text
+ }
+
+ /**
+ * Test the property 'media'
+ */
+ @Test
+ public void mediaTest() {
+ // TODO: test media
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'priority'
+ */
+ @Test
+ public void priorityTest() {
+ // TODO: test priority
+ }
+
+ /**
+ * Test the property 'expiration'
+ */
+ @Test
+ public void expirationTest() {
+ // TODO: test expiration
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MessageSendingCallbackMessageTest.java b/src/test/java/com/bandwidth/sdk/model/MessageSendingCallbackMessageTest.java
new file mode 100644
index 00000000..93eb5b38
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MessageSendingCallbackMessageTest.java
@@ -0,0 +1,144 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import java.util.ArrayList;
+import java.util.LinkedHashSet;
+import java.util.List;
+import java.util.Set;
+import org.openapitools.client.model.MessageDirectionEnum;
+import org.openapitools.client.model.PriorityEnum;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MessageSendingCallbackMessage
+ */
+public class MessageSendingCallbackMessageTest {
+ private final MessageSendingCallbackMessage model = new MessageSendingCallbackMessage();
+
+ /**
+ * Model tests for MessageSendingCallbackMessage
+ */
+ @Test
+ public void testMessageSendingCallbackMessage() {
+ // TODO: test MessageSendingCallbackMessage
+ }
+
+ /**
+ * Test the property 'id'
+ */
+ @Test
+ public void idTest() {
+ // TODO: test id
+ }
+
+ /**
+ * Test the property 'owner'
+ */
+ @Test
+ public void ownerTest() {
+ // TODO: test owner
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'time'
+ */
+ @Test
+ public void timeTest() {
+ // TODO: test time
+ }
+
+ /**
+ * Test the property 'segmentCount'
+ */
+ @Test
+ public void segmentCountTest() {
+ // TODO: test segmentCount
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'text'
+ */
+ @Test
+ public void textTest() {
+ // TODO: test text
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'media'
+ */
+ @Test
+ public void mediaTest() {
+ // TODO: test media
+ }
+
+ /**
+ * Test the property 'priority'
+ */
+ @Test
+ public void priorityTest() {
+ // TODO: test priority
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MessageSendingCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/MessageSendingCallbackTest.java
new file mode 100644
index 00000000..1f1e72ef
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MessageSendingCallbackTest.java
@@ -0,0 +1,82 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.MessageSendingCallbackMessage;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MessageSendingCallback
+ */
+public class MessageSendingCallbackTest {
+ private final MessageSendingCallback model = new MessageSendingCallback();
+
+ /**
+ * Model tests for MessageSendingCallback
+ */
+ @Test
+ public void testMessageSendingCallback() {
+ // TODO: test MessageSendingCallback
+ }
+
+ /**
+ * Test the property 'time'
+ */
+ @Test
+ public void timeTest() {
+ // TODO: test time
+ }
+
+ /**
+ * Test the property 'type'
+ */
+ @Test
+ public void typeTest() {
+ // TODO: test type
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'description'
+ */
+ @Test
+ public void descriptionTest() {
+ // TODO: test description
+ }
+
+ /**
+ * Test the property 'message'
+ */
+ @Test
+ public void messageTest() {
+ // TODO: test message
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MessageStatusEnumTest.java b/src/test/java/com/bandwidth/sdk/model/MessageStatusEnumTest.java
new file mode 100644
index 00000000..b7837c90
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MessageStatusEnumTest.java
@@ -0,0 +1,34 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import io.swagger.annotations.ApiModel;
+import com.google.gson.annotations.SerializedName;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MessageStatusEnum
+ */
+public class MessageStatusEnumTest {
+ /**
+ * Model tests for MessageStatusEnum
+ */
+ @Test
+ public void testMessageStatusEnum() {
+ // TODO: test MessageStatusEnum
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MessageTest.java b/src/test/java/com/bandwidth/sdk/model/MessageTest.java
new file mode 100644
index 00000000..dde8830d
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MessageTest.java
@@ -0,0 +1,142 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.LinkedHashSet;
+import java.util.Set;
+import org.openapitools.client.model.MessageDirectionEnum;
+import org.openapitools.client.model.PriorityEnum;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for Message
+ */
+public class MessageTest {
+ private final Message model = new Message();
+
+ /**
+ * Model tests for Message
+ */
+ @Test
+ public void testMessage() {
+ // TODO: test Message
+ }
+
+ /**
+ * Test the property 'id'
+ */
+ @Test
+ public void idTest() {
+ // TODO: test id
+ }
+
+ /**
+ * Test the property 'owner'
+ */
+ @Test
+ public void ownerTest() {
+ // TODO: test owner
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'time'
+ */
+ @Test
+ public void timeTest() {
+ // TODO: test time
+ }
+
+ /**
+ * Test the property 'segmentCount'
+ */
+ @Test
+ public void segmentCountTest() {
+ // TODO: test segmentCount
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'media'
+ */
+ @Test
+ public void mediaTest() {
+ // TODO: test media
+ }
+
+ /**
+ * Test the property 'text'
+ */
+ @Test
+ public void textTest() {
+ // TODO: test text
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'priority'
+ */
+ @Test
+ public void priorityTest() {
+ // TODO: test priority
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MessageTypeEnumTest.java b/src/test/java/com/bandwidth/sdk/model/MessageTypeEnumTest.java
new file mode 100644
index 00000000..90cfe62c
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MessageTypeEnumTest.java
@@ -0,0 +1,34 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import io.swagger.annotations.ApiModel;
+import com.google.gson.annotations.SerializedName;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MessageTypeEnum
+ */
+public class MessageTypeEnumTest {
+ /**
+ * Model tests for MessageTypeEnum
+ */
+ @Test
+ public void testMessageTypeEnum() {
+ // TODO: test MessageTypeEnum
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MessagesListTest.java b/src/test/java/com/bandwidth/sdk/model/MessagesListTest.java
new file mode 100644
index 00000000..be21ae7c
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MessagesListTest.java
@@ -0,0 +1,70 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import org.openapitools.client.model.ListMessageItem;
+import org.openapitools.client.model.PageInfo;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MessagesList
+ */
+public class MessagesListTest {
+ private final MessagesList model = new MessagesList();
+
+ /**
+ * Model tests for MessagesList
+ */
+ @Test
+ public void testMessagesList() {
+ // TODO: test MessagesList
+ }
+
+ /**
+ * Test the property 'totalCount'
+ */
+ @Test
+ public void totalCountTest() {
+ // TODO: test totalCount
+ }
+
+ /**
+ * Test the property 'pageInfo'
+ */
+ @Test
+ public void pageInfoTest() {
+ // TODO: test pageInfo
+ }
+
+ /**
+ * Test the property 'messages'
+ */
+ @Test
+ public void messagesTest() {
+ // TODO: test messages
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MessagingCodeResponseTest.java b/src/test/java/com/bandwidth/sdk/model/MessagingCodeResponseTest.java
new file mode 100644
index 00000000..81452fe1
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MessagingCodeResponseTest.java
@@ -0,0 +1,50 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MessagingCodeResponse
+ */
+public class MessagingCodeResponseTest {
+ private final MessagingCodeResponse model = new MessagingCodeResponse();
+
+ /**
+ * Model tests for MessagingCodeResponse
+ */
+ @Test
+ public void testMessagingCodeResponse() {
+ // TODO: test MessagingCodeResponse
+ }
+
+ /**
+ * Test the property 'messageId'
+ */
+ @Test
+ public void messageIdTest() {
+ // TODO: test messageId
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MessagingRequestErrorTest.java b/src/test/java/com/bandwidth/sdk/model/MessagingRequestErrorTest.java
new file mode 100644
index 00000000..d62d23cf
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MessagingRequestErrorTest.java
@@ -0,0 +1,58 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MessagingRequestError
+ */
+public class MessagingRequestErrorTest {
+ private final MessagingRequestError model = new MessagingRequestError();
+
+ /**
+ * Model tests for MessagingRequestError
+ */
+ @Test
+ public void testMessagingRequestError() {
+ // TODO: test MessagingRequestError
+ }
+
+ /**
+ * Test the property 'type'
+ */
+ @Test
+ public void typeTest() {
+ // TODO: test type
+ }
+
+ /**
+ * Test the property 'description'
+ */
+ @Test
+ public void descriptionTest() {
+ // TODO: test description
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MfaForbiddenRequestErrorTest.java b/src/test/java/com/bandwidth/sdk/model/MfaForbiddenRequestErrorTest.java
new file mode 100644
index 00000000..829d9b78
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MfaForbiddenRequestErrorTest.java
@@ -0,0 +1,50 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MfaForbiddenRequestError
+ */
+public class MfaForbiddenRequestErrorTest {
+ private final MfaForbiddenRequestError model = new MfaForbiddenRequestError();
+
+ /**
+ * Model tests for MfaForbiddenRequestError
+ */
+ @Test
+ public void testMfaForbiddenRequestError() {
+ // TODO: test MfaForbiddenRequestError
+ }
+
+ /**
+ * Test the property 'message'
+ */
+ @Test
+ public void messageTest() {
+ // TODO: test message
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MfaRequestErrorTest.java b/src/test/java/com/bandwidth/sdk/model/MfaRequestErrorTest.java
new file mode 100644
index 00000000..e21fcfc6
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MfaRequestErrorTest.java
@@ -0,0 +1,58 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MfaRequestError
+ */
+public class MfaRequestErrorTest {
+ private final MfaRequestError model = new MfaRequestError();
+
+ /**
+ * Model tests for MfaRequestError
+ */
+ @Test
+ public void testMfaRequestError() {
+ // TODO: test MfaRequestError
+ }
+
+ /**
+ * Test the property 'error'
+ */
+ @Test
+ public void errorTest() {
+ // TODO: test error
+ }
+
+ /**
+ * Test the property 'requestId'
+ */
+ @Test
+ public void requestIdTest() {
+ // TODO: test requestId
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/MfaUnauthorizedRequestErrorTest.java b/src/test/java/com/bandwidth/sdk/model/MfaUnauthorizedRequestErrorTest.java
new file mode 100644
index 00000000..051ac1f8
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/MfaUnauthorizedRequestErrorTest.java
@@ -0,0 +1,50 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for MfaUnauthorizedRequestError
+ */
+public class MfaUnauthorizedRequestErrorTest {
+ private final MfaUnauthorizedRequestError model = new MfaUnauthorizedRequestError();
+
+ /**
+ * Model tests for MfaUnauthorizedRequestError
+ */
+ @Test
+ public void testMfaUnauthorizedRequestError() {
+ // TODO: test MfaUnauthorizedRequestError
+ }
+
+ /**
+ * Test the property 'message'
+ */
+ @Test
+ public void messageTest() {
+ // TODO: test message
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/PageInfoTest.java b/src/test/java/com/bandwidth/sdk/model/PageInfoTest.java
new file mode 100644
index 00000000..4e4f9270
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/PageInfoTest.java
@@ -0,0 +1,74 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for PageInfo
+ */
+public class PageInfoTest {
+ private final PageInfo model = new PageInfo();
+
+ /**
+ * Model tests for PageInfo
+ */
+ @Test
+ public void testPageInfo() {
+ // TODO: test PageInfo
+ }
+
+ /**
+ * Test the property 'prevPage'
+ */
+ @Test
+ public void prevPageTest() {
+ // TODO: test prevPage
+ }
+
+ /**
+ * Test the property 'nextPage'
+ */
+ @Test
+ public void nextPageTest() {
+ // TODO: test nextPage
+ }
+
+ /**
+ * Test the property 'prevPageToken'
+ */
+ @Test
+ public void prevPageTokenTest() {
+ // TODO: test prevPageToken
+ }
+
+ /**
+ * Test the property 'nextPageToken'
+ */
+ @Test
+ public void nextPageTokenTest() {
+ // TODO: test nextPageToken
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/PriorityEnumTest.java b/src/test/java/com/bandwidth/sdk/model/PriorityEnumTest.java
new file mode 100644
index 00000000..b1ad1b51
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/PriorityEnumTest.java
@@ -0,0 +1,34 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import io.swagger.annotations.ApiModel;
+import com.google.gson.annotations.SerializedName;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for PriorityEnum
+ */
+public class PriorityEnumTest {
+ /**
+ * Model tests for PriorityEnum
+ */
+ @Test
+ public void testPriorityEnum() {
+ // TODO: test PriorityEnum
+ }
+
+}
diff --git a/src/test/java/org/openapitools/client/model/PublishPermissionsEnumTest.java b/src/test/java/com/bandwidth/sdk/model/PublishPermissionsEnumTest.java
similarity index 94%
rename from src/test/java/org/openapitools/client/model/PublishPermissionsEnumTest.java
rename to src/test/java/com/bandwidth/sdk/model/PublishPermissionsEnumTest.java
index 24b2f31d..c9c35ff2 100644
--- a/src/test/java/org/openapitools/client/model/PublishPermissionsEnumTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/PublishPermissionsEnumTest.java
@@ -11,7 +11,7 @@
*/
-package org.openapitools.client.model;
+package com.bandwidth.sdk.model;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
diff --git a/src/test/java/com/bandwidth/sdk/model/RecordingAvailableCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/RecordingAvailableCallbackTest.java
new file mode 100644
index 00000000..f4aef85c
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/RecordingAvailableCallbackTest.java
@@ -0,0 +1,223 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.client.model.FileFormatEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for RecordingAvailableCallback
+ */
+public class RecordingAvailableCallbackTest {
+ private final RecordingAvailableCallback model = new RecordingAvailableCallback();
+
+ /**
+ * Model tests for RecordingAvailableCallback
+ */
+ @Test
+ public void testRecordingAvailableCallback() {
+ // TODO: test RecordingAvailableCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'parentCallId'
+ */
+ @Test
+ public void parentCallIdTest() {
+ // TODO: test parentCallId
+ }
+
+ /**
+ * Test the property 'recordingId'
+ */
+ @Test
+ public void recordingIdTest() {
+ // TODO: test recordingId
+ }
+
+ /**
+ * Test the property 'mediaUrl'
+ */
+ @Test
+ public void mediaUrlTest() {
+ // TODO: test mediaUrl
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'endTime'
+ */
+ @Test
+ public void endTimeTest() {
+ // TODO: test endTime
+ }
+
+ /**
+ * Test the property 'duration'
+ */
+ @Test
+ public void durationTest() {
+ // TODO: test duration
+ }
+
+ /**
+ * Test the property 'fileFormat'
+ */
+ @Test
+ public void fileFormatTest() {
+ // TODO: test fileFormat
+ }
+
+ /**
+ * Test the property 'channels'
+ */
+ @Test
+ public void channelsTest() {
+ // TODO: test channels
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'status'
+ */
+ @Test
+ public void statusTest() {
+ // TODO: test status
+ }
+
+ /**
+ * Test the property 'transferCallerId'
+ */
+ @Test
+ public void transferCallerIdTest() {
+ // TODO: test transferCallerId
+ }
+
+ /**
+ * Test the property 'transferTo'
+ */
+ @Test
+ public void transferToTest() {
+ // TODO: test transferTo
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/RecordingCompleteCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/RecordingCompleteCallbackTest.java
new file mode 100644
index 00000000..4e7441eb
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/RecordingCompleteCallbackTest.java
@@ -0,0 +1,223 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.client.model.FileFormatEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for RecordingCompleteCallback
+ */
+public class RecordingCompleteCallbackTest {
+ private final RecordingCompleteCallback model = new RecordingCompleteCallback();
+
+ /**
+ * Model tests for RecordingCompleteCallback
+ */
+ @Test
+ public void testRecordingCompleteCallback() {
+ // TODO: test RecordingCompleteCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'parentCallId'
+ */
+ @Test
+ public void parentCallIdTest() {
+ // TODO: test parentCallId
+ }
+
+ /**
+ * Test the property 'recordingId'
+ */
+ @Test
+ public void recordingIdTest() {
+ // TODO: test recordingId
+ }
+
+ /**
+ * Test the property 'mediaUrl'
+ */
+ @Test
+ public void mediaUrlTest() {
+ // TODO: test mediaUrl
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'answerTime'
+ */
+ @Test
+ public void answerTimeTest() {
+ // TODO: test answerTime
+ }
+
+ /**
+ * Test the property 'endTime'
+ */
+ @Test
+ public void endTimeTest() {
+ // TODO: test endTime
+ }
+
+ /**
+ * Test the property 'duration'
+ */
+ @Test
+ public void durationTest() {
+ // TODO: test duration
+ }
+
+ /**
+ * Test the property 'fileFormat'
+ */
+ @Test
+ public void fileFormatTest() {
+ // TODO: test fileFormat
+ }
+
+ /**
+ * Test the property 'channels'
+ */
+ @Test
+ public void channelsTest() {
+ // TODO: test channels
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'transferCallerId'
+ */
+ @Test
+ public void transferCallerIdTest() {
+ // TODO: test transferCallerId
+ }
+
+ /**
+ * Test the property 'transferTo'
+ */
+ @Test
+ public void transferToTest() {
+ // TODO: test transferTo
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/RecordingStateEnumTest.java b/src/test/java/com/bandwidth/sdk/model/RecordingStateEnumTest.java
new file mode 100644
index 00000000..f9d35495
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/RecordingStateEnumTest.java
@@ -0,0 +1,34 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import io.swagger.annotations.ApiModel;
+import com.google.gson.annotations.SerializedName;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for RecordingStateEnum
+ */
+public class RecordingStateEnumTest {
+ /**
+ * Model tests for RecordingStateEnum
+ */
+ @Test
+ public void testRecordingStateEnum() {
+ // TODO: test RecordingStateEnum
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/RedirectCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/RedirectCallbackTest.java
new file mode 100644
index 00000000..97d0f38e
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/RedirectCallbackTest.java
@@ -0,0 +1,173 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for RedirectCallback
+ */
+public class RedirectCallbackTest {
+ private final RedirectCallback model = new RedirectCallback();
+
+ /**
+ * Model tests for RedirectCallback
+ */
+ @Test
+ public void testRedirectCallback() {
+ // TODO: test RedirectCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'parentCallId'
+ */
+ @Test
+ public void parentCallIdTest() {
+ // TODO: test parentCallId
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'answerTime'
+ */
+ @Test
+ public void answerTimeTest() {
+ // TODO: test answerTime
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'transferCallerId'
+ */
+ @Test
+ public void transferCallerIdTest() {
+ // TODO: test transferCallerId
+ }
+
+ /**
+ * Test the property 'transferTo'
+ */
+ @Test
+ public void transferToTest() {
+ // TODO: test transferTo
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/RedirectMethodEnumTest.java b/src/test/java/com/bandwidth/sdk/model/RedirectMethodEnumTest.java
new file mode 100644
index 00000000..e30b8b9b
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/RedirectMethodEnumTest.java
@@ -0,0 +1,34 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import io.swagger.annotations.ApiModel;
+import com.google.gson.annotations.SerializedName;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for RedirectMethodEnum
+ */
+public class RedirectMethodEnumTest {
+ /**
+ * Model tests for RedirectMethodEnum
+ */
+ @Test
+ public void testRedirectMethodEnum() {
+ // TODO: test RedirectMethodEnum
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/StirShakenTest.java b/src/test/java/com/bandwidth/sdk/model/StirShakenTest.java
new file mode 100644
index 00000000..1f33ef07
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/StirShakenTest.java
@@ -0,0 +1,66 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for StirShaken
+ */
+public class StirShakenTest {
+ private final StirShaken model = new StirShaken();
+
+ /**
+ * Model tests for StirShaken
+ */
+ @Test
+ public void testStirShaken() {
+ // TODO: test StirShaken
+ }
+
+ /**
+ * Test the property 'verstat'
+ */
+ @Test
+ public void verstatTest() {
+ // TODO: test verstat
+ }
+
+ /**
+ * Test the property 'attestationIndicator'
+ */
+ @Test
+ public void attestationIndicatorTest() {
+ // TODO: test attestationIndicator
+ }
+
+ /**
+ * Test the property 'originatingId'
+ */
+ @Test
+ public void originatingIdTest() {
+ // TODO: test originatingId
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/TagTest.java b/src/test/java/com/bandwidth/sdk/model/TagTest.java
new file mode 100644
index 00000000..39ef3cd4
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/TagTest.java
@@ -0,0 +1,58 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for Tag
+ */
+public class TagTest {
+ private final Tag model = new Tag();
+
+ /**
+ * Model tests for Tag
+ */
+ @Test
+ public void testTag() {
+ // TODO: test Tag
+ }
+
+ /**
+ * Test the property 'key'
+ */
+ @Test
+ public void keyTest() {
+ // TODO: test key
+ }
+
+ /**
+ * Test the property 'value'
+ */
+ @Test
+ public void valueTest() {
+ // TODO: test value
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/TnLookupRequestErrorTest.java b/src/test/java/com/bandwidth/sdk/model/TnLookupRequestErrorTest.java
new file mode 100644
index 00000000..4a8da6ba
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/TnLookupRequestErrorTest.java
@@ -0,0 +1,50 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for TnLookupRequestError
+ */
+public class TnLookupRequestErrorTest {
+ private final TnLookupRequestError model = new TnLookupRequestError();
+
+ /**
+ * Model tests for TnLookupRequestError
+ */
+ @Test
+ public void testTnLookupRequestError() {
+ // TODO: test TnLookupRequestError
+ }
+
+ /**
+ * Test the property 'message'
+ */
+ @Test
+ public void messageTest() {
+ // TODO: test message
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/TranscribeRecordingTest.java b/src/test/java/com/bandwidth/sdk/model/TranscribeRecordingTest.java
new file mode 100644
index 00000000..11c6079d
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/TranscribeRecordingTest.java
@@ -0,0 +1,93 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.net.URI;
+import org.openapitools.client.model.CallbackMethodEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for TranscribeRecording
+ */
+public class TranscribeRecordingTest {
+ private final TranscribeRecording model = new TranscribeRecording();
+
+ /**
+ * Model tests for TranscribeRecording
+ */
+ @Test
+ public void testTranscribeRecording() {
+ // TODO: test TranscribeRecording
+ }
+
+ /**
+ * Test the property 'callbackUrl'
+ */
+ @Test
+ public void callbackUrlTest() {
+ // TODO: test callbackUrl
+ }
+
+ /**
+ * Test the property 'callbackMethod'
+ */
+ @Test
+ public void callbackMethodTest() {
+ // TODO: test callbackMethod
+ }
+
+ /**
+ * Test the property 'username'
+ */
+ @Test
+ public void usernameTest() {
+ // TODO: test username
+ }
+
+ /**
+ * Test the property 'password'
+ */
+ @Test
+ public void passwordTest() {
+ // TODO: test password
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'callbackTimeout'
+ */
+ @Test
+ public void callbackTimeoutTest() {
+ // TODO: test callbackTimeout
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/TranscriptionAvailableCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/TranscriptionAvailableCallbackTest.java
new file mode 100644
index 00000000..3b7c523f
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/TranscriptionAvailableCallbackTest.java
@@ -0,0 +1,216 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.net.URI;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.client.model.FileFormatEnum;
+import org.openapitools.client.model.Transcription;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for TranscriptionAvailableCallback
+ */
+public class TranscriptionAvailableCallbackTest {
+ private final TranscriptionAvailableCallback model = new TranscriptionAvailableCallback();
+
+ /**
+ * Model tests for TranscriptionAvailableCallback
+ */
+ @Test
+ public void testTranscriptionAvailableCallback() {
+ // TODO: test TranscriptionAvailableCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'mediaUrl'
+ */
+ @Test
+ public void mediaUrlTest() {
+ // TODO: test mediaUrl
+ }
+
+ /**
+ * Test the property 'parentCallId'
+ */
+ @Test
+ public void parentCallIdTest() {
+ // TODO: test parentCallId
+ }
+
+ /**
+ * Test the property 'recordingId'
+ */
+ @Test
+ public void recordingIdTest() {
+ // TODO: test recordingId
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'endTime'
+ */
+ @Test
+ public void endTimeTest() {
+ // TODO: test endTime
+ }
+
+ /**
+ * Test the property 'duration'
+ */
+ @Test
+ public void durationTest() {
+ // TODO: test duration
+ }
+
+ /**
+ * Test the property 'fileFormat'
+ */
+ @Test
+ public void fileFormatTest() {
+ // TODO: test fileFormat
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'transcription'
+ */
+ @Test
+ public void transcriptionTest() {
+ // TODO: test transcription
+ }
+
+ /**
+ * Test the property 'transferCallerId'
+ */
+ @Test
+ public void transferCallerIdTest() {
+ // TODO: test transferCallerId
+ }
+
+ /**
+ * Test the property 'transferTo'
+ */
+ @Test
+ public void transferToTest() {
+ // TODO: test transferTo
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/TranscriptionListTest.java b/src/test/java/com/bandwidth/sdk/model/TranscriptionListTest.java
new file mode 100644
index 00000000..9120828c
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/TranscriptionListTest.java
@@ -0,0 +1,53 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import org.openapitools.client.model.Transcription;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for TranscriptionList
+ */
+public class TranscriptionListTest {
+ private final TranscriptionList model = new TranscriptionList();
+
+ /**
+ * Model tests for TranscriptionList
+ */
+ @Test
+ public void testTranscriptionList() {
+ // TODO: test TranscriptionList
+ }
+
+ /**
+ * Test the property 'transcripts'
+ */
+ @Test
+ public void transcriptsTest() {
+ // TODO: test transcripts
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/TranscriptionMetadataTest.java b/src/test/java/com/bandwidth/sdk/model/TranscriptionMetadataTest.java
new file mode 100644
index 00000000..50182dab
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/TranscriptionMetadataTest.java
@@ -0,0 +1,75 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.net.URI;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for TranscriptionMetadata
+ */
+public class TranscriptionMetadataTest {
+ private final TranscriptionMetadata model = new TranscriptionMetadata();
+
+ /**
+ * Model tests for TranscriptionMetadata
+ */
+ @Test
+ public void testTranscriptionMetadata() {
+ // TODO: test TranscriptionMetadata
+ }
+
+ /**
+ * Test the property 'id'
+ */
+ @Test
+ public void idTest() {
+ // TODO: test id
+ }
+
+ /**
+ * Test the property 'status'
+ */
+ @Test
+ public void statusTest() {
+ // TODO: test status
+ }
+
+ /**
+ * Test the property 'completedTime'
+ */
+ @Test
+ public void completedTimeTest() {
+ // TODO: test completedTime
+ }
+
+ /**
+ * Test the property 'url'
+ */
+ @Test
+ public void urlTest() {
+ // TODO: test url
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/TranscriptionTest.java b/src/test/java/com/bandwidth/sdk/model/TranscriptionTest.java
new file mode 100644
index 00000000..b4d78566
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/TranscriptionTest.java
@@ -0,0 +1,58 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for Transcription
+ */
+public class TranscriptionTest {
+ private final Transcription model = new Transcription();
+
+ /**
+ * Model tests for Transcription
+ */
+ @Test
+ public void testTranscription() {
+ // TODO: test Transcription
+ }
+
+ /**
+ * Test the property 'text'
+ */
+ @Test
+ public void textTest() {
+ // TODO: test text
+ }
+
+ /**
+ * Test the property 'confidence'
+ */
+ @Test
+ public void confidenceTest() {
+ // TODO: test confidence
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/TransferAnswerCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/TransferAnswerCallbackTest.java
new file mode 100644
index 00000000..53a9a3c8
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/TransferAnswerCallbackTest.java
@@ -0,0 +1,165 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for TransferAnswerCallback
+ */
+public class TransferAnswerCallbackTest {
+ private final TransferAnswerCallback model = new TransferAnswerCallback();
+
+ /**
+ * Model tests for TransferAnswerCallback
+ */
+ @Test
+ public void testTransferAnswerCallback() {
+ // TODO: test TransferAnswerCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'answerTime'
+ */
+ @Test
+ public void answerTimeTest() {
+ // TODO: test answerTime
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'transferCallerId'
+ */
+ @Test
+ public void transferCallerIdTest() {
+ // TODO: test transferCallerId
+ }
+
+ /**
+ * Test the property 'transferTo'
+ */
+ @Test
+ public void transferToTest() {
+ // TODO: test transferTo
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/TransferCompleteCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/TransferCompleteCallbackTest.java
new file mode 100644
index 00000000..9a6eecc3
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/TransferCompleteCallbackTest.java
@@ -0,0 +1,189 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for TransferCompleteCallback
+ */
+public class TransferCompleteCallbackTest {
+ private final TransferCompleteCallback model = new TransferCompleteCallback();
+
+ /**
+ * Model tests for TransferCompleteCallback
+ */
+ @Test
+ public void testTransferCompleteCallback() {
+ // TODO: test TransferCompleteCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'answerTime'
+ */
+ @Test
+ public void answerTimeTest() {
+ // TODO: test answerTime
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'transferCallerId'
+ */
+ @Test
+ public void transferCallerIdTest() {
+ // TODO: test transferCallerId
+ }
+
+ /**
+ * Test the property 'transferTo'
+ */
+ @Test
+ public void transferToTest() {
+ // TODO: test transferTo
+ }
+
+ /**
+ * Test the property 'cause'
+ */
+ @Test
+ public void causeTest() {
+ // TODO: test cause
+ }
+
+ /**
+ * Test the property 'errorMessage'
+ */
+ @Test
+ public void errorMessageTest() {
+ // TODO: test errorMessage
+ }
+
+ /**
+ * Test the property 'errorId'
+ */
+ @Test
+ public void errorIdTest() {
+ // TODO: test errorId
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/TransferDisconnectCallbackTest.java b/src/test/java/com/bandwidth/sdk/model/TransferDisconnectCallbackTest.java
new file mode 100644
index 00000000..0b4c6061
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/TransferDisconnectCallbackTest.java
@@ -0,0 +1,205 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for TransferDisconnectCallback
+ */
+public class TransferDisconnectCallbackTest {
+ private final TransferDisconnectCallback model = new TransferDisconnectCallback();
+
+ /**
+ * Model tests for TransferDisconnectCallback
+ */
+ @Test
+ public void testTransferDisconnectCallback() {
+ // TODO: test TransferDisconnectCallback
+ }
+
+ /**
+ * Test the property 'eventType'
+ */
+ @Test
+ public void eventTypeTest() {
+ // TODO: test eventType
+ }
+
+ /**
+ * Test the property 'eventTime'
+ */
+ @Test
+ public void eventTimeTest() {
+ // TODO: test eventTime
+ }
+
+ /**
+ * Test the property 'accountId'
+ */
+ @Test
+ public void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /**
+ * Test the property 'applicationId'
+ */
+ @Test
+ public void applicationIdTest() {
+ // TODO: test applicationId
+ }
+
+ /**
+ * Test the property 'from'
+ */
+ @Test
+ public void fromTest() {
+ // TODO: test from
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'direction'
+ */
+ @Test
+ public void directionTest() {
+ // TODO: test direction
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+ /**
+ * Test the property 'callUrl'
+ */
+ @Test
+ public void callUrlTest() {
+ // TODO: test callUrl
+ }
+
+ /**
+ * Test the property 'parentCallId'
+ */
+ @Test
+ public void parentCallIdTest() {
+ // TODO: test parentCallId
+ }
+
+ /**
+ * Test the property 'enqueuedTime'
+ */
+ @Test
+ public void enqueuedTimeTest() {
+ // TODO: test enqueuedTime
+ }
+
+ /**
+ * Test the property 'startTime'
+ */
+ @Test
+ public void startTimeTest() {
+ // TODO: test startTime
+ }
+
+ /**
+ * Test the property 'answerTime'
+ */
+ @Test
+ public void answerTimeTest() {
+ // TODO: test answerTime
+ }
+
+ /**
+ * Test the property 'endTime'
+ */
+ @Test
+ public void endTimeTest() {
+ // TODO: test endTime
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+ /**
+ * Test the property 'transferCallerId'
+ */
+ @Test
+ public void transferCallerIdTest() {
+ // TODO: test transferCallerId
+ }
+
+ /**
+ * Test the property 'transferTo'
+ */
+ @Test
+ public void transferToTest() {
+ // TODO: test transferTo
+ }
+
+ /**
+ * Test the property 'cause'
+ */
+ @Test
+ public void causeTest() {
+ // TODO: test cause
+ }
+
+ /**
+ * Test the property 'errorMessage'
+ */
+ @Test
+ public void errorMessageTest() {
+ // TODO: test errorMessage
+ }
+
+ /**
+ * Test the property 'errorId'
+ */
+ @Test
+ public void errorIdTest() {
+ // TODO: test errorId
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/UpdateCallRecordingTest.java b/src/test/java/com/bandwidth/sdk/model/UpdateCallRecordingTest.java
new file mode 100644
index 00000000..058ec4e0
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/UpdateCallRecordingTest.java
@@ -0,0 +1,51 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.openapitools.client.model.RecordingStateEnum;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for UpdateCallRecording
+ */
+public class UpdateCallRecordingTest {
+ private final UpdateCallRecording model = new UpdateCallRecording();
+
+ /**
+ * Model tests for UpdateCallRecording
+ */
+ @Test
+ public void testUpdateCallRecording() {
+ // TODO: test UpdateCallRecording
+ }
+
+ /**
+ * Test the property 'state'
+ */
+ @Test
+ public void stateTest() {
+ // TODO: test state
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/UpdateCallTest.java b/src/test/java/com/bandwidth/sdk/model/UpdateCallTest.java
new file mode 100644
index 00000000..f65a3263
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/UpdateCallTest.java
@@ -0,0 +1,126 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.net.URI;
+import org.openapitools.client.model.CallStateEnum;
+import org.openapitools.client.model.RedirectMethodEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for UpdateCall
+ */
+public class UpdateCallTest {
+ private final UpdateCall model = new UpdateCall();
+
+ /**
+ * Model tests for UpdateCall
+ */
+ @Test
+ public void testUpdateCall() {
+ // TODO: test UpdateCall
+ }
+
+ /**
+ * Test the property 'state'
+ */
+ @Test
+ public void stateTest() {
+ // TODO: test state
+ }
+
+ /**
+ * Test the property 'redirectUrl'
+ */
+ @Test
+ public void redirectUrlTest() {
+ // TODO: test redirectUrl
+ }
+
+ /**
+ * Test the property 'redirectMethod'
+ */
+ @Test
+ public void redirectMethodTest() {
+ // TODO: test redirectMethod
+ }
+
+ /**
+ * Test the property 'username'
+ */
+ @Test
+ public void usernameTest() {
+ // TODO: test username
+ }
+
+ /**
+ * Test the property 'password'
+ */
+ @Test
+ public void passwordTest() {
+ // TODO: test password
+ }
+
+ /**
+ * Test the property 'redirectFallbackUrl'
+ */
+ @Test
+ public void redirectFallbackUrlTest() {
+ // TODO: test redirectFallbackUrl
+ }
+
+ /**
+ * Test the property 'redirectFallbackMethod'
+ */
+ @Test
+ public void redirectFallbackMethodTest() {
+ // TODO: test redirectFallbackMethod
+ }
+
+ /**
+ * Test the property 'fallbackUsername'
+ */
+ @Test
+ public void fallbackUsernameTest() {
+ // TODO: test fallbackUsername
+ }
+
+ /**
+ * Test the property 'fallbackPassword'
+ */
+ @Test
+ public void fallbackPasswordTest() {
+ // TODO: test fallbackPassword
+ }
+
+ /**
+ * Test the property 'tag'
+ */
+ @Test
+ public void tagTest() {
+ // TODO: test tag
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/UpdateConferenceMemberTest.java b/src/test/java/com/bandwidth/sdk/model/UpdateConferenceMemberTest.java
new file mode 100644
index 00000000..02e2f24b
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/UpdateConferenceMemberTest.java
@@ -0,0 +1,69 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for UpdateConferenceMember
+ */
+public class UpdateConferenceMemberTest {
+ private final UpdateConferenceMember model = new UpdateConferenceMember();
+
+ /**
+ * Model tests for UpdateConferenceMember
+ */
+ @Test
+ public void testUpdateConferenceMember() {
+ // TODO: test UpdateConferenceMember
+ }
+
+ /**
+ * Test the property 'mute'
+ */
+ @Test
+ public void muteTest() {
+ // TODO: test mute
+ }
+
+ /**
+ * Test the property 'hold'
+ */
+ @Test
+ public void holdTest() {
+ // TODO: test hold
+ }
+
+ /**
+ * Test the property 'callIdsToCoach'
+ */
+ @Test
+ public void callIdsToCoachTest() {
+ // TODO: test callIdsToCoach
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/UpdateConferenceTest.java b/src/test/java/com/bandwidth/sdk/model/UpdateConferenceTest.java
new file mode 100644
index 00000000..3016bcee
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/UpdateConferenceTest.java
@@ -0,0 +1,118 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.net.URI;
+import org.openapitools.client.model.ConferenceStateEnum;
+import org.openapitools.client.model.RedirectMethodEnum;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for UpdateConference
+ */
+public class UpdateConferenceTest {
+ private final UpdateConference model = new UpdateConference();
+
+ /**
+ * Model tests for UpdateConference
+ */
+ @Test
+ public void testUpdateConference() {
+ // TODO: test UpdateConference
+ }
+
+ /**
+ * Test the property 'status'
+ */
+ @Test
+ public void statusTest() {
+ // TODO: test status
+ }
+
+ /**
+ * Test the property 'redirectUrl'
+ */
+ @Test
+ public void redirectUrlTest() {
+ // TODO: test redirectUrl
+ }
+
+ /**
+ * Test the property 'redirectMethod'
+ */
+ @Test
+ public void redirectMethodTest() {
+ // TODO: test redirectMethod
+ }
+
+ /**
+ * Test the property 'username'
+ */
+ @Test
+ public void usernameTest() {
+ // TODO: test username
+ }
+
+ /**
+ * Test the property 'password'
+ */
+ @Test
+ public void passwordTest() {
+ // TODO: test password
+ }
+
+ /**
+ * Test the property 'redirectFallbackUrl'
+ */
+ @Test
+ public void redirectFallbackUrlTest() {
+ // TODO: test redirectFallbackUrl
+ }
+
+ /**
+ * Test the property 'redirectFallbackMethod'
+ */
+ @Test
+ public void redirectFallbackMethodTest() {
+ // TODO: test redirectFallbackMethod
+ }
+
+ /**
+ * Test the property 'fallbackUsername'
+ */
+ @Test
+ public void fallbackUsernameTest() {
+ // TODO: test fallbackUsername
+ }
+
+ /**
+ * Test the property 'fallbackPassword'
+ */
+ @Test
+ public void fallbackPasswordTest() {
+ // TODO: test fallbackPassword
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/VerifyCodeRequestTest.java b/src/test/java/com/bandwidth/sdk/model/VerifyCodeRequestTest.java
new file mode 100644
index 00000000..c3e6cda4
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/VerifyCodeRequestTest.java
@@ -0,0 +1,75 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import java.math.BigDecimal;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for VerifyCodeRequest
+ */
+public class VerifyCodeRequestTest {
+ private final VerifyCodeRequest model = new VerifyCodeRequest();
+
+ /**
+ * Model tests for VerifyCodeRequest
+ */
+ @Test
+ public void testVerifyCodeRequest() {
+ // TODO: test VerifyCodeRequest
+ }
+
+ /**
+ * Test the property 'to'
+ */
+ @Test
+ public void toTest() {
+ // TODO: test to
+ }
+
+ /**
+ * Test the property 'scope'
+ */
+ @Test
+ public void scopeTest() {
+ // TODO: test scope
+ }
+
+ /**
+ * Test the property 'expirationTimeInMinutes'
+ */
+ @Test
+ public void expirationTimeInMinutesTest() {
+ // TODO: test expirationTimeInMinutes
+ }
+
+ /**
+ * Test the property 'code'
+ */
+ @Test
+ public void codeTest() {
+ // TODO: test code
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/VerifyCodeResponseTest.java b/src/test/java/com/bandwidth/sdk/model/VerifyCodeResponseTest.java
new file mode 100644
index 00000000..0f3426b4
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/VerifyCodeResponseTest.java
@@ -0,0 +1,50 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for VerifyCodeResponse
+ */
+public class VerifyCodeResponseTest {
+ private final VerifyCodeResponse model = new VerifyCodeResponse();
+
+ /**
+ * Model tests for VerifyCodeResponse
+ */
+ @Test
+ public void testVerifyCodeResponse() {
+ // TODO: test VerifyCodeResponse
+ }
+
+ /**
+ * Test the property 'valid'
+ */
+ @Test
+ public void validTest() {
+ // TODO: test valid
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/VoiceApiErrorTest.java b/src/test/java/com/bandwidth/sdk/model/VoiceApiErrorTest.java
new file mode 100644
index 00000000..b2a33c76
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/VoiceApiErrorTest.java
@@ -0,0 +1,67 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.openapitools.jackson.nullable.JsonNullable;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for VoiceApiError
+ */
+public class VoiceApiErrorTest {
+ private final VoiceApiError model = new VoiceApiError();
+
+ /**
+ * Model tests for VoiceApiError
+ */
+ @Test
+ public void testVoiceApiError() {
+ // TODO: test VoiceApiError
+ }
+
+ /**
+ * Test the property 'type'
+ */
+ @Test
+ public void typeTest() {
+ // TODO: test type
+ }
+
+ /**
+ * Test the property 'description'
+ */
+ @Test
+ public void descriptionTest() {
+ // TODO: test description
+ }
+
+ /**
+ * Test the property 'id'
+ */
+ @Test
+ public void idTest() {
+ // TODO: test id
+ }
+
+}
diff --git a/src/test/java/com/bandwidth/sdk/model/VoiceCodeResponseTest.java b/src/test/java/com/bandwidth/sdk/model/VoiceCodeResponseTest.java
new file mode 100644
index 00000000..844ad78f
--- /dev/null
+++ b/src/test/java/com/bandwidth/sdk/model/VoiceCodeResponseTest.java
@@ -0,0 +1,50 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.bandwidth.sdk.model;
+
+import com.google.gson.TypeAdapter;
+import com.google.gson.annotations.JsonAdapter;
+import com.google.gson.annotations.SerializedName;
+import com.google.gson.stream.JsonReader;
+import com.google.gson.stream.JsonWriter;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.io.IOException;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+
+/**
+ * Model tests for VoiceCodeResponse
+ */
+public class VoiceCodeResponseTest {
+ private final VoiceCodeResponse model = new VoiceCodeResponse();
+
+ /**
+ * Model tests for VoiceCodeResponse
+ */
+ @Test
+ public void testVoiceCodeResponse() {
+ // TODO: test VoiceCodeResponse
+ }
+
+ /**
+ * Test the property 'callId'
+ */
+ @Test
+ public void callIdTest() {
+ // TODO: test callId
+ }
+
+}
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/BridgeVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/BridgeVerbTest.java
similarity index 87%
rename from src/test/java/org/openapitools/client/model/unit/bxml/BridgeVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/BridgeVerbTest.java
index a015c3ec..a77d94bf 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/BridgeVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/BridgeVerbTest.java
@@ -5,10 +5,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.Bridge;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.Bridge;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
@@ -34,4 +34,4 @@ public void bridgeVerbWorks() throws JAXBException {
assertThat(new Bxml().with(bridge).toBxml(jaxbContext), is(expectedBxml));
}
-};
\ No newline at end of file
+};
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/BxmlVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/BxmlVerbTest.java
similarity index 82%
rename from src/test/java/org/openapitools/client/model/unit/bxml/BxmlVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/BxmlVerbTest.java
index 2a4b6898..b4d96f0c 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/BxmlVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/BxmlVerbTest.java
@@ -4,14 +4,14 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
-
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.Forward;
-import org.openapitools.client.model.bxml.Tag;
-import org.openapitools.client.model.bxml.Pause;
-import org.openapitools.client.model.bxml.SendDtmf;
-import org.openapitools.client.model.DiversionReason;
+package com.bandwidth.sdk.model.unit.bxml;
+
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.Forward;
+import com.bandwidth.sdk.model.bxml.Tag;
+import com.bandwidth.sdk.model.bxml.Pause;
+import com.bandwidth.sdk.model.bxml.SendDtmf;
+import com.bandwidth.sdk.model.DiversionReason;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/ConferenceVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/ConferenceVerbTest.java
similarity index 93%
rename from src/test/java/org/openapitools/client/model/unit/bxml/ConferenceVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/ConferenceVerbTest.java
index aa9ac6f7..1b167afc 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/ConferenceVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/ConferenceVerbTest.java
@@ -6,10 +6,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.Conference;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.Conference;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/ForwardVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/ForwardVerbTest.java
similarity index 84%
rename from src/test/java/org/openapitools/client/model/unit/bxml/ForwardVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/ForwardVerbTest.java
index 2f106086..596d1125 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/ForwardVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/ForwardVerbTest.java
@@ -6,12 +6,12 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.Forward;
-import org.openapitools.client.model.DiversionReason;
-import org.openapitools.client.model.DiversionTreatment;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.Forward;
+import com.bandwidth.sdk.model.DiversionReason;
+import com.bandwidth.sdk.model.DiversionTreatment;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/GatherVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/GatherVerbTest.java
similarity index 90%
rename from src/test/java/org/openapitools/client/model/unit/bxml/GatherVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/GatherVerbTest.java
index e8de4c1b..5e0b7baf 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/GatherVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/GatherVerbTest.java
@@ -6,12 +6,12 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.Gather;
-import org.openapitools.client.model.bxml.SpeakSentence;
-import org.openapitools.client.model.bxml.PlayAudio;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.Gather;
+import com.bandwidth.sdk.model.bxml.SpeakSentence;
+import com.bandwidth.sdk.model.bxml.PlayAudio;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/HangupVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/HangupVerbTest.java
similarity index 82%
rename from src/test/java/org/openapitools/client/model/unit/bxml/HangupVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/HangupVerbTest.java
index f633436d..c0dbafe3 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/HangupVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/HangupVerbTest.java
@@ -5,10 +5,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.Hangup;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.Hangup;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/PauseRecordingVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/PauseRecordingVerbTest.java
similarity index 82%
rename from src/test/java/org/openapitools/client/model/unit/bxml/PauseRecordingVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/PauseRecordingVerbTest.java
index 9ad924ff..2e746855 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/PauseRecordingVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/PauseRecordingVerbTest.java
@@ -5,10 +5,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.PauseRecording;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.PauseRecording;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/PauseVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/PauseVerbTest.java
similarity index 82%
rename from src/test/java/org/openapitools/client/model/unit/bxml/PauseVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/PauseVerbTest.java
index 31fff421..ee63c4e5 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/PauseVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/PauseVerbTest.java
@@ -5,10 +5,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.Pause;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.Pause;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
@@ -27,4 +27,3 @@ public void pauseVerbWorks() throws JAXBException {
assertThat(new Bxml().with(new Pause(2d)).toBxml(jaxbContext), is(expectedBxml));
};
};
-
\ No newline at end of file
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/PlayAudioVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/PlayAudioVerbTest.java
similarity index 87%
rename from src/test/java/org/openapitools/client/model/unit/bxml/PlayAudioVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/PlayAudioVerbTest.java
index e7cbe0f3..ca68370e 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/PlayAudioVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/PlayAudioVerbTest.java
@@ -6,10 +6,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.PlayAudio;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.PlayAudio;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/RecordVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/RecordVerbTest.java
similarity index 87%
rename from src/test/java/org/openapitools/client/model/unit/bxml/RecordVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/RecordVerbTest.java
index 8cc49d8d..702d24bd 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/RecordVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/RecordVerbTest.java
@@ -6,10 +6,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.Record;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.Record;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/RedirectVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/RedirectVerbTest.java
similarity index 88%
rename from src/test/java/org/openapitools/client/model/unit/bxml/RedirectVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/RedirectVerbTest.java
index 063557f0..922935f3 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/RedirectVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/RedirectVerbTest.java
@@ -6,10 +6,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.Redirect;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.Redirect;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/ResponseVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/ResponseVerbTest.java
similarity index 84%
rename from src/test/java/org/openapitools/client/model/unit/bxml/ResponseVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/ResponseVerbTest.java
index 66062a34..59efd373 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/ResponseVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/ResponseVerbTest.java
@@ -4,14 +4,14 @@
* @throws JAXBException if the test fails
*/
- package org.openapitools.client.model.unit.bxml;
+ package com.bandwidth.sdk.model.unit.bxml;
- import org.openapitools.client.model.bxml.Response;
- import org.openapitools.client.model.bxml.Forward;
- import org.openapitools.client.model.bxml.Tag;
- import org.openapitools.client.model.bxml.Pause;
- import org.openapitools.client.model.bxml.SendDtmf;
- import org.openapitools.client.model.DiversionReason;
+ import com.bandwidth.sdk.model.bxml.Response;
+ import com.bandwidth.sdk.model.bxml.Forward;
+ import com.bandwidth.sdk.model.bxml.Tag;
+ import com.bandwidth.sdk.model.bxml.Pause;
+ import com.bandwidth.sdk.model.bxml.SendDtmf;
+ import com.bandwidth.sdk.model.DiversionReason;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
@@ -61,4 +61,3 @@ public void withVerbsWorks() {
assertThat(response.getVerbs().get(1), is(sendDtmf));
}
};
-
\ No newline at end of file
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/ResumeRecordingVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/ResumeRecordingVerbTest.java
similarity index 82%
rename from src/test/java/org/openapitools/client/model/unit/bxml/ResumeRecordingVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/ResumeRecordingVerbTest.java
index b42aa317..cd379239 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/ResumeRecordingVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/ResumeRecordingVerbTest.java
@@ -5,10 +5,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.ResumeRecording;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.ResumeRecording;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/RingVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/RingVerbTest.java
similarity index 83%
rename from src/test/java/org/openapitools/client/model/unit/bxml/RingVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/RingVerbTest.java
index adb495ba..53f03420 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/RingVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/RingVerbTest.java
@@ -5,10 +5,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.Ring;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.Ring;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
@@ -27,4 +27,3 @@ public void ringVerbWorks() throws JAXBException {
assertThat(new Bxml().with(new Ring(30d, true)).toBxml(jaxbContext), is(expectedBxml));
};
};
-
\ No newline at end of file
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/SendDtmfVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/SendDtmfVerbTest.java
similarity index 83%
rename from src/test/java/org/openapitools/client/model/unit/bxml/SendDtmfVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/SendDtmfVerbTest.java
index 54213369..5cd533b6 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/SendDtmfVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/SendDtmfVerbTest.java
@@ -5,10 +5,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.SendDtmf;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.SendDtmf;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/SpeakSentenceVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/SpeakSentenceVerbTest.java
similarity index 84%
rename from src/test/java/org/openapitools/client/model/unit/bxml/SpeakSentenceVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/SpeakSentenceVerbTest.java
index cd5842c0..127e5f99 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/SpeakSentenceVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/SpeakSentenceVerbTest.java
@@ -6,12 +6,12 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.SpeakSentence;
-import org.openapitools.client.model.bxml.utils.TtsGender;
-import org.openapitools.client.model.bxml.utils.TtsLocale;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.SpeakSentence;
+import com.bandwidth.sdk.model.bxml.utils.TtsGender;
+import com.bandwidth.sdk.model.bxml.utils.TtsLocale;
import jakarta.xml.bind.JAXBContext;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/StartGatherVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StartGatherVerbTest.java
similarity index 89%
rename from src/test/java/org/openapitools/client/model/unit/bxml/StartGatherVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/StartGatherVerbTest.java
index 17be0e5a..aee87abc 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/StartGatherVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StartGatherVerbTest.java
@@ -6,10 +6,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.StartGather;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.StartGather;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/StartRecordingVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StartRecordingVerbTest.java
similarity index 91%
rename from src/test/java/org/openapitools/client/model/unit/bxml/StartRecordingVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/StartRecordingVerbTest.java
index 05042148..29559551 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/StartRecordingVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StartRecordingVerbTest.java
@@ -6,10 +6,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.StartRecording;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.StartRecording;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/StartStreamVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StartStreamVerbTest.java
similarity index 88%
rename from src/test/java/org/openapitools/client/model/unit/bxml/StartStreamVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/StartStreamVerbTest.java
index 36fd58f0..40ac434f 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/StartStreamVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StartStreamVerbTest.java
@@ -6,12 +6,12 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.CallDirectionEnum;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.StartStream;
-import org.openapitools.client.model.bxml.StreamParam;
+import com.bandwidth.sdk.model.CallDirectionEnum;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.StartStream;
+import com.bandwidth.sdk.model.bxml.StreamParam;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/StartTranscriptionVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StartTranscriptionVerbTest.java
similarity index 88%
rename from src/test/java/org/openapitools/client/model/unit/bxml/StartTranscriptionVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/StartTranscriptionVerbTest.java
index dc36e52a..d4a8be72 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/StartTranscriptionVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StartTranscriptionVerbTest.java
@@ -6,12 +6,12 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.CallDirectionEnum;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.StartTranscription;
-import org.openapitools.client.model.bxml.CustomParam;
+import com.bandwidth.sdk.model.CallDirectionEnum;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.StartTranscription;
+import com.bandwidth.sdk.model.bxml.CustomParam;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/StopGatherVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StopGatherVerbTest.java
similarity index 82%
rename from src/test/java/org/openapitools/client/model/unit/bxml/StopGatherVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/StopGatherVerbTest.java
index 60544be1..ab5d59ed 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/StopGatherVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StopGatherVerbTest.java
@@ -5,10 +5,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.StopGather;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.StopGather;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/StopRecordingVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StopRecordingVerbTest.java
similarity index 82%
rename from src/test/java/org/openapitools/client/model/unit/bxml/StopRecordingVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/StopRecordingVerbTest.java
index 894ae40e..d8c18d8e 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/StopRecordingVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StopRecordingVerbTest.java
@@ -5,10 +5,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.StopRecording;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.StopRecording;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/StopStreamVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StopStreamVerbTest.java
similarity index 82%
rename from src/test/java/org/openapitools/client/model/unit/bxml/StopStreamVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/StopStreamVerbTest.java
index 54fa4297..80ae2442 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/StopStreamVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StopStreamVerbTest.java
@@ -5,10 +5,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.StopStream;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.StopStream;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/StopTranscriptionVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StopTranscriptionVerbTest.java
similarity index 82%
rename from src/test/java/org/openapitools/client/model/unit/bxml/StopTranscriptionVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/StopTranscriptionVerbTest.java
index c619af47..3339c18b 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/StopTranscriptionVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StopTranscriptionVerbTest.java
@@ -5,10 +5,10 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.StopTranscription;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.StopTranscription;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/TagVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/TagVerbTest.java
similarity index 82%
rename from src/test/java/org/openapitools/client/model/unit/bxml/TagVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/TagVerbTest.java
index 0809c24b..e83f9c92 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/TagVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/TagVerbTest.java
@@ -5,10 +5,10 @@
* @throws JAXBException if the test fails
*/
- package org.openapitools.client.model.unit.bxml;
+ package com.bandwidth.sdk.model.unit.bxml;
- import org.openapitools.client.model.bxml.Bxml;
- import org.openapitools.client.model.bxml.Tag;
+ import com.bandwidth.sdk.model.bxml.Bxml;
+ import com.bandwidth.sdk.model.bxml.Tag;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
@@ -27,4 +27,3 @@ public void tagVerbWorks() throws JAXBException {
assertThat(new Bxml().with(new Tag("Tag Test Content")).toBxml(jaxbContext), is(expectedBxml));
};
};
-
\ No newline at end of file
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/TransferVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/TransferVerbTest.java
similarity index 92%
rename from src/test/java/org/openapitools/client/model/unit/bxml/TransferVerbTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/TransferVerbTest.java
index 0374554d..44bc4225 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/TransferVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/TransferVerbTest.java
@@ -6,12 +6,12 @@
* @throws JAXBException if the test fails
*/
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.Bxml;
-import org.openapitools.client.model.bxml.Transfer;
-import org.openapitools.client.model.bxml.PhoneNumber;
-import org.openapitools.client.model.bxml.SipUri;
+import com.bandwidth.sdk.model.bxml.Bxml;
+import com.bandwidth.sdk.model.bxml.Transfer;
+import com.bandwidth.sdk.model.bxml.PhoneNumber;
+import com.bandwidth.sdk.model.bxml.SipUri;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml.bind.JAXBException;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/TtsGenderTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/TtsGenderTest.java
similarity index 86%
rename from src/test/java/org/openapitools/client/model/unit/bxml/TtsGenderTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/TtsGenderTest.java
index f30a8924..c37ce20a 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/TtsGenderTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/TtsGenderTest.java
@@ -1,6 +1,6 @@
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.utils.TtsGender;
+import com.bandwidth.sdk.model.bxml.utils.TtsGender;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/TtsLocaleTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/TtsLocaleTest.java
similarity index 87%
rename from src/test/java/org/openapitools/client/model/unit/bxml/TtsLocaleTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/TtsLocaleTest.java
index 903c9682..34347448 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/TtsLocaleTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/TtsLocaleTest.java
@@ -1,6 +1,6 @@
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.utils.TtsLocale;
+import com.bandwidth.sdk.model.bxml.utils.TtsLocale;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
diff --git a/src/test/java/org/openapitools/client/model/unit/bxml/TtsVoiceTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/TtsVoiceTest.java
similarity index 83%
rename from src/test/java/org/openapitools/client/model/unit/bxml/TtsVoiceTest.java
rename to src/test/java/com/bandwidth/sdk/model/unit/bxml/TtsVoiceTest.java
index 26a467bc..c29dad47 100644
--- a/src/test/java/org/openapitools/client/model/unit/bxml/TtsVoiceTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/TtsVoiceTest.java
@@ -1,8 +1,8 @@
-package org.openapitools.client.model.unit.bxml;
+package com.bandwidth.sdk.model.unit.bxml;
-import org.openapitools.client.model.bxml.utils.TtsGender;
-import org.openapitools.client.model.bxml.utils.TtsLocale;
-import org.openapitools.client.model.bxml.utils.TtsVoice;
+import com.bandwidth.sdk.model.bxml.utils.TtsGender;
+import com.bandwidth.sdk.model.bxml.utils.TtsLocale;
+import com.bandwidth.sdk.model.bxml.utils.TtsVoice;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
diff --git a/src/test/java/org/openapitools/client/utils/CallCleanup.java b/src/test/java/com/bandwidth/sdk/utils/CallCleanup.java
similarity index 93%
rename from src/test/java/org/openapitools/client/utils/CallCleanup.java
rename to src/test/java/com/bandwidth/sdk/utils/CallCleanup.java
index b0c8f672..15c4ebe7 100644
--- a/src/test/java/org/openapitools/client/utils/CallCleanup.java
+++ b/src/test/java/com/bandwidth/sdk/utils/CallCleanup.java
@@ -1,17 +1,17 @@
-package org.openapitools.client.utils;
+package com.bandwidth.sdk.utils;
import java.util.List;
import java.util.concurrent.TimeUnit;
-import org.openapitools.client.api.CallsApiTest;
-import org.openapitools.client.api.ConferencesApiTest;
-import org.openapitools.client.api.RecordingsApiTest;
+import com.bandwidth.sdk.api.CallsApiTest;
+import com.bandwidth.sdk.api.ConferencesApiTest;
+import com.bandwidth.sdk.api.RecordingsApiTest;
import org.openapitools.client.model.CallStateEnum;
import org.openapitools.client.model.UpdateCall;
import org.openapitools.client.ApiException;
import org.openapitools.client.ApiResponse;
-import static org.openapitools.client.utils.TestingEnvironmentVariables.*;
+import static com.bandwidth.sdk.utils.TestingEnvironmentVariables.*;
public class CallCleanup {
private static int TEST_SLEEP = 5;
diff --git a/src/test/java/org/openapitools/client/utils/MantecaStatusResponse.java b/src/test/java/com/bandwidth/sdk/utils/MantecaStatusResponse.java
similarity index 88%
rename from src/test/java/org/openapitools/client/utils/MantecaStatusResponse.java
rename to src/test/java/com/bandwidth/sdk/utils/MantecaStatusResponse.java
index ac3d047f..29eb3ede 100644
--- a/src/test/java/org/openapitools/client/utils/MantecaStatusResponse.java
+++ b/src/test/java/com/bandwidth/sdk/utils/MantecaStatusResponse.java
@@ -1,4 +1,4 @@
-package org.openapitools.client.utils;
+package com.bandwidth.sdk.utils;
public class MantecaStatusResponse {
public Boolean callRecorded;
diff --git a/src/test/java/org/openapitools/client/utils/TestingEnvironmentVariables.java b/src/test/java/com/bandwidth/sdk/utils/TestingEnvironmentVariables.java
similarity index 98%
rename from src/test/java/org/openapitools/client/utils/TestingEnvironmentVariables.java
rename to src/test/java/com/bandwidth/sdk/utils/TestingEnvironmentVariables.java
index 9cc6b445..d7f22105 100644
--- a/src/test/java/org/openapitools/client/utils/TestingEnvironmentVariables.java
+++ b/src/test/java/com/bandwidth/sdk/utils/TestingEnvironmentVariables.java
@@ -1,4 +1,4 @@
-package org.openapitools.client.utils;
+package com.bandwidth.sdk.utils;
public final class TestingEnvironmentVariables {
public static final String BW_USERNAME = System.getenv("BW_USERNAME");
diff --git a/src/test/java/org/openapitools/client/api/CallsApiTest.java b/src/test/java/org/openapitools/client/api/CallsApiTest.java
index 97ef301b..33a499dd 100644
--- a/src/test/java/org/openapitools/client/api/CallsApiTest.java
+++ b/src/test/java/org/openapitools/client/api/CallsApiTest.java
@@ -1,400 +1,100 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
package org.openapitools.client.api;
-import org.openapitools.client.ApiResponse;
-import org.openapitools.client.ApiException;
-import org.openapitools.client.ApiClient;
-import org.openapitools.client.auth.HttpBasicAuth;
-import org.openapitools.client.Configuration;
-import org.openapitools.client.model.CallbackMethodEnum;
+import com.bandwidth.sdk.ApiException;
+import org.openapitools.client.model.CallState;
import org.openapitools.client.model.CreateCall;
import org.openapitools.client.model.CreateCallResponse;
-import org.openapitools.client.model.CallDirectionEnum;
-import org.openapitools.client.model.CallState;
-import org.openapitools.client.model.CallStateEnum;
-import org.openapitools.client.model.MachineDetectionConfiguration;
-import org.openapitools.client.model.MachineDetectionModeEnum;
import org.openapitools.client.model.UpdateCall;
-import org.junit.jupiter.api.BeforeAll;
-import org.junit.jupiter.api.MethodOrderer;
-import org.junit.jupiter.api.Order;
-import org.junit.jupiter.api.AfterAll;
+import org.openapitools.client.model.VoiceApiError;
+import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.TestInstance;
-import org.junit.jupiter.api.TestMethodOrder;
-import org.junit.jupiter.api.Assertions;
-import java.net.URI;
-import java.net.URISyntaxException;
import java.util.ArrayList;
+import java.util.HashMap;
import java.util.List;
-import java.util.concurrent.TimeUnit;
+import java.util.Map;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.CoreMatchers.instanceOf;
-import static org.hamcrest.Matchers.is;
-import static org.hamcrest.Matchers.anyOf;
-import static org.hamcrest.beans.HasPropertyWithValue.hasProperty;
-
-import static org.openapitools.client.utils.TestingEnvironmentVariables.*;
-import static org.openapitools.client.utils.CallCleanup.Cleanup;
-
-@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
-@TestInstance(TestInstance.Lifecycle.PER_CLASS)
+/**
+ * API tests for CallsApi
+ */
+@Disabled
public class CallsApiTest {
- public ApiClient defaultClient = Configuration.getDefaultApiClient();
- public HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
- public final CallsApi api = new CallsApi(defaultClient);
-
- private static List callIdList = new ArrayList();
- private static MachineDetectionConfiguration machineDetection = new MachineDetectionConfiguration();
- private static CreateCall createCallBody = new CreateCall();
- private static CreateCall createMantecaCallBody = new CreateCall();
- private static UpdateCall updateMantecaCallBody = new UpdateCall();
- private static UpdateCall completeMantecaCallBody = new UpdateCall();
- private static URI answerUrl;
- private static URI mantecaAnswerUrl;
- private static URI mantecaRedirectUrl;
- private static URI fallbackUrl;
- private static URI disconnectUrl;
- private static URI machineDetectionUrl;
- private static URI machineDetectionCompleteUrl;
- private static CallbackMethodEnum callbackMethod = CallbackMethodEnum.POST;
- private static String testCallId = "Call-Id";
- private static String testXmlBody = "This is a test bxml response";
- private static int TEST_SLEEP = 3;
-
- @BeforeAll
- public static void setupBeforeClass() throws URISyntaxException {
- answerUrl = new URI(BASE_CALLBACK_URL);
- mantecaAnswerUrl = new URI(MANTECA_BASE_URL + "/bxml/pause");
- mantecaRedirectUrl = new URI(MANTECA_BASE_URL + "/bxml/pause");
- fallbackUrl = new URI("https://www.myFallbackServer.com/webhooks/answer");
- disconnectUrl = new URI("https://myServer.com/bandwidth/webhooks/disconnectUrl");
- machineDetectionUrl = new URI("https://myServer.com/bandwidth/webhooks/machineDetectionComplete");
- machineDetectionCompleteUrl = new URI(
- "https://myFallbackServer.com/bandwidth/webhooks/machineDetectionComplete");
-
- machineDetection.setMode(MachineDetectionModeEnum.ASYNC);
- machineDetection.setDetectionTimeout(15.0);
- machineDetection.setSilenceTimeout(10.0);
- machineDetection.setSpeechThreshold(10.0);
- machineDetection.setSpeechEndThreshold(5.0);
- machineDetection.setMachineSpeechEndThreshold(5.0);
- machineDetection.setDelayResult(false);
- machineDetection.setCallbackUrl(machineDetectionUrl);
- machineDetection.setCallbackMethod(callbackMethod);
- machineDetection.setUsername("mySecretUsername");
- machineDetection.setPassword("mySecretPassword1!");
- machineDetection.setFallbackUrl(machineDetectionCompleteUrl);
- machineDetection.setFallbackMethod(callbackMethod);
- machineDetection.setFallbackUsername("mySecretUsername");
- machineDetection.setFallbackPassword("mySecretPassword1!");
-
- createCallBody.setTo(USER_NUMBER);
- createCallBody.setFrom(BW_NUMBER);
- createCallBody.setApplicationId(BW_VOICE_APPLICATION_ID);
- createCallBody.setAnswerUrl(answerUrl);
- createCallBody.setAnswerMethod(callbackMethod);
- createCallBody.setUsername("mySecretUsername");
- createCallBody.setPassword("mySecretPassword1!");
- createCallBody.setAnswerFallbackUrl(fallbackUrl);
- createCallBody.setAnswerFallbackMethod(callbackMethod);
- createCallBody.setFallbackUsername("mySecretUsername");
- createCallBody.setFallbackPassword("mySecretPassword1!");
- createCallBody.setDisconnectUrl(disconnectUrl);
- createCallBody.setDisconnectMethod(callbackMethod);
- createCallBody.setCallTimeout(30.0);
- createCallBody.setCallbackTimeout(15.0);
- createCallBody.setMachineDetection(machineDetection);
- createCallBody.setPriority(5);
- createCallBody.setTag("tag_example");
-
- createMantecaCallBody.setFrom(MANTECA_ACTIVE_NUMBER);
- createMantecaCallBody.setTo(MANTECA_IDLE_NUMBER);
- createMantecaCallBody.setApplicationId(MANTECA_APPLICATION_ID);
- createMantecaCallBody.setAnswerUrl(mantecaAnswerUrl);
-
- updateMantecaCallBody.setState(CallStateEnum.ACTIVE);
- updateMantecaCallBody.setRedirectUrl(mantecaRedirectUrl);
-
- completeMantecaCallBody.setState(CallStateEnum.COMPLETED);
- }
-
- @AfterAll
- public void tearDownAfterClass() throws Exception {
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
- Cleanup(this, callIdList);
- }
-
- @Test
- @Order(1)
- public void createCall() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- ApiResponse response = api.createCallWithHttpInfo(BW_ACCOUNT_ID, createCallBody);
- callIdList.add(response.getData().getCallId());
-
- assertThat(response.getStatusCode(), is(201));
- assertThat(response.getData(), hasProperty("callId", is(instanceOf(String.class))));
- assertThat(response.getData(), hasProperty("accountId", is(BW_ACCOUNT_ID)));
- assertThat(response.getData(), hasProperty("applicationId", is(BW_VOICE_APPLICATION_ID)));
- assertThat(response.getData(), hasProperty("to", is(USER_NUMBER)));
- assertThat(response.getData(), hasProperty("from", is(BW_NUMBER)));
- }
-
- @Test
- public void createCallBadRequest() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- CreateCall badCallRequest = new CreateCall();
- createCallBody.setTo("invalid_number");
- createCallBody.setFrom(BW_NUMBER);
- createCallBody.setApplicationId(BW_VOICE_APPLICATION_ID);
- createCallBody.setAnswerUrl(answerUrl);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.createCallWithHttpInfo(BW_ACCOUNT_ID, badCallRequest));
-
- assertThat(exception.getCode(), is(400));
- }
-
- @Test
- public void createCallUnauthorized() throws ApiException {
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- CreateCall badCallRequest = new CreateCall();
- createCallBody.setTo("invalid_number");
- createCallBody.setFrom(BW_NUMBER);
- createCallBody.setApplicationId(BW_VOICE_APPLICATION_ID);
- createCallBody.setAnswerUrl(answerUrl);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.createCallWithHttpInfo(BW_ACCOUNT_ID, badCallRequest));
-
- assertThat(exception.getCode(), is(401));
- }
-
- @Test
- public void createCallForbidden() throws ApiException {
- Basic.setUsername(FORBIDDEN_USERNAME);
- Basic.setPassword(FORBIDDEN_PASSWORD);
-
- CreateCall badCallRequest = new CreateCall();
- createCallBody.setTo("invalid_number");
- createCallBody.setFrom(BW_NUMBER);
- createCallBody.setApplicationId(BW_VOICE_APPLICATION_ID);
- createCallBody.setAnswerUrl(answerUrl);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.createCallWithHttpInfo(BW_ACCOUNT_ID, badCallRequest));
-
- assertThat(exception.getCode(), is(403));
- }
-
- // @Test
- // @Order(2)
- // public void getCallState() throws ApiException, InterruptedException {
- // Basic.setUsername(BW_USERNAME);
- // Basic.setPassword(BW_PASSWORD);
-
- // TimeUnit.SECONDS.sleep(TEST_SLEEP);
- // ApiResponse response = api.getCallStateWithHttpInfo(BW_ACCOUNT_ID, callIdList.get(0));
-
- // assertThat(response.getStatusCode(), anyOf(is(200),is(404)));
- // assertThat(response.getData(), hasProperty("callId", is(instanceOf(String.class))));
- // assertThat(response.getData(), hasProperty("state", is(instanceOf(String.class))));
- // assertThat(response.getData(), hasProperty("direction", is(CallDirectionEnum.OUTBOUND)));
- // }
-
- @Test
- public void getCallStateUnauthorized() throws ApiException {
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.getCallStateWithHttpInfo(BW_ACCOUNT_ID, "not a call id"));
-
- assertThat(exception.getCode(), is(401));
- }
-
- @Test
- public void getCallStateForbidden() throws ApiException {
- Basic.setUsername(FORBIDDEN_USERNAME);
- Basic.setPassword(FORBIDDEN_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.getCallStateWithHttpInfo(BW_ACCOUNT_ID, "not a call id"));
-
- assertThat(exception.getCode(), is(403));
- }
-
- @Test
- public void getCallStateNotFound() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.getCallStateWithHttpInfo(BW_ACCOUNT_ID, "not a call id"));
-
- assertThat(exception.getCode(), is(404));
- }
- @Test
- @Order(3)
- public void updateCall() throws ApiException, InterruptedException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- // Create call
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
- ApiResponse createCallResponse = api.createCallWithHttpInfo(BW_ACCOUNT_ID,
- createMantecaCallBody);
- callIdList.add(createCallResponse.getData().getCallId());
-
- assertThat(createCallResponse.getStatusCode(), is(201));
-
- // Redirect call to different url
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
- ApiResponse updateCallResponse = api.updateCallWithHttpInfo(BW_ACCOUNT_ID,
- createCallResponse.getData().getCallId(), updateMantecaCallBody);
-
- assertThat(updateCallResponse.getStatusCode(), is(200));
-
- // Complete call
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
- ApiResponse completeCallResponse = api.updateCallWithHttpInfo(BW_ACCOUNT_ID,
- createCallResponse.getData().getCallId(), completeMantecaCallBody);
-
- assertThat(completeCallResponse.getStatusCode(), is(200));
+ private final CallsApi api = new CallsApi();
+
+ /**
+ * Create Call
+ *
+ * Creates an outbound phone call. All calls are initially queued. Your outbound calls will initiated at a specific dequeueing rate, enabling your application to \"fire and forget\" when creating calls. Queued calls may not be modified until they are dequeued and placed, but may be removed from your queue on demand. <b>Please note:</b> Calls submitted to your queue will be placed approximately in order, but exact ordering is not guaranteed.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void createCallTest() throws ApiException {
+ String accountId = null;
+ CreateCall createCall = null;
+ CreateCallResponse response = api.createCall(accountId, createCall);
+ // TODO: test validations
+ }
+
+ /**
+ * Get Call State Information
+ *
+ * Retrieve the current state of a specific call. This information is near-realtime, so it may take a few minutes for your call to be accessible using this endpoint. **Note**: Call information is kept for 7 days after the calls are hung up. If you attempt to retrieve information for a call that is older than 7 days, you will get an HTTP 404 response.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getCallStateTest() throws ApiException {
+ String accountId = null;
+ String callId = null;
+ CallState response = api.getCallState(accountId, callId);
+ // TODO: test validations
+ }
+
+ /**
+ * Update Call
+ *
+ * Interrupts and redirects a call to a different URL that should return a BXML document.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void updateCallTest() throws ApiException {
+ String accountId = null;
+ String callId = null;
+ UpdateCall updateCall = null;
+ api.updateCall(accountId, callId, updateCall);
+ // TODO: test validations
+ }
+
+ /**
+ * Update Call BXML
+ *
+ * Interrupts and replaces an active call's BXML document.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void updateCallBxmlTest() throws ApiException {
+ String accountId = null;
+ String callId = null;
+ String body = null;
+ api.updateCallBxml(accountId, callId, body);
+ // TODO: test validations
}
- @Test
- public void updateCallBadRequest() throws ApiException, InterruptedException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- UpdateCall badRequest = new UpdateCall();
- badRequest.state(null);
-
- // Create call
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
- ApiResponse createCallResponse = api.createCallWithHttpInfo(BW_ACCOUNT_ID,
- createMantecaCallBody);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.updateCallWithHttpInfo(BW_ACCOUNT_ID, createCallResponse.getData().getCallId(),
- badRequest));
-
- assertThat(exception.getCode(), is(400));
- }
-
- @Test
- public void updateCallUnauthorized() throws ApiException {
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.updateCallWithHttpInfo(BW_ACCOUNT_ID, testCallId,
- new UpdateCall().state(CallStateEnum.COMPLETED)));
-
- assertThat(exception.getCode(), is(401));
-
- }
-
- @Test
- public void updateCallForbidden() throws ApiException {
- Basic.setUsername(FORBIDDEN_USERNAME);
- Basic.setPassword(FORBIDDEN_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.updateCallWithHttpInfo(BW_ACCOUNT_ID, testCallId,
- new UpdateCall().state(CallStateEnum.COMPLETED)));
-
- assertThat(exception.getCode(), is(403));
- }
-
- @Test
- public void updateCallNotFound() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.updateCallWithHttpInfo(BW_ACCOUNT_ID, testCallId,
- new UpdateCall().state(CallStateEnum.COMPLETED)));
-
- assertThat(exception.getCode(), is(404));
- }
-
- @Test
- @Order(4)
- public void updateCallBxml() throws ApiException, InterruptedException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- // Create call
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
- ApiResponse createCallResponse = api.createCallWithHttpInfo(BW_ACCOUNT_ID,
- createMantecaCallBody);
- callIdList.add(createCallResponse.getData().getCallId());
-
- assertThat(createCallResponse.getStatusCode(), is(201));
-
- // Redirect call to different url
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
- ApiResponse updateCallResponse = api.updateCallBxmlWithHttpInfo(BW_ACCOUNT_ID,
- createCallResponse.getData().getCallId(), testXmlBody);
-
- assertThat(updateCallResponse.getStatusCode(), is(204));
-
- // Complete call
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
- ApiResponse completeCallResponse = api.updateCallWithHttpInfo(BW_ACCOUNT_ID,
- createCallResponse.getData().getCallId(), completeMantecaCallBody);
-
- assertThat(completeCallResponse.getStatusCode(), is(200));
- }
-
- @Test
- public void updateCallBxmlBadRequest() throws ApiException {
-
- }
-
- @Test
- public void updateCallBxmlUnauthorized() throws ApiException {
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.updateCallBxmlWithHttpInfo(BW_ACCOUNT_ID, testCallId,
- testXmlBody));
-
- assertThat(exception.getCode(), is(401));
- }
-
- @Test
- public void updateCallBxmlForbidden() throws ApiException {
- Basic.setUsername(FORBIDDEN_USERNAME);
- Basic.setPassword(FORBIDDEN_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.updateCallBxmlWithHttpInfo(BW_ACCOUNT_ID, testCallId,
- testXmlBody));
-
- assertThat(exception.getCode(), is(403));
- }
-
- @Test
- public void updateCallBxmlNotFound() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.updateCallBxmlWithHttpInfo(BW_ACCOUNT_ID, testCallId,
- testXmlBody));
-
- assertThat(exception.getCode(), is(404));
- }
}
diff --git a/src/test/java/org/openapitools/client/api/ConferencesApiTest.java b/src/test/java/org/openapitools/client/api/ConferencesApiTest.java
index 8c33830b..318dd80a 100644
--- a/src/test/java/org/openapitools/client/api/ConferencesApiTest.java
+++ b/src/test/java/org/openapitools/client/api/ConferencesApiTest.java
@@ -1,235 +1,186 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
package org.openapitools.client.api;
-import org.openapitools.client.ApiResponse;
-import org.openapitools.client.ApiClient;
-import org.openapitools.client.auth.HttpBasicAuth;
-import org.openapitools.client.Configuration;
-import org.openapitools.client.model.ConferenceRecordingMetadata;
-import org.openapitools.client.model.ConferenceStateEnum;
-import org.openapitools.client.model.CreateCall;
-import org.openapitools.client.model.CreateCallResponse;
-import org.openapitools.client.model.FileFormatEnum;
+import com.bandwidth.sdk.ApiException;
import org.openapitools.client.model.Conference;
import org.openapitools.client.model.ConferenceMember;
-import org.openapitools.client.model.RedirectMethodEnum;
+import org.openapitools.client.model.ConferenceRecordingMetadata;
+import java.io.File;
import org.openapitools.client.model.UpdateConference;
import org.openapitools.client.model.UpdateConferenceMember;
-import org.openapitools.client.utils.MantecaStatusResponse;
-
-import com.google.gson.Gson;
-
-import okhttp3.Call;
-import okhttp3.MediaType;
-import okhttp3.OkHttpClient;
-import okhttp3.Request;
-import okhttp3.RequestBody;
-import okhttp3.Response;
-
-import org.junit.jupiter.api.BeforeAll;
-import org.junit.jupiter.api.MethodOrderer;
-import org.junit.jupiter.api.Order;
-import org.junit.jupiter.api.AfterAll;
+import org.openapitools.client.model.VoiceApiError;
+import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.TestInstance;
-import org.junit.jupiter.api.TestMethodOrder;
-import java.io.File;
-import java.io.IOException;
-import java.net.URI;
-import java.net.URISyntaxException;
+import java.util.ArrayList;
+import java.util.HashMap;
import java.util.List;
-import java.util.concurrent.TimeUnit;
+import java.util.Map;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.is;
-import static org.openapitools.client.utils.TestingEnvironmentVariables.*;
-import static org.openapitools.client.utils.CallCleanup.Cleanup;
-
-@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
-@TestInstance(TestInstance.Lifecycle.PER_CLASS)
+/**
+ * API tests for ConferencesApi
+ */
+@Disabled
public class ConferencesApiTest {
- public ApiClient defaultClient = Configuration.getDefaultApiClient();
- public HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
- public final CallsApi callsApi = new CallsApi(defaultClient);
- public final ConferencesApi conferencesApi = new ConferencesApi(defaultClient);
-
- private static final OkHttpClient mantecaClient = new OkHttpClient();
- public static final MediaType jsonMediaType = MediaType.get("application/json; charset=utf-8");
-
- private static String testId;
- private static String callId;
- private static String conferenceId;
- private static URI answerUrl;
- private static URI conferenceRedirectUrl;
- private static String updateRecordingBxml = "This should be a conference recording.";
- private static int TEST_SLEEP = 3;
- private static int MAX_RETRIES = 40;
-
- @BeforeAll
- public static void setUpBeforeClass() throws URISyntaxException {
- answerUrl = new URI(MANTECA_BASE_URL + "/bxml/joinConferencePause");
- conferenceRedirectUrl = new URI(MANTECA_BASE_URL + "/bxml/pause");
- }
- @AfterAll
- public void tearDownAfterClass() throws Exception {
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
- Cleanup(this, callId);
+ private final ConferencesApi api = new ConferencesApi();
+
+ /**
+ * Download Conference Recording
+ *
+ * Downloads the specified recording file.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void downloadConferenceRecordingTest() throws ApiException {
+ String accountId = null;
+ String conferenceId = null;
+ String recordingId = null;
+ File response = api.downloadConferenceRecording(accountId, conferenceId, recordingId);
+ // TODO: test validations
}
- static final String constructMantecaJsonBody(String os, String language) {
- return "{\"os\": \"" + os + "\", \"language\":\"JAVA" + JAVA_VERSION + "\", \"type\":\"conference\"}";
+ /**
+ * Get Conference Information
+ *
+ * Returns information about the specified conference.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getConferenceTest() throws ApiException {
+ String accountId = null;
+ String conferenceId = null;
+ Conference response = api.getConference(accountId, conferenceId);
+ // TODO: test validations
}
- public void validateRecording(ConferenceRecordingMetadata recording, String conferenceId) {
+ /**
+ * Get Conference Member
+ *
+ * Returns information about the specified conference member.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getConferenceMemberTest() throws ApiException {
+ String accountId = null;
+ String conferenceId = null;
+ String memberId = null;
+ ConferenceMember response = api.getConferenceMember(accountId, conferenceId, memberId);
+ // TODO: test validations
+ }
+ /**
+ * Get Conference Recording Information
+ *
+ * Returns metadata for the specified recording.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getConferenceRecordingTest() throws ApiException {
+ String accountId = null;
+ String conferenceId = null;
+ String recordingId = null;
+ ConferenceRecordingMetadata response = api.getConferenceRecording(accountId, conferenceId, recordingId);
+ // TODO: test validations
}
- public Boolean getTestRecordedStatus(String mantecaTestId) throws Exception {
- try {
- // Setup the test with Manteca
- Request mantecaStatusRequest = new Request.Builder()
- .url(MANTECA_STATUS_URL + mantecaTestId)
- .build();
- Call mantecaStatusApiCall = mantecaClient.newCall(mantecaStatusRequest);
- Response mantecaStatusResponse = mantecaStatusApiCall.execute();
-
- Gson gson = new Gson();
- MantecaStatusResponse mantecaStatus = gson.fromJson(
- mantecaStatusResponse.peekBody(2048).string(),
- MantecaStatusResponse.class);
- if (mantecaStatusResponse.isSuccessful()) {
- return mantecaStatus.callRecorded;
- } else {
- System.out.println(mantecaStatusResponse.body().string());
- throw new Exception(
- "Received HTTP " + String.valueOf(mantecaStatusResponse.code()) + " status code from Manteca");
- }
- } catch (IOException e) {
- System.out.println(e.toString());
- throw new Exception("Failed to get test status from Manteca, aborting test run :(");
- }
+ /**
+ * Get Conference Recordings
+ *
+ * Returns a (potentially empty) list of metadata for the recordings that took place during the specified conference.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void listConferenceRecordingsTest() throws ApiException {
+ String accountId = null;
+ String conferenceId = null;
+ List response = api.listConferenceRecordings(accountId, conferenceId);
+ // TODO: test validations
}
+ /**
+ * Get Conferences
+ *
+ * Returns a max of 1000 conferences, sorted by `createdTime` from oldest to newest. **NOTE:** If the number of conferences in the account is bigger than `pageSize`, a `Link` header (with format `<{url}>; rel=\"next\"`) will be returned in the response. The url can be used to retrieve the next page of conference records.
+ *
+ * @throws ApiException if the Api call fails
+ */
@Test
- @Order(1)
- public void testCreateAndFetchConference() throws Exception {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- String mantecaJsonBody = constructMantecaJsonBody(OPERATING_SYSTEM, JAVA_VERSION);
- RequestBody mantecaRequestBody = RequestBody.create(mantecaJsonBody, jsonMediaType);
-
- try {
- // Setup the test with Manteca
- Request mantecaRequest = new Request.Builder()
- .url(MANTECA_BASE_URL + "/tests")
- .post(mantecaRequestBody)
- .build();
- Call mantecaApiCall = mantecaClient.newCall(mantecaRequest);
- testId = mantecaApiCall.execute().body().string();
- } catch (IOException e) {
- System.out.println(e.toString());
- throw new Exception("Failed to initialize conference tests with Manteca, aborting test run :(");
- }
-
- CreateCall conferenceCallBody = new CreateCall();
- conferenceCallBody.setTo(MANTECA_IDLE_NUMBER);
- conferenceCallBody.setFrom(MANTECA_ACTIVE_NUMBER);
- conferenceCallBody.setApplicationId(MANTECA_APPLICATION_ID);
- conferenceCallBody.setAnswerUrl(answerUrl);
- conferenceCallBody.setTag(testId);
-
- ApiResponse createCallResponse = callsApi.createCallWithHttpInfo(BW_ACCOUNT_ID,
- conferenceCallBody);
-
- assertThat(createCallResponse.getStatusCode(), is(201));
- callId = createCallResponse.getData().getCallId();
-
- // TODO: Remove after successful test in GHA runners
- System.out.println("TestId: " + testId);
- System.out.println("CallId: " + callId);
-
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
-
- ApiResponse> listConferencesResponse = conferencesApi
- .listConferencesWithHttpInfo(BW_ACCOUNT_ID, testId, null, null, null, null);
- assertThat(listConferencesResponse.getStatusCode(), is(200));
-
- conferenceId = listConferencesResponse.getData().get(0).getId();
-
- ApiResponse getConferenceResponse = conferencesApi.getConferenceWithHttpInfo(BW_ACCOUNT_ID,
- conferenceId);
- assertThat(getConferenceResponse.getStatusCode(), is(200));
+ public void listConferencesTest() throws ApiException {
+ String accountId = null;
+ String name = null;
+ String minCreatedTime = null;
+ String maxCreatedTime = null;
+ Integer pageSize = null;
+ String pageToken = null;
+ List response = api.listConferences(accountId, name, minCreatedTime, maxCreatedTime, pageSize, pageToken);
+ // TODO: test validations
+ }
+ /**
+ * Update Conference
+ *
+ * Update the conference state.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void updateConferenceTest() throws ApiException {
+ String accountId = null;
+ String conferenceId = null;
+ UpdateConference updateConference = null;
+ api.updateConference(accountId, conferenceId, updateConference);
+ // TODO: test validations
}
+ /**
+ * Update Conference BXML
+ *
+ * Update the conference BXML document.
+ *
+ * @throws ApiException if the Api call fails
+ */
@Test
- @Order(2)
- public void testConferenceAndMembers() throws Exception {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- ApiResponse listConferenceMembersResponse = conferencesApi
- .getConferenceMemberWithHttpInfo(BW_ACCOUNT_ID, conferenceId, callId);
- assertThat(listConferenceMembersResponse.getStatusCode(), is(200));
-
- UpdateConferenceMember updateMember = new UpdateConferenceMember();
- updateMember.setMute(false);
-
- ApiResponse updateConferenceMemberResponse = conferencesApi
- .updateConferenceMemberWithHttpInfo(BW_ACCOUNT_ID, conferenceId, callId, updateMember);
- assertThat(updateConferenceMemberResponse.getStatusCode(), is(204));
-
- UpdateConference updateConference = new UpdateConference();
- updateConference.setStatus(ConferenceStateEnum.ACTIVE);
- updateConference.setRedirectUrl(conferenceRedirectUrl);
- updateConference.setRedirectMethod(RedirectMethodEnum.POST);
- updateConference.setUsername("myUsername");
- updateConference.setPassword("myPassword1!");
- updateConference.setRedirectFallbackUrl(conferenceRedirectUrl);
- updateConference.setRedirectFallbackMethod(RedirectMethodEnum.POST);
- updateConference.setFallbackUsername("myUsername");
- updateConference.setFallbackPassword("myPassword1!");
-
- ApiResponse updateConferenceResponse = conferencesApi.updateConferenceWithHttpInfo(BW_ACCOUNT_ID,
- conferenceId, updateConference);
- assertThat(updateConferenceResponse.getStatusCode(), is(204));
-
- ApiResponse updateConferenceBxmlResponse = conferencesApi.updateConferenceBxmlWithHttpInfo(BW_ACCOUNT_ID,
- conferenceId, updateRecordingBxml);
- assertThat(updateConferenceBxmlResponse.getStatusCode(), is(204));
+ public void updateConferenceBxmlTest() throws ApiException {
+ String accountId = null;
+ String conferenceId = null;
+ String body = null;
+ api.updateConferenceBxml(accountId, conferenceId, body);
+ // TODO: test validations
}
+ /**
+ * Update Conference Member
+ *
+ * Updates settings for a particular conference member.
+ *
+ * @throws ApiException if the Api call fails
+ */
@Test
- @Order(3)
- public void testConferenceRecordings() throws Exception {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- Boolean testRecordingStatus = false;
- for (int i = 0; i < MAX_RETRIES; i++) {
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
- testRecordingStatus = getTestRecordedStatus(testId);
- }
- assertThat(testRecordingStatus, is(true));
-
- ApiResponse> listConferenceRecordingsResponse = conferencesApi
- .listConferenceRecordingsWithHttpInfo(BW_ACCOUNT_ID, conferenceId);
- assertThat(listConferenceRecordingsResponse.getStatusCode(), is(200));
-
- ConferenceRecordingMetadata conferenceRecording = listConferenceRecordingsResponse.getData().get(0);
-
- ApiResponse conferenceRecordingMetadataResponse = conferencesApi
- .getConferenceRecordingWithHttpInfo(BW_ACCOUNT_ID, conferenceId,
- conferenceRecording.getRecordingId());
- assertThat(conferenceRecordingMetadataResponse.getStatusCode(), is(200));
- assertThat(conferenceRecordingMetadataResponse.getData().getStatus(), is("complete"));
- assertThat(conferenceRecordingMetadataResponse.getData().getFileFormat(), is(FileFormatEnum.WAV));
-
- ApiResponse downloadRecordingResponse = conferencesApi.downloadConferenceRecordingWithHttpInfo(
- BW_ACCOUNT_ID, conferenceId,
- conferenceRecording.getRecordingId());
- assertThat(downloadRecordingResponse.getStatusCode(), is(200));
+ public void updateConferenceMemberTest() throws ApiException {
+ String accountId = null;
+ String conferenceId = null;
+ String memberId = null;
+ UpdateConferenceMember updateConferenceMember = null;
+ api.updateConferenceMember(accountId, conferenceId, memberId, updateConferenceMember);
+ // TODO: test validations
}
+
}
diff --git a/src/test/java/org/openapitools/client/api/MediaApiTest.java b/src/test/java/org/openapitools/client/api/MediaApiTest.java
index c0de71e0..e3053675 100644
--- a/src/test/java/org/openapitools/client/api/MediaApiTest.java
+++ b/src/test/java/org/openapitools/client/api/MediaApiTest.java
@@ -1,90 +1,99 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
package org.openapitools.client.api;
-import org.openapitools.client.ApiException;
-import org.openapitools.client.ApiResponse;
-import org.openapitools.client.ApiClient;
-import org.openapitools.client.auth.HttpBasicAuth;
+import com.bandwidth.sdk.ApiException;
+import java.io.File;
import org.openapitools.client.model.Media;
-import org.openapitools.client.Configuration;
-import org.junit.jupiter.api.BeforeAll;
-import org.junit.jupiter.api.Order;
+import org.openapitools.client.model.MessagingRequestError;
+import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.TestMethodOrder;
-import org.junit.jupiter.api.MethodOrderer.OrderAnnotation;
-import org.apache.commons.io.FileUtils;
-import java.io.File;
-import java.io.IOException;
+import java.util.ArrayList;
+import java.util.HashMap;
import java.util.List;
-import java.util.UUID;
+import java.util.Map;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.is;
-
-import static org.openapitools.client.utils.TestingEnvironmentVariables.*;
-
-@TestMethodOrder(OrderAnnotation.class)
+/**
+ * API tests for MediaApi
+ */
+@Disabled
public class MediaApiTest {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
- private final MediaApi api = new MediaApi(defaultClient);
- private static String mediaPath = "src/test/java/org/openapitools/client/fixtures/";
- private static String mediaFile = "java_cat.jpeg";
- private static String mediaId;
- private static UUID uuid;
- private static File media = new File(mediaPath + mediaFile);
- private static String contentType = "image/jpeg";
- private static String cacheControl = "no-cache";
-
- @BeforeAll
- public static void setupBeforeClass() {
- uuid = UUID.randomUUID();
- mediaId = JAVA_VERSION + "_" + RUNNER_OS + "_" + uuid + "_" + mediaFile;
- }
+ private final MediaApi api = new MediaApi();
+ /**
+ * Delete Media
+ *
+ * Deletes a media file from Bandwidth API server. Make sure you don't have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name.
+ *
+ * @throws ApiException if the Api call fails
+ */
@Test
- @Order(1)
- public void uploadMedia() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- ApiResponse response = api.uploadMediaWithHttpInfo(BW_ACCOUNT_ID, mediaId, media,
- contentType,
- cacheControl);
-
- assertThat(response.getStatusCode(), is(204));
+ public void deleteMediaTest() throws ApiException {
+ String accountId = null;
+ String mediaId = null;
+ api.deleteMedia(accountId, mediaId);
+ // TODO: test validations
}
+ /**
+ * Get Media
+ *
+ * Downloads a media file you previously uploaded.
+ *
+ * @throws ApiException if the Api call fails
+ */
@Test
- @Order(2)
- public void listMedia() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
- ApiResponse> response = api.listMediaWithHttpInfo(BW_ACCOUNT_ID, null);
-
- assertThat(response.getStatusCode(), is(200));
+ public void getMediaTest() throws ApiException {
+ String accountId = null;
+ String mediaId = null;
+ File response = api.getMedia(accountId, mediaId);
+ // TODO: test validations
}
+ /**
+ * List Media
+ *
+ * Gets a list of your media files. No query parameters are supported.
+ *
+ * @throws ApiException if the Api call fails
+ */
@Test
- @Order(3)
- public void getMedia() throws ApiException, IOException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- ApiResponse response = api.getMediaWithHttpInfo(BW_ACCOUNT_ID, mediaId);
-
- assertThat(response.getStatusCode(), is(200));
- assertThat(FileUtils.readLines(response.getData(), "utf-8"), is(FileUtils.readLines(media, "utf-8")));
+ public void listMediaTest() throws ApiException {
+ String accountId = null;
+ String continuationToken = null;
+ List response = api.listMedia(accountId, continuationToken);
+ // TODO: test validations
}
+ /**
+ * Upload Media
+ *
+ * Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found [here](https://support.bandwidth.com/hc/en-us/articles/360014128994-What-MMS-file-types-are-supported-).
+ *
+ * @throws ApiException if the Api call fails
+ */
@Test
- @Order(4)
- public void deleteMedia() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- ApiResponse response = api.deleteMediaWithHttpInfo(BW_ACCOUNT_ID, mediaId);
- assertThat(response.getStatusCode(), is(204));
+ public void uploadMediaTest() throws ApiException {
+ String accountId = null;
+ String mediaId = null;
+ File body = null;
+ String contentType = null;
+ String cacheControl = null;
+ api.uploadMedia(accountId, mediaId, body, contentType, cacheControl);
+ // TODO: test validations
}
+
}
diff --git a/src/test/java/org/openapitools/client/api/MessagesApiTest.java b/src/test/java/org/openapitools/client/api/MessagesApiTest.java
index dab434e9..da3fe59d 100644
--- a/src/test/java/org/openapitools/client/api/MessagesApiTest.java
+++ b/src/test/java/org/openapitools/client/api/MessagesApiTest.java
@@ -5,182 +5,81 @@
* The version of the OpenAPI document: 1.0.0
* Contact: letstalk@bandwidth.com
*
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
*/
+
package org.openapitools.client.api;
-import org.openapitools.client.ApiException;
-import org.openapitools.client.ApiClient;
-import org.openapitools.client.auth.HttpBasicAuth;
-import org.openapitools.client.Configuration;
+import com.bandwidth.sdk.ApiException;
+import org.openapitools.client.model.CreateMessageRequestError;
import org.openapitools.client.model.ListMessageDirectionEnum;
-import org.openapitools.client.model.ListMessageItem;
import org.openapitools.client.model.Message;
import org.openapitools.client.model.MessageRequest;
import org.openapitools.client.model.MessageStatusEnum;
import org.openapitools.client.model.MessageTypeEnum;
import org.openapitools.client.model.MessagesList;
-import org.openapitools.client.model.PriorityEnum;
-import org.junit.jupiter.api.Assertions;
+import org.openapitools.client.model.MessagingRequestError;
+import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-import java.net.URI;
-
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.CoreMatchers.instanceOf;
-import static org.hamcrest.Matchers.greaterThan;
-import static org.hamcrest.Matchers.is;
-import static org.hamcrest.Matchers.matchesRegex;
-import static org.hamcrest.Matchers.contains;
-
-import static org.openapitools.client.utils.TestingEnvironmentVariables.*;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
/**
* API tests for MessagesApi
*/
+@Disabled
public class MessagesApiTest {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
- private final MessagesApi api = new MessagesApi(defaultClient);
-
- // Setting up variables
- String accountId = BW_ACCOUNT_ID;
- String messageId = null;
- String sourceTn = null;
- String destinationTn = null;
- MessageStatusEnum messageStatus = null;
- ListMessageDirectionEnum messageDirection = null;
- String carrierName = null;
- MessageTypeEnum messageType = MessageTypeEnum.fromValue("sms");
- Integer errorCode = null;
- String fromDateTime = null;
- String toDateTime = null;
- String campaignId = null;
- String sort = "sourceTn:desc";
- String pageToken = null;
- Integer limit = 50;
-
- String applicationId = (BW_MESSAGING_APPLICATION_ID);
-
- public MessageRequest messageRequest = new MessageRequest();
+ private final MessagesApi api = new MessagesApi();
/**
- * List Messages
+ * Create Message
*
- * Returns a list of messages based on query parameters.
+ * Endpoint for sending text messages and picture messages using V2 messaging.
*
* @throws ApiException if the Api call fails
*/
-
- @Test
- public void listMessagesTest() throws ApiException {
-
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
- MessagesList response = api.listMessages(accountId, messageId, sourceTn, destinationTn, messageStatus,
- messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken,
- limit, false);
-
- assertThat(response, instanceOf(MessagesList.class));
- assertThat(response.getTotalCount(), greaterThan(0));
-
- ListMessageItem message = response.getMessages().get(0);
- assertThat(message, instanceOf(ListMessageItem.class));
- assertThat(message.getAccountId(), is(System.getenv("BW_ACCOUNT_ID")));
- assertThat(message.getDestinationTn(), matchesRegex("^\\+[1-9]\\d{1,14}$"));
- assertThat(message.getMessageDirection(), instanceOf(ListMessageDirectionEnum.class));
- assertThat(message.getMessageId(), matchesRegex("^.+$"));
- assertThat(message.getMessageStatus(), instanceOf(MessageStatusEnum.class));
- assertThat(message.getMessageType(), instanceOf(MessageTypeEnum.class));
- assertThat(message.getSegmentCount(), greaterThan(0));
- }
-
- @Test
- public void listMessageBadRequestTest() {
-
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
- String pageToken = "gdEewhcJLQRB5"; // Bad Token
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.listMessages(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection,
- carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken, limit, false));
- assertThat(exception.getCode(), is(400));
-
- }
-
@Test
- public void listMessageUnauthorizedTest() {
-
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.listMessages(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection,
- carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken, limit, false));
- assertThat(exception.getCode(), is(401));
+ public void createMessageTest() throws ApiException {
+ String accountId = null;
+ MessageRequest messageRequest = null;
+ Message response = api.createMessage(accountId, messageRequest);
+ // TODO: test validations
}
/**
- * Create Message
+ * List Messages
*
- * Endpoint for sending text messages and picture messages using V2 messaging.
+ * Returns a list of messages based on query parameters.
*
* @throws ApiException if the Api call fails
*/
-
@Test
- public void createMessageTest() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
- messageRequest.applicationId(applicationId);
- messageRequest.addToItem(USER_NUMBER);
- messageRequest.from(BW_NUMBER);
- messageRequest.text("Sample Text");
- messageRequest.addMediaItem(URI.create("https://cdn2.thecatapi.com/images/MTY3ODIyMQ.jpg"));
- messageRequest.tag("Java Integration Test");
- messageRequest.priority(PriorityEnum.DEFAULT);
- Message response = api.createMessage(accountId, messageRequest);
-
- assertThat(response, instanceOf(Message.class));
- assertThat(response.getFrom(), is(System.getenv("BW_NUMBER")));
- assertThat(response.getTo(), contains(System.getenv("USER_NUMBER")));
- assertThat(response.getApplicationId(), is(System.getenv("BW_MESSAGING_APPLICATION_ID")));
- assertThat(response.getText(), is("Sample Text"));
- assertThat(response.getTag(), is("Java Integration Test"));
- assertThat(response.getMedia(), contains("https://cdn2.thecatapi.com/images/MTY3ODIyMQ.jpg"));
- assertThat(response.getPriority(), instanceOf(PriorityEnum.class));
- assertThat(response.getSegmentCount(), greaterThan(0));
- }
-
- @Test
- public void createMessageBadRequestTest() {
-
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
- messageRequest.applicationId(null);
- messageRequest.addToItem(USER_NUMBER);
- messageRequest.from(BW_NUMBER);
- messageRequest.text("Sample Text");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.createMessage(accountId, messageRequest));
- assertThat(exception.getCode(), is(400));
+ public void listMessagesTest() throws ApiException {
+ String accountId = null;
+ String messageId = null;
+ String sourceTn = null;
+ String destinationTn = null;
+ MessageStatusEnum messageStatus = null;
+ ListMessageDirectionEnum messageDirection = null;
+ String carrierName = null;
+ MessageTypeEnum messageType = null;
+ Integer errorCode = null;
+ String fromDateTime = null;
+ String toDateTime = null;
+ String campaignId = null;
+ String sort = null;
+ String pageToken = null;
+ Integer limit = null;
+ Boolean limitTotalCount = null;
+ MessagesList response = api.listMessages(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, sort, pageToken, limit, limitTotalCount);
+ // TODO: test validations
}
- @Test
- public void createMessageUnauthorizedTest() {
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- messageRequest.applicationId(BW_MESSAGING_APPLICATION_ID);
- messageRequest.addToItem(USER_NUMBER);
- messageRequest.from(BW_NUMBER);
- messageRequest.text("Sample Text");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.createMessage(accountId, messageRequest));
- assertThat(exception.getCode(), is(401));
- }
}
diff --git a/src/test/java/org/openapitools/client/api/MfaApiTest.java b/src/test/java/org/openapitools/client/api/MfaApiTest.java
index b25909f0..fe52cc6b 100644
--- a/src/test/java/org/openapitools/client/api/MfaApiTest.java
+++ b/src/test/java/org/openapitools/client/api/MfaApiTest.java
@@ -1,151 +1,86 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
package org.openapitools.client.api;
-import org.openapitools.client.ApiResponse;
-import org.openapitools.client.ApiException;
-import org.openapitools.client.ApiClient;
-import org.openapitools.client.auth.HttpBasicAuth;
+import com.bandwidth.sdk.ApiException;
import org.openapitools.client.model.CodeRequest;
import org.openapitools.client.model.MessagingCodeResponse;
+import org.openapitools.client.model.MfaForbiddenRequestError;
+import org.openapitools.client.model.MfaRequestError;
+import org.openapitools.client.model.MfaUnauthorizedRequestError;
import org.openapitools.client.model.VerifyCodeRequest;
import org.openapitools.client.model.VerifyCodeResponse;
import org.openapitools.client.model.VoiceCodeResponse;
-import org.openapitools.client.Configuration;
-import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-import java.math.BigDecimal;
-import java.util.concurrent.ThreadLocalRandom;
-
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.CoreMatchers.instanceOf;
-import static org.hamcrest.Matchers.is;
-
-import static org.openapitools.client.utils.TestingEnvironmentVariables.*;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+/**
+ * API tests for MfaApi
+ */
+@Disabled
public class MfaApiTest {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
- private final MfaApi api = new MfaApi(defaultClient);
-
- @Test
- public void successfulMfaGenerateMessagingCodeRequest() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- CodeRequest request = new CodeRequest();
- request.setTo(USER_NUMBER);
- request.setFrom(BW_NUMBER);
- request.setApplicationId(BW_MESSAGING_APPLICATION_ID);
- request.setScope("scope");
- request.setMessage("Your temporary {NAME} {SCOPE} code is {CODE}");
- request.setDigits(6);
- ApiResponse response = api.generateMessagingCodeWithHttpInfo(BW_ACCOUNT_ID, request);
- assertThat(response.getStatusCode(), is(200));
- assertThat(response.getData(), instanceOf(MessagingCodeResponse.class));
- }
+ private final MfaApi api = new MfaApi();
+ /**
+ * Messaging Authentication Code
+ *
+ * Send an MFA code via text message (SMS).
+ *
+ * @throws ApiException if the Api call fails
+ */
@Test
- public void successfulMfaGenerateVoiceCodeRequest() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- CodeRequest request = new CodeRequest();
- request.setTo(USER_NUMBER);
- request.setFrom(BW_NUMBER);
- request.setApplicationId(BW_VOICE_APPLICATION_ID);
- request.setScope("scope");
- request.setMessage("Your temporary {NAME} {SCOPE} code is {CODE}");
- request.setDigits(6);
- ApiResponse response = api.generateVoiceCodeWithHttpInfo(BW_ACCOUNT_ID, request);
- assertThat(response.getStatusCode(), is(200));
-
- assertThat(response.getData(), instanceOf(VoiceCodeResponse.class));
+ public void generateMessagingCodeTest() throws ApiException {
+ String accountId = null;
+ CodeRequest codeRequest = null;
+ MessagingCodeResponse response = api.generateMessagingCode(accountId, codeRequest);
+ // TODO: test validations
}
+ /**
+ * Voice Authentication Code
+ *
+ * Send an MFA Code via a phone call.
+ *
+ * @throws ApiException if the Api call fails
+ */
@Test
- public void successfulMfaVerifyCodeRequest() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
- BigDecimal expirationTime = new BigDecimal(3);
-
- // Generate a random TN for the setTo - otherwise we get heavily rate limited
- Long minTn = 1111111111L;
- Long maxTn = 9999999999L;
- Long randomInt = ThreadLocalRandom.current().nextLong(maxTn - minTn) + minTn;
-
- VerifyCodeRequest request = new VerifyCodeRequest();
- request.setTo("+1" + randomInt.toString());
- request.setScope("2FA");
- request.setExpirationTimeInMinutes(expirationTime);
- request.setCode("123456");
-
- ApiResponse response = api.verifyCodeWithHttpInfo(BW_ACCOUNT_ID, request);
-
- assertThat(response.getStatusCode(), is(200));
- assertThat(response.getData().getValid(), is(false));
+ public void generateVoiceCodeTest() throws ApiException {
+ String accountId = null;
+ CodeRequest codeRequest = null;
+ VoiceCodeResponse response = api.generateVoiceCode(accountId, codeRequest);
+ // TODO: test validations
}
+ /**
+ * Verify Authentication Code
+ *
+ * Verify a previously sent MFA code.
+ *
+ * @throws ApiException if the Api call fails
+ */
@Test
- public void badRequest() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- CodeRequest badRequest = new CodeRequest();
- badRequest.setTo(USER_NUMBER);
- badRequest.setFrom(BW_NUMBER);
- badRequest.setApplicationId("not_an_application_id");
- badRequest.setScope("scope");
- badRequest.setMessage("Your temporary {NAME} {SCOPE} code is {CODE}");
- badRequest.setDigits(6);
-
- ApiException messagingException = Assertions.assertThrows(ApiException.class,
- () -> api.generateMessagingCodeWithHttpInfo(BW_ACCOUNT_ID,
- badRequest));
- assertThat(messagingException.getCode(), is(400));
-
- ApiException voiceException = Assertions.assertThrows(ApiException.class,
- () -> api.generateVoiceCodeWithHttpInfo(BW_ACCOUNT_ID,
- badRequest));
- assertThat(voiceException.getCode(), is(400));
- }
-
- @Test
- public void unauthorizedRequest() throws ApiException {
- Basic.setUsername(null);
- Basic.setPassword(null);
-
- CodeRequest request = new CodeRequest();
- request.setTo(USER_NUMBER);
- request.setFrom(BW_NUMBER);
- request.setApplicationId(BW_VOICE_APPLICATION_ID);
- request.setScope("scope");
- request.setMessage("Your temporary {NAME} {SCOPE} code is {CODE}");
- request.setDigits(6);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.generateMessagingCodeWithHttpInfo(BW_ACCOUNT_ID,
- request));
- assertThat(exception.getCode(), is(401));
- }
-
- @Test
- public void forbiddenRequest() {
- Basic.setUsername(FORBIDDEN_USERNAME);
- Basic.setPassword("bad_password");
-
- CodeRequest request = new CodeRequest();
- request.setTo(USER_NUMBER);
- request.setFrom(BW_NUMBER);
- request.setApplicationId(BW_MESSAGING_APPLICATION_ID);
- request.setScope("scope");
- request.setMessage("Your temporary {NAME} {SCOPE} code is {CODE}");
- request.setDigits(6);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.generateMessagingCodeWithHttpInfo(BW_ACCOUNT_ID,
- request));
- assertThat(exception.getCode(), is(403));
+ public void verifyCodeTest() throws ApiException {
+ String accountId = null;
+ VerifyCodeRequest verifyCodeRequest = null;
+ VerifyCodeResponse response = api.verifyCode(accountId, verifyCodeRequest);
+ // TODO: test validations
}
}
diff --git a/src/test/java/org/openapitools/client/api/PhoneNumberLookupApiTest.java b/src/test/java/org/openapitools/client/api/PhoneNumberLookupApiTest.java
index 0e34b752..039455fc 100644
--- a/src/test/java/org/openapitools/client/api/PhoneNumberLookupApiTest.java
+++ b/src/test/java/org/openapitools/client/api/PhoneNumberLookupApiTest.java
@@ -1,185 +1,67 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
package org.openapitools.client.api;
-import org.openapitools.client.ApiResponse;
-import org.openapitools.client.ApiException;
-import org.openapitools.client.ApiClient;
-import org.openapitools.client.auth.HttpBasicAuth;
-import org.openapitools.client.Configuration;
+import com.bandwidth.sdk.ApiException;
+import org.openapitools.client.model.CreateLookupResponse;
import org.openapitools.client.model.LookupRequest;
import org.openapitools.client.model.LookupStatus;
-import org.openapitools.client.model.LookupStatusEnum;
-import org.openapitools.client.model.CreateLookupResponse;
-import org.openapitools.client.model.LookupResult;
-import org.junit.jupiter.api.Assertions;
+import org.openapitools.client.model.TnLookupRequestError;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-import java.util.concurrent.TimeUnit;
-
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.CoreMatchers.instanceOf;
-import static org.hamcrest.Matchers.hasProperty;
-import static org.hamcrest.Matchers.is;
-import static org.hamcrest.Matchers.matchesRegex;
-
-import static org.openapitools.client.utils.TestingEnvironmentVariables.*;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+/**
+ * API tests for PhoneNumberLookupApi
+ */
+@Disabled
public class PhoneNumberLookupApiTest {
- ApiClient defaultClient = Configuration.getDefaultApiClient();
- HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
- private final PhoneNumberLookupApi api = new PhoneNumberLookupApi(defaultClient);
- LookupRequest lookupRequest = new LookupRequest();
+ private final PhoneNumberLookupApi api = new PhoneNumberLookupApi();
/**
- * Validate a LookupResult object
+ * Create Lookup
*
- * @param result A LookupResult object
- * @param phoneNumber A String phone number in E164 format to check against the
- * E164 format value in the result
+ * Create a Phone Number Lookup Request.
+ *
+ * @throws ApiException if the Api call fails
*/
- private void validateResult(LookupResult result, String phoneNumber) {
- if (result.getMobileCountryCode() != null || result.getMobileNetworkCode() != null) {
- assertThat(result.getMobileCountryCode(), instanceOf(String.class));
- assertThat(result.getMobileNetworkCode(), instanceOf(String.class));
- }
-
- assertThat(result, hasProperty("responseCode"));
- assertThat(result, hasProperty("message"));
- assertThat(result, hasProperty("e164Format"));
- assertThat(result, hasProperty("formatted"));
- assertThat(result, hasProperty("country"));
- assertThat(result, hasProperty("lineType"));
- assertThat(result, hasProperty("lineProvider"));
- assertThat(result, hasProperty("mobileCountryCode"));
- assertThat(result, hasProperty("mobileNetworkCode"));
-
- assertThat(result.getE164Format(), is(phoneNumber));
+ @Test
+ public void createLookupTest() throws ApiException {
+ String accountId = null;
+ LookupRequest lookupRequest = null;
+ CreateLookupResponse response = api.createLookup(accountId, lookupRequest);
+ // TODO: test validations
}
/**
- * Poll for a completed TN Lookup order
+ * Get Lookup Request Status
+ *
+ * Get an existing Phone Number Lookup Request.
*
- * @param requestId String requestId to poll for
- * @return the completed lookup status
- * @throws Exception If status was not complete after 5 attempts
+ * @throws ApiException if the Api call fails
*/
- private LookupStatus pollLookupStatus(String requestId) throws Exception {
- int attempt = 1;
- LookupStatus lookupStatus = this.api.getLookupStatus(BW_ACCOUNT_ID, requestId);
-
- do {
- try {
- lookupStatus = this.api.getLookupStatus(BW_ACCOUNT_ID, requestId);
- TimeUnit.SECONDS.sleep(2);
- attempt += 1;
- } catch (ApiException e) {
- throw new Exception(
- "Polling for TnLookup order status failed. \nStatus Code: " + String.valueOf(e.getCode())
- + "\nMessage: " + e.getMessage());
- }
- } while (attempt <= 5 && lookupStatus.getStatus() != LookupStatusEnum.COMPLETE);
- return lookupStatus;
- }
-
@Test
- public void successfulPhoneNumberLookup() throws Exception, ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- lookupRequest.addTnsItem(BW_NUMBER);
- lookupRequest.addTnsItem(VZW_NUMBER);
- lookupRequest.addTnsItem(ATT_NUMBER);
- lookupRequest.addTnsItem(T_MOBILE_NUMBER);
-
- // Create the lookup request and validate the response
- ApiResponse response = api.createLookupWithHttpInfo(BW_ACCOUNT_ID, lookupRequest);
- CreateLookupResponse lookupResponse = response.getData();
- assertThat(response.getStatusCode(), is(202));
- assertThat(response.getData(), instanceOf(CreateLookupResponse.class));
- assertThat(lookupResponse.getStatus(), is(LookupStatusEnum.IN_PROGRESS));
- assertThat(lookupResponse.getRequestId(), instanceOf(String.class));
- assertThat(lookupResponse.getRequestId(),
- matchesRegex("^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"));
-
- // Test GET LookupStatus Response
- ApiResponse lookupStatusResponse = api.getLookupStatusWithHttpInfo(BW_ACCOUNT_ID,
- lookupResponse.getRequestId());
- assertThat(lookupStatusResponse.getStatusCode(), is(200));
-
- LookupStatus completedLookup = null;
- try {
- completedLookup = pollLookupStatus(lookupStatusResponse.getData().getRequestId());
- } catch (Exception e) {
- throw e;
- }
- assertThat(lookupStatusResponse.getData().getRequestId(), is(completedLookup.getRequestId()));
-
- for (LookupResult result : completedLookup.getResult()) {
- assertThat(result, instanceOf(LookupResult.class));
- }
-
- LookupResult bwLookupResult = completedLookup.getResult().get(0);
- validateResult(bwLookupResult, BW_NUMBER);
-
- LookupResult vzwLookupResult = completedLookup.getResult().get(1);
- validateResult(vzwLookupResult, VZW_NUMBER);
-
- LookupResult attLookupResult = completedLookup.getResult().get(2);
- validateResult(attLookupResult, ATT_NUMBER);
-
- LookupResult tMobileLookupResult = completedLookup.getResult().get(3);
- validateResult(tMobileLookupResult, T_MOBILE_NUMBER);
-
+ public void getLookupStatusTest() throws ApiException {
+ String accountId = null;
+ String requestId = null;
+ LookupStatus response = api.getLookupStatus(accountId, requestId);
+ // TODO: test validations
}
- @Test
- public void failedPhoneNumberLookup() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- lookupRequest.addTnsItem("not a number");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.createLookup(BW_ACCOUNT_ID, lookupRequest));
- assertThat(exception.getCode(), is(400));
- }
-
- @Test
- public void duplicatePhoneNumberLookup() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- lookupRequest.addTnsItem(BW_NUMBER);
- lookupRequest.addTnsItem(BW_NUMBER);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.createLookup(BW_ACCOUNT_ID, lookupRequest));
- assertThat(exception.getCode(), is(400));
- }
-
- @Test
- public void unauthorizedRequest() throws ApiException {
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- lookupRequest.addTnsItem(BW_NUMBER);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.createLookup(BW_ACCOUNT_ID, lookupRequest));
- assertThat(exception.getCode(), is(401));
- }
-
- @Disabled(("403 Response is not implemented in the API"))
- @Test
- public void forbiddenRequest() throws ApiException {
- Basic.setUsername(FORBIDDEN_USERNAME);
- Basic.setPassword(FORBIDDEN_PASSWORD);
-
- lookupRequest.addTnsItem(BW_NUMBER);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> api.createLookup(BW_ACCOUNT_ID, lookupRequest));
- assertThat(exception.getCode(), is(403));
- }
}
diff --git a/src/test/java/org/openapitools/client/api/RecordingsApiTest.java b/src/test/java/org/openapitools/client/api/RecordingsApiTest.java
index 50e0756b..c07f3856 100644
--- a/src/test/java/org/openapitools/client/api/RecordingsApiTest.java
+++ b/src/test/java/org/openapitools/client/api/RecordingsApiTest.java
@@ -1,436 +1,201 @@
+/*
+ * Bandwidth
+ * Bandwidth's Communication APIs
+ *
+ * The version of the OpenAPI document: 1.0.0
+ * Contact: letstalk@bandwidth.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
package org.openapitools.client.api;
-import org.openapitools.client.ApiResponse;
-import org.openapitools.client.ApiClient;
-import org.openapitools.client.ApiException;
-import org.openapitools.client.auth.HttpBasicAuth;
-import org.openapitools.client.Configuration;
+import com.bandwidth.sdk.ApiException;
import org.openapitools.client.model.CallRecordingMetadata;
-import org.openapitools.client.model.CallStateEnum;
-import org.openapitools.client.model.CreateCall;
-import org.openapitools.client.model.CreateCallResponse;
-import org.openapitools.client.model.RecordingStateEnum;
+import java.io.File;
import org.openapitools.client.model.TranscribeRecording;
import org.openapitools.client.model.TranscriptionList;
-import org.openapitools.client.model.UpdateCall;
import org.openapitools.client.model.UpdateCallRecording;
-import org.openapitools.client.utils.MantecaStatusResponse;
-
-import com.google.gson.Gson;
-
-import okhttp3.Call;
-import okhttp3.MediaType;
-import okhttp3.OkHttpClient;
-import okhttp3.Request;
-import okhttp3.RequestBody;
-import okhttp3.Response;
-
-import org.junit.jupiter.api.BeforeAll;
-import org.junit.jupiter.api.MethodOrderer;
-import org.junit.jupiter.api.Order;
-import org.junit.jupiter.api.AfterAll;
-import org.junit.jupiter.api.Assertions;
+import org.openapitools.client.model.VoiceApiError;
+import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.TestInstance;
-import org.junit.jupiter.api.TestMethodOrder;
-import java.io.IOException;
-import java.net.URI;
-import java.net.URISyntaxException;
+import java.util.ArrayList;
+import java.util.HashMap;
import java.util.List;
-import java.util.concurrent.TimeUnit;
-
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.is;
-import static org.openapitools.client.utils.TestingEnvironmentVariables.*;
-import static org.openapitools.client.utils.CallCleanup.Cleanup;
+import java.util.Map;
-@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
-@TestInstance(TestInstance.Lifecycle.PER_CLASS)
+/**
+ * API tests for RecordingsApi
+ */
+@Disabled
public class RecordingsApiTest {
- public ApiClient defaultClient = Configuration.getDefaultApiClient();
- public HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic");
- public final CallsApi callsApi = new CallsApi(defaultClient);
- public final RecordingsApi recordingsApi = new RecordingsApi(defaultClient);
-
- private static final OkHttpClient mantecaClient = new OkHttpClient();
- public static final MediaType jsonMediaType = MediaType.get("application/json; charset=utf-8");
-
- public static TranscribeRecording transcribeRecording = new TranscribeRecording();
-
- private static String testId;
- private static URI answerUrl;
- private static String callId;
- private static String recordingId;
- private static int TEST_SLEEP = 3;
- private static int MAX_RETRIES = 40;
-
- private static CreateCall createCallBody = new CreateCall();
-
- @BeforeAll
- public static void setUpBeforeClass() throws URISyntaxException {
- // answerUrl = new URI(MANTECA_BASE_URL + "/bxml/startRecording");
- answerUrl = new URI(MANTECA_BASE_URL + "/bxml/startLongRecording");
- }
-
- @AfterAll
- public void tearDownAfterClass() throws Exception {
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
- Cleanup(this, callId);
- }
-
- static final String constructMantecaJsonBody() {
- return "{\"os\": \"" + OPERATING_SYSTEM + "\", \"language\":\"JAVA" + JAVA_VERSION + "_" + DISTRIBUTION
- + "\", \"type\":\"CALL\"}";
- }
-
- public MantecaStatusResponse getTestStatus(String mantecaTestId) throws Exception {
- try {
- // Setup the test with Manteca
- Request mantecaStatusRequest = new Request.Builder()
- .url(MANTECA_STATUS_URL + mantecaTestId)
- .build();
- Call mantecaStatusApiCall = mantecaClient.newCall(mantecaStatusRequest);
- Response mantecaStatusResponse = mantecaStatusApiCall.execute();
-
- Gson gson = new Gson();
- MantecaStatusResponse mantecaStatus = gson.fromJson(
- mantecaStatusResponse.peekBody(2048).string(),
- MantecaStatusResponse.class);
- if (mantecaStatusResponse.isSuccessful()) {
- return mantecaStatus;
- } else {
- System.out.println(mantecaStatusResponse.body().string());
- throw new Exception(
- "Received HTTP " + String.valueOf(mantecaStatusResponse.code()) + " status code from Manteca");
- }
- } catch (IOException e) {
- System.out.println(e.toString());
- throw new Exception("Failed to get test status from Manteca, aborting test run :(");
- }
- }
-
- @Test
- @Order(1)
- public void testCallRecordingAndTranscription() throws Exception {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- String mantecaJsonBody = constructMantecaJsonBody();
- RequestBody mantecaRequestBody = RequestBody.create(mantecaJsonBody, jsonMediaType);
-
- try {
- // Setup the test with Manteca
- Request mantecaRequest = new Request.Builder()
- .url(MANTECA_BASE_URL + "/tests")
- .post(mantecaRequestBody)
- .build();
- Call mantecaApiCall = mantecaClient.newCall(mantecaRequest);
- testId = mantecaApiCall.execute().body().string();
- } catch (IOException e) {
- System.out.println(e.toString());
- throw new Exception("Failed to initialize conference tests with Manteca, aborting test run :(");
- }
-
- createCallBody.setTo(MANTECA_IDLE_NUMBER);
- createCallBody.setFrom(MANTECA_ACTIVE_NUMBER);
- createCallBody.setApplicationId(MANTECA_APPLICATION_ID);
- createCallBody.setAnswerUrl(answerUrl);
- createCallBody.setTag(testId);
-
- // Create Call
- CreateCallResponse callResponse = callsApi.createCall(BW_ACCOUNT_ID, createCallBody);
- callId = callResponse.getCallId();
-
- // Update Recording
- TimeUnit.SECONDS.sleep(TEST_SLEEP * 2);
- UpdateCallRecording updateRecording = new UpdateCallRecording();
- updateRecording.setState(RecordingStateEnum.PAUSED);
-
- ApiResponse pauseRecordingResponse = recordingsApi.updateCallRecordingStateWithHttpInfo(BW_ACCOUNT_ID,
- callId, updateRecording);
- assertThat(pauseRecordingResponse.getStatusCode(), is(200));
-
- // Update Recording
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
- updateRecording.setState(RecordingStateEnum.RECORDING);
-
- ApiResponse resumeRecordingResponse = recordingsApi.updateCallRecordingStateWithHttpInfo(BW_ACCOUNT_ID,
- callId, updateRecording);
- assertThat(resumeRecordingResponse.getStatusCode(), is(200));
-
- // Terminate the call
- UpdateCall updateCall = new UpdateCall();
- updateCall.setState(CallStateEnum.COMPLETED);
- ApiResponse updateCallResponse = callsApi.updateCallWithHttpInfo(BW_ACCOUNT_ID, callId,
- updateCall);
- assertThat(updateCallResponse.getStatusCode(), is(200));
-
- // Make sure its been recorded by fetching the status from Manteca
- int x = 0;
- Boolean recordingStatus = false;
- while (recordingStatus != true && x < MAX_RETRIES) {
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
- recordingStatus = getTestStatus(testId).callRecorded;
- x++;
- }
- assertThat(recordingStatus, is(true));
-
- // Validate the recording metadata endpoint
- ApiResponse> listRecordingMetadataResponse = recordingsApi
- .listCallRecordingsWithHttpInfo(BW_ACCOUNT_ID, callId);
- assertThat(listRecordingMetadataResponse.getStatusCode(), is(200));
- recordingId = listRecordingMetadataResponse.getData().get(0).getRecordingId();
-
- ApiResponse recordingMetadataResponse = recordingsApi.getCallRecordingWithHttpInfo(
- BW_ACCOUNT_ID, callId, recordingId);
- assertThat(recordingMetadataResponse.getStatusCode(), is(200));
-
- // Pass the tag to transcribeRecording to receive the callback
- transcribeRecording.callbackUrl(new URI(MANTECA_BASE_URL + "/transcriptions"));
- transcribeRecording.setTag(testId);
-
- ApiResponse requestTranscriptionResponse = recordingsApi.transcribeCallRecordingWithHttpInfo(
- BW_ACCOUNT_ID, callId, recordingId, transcribeRecording);
- assertThat(requestTranscriptionResponse.getStatusCode(), is(204));
-
- // Make sure its been transcribed by fetching status from manteca
- int i = 0;
- Boolean transcriptionStatus = false;
- while (transcriptionStatus != true && i < MAX_RETRIES) {
- TimeUnit.SECONDS.sleep(TEST_SLEEP);
- transcriptionStatus = getTestStatus(testId).callTranscribed;
- i++;
- }
- assertThat(transcriptionStatus, is(true));
-
- // Validate the transcription metadata endpoint
- ApiResponse listTranscriptionsResponse = recordingsApi
- .getCallTranscriptionWithHttpInfo(BW_ACCOUNT_ID, callId, recordingId);
- assertThat(listTranscriptionsResponse.getStatusCode(), is(200));
-
- // Delete transcription
- ApiResponse deleteTranscriptionResponse = recordingsApi.deleteCallTranscriptionWithHttpInfo(BW_ACCOUNT_ID,
- callId, recordingId);
- assertThat(deleteTranscriptionResponse.getStatusCode(), is(204));
-
- // Delete recording media
- ApiResponse deleteRecordingMediaResponse = recordingsApi.deleteRecordingMediaWithHttpInfo(BW_ACCOUNT_ID,
- callId, recordingId);
- assertThat(deleteRecordingMediaResponse.getStatusCode(), is(204));
-
- // Delete recording metadata
- ApiResponse deleteRecordingMetadataResponse = recordingsApi.deleteRecordingWithHttpInfo(BW_ACCOUNT_ID,
- callId, recordingId);
- assertThat(deleteRecordingMetadataResponse.getStatusCode(), is(204));
- }
-
- @Test
- public void testGetAccountRecordings() throws ApiException {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- ApiResponse> response = recordingsApi
- .listAccountCallRecordingsWithHttpInfo(BW_ACCOUNT_ID, null, null, null,
- null);
-
- assertThat(response.getStatusCode(), is(200));
- }
-
- @Test
- public void testGetAccountRecordingsUnauthorized() {
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.listAccountCallRecordingsWithHttpInfo(BW_ACCOUNT_ID,
- null, null, null, null));
-
- assertThat(exception.getCode(), is(401));
- }
-
- @Test
- public void testGetAccountRecordingsForbidden() {
- Basic.setUsername(FORBIDDEN_USERNAME);
- Basic.setPassword(FORBIDDEN_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.listAccountCallRecordingsWithHttpInfo(BW_ACCOUNT_ID,
- null, null, null, null));
-
- assertThat(exception.getCode(), is(403));
- }
-
- @Test
- public void testRecordingNotFound() {
- Basic.setUsername(BW_USERNAME);
- Basic.setPassword(BW_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.getCallRecording(BW_ACCOUNT_ID, "not a call", "not a recording"));
-
- assertThat(exception.getCode(), is(404));
- }
-
- @Test
- public void testUnauthorizedGetRecording() {
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.getCallRecording(BW_ACCOUNT_ID, callId, recordingId));
- assertThat(exception.getCode(), is(401));
+ private final RecordingsApi api = new RecordingsApi();
+
+ /**
+ * Delete Transcription
+ *
+ * Deletes the specified recording's transcription. Note: After the deletion is requested and a `204` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void deleteCallTranscriptionTest() throws ApiException {
+ String accountId = null;
+ String callId = null;
+ String recordingId = null;
+ api.deleteCallTranscription(accountId, callId, recordingId);
+ // TODO: test validations
+ }
+
+ /**
+ * Delete Recording
+ *
+ * Delete the recording information, media and transcription. Note: After the deletion is requested and a `204` is returned, neither the recording metadata nor the actual media nor its transcription will be accessible anymore. However, the media of the specified recording is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void deleteRecordingTest() throws ApiException {
+ String accountId = null;
+ String callId = null;
+ String recordingId = null;
+ api.deleteRecording(accountId, callId, recordingId);
+ // TODO: test validations
+ }
+
+ /**
+ * Delete Recording Media
+ *
+ * Deletes the specified recording's media.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void deleteRecordingMediaTest() throws ApiException {
+ String accountId = null;
+ String callId = null;
+ String recordingId = null;
+ api.deleteRecordingMedia(accountId, callId, recordingId);
+ // TODO: test validations
+ }
+
+ /**
+ * Download Recording
+ *
+ * Downloads the specified recording.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void downloadCallRecordingTest() throws ApiException {
+ String accountId = null;
+ String callId = null;
+ String recordingId = null;
+ File response = api.downloadCallRecording(accountId, callId, recordingId);
+ // TODO: test validations
+ }
+
+ /**
+ * Get Call Recording
+ *
+ * Returns metadata for the specified recording.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getCallRecordingTest() throws ApiException {
+ String accountId = null;
+ String callId = null;
+ String recordingId = null;
+ CallRecordingMetadata response = api.getCallRecording(accountId, callId, recordingId);
+ // TODO: test validations
+ }
+
+ /**
+ * Get Transcription
+ *
+ * Downloads the specified transcription. If the transcribed recording was multi-channel, then there will be 2 transcripts. The caller/called party transcript will be the first item while [`<PlayAudio>`](/docs/voice/bxml/playAudio) and [`<SpeakSentence>`](/docs/voice/bxml/speakSentence) transcript will be the second item. During a [`<Transfer>`](/docs/voice/bxml/transfer) the A-leg transcript will be the first item while the B-leg transcript will be the second item.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void getCallTranscriptionTest() throws ApiException {
+ String accountId = null;
+ String callId = null;
+ String recordingId = null;
+ TranscriptionList response = api.getCallTranscription(accountId, callId, recordingId);
+ // TODO: test validations
+ }
+
+ /**
+ * Get Call Recordings
+ *
+ * Returns a list of metadata for the recordings associated with the specified account. The list can be filtered by the optional from, to, minStartTime, and maxStartTime arguments. The list is capped at 1000 entries and may be empty if no recordings match the specified criteria.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void listAccountCallRecordingsTest() throws ApiException {
+ String accountId = null;
+ String to = null;
+ String from = null;
+ String minStartTime = null;
+ String maxStartTime = null;
+ List response = api.listAccountCallRecordings(accountId, to, from, minStartTime, maxStartTime);
+ // TODO: test validations
+ }
+
+ /**
+ * List Call Recordings
+ *
+ * Returns a (potentially empty) list of metadata for the recordings that took place during the specified call.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void listCallRecordingsTest() throws ApiException {
+ String accountId = null;
+ String callId = null;
+ List response = api.listCallRecordings(accountId, callId);
+ // TODO: test validations
+ }
+
+ /**
+ * Create Transcription Request
+ *
+ * Generate the transcription for a specific recording. Transcription can succeed only for recordings of length greater than 500 milliseconds and less than 4 hours.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void transcribeCallRecordingTest() throws ApiException {
+ String accountId = null;
+ String callId = null;
+ String recordingId = null;
+ TranscribeRecording transcribeRecording = null;
+ api.transcribeCallRecording(accountId, callId, recordingId, transcribeRecording);
+ // TODO: test validations
+ }
+
+ /**
+ * Update Recording
+ *
+ * Pause or resume a recording on an active phone call.
+ *
+ * @throws ApiException if the Api call fails
+ */
+ @Test
+ public void updateCallRecordingStateTest() throws ApiException {
+ String accountId = null;
+ String callId = null;
+ UpdateCallRecording updateCallRecording = null;
+ api.updateCallRecordingState(accountId, callId, updateCallRecording);
+ // TODO: test validations
}
- @Test
- public void testForbiddenGetRecording() {
- Basic.setUsername(FORBIDDEN_USERNAME);
- Basic.setPassword(FORBIDDEN_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.getCallRecording(BW_ACCOUNT_ID, callId, recordingId));
-
- assertThat(exception.getCode(), is(403));
- }
-
- @Test
- public void testUnauthorizedDeleteRecording() {
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.deleteRecording(BW_ACCOUNT_ID, callId, recordingId));
-
- assertThat(exception.getCode(), is(401));
- }
-
- @Test
- public void testForbiddenDeleteRecording() {
- Basic.setUsername(FORBIDDEN_USERNAME);
- Basic.setPassword(FORBIDDEN_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.deleteRecording(BW_ACCOUNT_ID, callId, recordingId));
-
- assertThat(exception.getCode(), is(403));
- }
-
- @Test
- public void testUnauthorizedDownloadRecording() {
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.downloadCallRecording(BW_ACCOUNT_ID, callId,
- recordingId));
-
- assertThat(exception.getCode(), is(401));
- }
-
- @Test
- public void testForbiddenDownloadRecording() {
- Basic.setUsername(FORBIDDEN_USERNAME);
- Basic.setPassword(FORBIDDEN_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.downloadCallRecording(BW_ACCOUNT_ID, callId,
- recordingId));
-
- assertThat(exception.getCode(), is(403));
- }
-
- @Test
- public void testUnauthorizedDeleteRecordingMedia() {
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.deleteRecording(BW_ACCOUNT_ID, callId, recordingId));
-
- assertThat(exception.getCode(), is(401));
- }
-
- @Test
- public void testForbiddenDeleteRecordingMedia() {
- Basic.setUsername(FORBIDDEN_USERNAME);
- Basic.setPassword(FORBIDDEN_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.deleteRecording(BW_ACCOUNT_ID, callId, recordingId));
-
- assertThat(exception.getCode(), is(403));
- }
-
- @Test
- public void testUnauthorizedGetTranscription() {
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.deleteCallTranscription(BW_ACCOUNT_ID, callId,
- recordingId));
-
- assertThat(exception.getCode(), is(401));
- }
-
- @Test
- public void testForbiddenGetTranscription() {
- Basic.setUsername(FORBIDDEN_USERNAME);
- Basic.setPassword(FORBIDDEN_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.deleteCallTranscription(BW_ACCOUNT_ID, callId,
- recordingId));
-
- assertThat(exception.getCode(), is(403));
- }
-
- @Test
- public void testUnauthorizedCreateTranscriptionRequest() {
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.transcribeCallRecording(BW_ACCOUNT_ID, callId,
- recordingId, transcribeRecording));
-
- assertThat(exception.getCode(), is(401));
- }
-
- @Test
- public void testForbiddenCreateTranscriptionRequest() {
- Basic.setUsername(FORBIDDEN_USERNAME);
- Basic.setPassword(FORBIDDEN_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.transcribeCallRecording(BW_ACCOUNT_ID, callId,
- recordingId, transcribeRecording));
-
- assertThat(exception.getCode(), is(403));
- }
-
- @Test
- public void testUnauthorizedDeleteTranscription() throws ApiException {
- Basic.setUsername("bad_username");
- Basic.setPassword("bad_password");
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.deleteCallTranscription(BW_ACCOUNT_ID, callId,
- recordingId));
-
- assertThat(exception.getCode(), is(401));
- }
-
- @Test
- public void testForbiddenDeleteTranscription() {
- Basic.setUsername(FORBIDDEN_USERNAME);
- Basic.setPassword(FORBIDDEN_PASSWORD);
-
- ApiException exception = Assertions.assertThrows(ApiException.class,
- () -> recordingsApi.deleteCallTranscription(BW_ACCOUNT_ID, callId,
- recordingId));
-
- assertThat(exception.getCode(), is(403));
- }
}
diff --git a/src/test/java/org/openapitools/client/api/StatisticsApiTest.java b/src/test/java/org/openapitools/client/api/StatisticsApiTest.java
index f486b9de..6b232e7e 100644
--- a/src/test/java/org/openapitools/client/api/StatisticsApiTest.java
+++ b/src/test/java/org/openapitools/client/api/StatisticsApiTest.java
@@ -13,7 +13,7 @@
package org.openapitools.client.api;
-import org.openapitools.client.ApiException;
+import com.bandwidth.sdk.ApiException;
import org.openapitools.client.model.AccountStatistics;
import org.openapitools.client.model.VoiceApiError;
import org.junit.jupiter.api.Disabled;
diff --git a/src/test/java/org/openapitools/client/model/AccountStatisticsTest.java b/src/test/java/org/openapitools/client/model/AccountStatisticsTest.java
index fe8992f7..0ab39570 100644
--- a/src/test/java/org/openapitools/client/model/AccountStatisticsTest.java
+++ b/src/test/java/org/openapitools/client/model/AccountStatisticsTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for AccountStatistics
*/
diff --git a/src/test/java/org/openapitools/client/model/AnswerCallbackTest.java b/src/test/java/org/openapitools/client/model/AnswerCallbackTest.java
index 761853fb..a5a800ed 100644
--- a/src/test/java/org/openapitools/client/model/AnswerCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/AnswerCallbackTest.java
@@ -18,16 +18,15 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.client.model.MachineDetectionResult;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for AnswerCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/BridgeCompleteCallbackTest.java b/src/test/java/org/openapitools/client/model/BridgeCompleteCallbackTest.java
index 0704260c..5ca52c8c 100644
--- a/src/test/java/org/openapitools/client/model/BridgeCompleteCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/BridgeCompleteCallbackTest.java
@@ -18,16 +18,14 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for BridgeCompleteCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/BridgeTargetCompleteCallbackTest.java b/src/test/java/org/openapitools/client/model/BridgeTargetCompleteCallbackTest.java
index b137bf08..5b03e1f3 100644
--- a/src/test/java/org/openapitools/client/model/BridgeTargetCompleteCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/BridgeTargetCompleteCallbackTest.java
@@ -18,16 +18,14 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for BridgeTargetCompleteCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/CallDirectionEnumTest.java b/src/test/java/org/openapitools/client/model/CallDirectionEnumTest.java
index cbd8233c..8626a9aa 100644
--- a/src/test/java/org/openapitools/client/model/CallDirectionEnumTest.java
+++ b/src/test/java/org/openapitools/client/model/CallDirectionEnumTest.java
@@ -13,12 +13,10 @@
package org.openapitools.client.model;
-import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for CallDirectionEnum
*/
diff --git a/src/test/java/org/openapitools/client/model/CallRecordingMetadataTest.java b/src/test/java/org/openapitools/client/model/CallRecordingMetadataTest.java
index 2da10387..fbb10078 100644
--- a/src/test/java/org/openapitools/client/model/CallRecordingMetadataTest.java
+++ b/src/test/java/org/openapitools/client/model/CallRecordingMetadataTest.java
@@ -18,11 +18,10 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.net.URI;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
import org.openapitools.client.model.FileFormatEnum;
import org.openapitools.client.model.TranscriptionMetadata;
@@ -30,7 +29,6 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for CallRecordingMetadata
*/
diff --git a/src/test/java/org/openapitools/client/model/CallStateEnumTest.java b/src/test/java/org/openapitools/client/model/CallStateEnumTest.java
index 70c80ce4..051c2be2 100644
--- a/src/test/java/org/openapitools/client/model/CallStateEnumTest.java
+++ b/src/test/java/org/openapitools/client/model/CallStateEnumTest.java
@@ -13,12 +13,10 @@
package org.openapitools.client.model;
-import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for CallStateEnum
*/
diff --git a/src/test/java/org/openapitools/client/model/CallStateTest.java b/src/test/java/org/openapitools/client/model/CallStateTest.java
index ea200614..f729e493 100644
--- a/src/test/java/org/openapitools/client/model/CallStateTest.java
+++ b/src/test/java/org/openapitools/client/model/CallStateTest.java
@@ -18,10 +18,9 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import org.openapitools.client.model.CallDirectionEnum;
@@ -29,7 +28,6 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for CallState
*/
diff --git a/src/test/java/org/openapitools/client/model/CallbackMethodEnumTest.java b/src/test/java/org/openapitools/client/model/CallbackMethodEnumTest.java
index 6cf94ee7..2ccbe422 100644
--- a/src/test/java/org/openapitools/client/model/CallbackMethodEnumTest.java
+++ b/src/test/java/org/openapitools/client/model/CallbackMethodEnumTest.java
@@ -13,12 +13,10 @@
package org.openapitools.client.model;
-import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for CallbackMethodEnum
*/
diff --git a/src/test/java/org/openapitools/client/model/CodeRequestTest.java b/src/test/java/org/openapitools/client/model/CodeRequestTest.java
index 7ebaa206..fd810a0a 100644
--- a/src/test/java/org/openapitools/client/model/CodeRequestTest.java
+++ b/src/test/java/org/openapitools/client/model/CodeRequestTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for CodeRequest
*/
diff --git a/src/test/java/org/openapitools/client/model/ConferenceCompletedCallbackTest.java b/src/test/java/org/openapitools/client/model/ConferenceCompletedCallbackTest.java
index 154717e3..2d230090 100644
--- a/src/test/java/org/openapitools/client/model/ConferenceCompletedCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/ConferenceCompletedCallbackTest.java
@@ -18,14 +18,13 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for ConferenceCompletedCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/ConferenceCreatedCallbackTest.java b/src/test/java/org/openapitools/client/model/ConferenceCreatedCallbackTest.java
index f9274314..b00c7caf 100644
--- a/src/test/java/org/openapitools/client/model/ConferenceCreatedCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/ConferenceCreatedCallbackTest.java
@@ -18,14 +18,13 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for ConferenceCreatedCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/ConferenceMemberExitCallbackTest.java b/src/test/java/org/openapitools/client/model/ConferenceMemberExitCallbackTest.java
index c8b4c405..041147c2 100644
--- a/src/test/java/org/openapitools/client/model/ConferenceMemberExitCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/ConferenceMemberExitCallbackTest.java
@@ -18,14 +18,13 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for ConferenceMemberExitCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/ConferenceMemberJoinCallbackTest.java b/src/test/java/org/openapitools/client/model/ConferenceMemberJoinCallbackTest.java
index 8346305d..b5d8fe17 100644
--- a/src/test/java/org/openapitools/client/model/ConferenceMemberJoinCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/ConferenceMemberJoinCallbackTest.java
@@ -18,14 +18,13 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for ConferenceMemberJoinCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/ConferenceMemberTest.java b/src/test/java/org/openapitools/client/model/ConferenceMemberTest.java
index 2f2f5bfe..c802f0c7 100644
--- a/src/test/java/org/openapitools/client/model/ConferenceMemberTest.java
+++ b/src/test/java/org/openapitools/client/model/ConferenceMemberTest.java
@@ -18,16 +18,14 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for ConferenceMember
*/
diff --git a/src/test/java/org/openapitools/client/model/ConferenceRecordingAvailableCallbackTest.java b/src/test/java/org/openapitools/client/model/ConferenceRecordingAvailableCallbackTest.java
index 31ca5613..adf3260d 100644
--- a/src/test/java/org/openapitools/client/model/ConferenceRecordingAvailableCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/ConferenceRecordingAvailableCallbackTest.java
@@ -18,17 +18,15 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.net.URI;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.FileFormatEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for ConferenceRecordingAvailableCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/ConferenceRecordingMetadataTest.java b/src/test/java/org/openapitools/client/model/ConferenceRecordingMetadataTest.java
index d0694f4f..0ec9e83b 100644
--- a/src/test/java/org/openapitools/client/model/ConferenceRecordingMetadataTest.java
+++ b/src/test/java/org/openapitools/client/model/ConferenceRecordingMetadataTest.java
@@ -18,17 +18,15 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.net.URI;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.FileFormatEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for ConferenceRecordingMetadata
*/
diff --git a/src/test/java/org/openapitools/client/model/ConferenceRedirectCallbackTest.java b/src/test/java/org/openapitools/client/model/ConferenceRedirectCallbackTest.java
index dc39a800..af218d2e 100644
--- a/src/test/java/org/openapitools/client/model/ConferenceRedirectCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/ConferenceRedirectCallbackTest.java
@@ -18,14 +18,13 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for ConferenceRedirectCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/ConferenceStateEnumTest.java b/src/test/java/org/openapitools/client/model/ConferenceStateEnumTest.java
index 0be4ab7f..ca9dddf6 100644
--- a/src/test/java/org/openapitools/client/model/ConferenceStateEnumTest.java
+++ b/src/test/java/org/openapitools/client/model/ConferenceStateEnumTest.java
@@ -13,12 +13,10 @@
package org.openapitools.client.model;
-import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for ConferenceStateEnum
*/
diff --git a/src/test/java/org/openapitools/client/model/ConferenceTest.java b/src/test/java/org/openapitools/client/model/ConferenceTest.java
index ca0b17e3..f3ce9cba 100644
--- a/src/test/java/org/openapitools/client/model/ConferenceTest.java
+++ b/src/test/java/org/openapitools/client/model/ConferenceTest.java
@@ -18,12 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.net.URI;
import java.time.OffsetDateTime;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import org.openapitools.client.model.CallbackMethodEnum;
import org.openapitools.client.model.ConferenceMember;
@@ -31,7 +30,6 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for Conference
*/
diff --git a/src/test/java/org/openapitools/client/model/CreateCallResponseTest.java b/src/test/java/org/openapitools/client/model/CreateCallResponseTest.java
index b54f5013..b5914ea8 100644
--- a/src/test/java/org/openapitools/client/model/CreateCallResponseTest.java
+++ b/src/test/java/org/openapitools/client/model/CreateCallResponseTest.java
@@ -18,18 +18,15 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
-import java.math.BigDecimal;
import java.net.URI;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallbackMethodEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for CreateCallResponse
*/
diff --git a/src/test/java/org/openapitools/client/model/CreateCallTest.java b/src/test/java/org/openapitools/client/model/CreateCallTest.java
index 9e8a9a80..5f4f4b9f 100644
--- a/src/test/java/org/openapitools/client/model/CreateCallTest.java
+++ b/src/test/java/org/openapitools/client/model/CreateCallTest.java
@@ -18,17 +18,15 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.net.URI;
+import java.util.Arrays;
import org.openapitools.client.model.CallbackMethodEnum;
import org.openapitools.client.model.MachineDetectionConfiguration;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for CreateCall
*/
@@ -59,6 +57,14 @@ public void fromTest() {
// TODO: test from
}
+ /**
+ * Test the property 'displayName'
+ */
+ @Test
+ public void displayNameTest() {
+ // TODO: test displayName
+ }
+
/**
* Test the property 'uui'
*/
diff --git a/src/test/java/org/openapitools/client/model/CreateLookupResponseTest.java b/src/test/java/org/openapitools/client/model/CreateLookupResponseTest.java
index f4d853f4..41aee134 100644
--- a/src/test/java/org/openapitools/client/model/CreateLookupResponseTest.java
+++ b/src/test/java/org/openapitools/client/model/CreateLookupResponseTest.java
@@ -18,14 +18,12 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.openapitools.client.model.LookupStatusEnum;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for CreateLookupResponse
*/
diff --git a/src/test/java/org/openapitools/client/model/CreateMessageRequestErrorTest.java b/src/test/java/org/openapitools/client/model/CreateMessageRequestErrorTest.java
index 448a2918..afe48b6e 100644
--- a/src/test/java/org/openapitools/client/model/CreateMessageRequestErrorTest.java
+++ b/src/test/java/org/openapitools/client/model/CreateMessageRequestErrorTest.java
@@ -18,16 +18,14 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import org.openapitools.client.model.FieldError;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for CreateMessageRequestError
*/
diff --git a/src/test/java/org/openapitools/client/model/DeferredResultTest.java b/src/test/java/org/openapitools/client/model/DeferredResultTest.java
index 87b4c41b..a91332fb 100644
--- a/src/test/java/org/openapitools/client/model/DeferredResultTest.java
+++ b/src/test/java/org/openapitools/client/model/DeferredResultTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for DeferredResult
*/
diff --git a/src/test/java/org/openapitools/client/model/DisconnectCallbackTest.java b/src/test/java/org/openapitools/client/model/DisconnectCallbackTest.java
index 8d8727d8..71584fac 100644
--- a/src/test/java/org/openapitools/client/model/DisconnectCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/DisconnectCallbackTest.java
@@ -20,12 +20,12 @@
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for DisconnectCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/DiversionTest.java b/src/test/java/org/openapitools/client/model/DiversionTest.java
index 45c90ce2..1ba8f470 100644
--- a/src/test/java/org/openapitools/client/model/DiversionTest.java
+++ b/src/test/java/org/openapitools/client/model/DiversionTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for Diversion
*/
diff --git a/src/test/java/org/openapitools/client/model/DtmfCallbackTest.java b/src/test/java/org/openapitools/client/model/DtmfCallbackTest.java
index 6c5538fb..b1ade470 100644
--- a/src/test/java/org/openapitools/client/model/DtmfCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/DtmfCallbackTest.java
@@ -18,16 +18,14 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for DtmfCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/FieldErrorTest.java b/src/test/java/org/openapitools/client/model/FieldErrorTest.java
index cb5f4600..6cac8997 100644
--- a/src/test/java/org/openapitools/client/model/FieldErrorTest.java
+++ b/src/test/java/org/openapitools/client/model/FieldErrorTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for FieldError
*/
diff --git a/src/test/java/org/openapitools/client/model/FileFormatEnumTest.java b/src/test/java/org/openapitools/client/model/FileFormatEnumTest.java
index 89acf49d..9410e881 100644
--- a/src/test/java/org/openapitools/client/model/FileFormatEnumTest.java
+++ b/src/test/java/org/openapitools/client/model/FileFormatEnumTest.java
@@ -13,12 +13,10 @@
package org.openapitools.client.model;
-import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for FileFormatEnum
*/
diff --git a/src/test/java/org/openapitools/client/model/GatherCallbackTest.java b/src/test/java/org/openapitools/client/model/GatherCallbackTest.java
index 91b378c0..26a26b2b 100644
--- a/src/test/java/org/openapitools/client/model/GatherCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/GatherCallbackTest.java
@@ -18,16 +18,14 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for GatherCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/InboundMessageCallbackMessageTest.java b/src/test/java/org/openapitools/client/model/InboundMessageCallbackMessageTest.java
index dec4d23f..af6ef843 100644
--- a/src/test/java/org/openapitools/client/model/InboundMessageCallbackMessageTest.java
+++ b/src/test/java/org/openapitools/client/model/InboundMessageCallbackMessageTest.java
@@ -22,6 +22,7 @@
import java.net.URI;
import java.time.OffsetDateTime;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
@@ -30,7 +31,6 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for InboundMessageCallbackMessage
*/
diff --git a/src/test/java/org/openapitools/client/model/InboundMessageCallbackTest.java b/src/test/java/org/openapitools/client/model/InboundMessageCallbackTest.java
index 293ac767..8255f1c9 100644
--- a/src/test/java/org/openapitools/client/model/InboundMessageCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/InboundMessageCallbackTest.java
@@ -20,11 +20,11 @@
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.InboundMessageCallbackMessage;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for InboundMessageCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/InitiateCallbackTest.java b/src/test/java/org/openapitools/client/model/InitiateCallbackTest.java
index ba2baf9a..8de5bb0e 100644
--- a/src/test/java/org/openapitools/client/model/InitiateCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/InitiateCallbackTest.java
@@ -18,17 +18,15 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
import org.openapitools.client.model.Diversion;
import org.openapitools.client.model.StirShaken;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for InitiateCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/ListMessageDirectionEnumTest.java b/src/test/java/org/openapitools/client/model/ListMessageDirectionEnumTest.java
index d2e189ca..e51ae7d7 100644
--- a/src/test/java/org/openapitools/client/model/ListMessageDirectionEnumTest.java
+++ b/src/test/java/org/openapitools/client/model/ListMessageDirectionEnumTest.java
@@ -13,12 +13,10 @@
package org.openapitools.client.model;
-import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for ListMessageDirectionEnum
*/
diff --git a/src/test/java/org/openapitools/client/model/ListMessageItemTest.java b/src/test/java/org/openapitools/client/model/ListMessageItemTest.java
index a240a0c3..2408f20b 100644
--- a/src/test/java/org/openapitools/client/model/ListMessageItemTest.java
+++ b/src/test/java/org/openapitools/client/model/ListMessageItemTest.java
@@ -18,9 +18,9 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.ListMessageDirectionEnum;
import org.openapitools.client.model.MessageStatusEnum;
import org.openapitools.client.model.MessageTypeEnum;
@@ -28,7 +28,6 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for ListMessageItem
*/
@@ -171,4 +170,12 @@ public void campaignClassTest() {
// TODO: test campaignClass
}
+ /**
+ * Test the property 'campaignId'
+ */
+ @Test
+ public void campaignIdTest() {
+ // TODO: test campaignId
+ }
+
}
diff --git a/src/test/java/org/openapitools/client/model/LookupRequestTest.java b/src/test/java/org/openapitools/client/model/LookupRequestTest.java
index b704b9a0..ce90069e 100644
--- a/src/test/java/org/openapitools/client/model/LookupRequestTest.java
+++ b/src/test/java/org/openapitools/client/model/LookupRequestTest.java
@@ -18,15 +18,13 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for LookupRequest
*/
diff --git a/src/test/java/org/openapitools/client/model/LookupResultTest.java b/src/test/java/org/openapitools/client/model/LookupResultTest.java
index 549785af..f95d8492 100644
--- a/src/test/java/org/openapitools/client/model/LookupResultTest.java
+++ b/src/test/java/org/openapitools/client/model/LookupResultTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for LookupResult
*/
diff --git a/src/test/java/org/openapitools/client/model/LookupStatusEnumTest.java b/src/test/java/org/openapitools/client/model/LookupStatusEnumTest.java
index b8f28030..66f38566 100644
--- a/src/test/java/org/openapitools/client/model/LookupStatusEnumTest.java
+++ b/src/test/java/org/openapitools/client/model/LookupStatusEnumTest.java
@@ -13,12 +13,10 @@
package org.openapitools.client.model;
-import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for LookupStatusEnum
*/
diff --git a/src/test/java/org/openapitools/client/model/LookupStatusTest.java b/src/test/java/org/openapitools/client/model/LookupStatusTest.java
index faf8ae5f..50f4d2d5 100644
--- a/src/test/java/org/openapitools/client/model/LookupStatusTest.java
+++ b/src/test/java/org/openapitools/client/model/LookupStatusTest.java
@@ -18,17 +18,15 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import org.openapitools.client.model.LookupResult;
import org.openapitools.client.model.LookupStatusEnum;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for LookupStatus
*/
diff --git a/src/test/java/org/openapitools/client/model/MachineDetectionCompleteCallbackTest.java b/src/test/java/org/openapitools/client/model/MachineDetectionCompleteCallbackTest.java
index 46ca636e..9db2ea01 100644
--- a/src/test/java/org/openapitools/client/model/MachineDetectionCompleteCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/MachineDetectionCompleteCallbackTest.java
@@ -18,16 +18,15 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
+import org.openapitools.client.model.MachineDetectionResult;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MachineDetectionCompleteCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/MachineDetectionConfigurationTest.java b/src/test/java/org/openapitools/client/model/MachineDetectionConfigurationTest.java
index ec792779..820a3676 100644
--- a/src/test/java/org/openapitools/client/model/MachineDetectionConfigurationTest.java
+++ b/src/test/java/org/openapitools/client/model/MachineDetectionConfigurationTest.java
@@ -18,17 +18,15 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.net.URI;
+import java.util.Arrays;
import org.openapitools.client.model.CallbackMethodEnum;
import org.openapitools.client.model.MachineDetectionModeEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MachineDetectionConfiguration
*/
diff --git a/src/test/java/org/openapitools/client/model/MachineDetectionModeEnumTest.java b/src/test/java/org/openapitools/client/model/MachineDetectionModeEnumTest.java
index 067df865..5567bb02 100644
--- a/src/test/java/org/openapitools/client/model/MachineDetectionModeEnumTest.java
+++ b/src/test/java/org/openapitools/client/model/MachineDetectionModeEnumTest.java
@@ -13,12 +13,10 @@
package org.openapitools.client.model;
-import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MachineDetectionModeEnum
*/
diff --git a/src/test/java/org/openapitools/client/model/MediaTest.java b/src/test/java/org/openapitools/client/model/MediaTest.java
index e90800b9..279764e1 100644
--- a/src/test/java/org/openapitools/client/model/MediaTest.java
+++ b/src/test/java/org/openapitools/client/model/MediaTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for Media
*/
diff --git a/src/test/java/org/openapitools/client/model/MessageDeliveredCallbackMessageTest.java b/src/test/java/org/openapitools/client/model/MessageDeliveredCallbackMessageTest.java
index cdec91cf..181c3b5c 100644
--- a/src/test/java/org/openapitools/client/model/MessageDeliveredCallbackMessageTest.java
+++ b/src/test/java/org/openapitools/client/model/MessageDeliveredCallbackMessageTest.java
@@ -22,6 +22,7 @@
import java.net.URI;
import java.time.OffsetDateTime;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
@@ -30,7 +31,6 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MessageDeliveredCallbackMessage
*/
diff --git a/src/test/java/org/openapitools/client/model/MessageDeliveredCallbackTest.java b/src/test/java/org/openapitools/client/model/MessageDeliveredCallbackTest.java
index 2633cd65..d979e36c 100644
--- a/src/test/java/org/openapitools/client/model/MessageDeliveredCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/MessageDeliveredCallbackTest.java
@@ -20,11 +20,11 @@
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.MessageDeliveredCallbackMessage;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MessageDeliveredCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/MessageDirectionEnumTest.java b/src/test/java/org/openapitools/client/model/MessageDirectionEnumTest.java
index 20845f65..ac33ee1d 100644
--- a/src/test/java/org/openapitools/client/model/MessageDirectionEnumTest.java
+++ b/src/test/java/org/openapitools/client/model/MessageDirectionEnumTest.java
@@ -13,12 +13,10 @@
package org.openapitools.client.model;
-import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MessageDirectionEnum
*/
diff --git a/src/test/java/org/openapitools/client/model/MessageFailedCallbackMessageTest.java b/src/test/java/org/openapitools/client/model/MessageFailedCallbackMessageTest.java
index 769c4aa4..19632833 100644
--- a/src/test/java/org/openapitools/client/model/MessageFailedCallbackMessageTest.java
+++ b/src/test/java/org/openapitools/client/model/MessageFailedCallbackMessageTest.java
@@ -22,6 +22,7 @@
import java.net.URI;
import java.time.OffsetDateTime;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
@@ -30,7 +31,6 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MessageFailedCallbackMessage
*/
diff --git a/src/test/java/org/openapitools/client/model/MessageFailedCallbackTest.java b/src/test/java/org/openapitools/client/model/MessageFailedCallbackTest.java
index 87f579e3..ccd3be0e 100644
--- a/src/test/java/org/openapitools/client/model/MessageFailedCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/MessageFailedCallbackTest.java
@@ -20,11 +20,11 @@
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.MessageFailedCallbackMessage;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MessageFailedCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/MessageRequestTest.java b/src/test/java/org/openapitools/client/model/MessageRequestTest.java
index b934465a..52a3cb69 100644
--- a/src/test/java/org/openapitools/client/model/MessageRequestTest.java
+++ b/src/test/java/org/openapitools/client/model/MessageRequestTest.java
@@ -18,11 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.net.URI;
+import java.time.OffsetDateTime;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
@@ -30,7 +30,6 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MessageRequest
*/
diff --git a/src/test/java/org/openapitools/client/model/MessageSendingCallbackMessageTest.java b/src/test/java/org/openapitools/client/model/MessageSendingCallbackMessageTest.java
index 7e562814..3225c1be 100644
--- a/src/test/java/org/openapitools/client/model/MessageSendingCallbackMessageTest.java
+++ b/src/test/java/org/openapitools/client/model/MessageSendingCallbackMessageTest.java
@@ -22,6 +22,7 @@
import java.net.URI;
import java.time.OffsetDateTime;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
@@ -30,7 +31,6 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MessageSendingCallbackMessage
*/
diff --git a/src/test/java/org/openapitools/client/model/MessageSendingCallbackTest.java b/src/test/java/org/openapitools/client/model/MessageSendingCallbackTest.java
index c3966607..75064984 100644
--- a/src/test/java/org/openapitools/client/model/MessageSendingCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/MessageSendingCallbackTest.java
@@ -20,11 +20,11 @@
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.MessageSendingCallbackMessage;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MessageSendingCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/MessageStatusEnumTest.java b/src/test/java/org/openapitools/client/model/MessageStatusEnumTest.java
index 435f7939..ad805092 100644
--- a/src/test/java/org/openapitools/client/model/MessageStatusEnumTest.java
+++ b/src/test/java/org/openapitools/client/model/MessageStatusEnumTest.java
@@ -13,12 +13,10 @@
package org.openapitools.client.model;
-import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MessageStatusEnum
*/
diff --git a/src/test/java/org/openapitools/client/model/MessageTest.java b/src/test/java/org/openapitools/client/model/MessageTest.java
index 29833de2..77a3ee09 100644
--- a/src/test/java/org/openapitools/client/model/MessageTest.java
+++ b/src/test/java/org/openapitools/client/model/MessageTest.java
@@ -18,9 +18,9 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.time.OffsetDateTime;
+import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.Set;
import org.openapitools.client.model.MessageDirectionEnum;
@@ -28,7 +28,6 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for Message
*/
@@ -139,4 +138,12 @@ public void priorityTest() {
// TODO: test priority
}
+ /**
+ * Test the property 'expiration'
+ */
+ @Test
+ public void expirationTest() {
+ // TODO: test expiration
+ }
+
}
diff --git a/src/test/java/org/openapitools/client/model/MessageTypeEnumTest.java b/src/test/java/org/openapitools/client/model/MessageTypeEnumTest.java
index c1fcbe7d..4d5691a6 100644
--- a/src/test/java/org/openapitools/client/model/MessageTypeEnumTest.java
+++ b/src/test/java/org/openapitools/client/model/MessageTypeEnumTest.java
@@ -13,12 +13,10 @@
package org.openapitools.client.model;
-import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MessageTypeEnum
*/
diff --git a/src/test/java/org/openapitools/client/model/MessagesListTest.java b/src/test/java/org/openapitools/client/model/MessagesListTest.java
index 5a5fde85..b1fcfb55 100644
--- a/src/test/java/org/openapitools/client/model/MessagesListTest.java
+++ b/src/test/java/org/openapitools/client/model/MessagesListTest.java
@@ -18,17 +18,15 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import org.openapitools.client.model.ListMessageItem;
import org.openapitools.client.model.PageInfo;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MessagesList
*/
diff --git a/src/test/java/org/openapitools/client/model/MessagingCodeResponseTest.java b/src/test/java/org/openapitools/client/model/MessagingCodeResponseTest.java
index c19a3af5..153b9fca 100644
--- a/src/test/java/org/openapitools/client/model/MessagingCodeResponseTest.java
+++ b/src/test/java/org/openapitools/client/model/MessagingCodeResponseTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MessagingCodeResponse
*/
diff --git a/src/test/java/org/openapitools/client/model/MessagingRequestErrorTest.java b/src/test/java/org/openapitools/client/model/MessagingRequestErrorTest.java
index 5c1d2242..872ca463 100644
--- a/src/test/java/org/openapitools/client/model/MessagingRequestErrorTest.java
+++ b/src/test/java/org/openapitools/client/model/MessagingRequestErrorTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MessagingRequestError
*/
diff --git a/src/test/java/org/openapitools/client/model/MfaForbiddenRequestErrorTest.java b/src/test/java/org/openapitools/client/model/MfaForbiddenRequestErrorTest.java
index ee82ddbe..45d583b1 100644
--- a/src/test/java/org/openapitools/client/model/MfaForbiddenRequestErrorTest.java
+++ b/src/test/java/org/openapitools/client/model/MfaForbiddenRequestErrorTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MfaForbiddenRequestError
*/
diff --git a/src/test/java/org/openapitools/client/model/MfaRequestErrorTest.java b/src/test/java/org/openapitools/client/model/MfaRequestErrorTest.java
index 73a92583..47f0b0cf 100644
--- a/src/test/java/org/openapitools/client/model/MfaRequestErrorTest.java
+++ b/src/test/java/org/openapitools/client/model/MfaRequestErrorTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MfaRequestError
*/
diff --git a/src/test/java/org/openapitools/client/model/MfaUnauthorizedRequestErrorTest.java b/src/test/java/org/openapitools/client/model/MfaUnauthorizedRequestErrorTest.java
index d4382867..59926057 100644
--- a/src/test/java/org/openapitools/client/model/MfaUnauthorizedRequestErrorTest.java
+++ b/src/test/java/org/openapitools/client/model/MfaUnauthorizedRequestErrorTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for MfaUnauthorizedRequestError
*/
diff --git a/src/test/java/org/openapitools/client/model/PageInfoTest.java b/src/test/java/org/openapitools/client/model/PageInfoTest.java
index c15b9fd4..dbab4768 100644
--- a/src/test/java/org/openapitools/client/model/PageInfoTest.java
+++ b/src/test/java/org/openapitools/client/model/PageInfoTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for PageInfo
*/
diff --git a/src/test/java/org/openapitools/client/model/PriorityEnumTest.java b/src/test/java/org/openapitools/client/model/PriorityEnumTest.java
index ee3fbca1..f0f54f1e 100644
--- a/src/test/java/org/openapitools/client/model/PriorityEnumTest.java
+++ b/src/test/java/org/openapitools/client/model/PriorityEnumTest.java
@@ -13,12 +13,10 @@
package org.openapitools.client.model;
-import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for PriorityEnum
*/
diff --git a/src/test/java/org/openapitools/client/model/RecordingAvailableCallbackTest.java b/src/test/java/org/openapitools/client/model/RecordingAvailableCallbackTest.java
index ab4032f9..ddf4d5ef 100644
--- a/src/test/java/org/openapitools/client/model/RecordingAvailableCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/RecordingAvailableCallbackTest.java
@@ -18,18 +18,16 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.net.URI;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
import org.openapitools.client.model.FileFormatEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for RecordingAvailableCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/RecordingCompleteCallbackTest.java b/src/test/java/org/openapitools/client/model/RecordingCompleteCallbackTest.java
index aae083c9..f778d864 100644
--- a/src/test/java/org/openapitools/client/model/RecordingCompleteCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/RecordingCompleteCallbackTest.java
@@ -18,18 +18,16 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.net.URI;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
import org.openapitools.client.model.FileFormatEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for RecordingCompleteCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/RecordingStateEnumTest.java b/src/test/java/org/openapitools/client/model/RecordingStateEnumTest.java
index 7ceab432..577121bd 100644
--- a/src/test/java/org/openapitools/client/model/RecordingStateEnumTest.java
+++ b/src/test/java/org/openapitools/client/model/RecordingStateEnumTest.java
@@ -13,12 +13,10 @@
package org.openapitools.client.model;
-import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for RecordingStateEnum
*/
diff --git a/src/test/java/org/openapitools/client/model/RedirectCallbackTest.java b/src/test/java/org/openapitools/client/model/RedirectCallbackTest.java
index a55eb42d..b4cce0e9 100644
--- a/src/test/java/org/openapitools/client/model/RedirectCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/RedirectCallbackTest.java
@@ -18,16 +18,14 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for RedirectCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/RedirectMethodEnumTest.java b/src/test/java/org/openapitools/client/model/RedirectMethodEnumTest.java
index 479be7a5..39a6deab 100644
--- a/src/test/java/org/openapitools/client/model/RedirectMethodEnumTest.java
+++ b/src/test/java/org/openapitools/client/model/RedirectMethodEnumTest.java
@@ -13,12 +13,10 @@
package org.openapitools.client.model;
-import io.swagger.annotations.ApiModel;
import com.google.gson.annotations.SerializedName;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for RedirectMethodEnum
*/
diff --git a/src/test/java/org/openapitools/client/model/StirShakenTest.java b/src/test/java/org/openapitools/client/model/StirShakenTest.java
index 43c2d25b..e4b8de71 100644
--- a/src/test/java/org/openapitools/client/model/StirShakenTest.java
+++ b/src/test/java/org/openapitools/client/model/StirShakenTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for StirShaken
*/
diff --git a/src/test/java/org/openapitools/client/model/TagTest.java b/src/test/java/org/openapitools/client/model/TagTest.java
index 2826a2be..ccfcc003 100644
--- a/src/test/java/org/openapitools/client/model/TagTest.java
+++ b/src/test/java/org/openapitools/client/model/TagTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for Tag
*/
diff --git a/src/test/java/org/openapitools/client/model/TnLookupRequestErrorTest.java b/src/test/java/org/openapitools/client/model/TnLookupRequestErrorTest.java
index d9b92b48..da1409a7 100644
--- a/src/test/java/org/openapitools/client/model/TnLookupRequestErrorTest.java
+++ b/src/test/java/org/openapitools/client/model/TnLookupRequestErrorTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for TnLookupRequestError
*/
diff --git a/src/test/java/org/openapitools/client/model/TranscribeRecordingTest.java b/src/test/java/org/openapitools/client/model/TranscribeRecordingTest.java
index adae771f..91dad15f 100644
--- a/src/test/java/org/openapitools/client/model/TranscribeRecordingTest.java
+++ b/src/test/java/org/openapitools/client/model/TranscribeRecordingTest.java
@@ -18,16 +18,14 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.net.URI;
+import java.util.Arrays;
import org.openapitools.client.model.CallbackMethodEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for TranscribeRecording
*/
@@ -90,4 +88,12 @@ public void callbackTimeoutTest() {
// TODO: test callbackTimeout
}
+ /**
+ * Test the property 'detectLanguage'
+ */
+ @Test
+ public void detectLanguageTest() {
+ // TODO: test detectLanguage
+ }
+
}
diff --git a/src/test/java/org/openapitools/client/model/TranscriptionAvailableCallbackTest.java b/src/test/java/org/openapitools/client/model/TranscriptionAvailableCallbackTest.java
index 9316e9e4..1cd6e421 100644
--- a/src/test/java/org/openapitools/client/model/TranscriptionAvailableCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/TranscriptionAvailableCallbackTest.java
@@ -18,11 +18,10 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.net.URI;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
import org.openapitools.client.model.FileFormatEnum;
import org.openapitools.client.model.Transcription;
@@ -30,7 +29,6 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for TranscriptionAvailableCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/TranscriptionListTest.java b/src/test/java/org/openapitools/client/model/TranscriptionListTest.java
index 4eef6d07..70903a1d 100644
--- a/src/test/java/org/openapitools/client/model/TranscriptionListTest.java
+++ b/src/test/java/org/openapitools/client/model/TranscriptionListTest.java
@@ -18,16 +18,14 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import org.openapitools.client.model.Transcription;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for TranscriptionList
*/
diff --git a/src/test/java/org/openapitools/client/model/TranscriptionMetadataTest.java b/src/test/java/org/openapitools/client/model/TranscriptionMetadataTest.java
index 94a50e06..adb2f00b 100644
--- a/src/test/java/org/openapitools/client/model/TranscriptionMetadataTest.java
+++ b/src/test/java/org/openapitools/client/model/TranscriptionMetadataTest.java
@@ -18,14 +18,12 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.net.URI;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for TranscriptionMetadata
*/
diff --git a/src/test/java/org/openapitools/client/model/TranscriptionTest.java b/src/test/java/org/openapitools/client/model/TranscriptionTest.java
index dc82f880..70556161 100644
--- a/src/test/java/org/openapitools/client/model/TranscriptionTest.java
+++ b/src/test/java/org/openapitools/client/model/TranscriptionTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for Transcription
*/
diff --git a/src/test/java/org/openapitools/client/model/TransferAnswerCallbackTest.java b/src/test/java/org/openapitools/client/model/TransferAnswerCallbackTest.java
index f3e07d45..b80d39ae 100644
--- a/src/test/java/org/openapitools/client/model/TransferAnswerCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/TransferAnswerCallbackTest.java
@@ -18,16 +18,14 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for TransferAnswerCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/TransferCompleteCallbackTest.java b/src/test/java/org/openapitools/client/model/TransferCompleteCallbackTest.java
index d3f06673..8cfb739f 100644
--- a/src/test/java/org/openapitools/client/model/TransferCompleteCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/TransferCompleteCallbackTest.java
@@ -18,16 +18,14 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for TransferCompleteCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/TransferDisconnectCallbackTest.java b/src/test/java/org/openapitools/client/model/TransferDisconnectCallbackTest.java
index cd1e63a9..25c0046a 100644
--- a/src/test/java/org/openapitools/client/model/TransferDisconnectCallbackTest.java
+++ b/src/test/java/org/openapitools/client/model/TransferDisconnectCallbackTest.java
@@ -18,16 +18,14 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.time.OffsetDateTime;
+import java.util.Arrays;
import org.openapitools.client.model.CallDirectionEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for TransferDisconnectCallback
*/
diff --git a/src/test/java/org/openapitools/client/model/UpdateCallRecordingTest.java b/src/test/java/org/openapitools/client/model/UpdateCallRecordingTest.java
index fb452c7f..46fe0abd 100644
--- a/src/test/java/org/openapitools/client/model/UpdateCallRecordingTest.java
+++ b/src/test/java/org/openapitools/client/model/UpdateCallRecordingTest.java
@@ -18,14 +18,12 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.openapitools.client.model.RecordingStateEnum;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for UpdateCallRecording
*/
diff --git a/src/test/java/org/openapitools/client/model/UpdateCallTest.java b/src/test/java/org/openapitools/client/model/UpdateCallTest.java
index eb8660ba..82a16d4e 100644
--- a/src/test/java/org/openapitools/client/model/UpdateCallTest.java
+++ b/src/test/java/org/openapitools/client/model/UpdateCallTest.java
@@ -18,17 +18,15 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.net.URI;
+import java.util.Arrays;
import org.openapitools.client.model.CallStateEnum;
import org.openapitools.client.model.RedirectMethodEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for UpdateCall
*/
diff --git a/src/test/java/org/openapitools/client/model/UpdateConferenceMemberTest.java b/src/test/java/org/openapitools/client/model/UpdateConferenceMemberTest.java
index 168fb7d0..60ec513c 100644
--- a/src/test/java/org/openapitools/client/model/UpdateConferenceMemberTest.java
+++ b/src/test/java/org/openapitools/client/model/UpdateConferenceMemberTest.java
@@ -18,16 +18,14 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for UpdateConferenceMember
*/
diff --git a/src/test/java/org/openapitools/client/model/UpdateConferenceTest.java b/src/test/java/org/openapitools/client/model/UpdateConferenceTest.java
index b2063af1..5900523d 100644
--- a/src/test/java/org/openapitools/client/model/UpdateConferenceTest.java
+++ b/src/test/java/org/openapitools/client/model/UpdateConferenceTest.java
@@ -18,17 +18,15 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.net.URI;
+import java.util.Arrays;
import org.openapitools.client.model.ConferenceStateEnum;
import org.openapitools.client.model.RedirectMethodEnum;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for UpdateConference
*/
diff --git a/src/test/java/org/openapitools/client/model/VerifyCodeRequestTest.java b/src/test/java/org/openapitools/client/model/VerifyCodeRequestTest.java
index 7287dbe2..a9ebec44 100644
--- a/src/test/java/org/openapitools/client/model/VerifyCodeRequestTest.java
+++ b/src/test/java/org/openapitools/client/model/VerifyCodeRequestTest.java
@@ -18,14 +18,12 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for VerifyCodeRequest
*/
diff --git a/src/test/java/org/openapitools/client/model/VerifyCodeResponseTest.java b/src/test/java/org/openapitools/client/model/VerifyCodeResponseTest.java
index cf3a32ea..99eee368 100644
--- a/src/test/java/org/openapitools/client/model/VerifyCodeResponseTest.java
+++ b/src/test/java/org/openapitools/client/model/VerifyCodeResponseTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for VerifyCodeResponse
*/
diff --git a/src/test/java/org/openapitools/client/model/VoiceApiErrorTest.java b/src/test/java/org/openapitools/client/model/VoiceApiErrorTest.java
index 8f9110bd..9b5906ff 100644
--- a/src/test/java/org/openapitools/client/model/VoiceApiErrorTest.java
+++ b/src/test/java/org/openapitools/client/model/VoiceApiErrorTest.java
@@ -18,14 +18,12 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.openapitools.jackson.nullable.JsonNullable;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for VoiceApiError
*/
diff --git a/src/test/java/org/openapitools/client/model/VoiceCodeResponseTest.java b/src/test/java/org/openapitools/client/model/VoiceCodeResponseTest.java
index 72fa83f3..7953eae2 100644
--- a/src/test/java/org/openapitools/client/model/VoiceCodeResponseTest.java
+++ b/src/test/java/org/openapitools/client/model/VoiceCodeResponseTest.java
@@ -18,13 +18,11 @@
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
+import java.util.Arrays;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
-
/**
* Model tests for VoiceCodeResponse
*/