From 7b73422cd2810ac06260785f7bfef1ff19dcf4fb Mon Sep 17 00:00:00 2001 From: AJ Rice <53190766+ajrice6713@users.noreply.github.com> Date: Wed, 13 Sep 2023 14:58:21 -0400 Subject: [PATCH] Fix unit tests --- .../{test_calls.py => test_calls_api.py} | 0 ...conferences.py => test_conferences_api.py} | 0 ...ctor_authentication.py => test_mfa_api.py} | 0 ...kup.py => test_phone_number_lookup_api.py} | 0 ...t_recordings.py => test_recordings_api.py} | 0 test/test_account_statistics.py | 56 ---------- test/test_answer_callback.py | 70 ------------ test/test_bridge_complete_callback.py | 70 ------------ test/test_bridge_target_complete_callback.py | 67 ----------- test/test_call_direction_enum.py | 37 ------- test/test_call_recording_metadata.py | 76 ------------- test/test_call_state.py | 72 ------------ test/test_call_state_enum.py | 37 ------- test/test_callback_method_enum.py | 37 ------- test/test_calls_api.py | 62 ----------- test/test_code_request.py | 65 ----------- test/test_conference.py | 70 ------------ test/test_conference_completed_callback.py | 59 ---------- test/test_conference_created_callback.py | 59 ---------- test/test_conference_member.py | 60 ---------- test/test_conference_member_exit_callback.py | 62 ----------- test/test_conference_member_join_callback.py | 62 ----------- ...conference_recording_available_callback.py | 68 ------------ test/test_conference_recording_metadata.py | 65 ----------- test/test_conference_redirect_callback.py | 59 ---------- test/test_conference_state_enum.py | 37 ------- test/test_conferences_api.py | 97 ---------------- test/test_create_call.py | 93 ---------------- test/test_create_call_response.py | 84 -------------- test/test_create_lookup_response.py | 56 ---------- test/test_create_message_request_error.py | 63 ----------- test/test_deferred_result.py | 56 ---------- test/test_disconnect_callback.py | 71 ------------ test/test_diversion.py | 61 ---------- test/test_dtmf_callback.py | 71 ------------ test/test_field_error.py | 56 ---------- test/test_file_format_enum.py | 37 ------- test/test_gather_callback.py | 72 ------------ test/test_inbound_message_callback.py | 88 --------------- test/test_inbound_message_callback_message.py | 75 ------------- test/test_initiate_callback.py | 76 ------------- test/test_list_message_direction_enum.py | 37 ------- test/test_list_message_item.py | 71 ------------ test/test_lookup_request.py | 60 ---------- test/test_lookup_result.py | 63 ----------- test/test_lookup_status.py | 69 ------------ test/test_lookup_status_enum.py | 37 ------- ...est_machine_detection_complete_callback.py | 70 ------------ test/test_machine_detection_configuration.py | 69 ------------ test/test_machine_detection_mode_enum.py | 37 ------- test/test_machine_detection_result.py | 56 ---------- test/test_media.py | 57 ---------- test/test_media_api.py | 62 ----------- test/test_message.py | 67 ----------- test/test_message_delivered_callback.py | 88 --------------- ...test_message_delivered_callback_message.py | 76 ------------- test/test_message_direction_enum.py | 37 ------- test/test_message_failed_callback.py | 90 --------------- test/test_message_failed_callback_message.py | 77 ------------- test/test_message_request.py | 65 ----------- test/test_message_sending_callback.py | 88 --------------- test/test_message_sending_callback_message.py | 77 ------------- test/test_message_status_enum.py | 37 ------- test/test_message_type_enum.py | 37 ------- test/test_messages_api.py | 48 -------- test/test_messages_list.py | 80 -------------- test/test_messaging_code_response.py | 55 --------- test/test_messaging_request_error.py | 58 ---------- test/test_mfa_api.py | 55 --------- test/test_mfa_forbidden_request_error.py | 55 --------- test/test_mfa_request_error.py | 56 ---------- test/test_mfa_unauthorized_request_error.py | 55 --------- test/test_page_info.py | 58 ---------- test/test_phone_number_lookup_api.py | 48 -------- test/test_priority_enum.py | 37 ------- test/test_recording_available_callback.py | 76 ------------- test/test_recording_complete_callback.py | 76 ------------- test/test_recording_state_enum.py | 37 ------- test/test_recordings_api.py | 104 ------------------ test/test_redirect_callback.py | 70 ------------ test/test_redirect_method_enum.py | 37 ------- test/test_statistics_api.py | 41 ------- test/test_stir_shaken.py | 57 ---------- test/test_tag.py | 56 ---------- test/test_tn_lookup_request_error.py | 55 --------- test/test_transcribe_recording.py | 61 ---------- test/test_transcription.py | 56 ---------- test/test_transcription_available_callback.py | 77 ------------- test/test_transcription_list.py | 59 ---------- test/test_transcription_metadata.py | 58 ---------- test/test_transfer_answer_callback.py | 69 ------------ test/test_transfer_complete_callback.py | 72 ------------ test/test_transfer_disconnect_callback.py | 74 ------------- test/test_update_call.py | 64 ----------- test/test_update_call_recording.py | 56 ---------- test/test_update_conference.py | 63 ----------- test/test_update_conference_member.py | 57 ---------- test/test_verify_code_request.py | 61 ---------- test/test_verify_code_response.py | 55 --------- test/test_voice_api_error.py | 57 ---------- test/test_voice_code_response.py | 55 --------- test/unit/test_calls_api.py | 62 ----------- test/unit/test_conferences_api.py | 97 ---------------- test/unit/test_media_api.py | 62 ----------- test/unit/test_messages_api.py | 48 -------- test/unit/test_mfa_api.py | 55 --------- test/unit/test_phone_number_lookup_api.py | 48 -------- test/unit/test_recordings_api.py | 104 ------------------ 108 files changed, 6417 deletions(-) rename test/integration/{test_calls.py => test_calls_api.py} (100%) rename test/integration/{test_conferences.py => test_conferences_api.py} (100%) rename test/integration/{test_multi_factor_authentication.py => test_mfa_api.py} (100%) rename test/integration/{test_phone_number_lookup.py => test_phone_number_lookup_api.py} (100%) rename test/integration/{test_recordings.py => test_recordings_api.py} (100%) delete mode 100644 test/test_account_statistics.py delete mode 100644 test/test_answer_callback.py delete mode 100644 test/test_bridge_complete_callback.py delete mode 100644 test/test_bridge_target_complete_callback.py delete mode 100644 test/test_call_direction_enum.py delete mode 100644 test/test_call_recording_metadata.py delete mode 100644 test/test_call_state.py delete mode 100644 test/test_call_state_enum.py delete mode 100644 test/test_callback_method_enum.py delete mode 100644 test/test_calls_api.py delete mode 100644 test/test_code_request.py delete mode 100644 test/test_conference.py delete mode 100644 test/test_conference_completed_callback.py delete mode 100644 test/test_conference_created_callback.py delete mode 100644 test/test_conference_member.py delete mode 100644 test/test_conference_member_exit_callback.py delete mode 100644 test/test_conference_member_join_callback.py delete mode 100644 test/test_conference_recording_available_callback.py delete mode 100644 test/test_conference_recording_metadata.py delete mode 100644 test/test_conference_redirect_callback.py delete mode 100644 test/test_conference_state_enum.py delete mode 100644 test/test_conferences_api.py delete mode 100644 test/test_create_call.py delete mode 100644 test/test_create_call_response.py delete mode 100644 test/test_create_lookup_response.py delete mode 100644 test/test_create_message_request_error.py delete mode 100644 test/test_deferred_result.py delete mode 100644 test/test_disconnect_callback.py delete mode 100644 test/test_diversion.py delete mode 100644 test/test_dtmf_callback.py delete mode 100644 test/test_field_error.py delete mode 100644 test/test_file_format_enum.py delete mode 100644 test/test_gather_callback.py delete mode 100644 test/test_inbound_message_callback.py delete mode 100644 test/test_inbound_message_callback_message.py delete mode 100644 test/test_initiate_callback.py delete mode 100644 test/test_list_message_direction_enum.py delete mode 100644 test/test_list_message_item.py delete mode 100644 test/test_lookup_request.py delete mode 100644 test/test_lookup_result.py delete mode 100644 test/test_lookup_status.py delete mode 100644 test/test_lookup_status_enum.py delete mode 100644 test/test_machine_detection_complete_callback.py delete mode 100644 test/test_machine_detection_configuration.py delete mode 100644 test/test_machine_detection_mode_enum.py delete mode 100644 test/test_machine_detection_result.py delete mode 100644 test/test_media.py delete mode 100644 test/test_media_api.py delete mode 100644 test/test_message.py delete mode 100644 test/test_message_delivered_callback.py delete mode 100644 test/test_message_delivered_callback_message.py delete mode 100644 test/test_message_direction_enum.py delete mode 100644 test/test_message_failed_callback.py delete mode 100644 test/test_message_failed_callback_message.py delete mode 100644 test/test_message_request.py delete mode 100644 test/test_message_sending_callback.py delete mode 100644 test/test_message_sending_callback_message.py delete mode 100644 test/test_message_status_enum.py delete mode 100644 test/test_message_type_enum.py delete mode 100644 test/test_messages_api.py delete mode 100644 test/test_messages_list.py delete mode 100644 test/test_messaging_code_response.py delete mode 100644 test/test_messaging_request_error.py delete mode 100644 test/test_mfa_api.py delete mode 100644 test/test_mfa_forbidden_request_error.py delete mode 100644 test/test_mfa_request_error.py delete mode 100644 test/test_mfa_unauthorized_request_error.py delete mode 100644 test/test_page_info.py delete mode 100644 test/test_phone_number_lookup_api.py delete mode 100644 test/test_priority_enum.py delete mode 100644 test/test_recording_available_callback.py delete mode 100644 test/test_recording_complete_callback.py delete mode 100644 test/test_recording_state_enum.py delete mode 100644 test/test_recordings_api.py delete mode 100644 test/test_redirect_callback.py delete mode 100644 test/test_redirect_method_enum.py delete mode 100644 test/test_statistics_api.py delete mode 100644 test/test_stir_shaken.py delete mode 100644 test/test_tag.py delete mode 100644 test/test_tn_lookup_request_error.py delete mode 100644 test/test_transcribe_recording.py delete mode 100644 test/test_transcription.py delete mode 100644 test/test_transcription_available_callback.py delete mode 100644 test/test_transcription_list.py delete mode 100644 test/test_transcription_metadata.py delete mode 100644 test/test_transfer_answer_callback.py delete mode 100644 test/test_transfer_complete_callback.py delete mode 100644 test/test_transfer_disconnect_callback.py delete mode 100644 test/test_update_call.py delete mode 100644 test/test_update_call_recording.py delete mode 100644 test/test_update_conference.py delete mode 100644 test/test_update_conference_member.py delete mode 100644 test/test_verify_code_request.py delete mode 100644 test/test_verify_code_response.py delete mode 100644 test/test_voice_api_error.py delete mode 100644 test/test_voice_code_response.py delete mode 100644 test/unit/test_calls_api.py delete mode 100644 test/unit/test_conferences_api.py delete mode 100644 test/unit/test_media_api.py delete mode 100644 test/unit/test_messages_api.py delete mode 100644 test/unit/test_mfa_api.py delete mode 100644 test/unit/test_phone_number_lookup_api.py delete mode 100644 test/unit/test_recordings_api.py diff --git a/test/integration/test_calls.py b/test/integration/test_calls_api.py similarity index 100% rename from test/integration/test_calls.py rename to test/integration/test_calls_api.py diff --git a/test/integration/test_conferences.py b/test/integration/test_conferences_api.py similarity index 100% rename from test/integration/test_conferences.py rename to test/integration/test_conferences_api.py diff --git a/test/integration/test_multi_factor_authentication.py b/test/integration/test_mfa_api.py similarity index 100% rename from test/integration/test_multi_factor_authentication.py rename to test/integration/test_mfa_api.py diff --git a/test/integration/test_phone_number_lookup.py b/test/integration/test_phone_number_lookup_api.py similarity index 100% rename from test/integration/test_phone_number_lookup.py rename to test/integration/test_phone_number_lookup_api.py diff --git a/test/integration/test_recordings.py b/test/integration/test_recordings_api.py similarity index 100% rename from test/integration/test_recordings.py rename to test/integration/test_recordings_api.py diff --git a/test/test_account_statistics.py b/test/test_account_statistics.py deleted file mode 100644 index e7038499..00000000 --- a/test/test_account_statistics.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.account_statistics import AccountStatistics # noqa: E501 -from bandwidth.rest import ApiException - -class TestAccountStatistics(unittest.TestCase): - """AccountStatistics unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AccountStatistics - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AccountStatistics` - """ - model = bandwidth.models.account_statistics.AccountStatistics() # noqa: E501 - if include_optional : - return AccountStatistics( - current_call_queue_size = 0, - max_call_queue_size = 900 - ) - else : - return AccountStatistics( - ) - """ - - def testAccountStatistics(self): - """Test AccountStatistics""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_answer_callback.py b/test/test_answer_callback.py deleted file mode 100644 index 94cb3d04..00000000 --- a/test/test_answer_callback.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.answer_callback import AnswerCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestAnswerCallback(unittest.TestCase): - """AnswerCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AnswerCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnswerCallback` - """ - model = bandwidth.models.answer_callback.AnswerCallback() # noqa: E501 - if include_optional : - return AnswerCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - direction = 'inbound', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - enqueued_time = '2022-06-17T22:20Z', - start_time = '2022-06-17T22:19:40.375Z', - answer_time = '2022-06-17T22:20Z', - tag = 'exampleTag', - machine_detection_result = bandwidth.models.machine_detection_result.machineDetectionResult( - value = 'answering-machine', - duration = 'PT4.9891287S', ) - ) - else : - return AnswerCallback( - ) - """ - - def testAnswerCallback(self): - """Test AnswerCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_bridge_complete_callback.py b/test/test_bridge_complete_callback.py deleted file mode 100644 index 38ca08a1..00000000 --- a/test/test_bridge_complete_callback.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.bridge_complete_callback import BridgeCompleteCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestBridgeCompleteCallback(unittest.TestCase): - """BridgeCompleteCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test BridgeCompleteCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BridgeCompleteCallback` - """ - model = bandwidth.models.bridge_complete_callback.BridgeCompleteCallback() # noqa: E501 - if include_optional : - return BridgeCompleteCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - direction = 'inbound', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - enqueued_time = '2022-06-17T22:20Z', - start_time = '2022-06-17T22:19:40.375Z', - answer_time = '2022-06-17T22:20Z', - tag = 'exampleTag', - cause = 'busy', - error_message = 'Call c-2a913f94-6a486f3a-3cae-4034-bcc3-f0c9fa77ca2f is already bridged with another call', - error_id = '4642074b-7b58-478b-96e4-3a60955c6765' - ) - else : - return BridgeCompleteCallback( - ) - """ - - def testBridgeCompleteCallback(self): - """Test BridgeCompleteCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_bridge_target_complete_callback.py b/test/test_bridge_target_complete_callback.py deleted file mode 100644 index 7de38d19..00000000 --- a/test/test_bridge_target_complete_callback.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.bridge_target_complete_callback import BridgeTargetCompleteCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestBridgeTargetCompleteCallback(unittest.TestCase): - """BridgeTargetCompleteCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test BridgeTargetCompleteCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `BridgeTargetCompleteCallback` - """ - model = bandwidth.models.bridge_target_complete_callback.BridgeTargetCompleteCallback() # noqa: E501 - if include_optional : - return BridgeTargetCompleteCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - direction = 'inbound', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - enqueued_time = '2022-06-17T22:20Z', - start_time = '2022-06-17T22:19:40.375Z', - answer_time = '2022-06-17T22:20Z', - tag = 'exampleTag' - ) - else : - return BridgeTargetCompleteCallback( - ) - """ - - def testBridgeTargetCompleteCallback(self): - """Test BridgeTargetCompleteCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_call_direction_enum.py b/test/test_call_direction_enum.py deleted file mode 100644 index 7e7c152f..00000000 --- a/test/test_call_direction_enum.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.call_direction_enum import CallDirectionEnum # noqa: E501 -from bandwidth.rest import ApiException - -class TestCallDirectionEnum(unittest.TestCase): - """CallDirectionEnum unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCallDirectionEnum(self): - """Test CallDirectionEnum""" - # inst = CallDirectionEnum() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_call_recording_metadata.py b/test/test_call_recording_metadata.py deleted file mode 100644 index 6b3e8d9a..00000000 --- a/test/test_call_recording_metadata.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.call_recording_metadata import CallRecordingMetadata # noqa: E501 -from bandwidth.rest import ApiException - -class TestCallRecordingMetadata(unittest.TestCase): - """CallRecordingMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test CallRecordingMetadata - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CallRecordingMetadata` - """ - model = bandwidth.models.call_recording_metadata.CallRecordingMetadata() # noqa: E501 - if include_optional : - return CallRecordingMetadata( - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - account_id = '920012', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - parent_call_id = 'c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d', - recording_id = 'r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833', - to = '+15555555555', - var_from = '+15555555555', - transfer_caller_id = '+15555555555', - transfer_to = '+15555555555)', - duration = 'PT13.67S', - direction = 'inbound', - channels = 1, - start_time = '2022-06-17T22:19:40.375Z', - end_time = '2022-06-17T22:20Z', - file_format = 'wav', - status = 'completed', - media_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/recordings/r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833/media', - transcription = bandwidth.models.transcription_metadata.transcriptionMetadata( - id = 't-387bd648-18f3-4823-9d16-746bca0003c9', - status = 'completed', - completed_time = '2022-06-13T18:46:29.715Z', - url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/recordings/r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/transcription', ) - ) - else : - return CallRecordingMetadata( - ) - """ - - def testCallRecordingMetadata(self): - """Test CallRecordingMetadata""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_call_state.py b/test/test_call_state.py deleted file mode 100644 index a0bb02d5..00000000 --- a/test/test_call_state.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.call_state import CallState # noqa: E501 -from bandwidth.rest import ApiException - -class TestCallState(unittest.TestCase): - """CallState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test CallState - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CallState` - """ - model = bandwidth.models.call_state.CallState() # noqa: E501 - if include_optional : - return CallState( - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - account_id = '9900000', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - parent_call_id = 'c-25ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - to = '+19195551234', - var_from = '19195554321', - direction = 'inbound', - state = 'disconnected', - stir_shaken = {"verstat":"TN-Verification-Passed","attestationIndicator":"A","originatingId":"abc123"}, - identity = 'eyJhbGciOiJFUzI1NiIsInBwdCI6InNoYWtlbiIsInR5cCI6InBhc3Nwb3J0IiwieDV1IjoiaHR0cHM6Ly9idy1zaGFrZW4tY2VydC1wdWIuczMuYW1hem9uYXdzLmNvbS9iYW5kd2lkdGgtc2hha2VuLWNlcnRfMjAyMzA3MTYucGVtIn0.eyJhdHRlc3QiOiJBIiwiZGVzdCI6eyJ0biI6WyIxOTg0MjgyMDI4MCJdfSwiaWF0IjoxNjU2NTM0MzM2LCJvcmlnIjp7InRuIjoiMTkxOTQ0NDI2ODMifSwib3JpZ2lkIjoiNDk0NTlhOGEtNDJmNi0zNTFjLTkzNjEtYWRmNTdhOWUwOGNhIn0.56un9sRw_uH-sbJvnUsqdevlVxbOVjn8MVlGTlBMicjaZuRRwxfiNp-C9zYCMKTTCbc-QdYPN05F61XNVN4D3w;info=;alg=ES256;ppt=shaken', - enqueued_time = '2022-06-16T13:15:07.160Z', - start_time = '2022-06-16T13:15:07.160Z', - answer_time = '2022-06-16T13:15:18.126Z', - end_time = '2022-06-16T13:15:18.314Z', - disconnect_cause = '', - error_message = '', - error_id = '', - last_update = '2022-06-16T13:15:18.314Z' - ) - else : - return CallState( - ) - """ - - def testCallState(self): - """Test CallState""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_call_state_enum.py b/test/test_call_state_enum.py deleted file mode 100644 index e4eb0653..00000000 --- a/test/test_call_state_enum.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.call_state_enum import CallStateEnum # noqa: E501 -from bandwidth.rest import ApiException - -class TestCallStateEnum(unittest.TestCase): - """CallStateEnum unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCallStateEnum(self): - """Test CallStateEnum""" - # inst = CallStateEnum() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_callback_method_enum.py b/test/test_callback_method_enum.py deleted file mode 100644 index a91471a3..00000000 --- a/test/test_callback_method_enum.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.callback_method_enum import CallbackMethodEnum # noqa: E501 -from bandwidth.rest import ApiException - -class TestCallbackMethodEnum(unittest.TestCase): - """CallbackMethodEnum unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCallbackMethodEnum(self): - """Test CallbackMethodEnum""" - # inst = CallbackMethodEnum() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_calls_api.py b/test/test_calls_api.py deleted file mode 100644 index 09019c0b..00000000 --- a/test/test_calls_api.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.calls_api import CallsApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestCallsApi(unittest.TestCase): - """CallsApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.calls_api.CallsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_call(self): - """Test case for create_call - - Create Call # noqa: E501 - """ - pass - - def test_get_call_state(self): - """Test case for get_call_state - - Get Call State Information # noqa: E501 - """ - pass - - def test_update_call(self): - """Test case for update_call - - Update Call # noqa: E501 - """ - pass - - def test_update_call_bxml(self): - """Test case for update_call_bxml - - Update Call BXML # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_code_request.py b/test/test_code_request.py deleted file mode 100644 index 9df98c86..00000000 --- a/test/test_code_request.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.code_request import CodeRequest # noqa: E501 -from bandwidth.rest import ApiException - -class TestCodeRequest(unittest.TestCase): - """CodeRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test CodeRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CodeRequest` - """ - model = bandwidth.models.code_request.CodeRequest() # noqa: E501 - if include_optional : - return CodeRequest( - to = '+19195551234', - var_from = '+19195554321', - application_id = '66fd98ae-ac8d-a00f-7fcd-ba3280aeb9b1', - scope = '2FA', - message = 'Your temporary {NAME} {SCOPE} code is {CODE}', - digits = 6 - ) - else : - return CodeRequest( - to = '+19195551234', - var_from = '+19195554321', - application_id = '66fd98ae-ac8d-a00f-7fcd-ba3280aeb9b1', - message = 'Your temporary {NAME} {SCOPE} code is {CODE}', - digits = 6, - ) - """ - - def testCodeRequest(self): - """Test CodeRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conference.py b/test/test_conference.py deleted file mode 100644 index 2e83f298..00000000 --- a/test/test_conference.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.conference import Conference # noqa: E501 -from bandwidth.rest import ApiException - -class TestConference(unittest.TestCase): - """Conference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test Conference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Conference` - """ - model = bandwidth.models.conference.Conference() # noqa: E501 - if include_optional : - return Conference( - id = 'conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9', - name = 'my-conference-name', - created_time = '2022-06-17T22:19:40.375Z', - completed_time = '2022-06-17T22:20Z', - conference_event_url = 'https://myServer.example/bandwidth/webhooks/conferenceEvent', - conference_event_method = 'POST', - tag = 'my custom tag', - active_members = [ - bandwidth.models.conference_member.conferenceMember( - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - conference_id = 'conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9', - member_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/members/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - mute = False, - hold = False, - call_ids_to_coach = ["c-25ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"], ) - ] - ) - else : - return Conference( - ) - """ - - def testConference(self): - """Test Conference""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conference_completed_callback.py b/test/test_conference_completed_callback.py deleted file mode 100644 index 7b4be3bc..00000000 --- a/test/test_conference_completed_callback.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.conference_completed_callback import ConferenceCompletedCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestConferenceCompletedCallback(unittest.TestCase): - """ConferenceCompletedCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ConferenceCompletedCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ConferenceCompletedCallback` - """ - model = bandwidth.models.conference_completed_callback.ConferenceCompletedCallback() # noqa: E501 - if include_optional : - return ConferenceCompletedCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - conference_id = 'conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9', - name = 'my-conference-name', - tag = 'exampleTag' - ) - else : - return ConferenceCompletedCallback( - ) - """ - - def testConferenceCompletedCallback(self): - """Test ConferenceCompletedCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conference_created_callback.py b/test/test_conference_created_callback.py deleted file mode 100644 index af7eff5b..00000000 --- a/test/test_conference_created_callback.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.conference_created_callback import ConferenceCreatedCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestConferenceCreatedCallback(unittest.TestCase): - """ConferenceCreatedCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ConferenceCreatedCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ConferenceCreatedCallback` - """ - model = bandwidth.models.conference_created_callback.ConferenceCreatedCallback() # noqa: E501 - if include_optional : - return ConferenceCreatedCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - conference_id = 'conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9', - name = 'my-conference-name', - tag = 'exampleTag' - ) - else : - return ConferenceCreatedCallback( - ) - """ - - def testConferenceCreatedCallback(self): - """Test ConferenceCreatedCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conference_member.py b/test/test_conference_member.py deleted file mode 100644 index 51222320..00000000 --- a/test/test_conference_member.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.conference_member import ConferenceMember # noqa: E501 -from bandwidth.rest import ApiException - -class TestConferenceMember(unittest.TestCase): - """ConferenceMember unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ConferenceMember - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ConferenceMember` - """ - model = bandwidth.models.conference_member.ConferenceMember() # noqa: E501 - if include_optional : - return ConferenceMember( - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - conference_id = 'conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9', - member_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/members/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - mute = False, - hold = False, - call_ids_to_coach = ["c-25ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"] - ) - else : - return ConferenceMember( - ) - """ - - def testConferenceMember(self): - """Test ConferenceMember""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conference_member_exit_callback.py b/test/test_conference_member_exit_callback.py deleted file mode 100644 index 879b1f4e..00000000 --- a/test/test_conference_member_exit_callback.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.conference_member_exit_callback import ConferenceMemberExitCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestConferenceMemberExitCallback(unittest.TestCase): - """ConferenceMemberExitCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ConferenceMemberExitCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ConferenceMemberExitCallback` - """ - model = bandwidth.models.conference_member_exit_callback.ConferenceMemberExitCallback() # noqa: E501 - if include_optional : - return ConferenceMemberExitCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - conference_id = 'conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9', - name = 'my-conference-name', - var_from = '+15555555555', - to = '+15555555555', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - tag = 'exampleTag' - ) - else : - return ConferenceMemberExitCallback( - ) - """ - - def testConferenceMemberExitCallback(self): - """Test ConferenceMemberExitCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conference_member_join_callback.py b/test/test_conference_member_join_callback.py deleted file mode 100644 index be466717..00000000 --- a/test/test_conference_member_join_callback.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.conference_member_join_callback import ConferenceMemberJoinCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestConferenceMemberJoinCallback(unittest.TestCase): - """ConferenceMemberJoinCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ConferenceMemberJoinCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ConferenceMemberJoinCallback` - """ - model = bandwidth.models.conference_member_join_callback.ConferenceMemberJoinCallback() # noqa: E501 - if include_optional : - return ConferenceMemberJoinCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - conference_id = 'conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9', - name = 'my-conference-name', - var_from = '+15555555555', - to = '+15555555555', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - tag = 'exampleTag' - ) - else : - return ConferenceMemberJoinCallback( - ) - """ - - def testConferenceMemberJoinCallback(self): - """Test ConferenceMemberJoinCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conference_recording_available_callback.py b/test/test_conference_recording_available_callback.py deleted file mode 100644 index 91de9b94..00000000 --- a/test/test_conference_recording_available_callback.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.conference_recording_available_callback import ConferenceRecordingAvailableCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestConferenceRecordingAvailableCallback(unittest.TestCase): - """ConferenceRecordingAvailableCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ConferenceRecordingAvailableCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ConferenceRecordingAvailableCallback` - """ - model = bandwidth.models.conference_recording_available_callback.ConferenceRecordingAvailableCallback() # noqa: E501 - if include_optional : - return ConferenceRecordingAvailableCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - conference_id = 'conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9', - name = 'my-conference-name', - account_id = '920012', - recording_id = 'r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833', - channels = 1, - start_time = '2022-06-17T22:19:40.375Z', - end_time = '2022-06-17T22:20Z', - duration = 'PT13.67S', - file_format = 'wav', - media_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/recordings/r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833/media', - tag = 'exampleTag', - status = 'completed' - ) - else : - return ConferenceRecordingAvailableCallback( - ) - """ - - def testConferenceRecordingAvailableCallback(self): - """Test ConferenceRecordingAvailableCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conference_recording_metadata.py b/test/test_conference_recording_metadata.py deleted file mode 100644 index 0538c7d2..00000000 --- a/test/test_conference_recording_metadata.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.conference_recording_metadata import ConferenceRecordingMetadata # noqa: E501 -from bandwidth.rest import ApiException - -class TestConferenceRecordingMetadata(unittest.TestCase): - """ConferenceRecordingMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ConferenceRecordingMetadata - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ConferenceRecordingMetadata` - """ - model = bandwidth.models.conference_recording_metadata.ConferenceRecordingMetadata() # noqa: E501 - if include_optional : - return ConferenceRecordingMetadata( - account_id = '920012', - conference_id = 'conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9', - name = 'my-conference-name', - recording_id = 'r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833', - duration = 'PT13.67S', - channels = 1, - start_time = '2022-06-17T22:19:40.375Z', - end_time = '2022-06-17T22:20Z', - file_format = 'wav', - status = 'completed', - media_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/recordings/r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833/media' - ) - else : - return ConferenceRecordingMetadata( - ) - """ - - def testConferenceRecordingMetadata(self): - """Test ConferenceRecordingMetadata""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conference_redirect_callback.py b/test/test_conference_redirect_callback.py deleted file mode 100644 index 4edd30dd..00000000 --- a/test/test_conference_redirect_callback.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.conference_redirect_callback import ConferenceRedirectCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestConferenceRedirectCallback(unittest.TestCase): - """ConferenceRedirectCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ConferenceRedirectCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ConferenceRedirectCallback` - """ - model = bandwidth.models.conference_redirect_callback.ConferenceRedirectCallback() # noqa: E501 - if include_optional : - return ConferenceRedirectCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - conference_id = 'conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9', - name = 'my-conference-name', - tag = 'exampleTag' - ) - else : - return ConferenceRedirectCallback( - ) - """ - - def testConferenceRedirectCallback(self): - """Test ConferenceRedirectCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conference_state_enum.py b/test/test_conference_state_enum.py deleted file mode 100644 index 87caff31..00000000 --- a/test/test_conference_state_enum.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.conference_state_enum import ConferenceStateEnum # noqa: E501 -from bandwidth.rest import ApiException - -class TestConferenceStateEnum(unittest.TestCase): - """ConferenceStateEnum unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testConferenceStateEnum(self): - """Test ConferenceStateEnum""" - # inst = ConferenceStateEnum() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_conferences_api.py b/test/test_conferences_api.py deleted file mode 100644 index 40eed969..00000000 --- a/test/test_conferences_api.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.conferences_api import ConferencesApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestConferencesApi(unittest.TestCase): - """ConferencesApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.conferences_api.ConferencesApi() # noqa: E501 - - def tearDown(self): - pass - - def test_download_conference_recording(self): - """Test case for download_conference_recording - - Download Conference Recording # noqa: E501 - """ - pass - - def test_get_conference(self): - """Test case for get_conference - - Get Conference Information # noqa: E501 - """ - pass - - def test_get_conference_member(self): - """Test case for get_conference_member - - Get Conference Member # noqa: E501 - """ - pass - - def test_get_conference_recording(self): - """Test case for get_conference_recording - - Get Conference Recording Information # noqa: E501 - """ - pass - - def test_list_conference_recordings(self): - """Test case for list_conference_recordings - - Get Conference Recordings # noqa: E501 - """ - pass - - def test_list_conferences(self): - """Test case for list_conferences - - Get Conferences # noqa: E501 - """ - pass - - def test_update_conference(self): - """Test case for update_conference - - Update Conference # noqa: E501 - """ - pass - - def test_update_conference_bxml(self): - """Test case for update_conference_bxml - - Update Conference BXML # noqa: E501 - """ - pass - - def test_update_conference_member(self): - """Test case for update_conference_member - - Update Conference Member # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_create_call.py b/test/test_create_call.py deleted file mode 100644 index 2aa1ef1b..00000000 --- a/test/test_create_call.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.create_call import CreateCall # noqa: E501 -from bandwidth.rest import ApiException - -class TestCreateCall(unittest.TestCase): - """CreateCall unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test CreateCall - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CreateCall` - """ - model = bandwidth.models.create_call.CreateCall() # noqa: E501 - if include_optional : - return CreateCall( - to = '+19195551234', - var_from = '+19195554321', - display_name = 'John Doe', - uui = 'eyJhbGciOiJIUzI1NiJ9.WyJoaSJd.-znkjYyCkgz4djmHUPSXl9YrJ6Nix_XvmlwKGFh5ERM;encoding=jwt,aGVsbG8gd29ybGQ;encoding=base64', - application_id = '1234-qwer-5679-tyui', - answer_url = 'https://www.myCallbackServer.example/webhooks/answer', - answer_method = 'POST', - username = 'mySecretUsername', - password = 'mySecretPassword1!', - answer_fallback_url = 'https://www.myFallbackServer.example/webhooks/answer', - answer_fallback_method = 'POST', - fallback_username = 'mySecretUsername', - fallback_password = 'mySecretPassword1!', - disconnect_url = 'https://www.myCallbackServer.example/webhooks/disconnect', - disconnect_method = 'POST', - call_timeout = 30, - callback_timeout = 15, - machine_detection = bandwidth.models.machine_detection_configuration.machineDetectionConfiguration( - mode = 'async', - detection_timeout = 15, - silence_timeout = 10, - speech_threshold = 10, - speech_end_threshold = 5, - machine_speech_end_threshold = 5, - delay_result = False, - callback_url = 'https://myServer.example/bandwidth/webhooks/machineDetectionComplete', - callback_method = 'POST', - username = 'mySecretUsername', - password = 'mySecretPassword1!', - fallback_url = 'https://myFallbackServer.example/bandwidth/webhooks/machineDetectionComplete', - fallback_method = 'POST', - fallback_username = 'mySecretUsername', - fallback_password = 'mySecretPassword1!', ), - priority = 5, - tag = 'arbitrary text here' - ) - else : - return CreateCall( - to = '+19195551234', - var_from = '+19195554321', - application_id = '1234-qwer-5679-tyui', - answer_url = 'https://www.myCallbackServer.example/webhooks/answer', - ) - """ - - def testCreateCall(self): - """Test CreateCall""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_create_call_response.py b/test/test_create_call_response.py deleted file mode 100644 index deeb0bd2..00000000 --- a/test/test_create_call_response.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.create_call_response import CreateCallResponse # noqa: E501 -from bandwidth.rest import ApiException - -class TestCreateCallResponse(unittest.TestCase): - """CreateCallResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test CreateCallResponse - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CreateCallResponse` - """ - model = bandwidth.models.create_call_response.CreateCallResponse() # noqa: E501 - if include_optional : - return CreateCallResponse( - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - account_id = '9900000', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - to = '+19195551234', - var_from = '+19195554321', - enqueued_time = '2022-06-16T13:15:07.160Z', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - call_timeout = 30, - callback_timeout = 15, - tag = 'My custom tag value', - answer_method = 'POST', - answer_url = 'https://myServer.example/bandwidth/webhooks/answer', - answer_fallback_method = 'POST', - answer_fallback_url = 'https://myFallbackServer.example/bandwidth/webhooks/answer', - disconnect_method = 'POST', - disconnect_url = 'https://myServer.example/bandwidth/webhooks/disconnect', - username = 'mySecretUsername', - password = 'mySecretPassword1!', - fallback_username = 'mySecretUsername', - fallback_password = 'mySecretPassword1!', - priority = 5 - ) - else : - return CreateCallResponse( - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - account_id = '9900000', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - to = '+19195551234', - var_from = '+19195554321', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - answer_method = 'POST', - answer_url = 'https://myServer.example/bandwidth/webhooks/answer', - disconnect_method = 'POST', - ) - """ - - def testCreateCallResponse(self): - """Test CreateCallResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_create_lookup_response.py b/test/test_create_lookup_response.py deleted file mode 100644 index 73081e2a..00000000 --- a/test/test_create_lookup_response.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.create_lookup_response import CreateLookupResponse # noqa: E501 -from bandwidth.rest import ApiException - -class TestCreateLookupResponse(unittest.TestCase): - """CreateLookupResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test CreateLookupResponse - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CreateLookupResponse` - """ - model = bandwidth.models.create_lookup_response.CreateLookupResponse() # noqa: E501 - if include_optional : - return CreateLookupResponse( - request_id = '', - status = 'COMPLETE' - ) - else : - return CreateLookupResponse( - ) - """ - - def testCreateLookupResponse(self): - """Test CreateLookupResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_create_message_request_error.py b/test/test_create_message_request_error.py deleted file mode 100644 index 031fe199..00000000 --- a/test/test_create_message_request_error.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.create_message_request_error import CreateMessageRequestError # noqa: E501 -from bandwidth.rest import ApiException - -class TestCreateMessageRequestError(unittest.TestCase): - """CreateMessageRequestError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test CreateMessageRequestError - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `CreateMessageRequestError` - """ - model = bandwidth.models.create_message_request_error.CreateMessageRequestError() # noqa: E501 - if include_optional : - return CreateMessageRequestError( - type = '', - description = '', - field_errors = [ - bandwidth.models.field_error.fieldError( - field_name = 'from', - description = ''+invalid' must be replaced with a valid E164 formatted telephone number', ) - ] - ) - else : - return CreateMessageRequestError( - type = '', - description = '', - ) - """ - - def testCreateMessageRequestError(self): - """Test CreateMessageRequestError""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_deferred_result.py b/test/test_deferred_result.py deleted file mode 100644 index e9a0fee8..00000000 --- a/test/test_deferred_result.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.deferred_result import DeferredResult # noqa: E501 -from bandwidth.rest import ApiException - -class TestDeferredResult(unittest.TestCase): - """DeferredResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test DeferredResult - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DeferredResult` - """ - model = bandwidth.models.deferred_result.DeferredResult() # noqa: E501 - if include_optional : - return DeferredResult( - result = None, - set_or_expired = True - ) - else : - return DeferredResult( - ) - """ - - def testDeferredResult(self): - """Test DeferredResult""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_disconnect_callback.py b/test/test_disconnect_callback.py deleted file mode 100644 index 7efc4c10..00000000 --- a/test/test_disconnect_callback.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.disconnect_callback import DisconnectCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestDisconnectCallback(unittest.TestCase): - """DisconnectCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test DisconnectCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DisconnectCallback` - """ - model = bandwidth.models.disconnect_callback.DisconnectCallback() # noqa: E501 - if include_optional : - return DisconnectCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - direction = 'inbound', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - enqueued_time = '2022-06-17T22:20Z', - start_time = '2022-06-17T22:19:40.375Z', - answer_time = '2022-06-17T22:20Z', - end_time = '2022-06-17T22:20Z', - cause = 'busy', - error_message = 'Call c-2a913f94-6a486f3a-3cae-4034-bcc3-f0c9fa77ca2f is already bridged with another call', - error_id = '4642074b-7b58-478b-96e4-3a60955c6765', - tag = 'exampleTag' - ) - else : - return DisconnectCallback( - ) - """ - - def testDisconnectCallback(self): - """Test DisconnectCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_diversion.py b/test/test_diversion.py deleted file mode 100644 index 6109e693..00000000 --- a/test/test_diversion.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.diversion import Diversion # noqa: E501 -from bandwidth.rest import ApiException - -class TestDiversion(unittest.TestCase): - """Diversion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test Diversion - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Diversion` - """ - model = bandwidth.models.diversion.Diversion() # noqa: E501 - if include_optional : - return Diversion( - reason = 'unavailable', - privacy = 'off', - screen = 'no', - counter = '2', - limit = '3', - unknown = 'unknownValue', - orig_to = '+15558884444' - ) - else : - return Diversion( - ) - """ - - def testDiversion(self): - """Test Diversion""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_dtmf_callback.py b/test/test_dtmf_callback.py deleted file mode 100644 index 10091a99..00000000 --- a/test/test_dtmf_callback.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.dtmf_callback import DtmfCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestDtmfCallback(unittest.TestCase): - """DtmfCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test DtmfCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DtmfCallback` - """ - model = bandwidth.models.dtmf_callback.DtmfCallback() # noqa: E501 - if include_optional : - return DtmfCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - direction = 'inbound', - digit = '2', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - enqueued_time = '2022-06-17T22:20Z', - start_time = '2022-06-17T22:19:40.375Z', - answer_time = '2022-06-17T22:20Z', - parent_call_id = 'c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d', - transfer_caller_id = '+15555555555', - transfer_to = '+15555555555)', - tag = 'exampleTag' - ) - else : - return DtmfCallback( - ) - """ - - def testDtmfCallback(self): - """Test DtmfCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_field_error.py b/test/test_field_error.py deleted file mode 100644 index 77e049c6..00000000 --- a/test/test_field_error.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.field_error import FieldError # noqa: E501 -from bandwidth.rest import ApiException - -class TestFieldError(unittest.TestCase): - """FieldError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test FieldError - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `FieldError` - """ - model = bandwidth.models.field_error.FieldError() # noqa: E501 - if include_optional : - return FieldError( - field_name = 'from', - description = ''+invalid' must be replaced with a valid E164 formatted telephone number' - ) - else : - return FieldError( - ) - """ - - def testFieldError(self): - """Test FieldError""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_file_format_enum.py b/test/test_file_format_enum.py deleted file mode 100644 index 40cf27e0..00000000 --- a/test/test_file_format_enum.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.file_format_enum import FileFormatEnum # noqa: E501 -from bandwidth.rest import ApiException - -class TestFileFormatEnum(unittest.TestCase): - """FileFormatEnum unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFileFormatEnum(self): - """Test FileFormatEnum""" - # inst = FileFormatEnum() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_gather_callback.py b/test/test_gather_callback.py deleted file mode 100644 index dae61d55..00000000 --- a/test/test_gather_callback.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.gather_callback import GatherCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestGatherCallback(unittest.TestCase): - """GatherCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test GatherCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `GatherCallback` - """ - model = bandwidth.models.gather_callback.GatherCallback() # noqa: E501 - if include_optional : - return GatherCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - direction = 'inbound', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - digits = '123', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - enqueued_time = '2022-06-17T22:20Z', - start_time = '2022-06-17T22:19:40.375Z', - answer_time = '2022-06-17T22:20Z', - parent_call_id = 'c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d', - terminating_digit = '#', - transfer_caller_id = '+15555555555', - transfer_to = '+15555555555)', - tag = 'exampleTag' - ) - else : - return GatherCallback( - ) - """ - - def testGatherCallback(self): - """Test GatherCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inbound_message_callback.py b/test/test_inbound_message_callback.py deleted file mode 100644 index d0264bc2..00000000 --- a/test/test_inbound_message_callback.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.inbound_message_callback import InboundMessageCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestInboundMessageCallback(unittest.TestCase): - """InboundMessageCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test InboundMessageCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `InboundMessageCallback` - """ - model = bandwidth.models.inbound_message_callback.InboundMessageCallback() # noqa: E501 - if include_optional : - return InboundMessageCallback( - time = '2016-09-14T18:20:16Z', - type = 'message-received', - to = '+15552223333', - description = 'Incoming message received', - message = bandwidth.models.inbound_message_callback_message.inboundMessageCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - from = '+15553332222', - text = 'Hello world', - tag = 'custom string', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"], - priority = 'default', ) - ) - else : - return InboundMessageCallback( - time = '2016-09-14T18:20:16Z', - type = 'message-received', - to = '+15552223333', - description = 'Incoming message received', - message = bandwidth.models.inbound_message_callback_message.inboundMessageCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - from = '+15553332222', - text = 'Hello world', - tag = 'custom string', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"], - priority = 'default', ), - ) - """ - - def testInboundMessageCallback(self): - """Test InboundMessageCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inbound_message_callback_message.py b/test/test_inbound_message_callback_message.py deleted file mode 100644 index 35126e7d..00000000 --- a/test/test_inbound_message_callback_message.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.inbound_message_callback_message import InboundMessageCallbackMessage # noqa: E501 -from bandwidth.rest import ApiException - -class TestInboundMessageCallbackMessage(unittest.TestCase): - """InboundMessageCallbackMessage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test InboundMessageCallbackMessage - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `InboundMessageCallbackMessage` - """ - model = bandwidth.models.inbound_message_callback_message.InboundMessageCallbackMessage() # noqa: E501 - if include_optional : - return InboundMessageCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - var_from = '+15553332222', - text = 'Hello world', - tag = 'custom string', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"], - priority = 'default' - ) - else : - return InboundMessageCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - var_from = '+15553332222', - text = 'Hello world', - ) - """ - - def testInboundMessageCallbackMessage(self): - """Test InboundMessageCallbackMessage""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_initiate_callback.py b/test/test_initiate_callback.py deleted file mode 100644 index 49014cae..00000000 --- a/test/test_initiate_callback.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.initiate_callback import InitiateCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestInitiateCallback(unittest.TestCase): - """InitiateCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test InitiateCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `InitiateCallback` - """ - model = bandwidth.models.initiate_callback.InitiateCallback() # noqa: E501 - if include_optional : - return InitiateCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - direction = 'inbound', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - start_time = '2022-06-17T22:19:40.375Z', - diversion = bandwidth.models.diversion.diversion( - reason = 'unavailable', - privacy = 'off', - screen = 'no', - counter = '2', - limit = '3', - unknown = 'unknownValue', - orig_to = '+15558884444', ), - stir_shaken = bandwidth.models.stir_shaken.stirShaken( - verstat = 'Tn-Verification-Passed', - attestation_indicator = 'A', - originating_id = '99759086-1335-11ed-9bcf-5f7d464e91af', ) - ) - else : - return InitiateCallback( - ) - """ - - def testInitiateCallback(self): - """Test InitiateCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_list_message_direction_enum.py b/test/test_list_message_direction_enum.py deleted file mode 100644 index 72ac6efe..00000000 --- a/test/test_list_message_direction_enum.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.list_message_direction_enum import ListMessageDirectionEnum # noqa: E501 -from bandwidth.rest import ApiException - -class TestListMessageDirectionEnum(unittest.TestCase): - """ListMessageDirectionEnum unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testListMessageDirectionEnum(self): - """Test ListMessageDirectionEnum""" - # inst = ListMessageDirectionEnum() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_list_message_item.py b/test/test_list_message_item.py deleted file mode 100644 index 9b549595..00000000 --- a/test/test_list_message_item.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.list_message_item import ListMessageItem # noqa: E501 -from bandwidth.rest import ApiException - -class TestListMessageItem(unittest.TestCase): - """ListMessageItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ListMessageItem - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ListMessageItem` - """ - model = bandwidth.models.list_message_item.ListMessageItem() # noqa: E501 - if include_optional : - return ListMessageItem( - message_id = '1589228074636lm4k2je7j7jklbn2', - account_id = '9900000', - source_tn = '+15554443333', - destination_tn = '+15554442222', - message_status = 'RECEIVED', - message_direction = 'INBOUND', - message_type = 'sms', - segment_count = 1, - error_code = 9902, - receive_time = '2020-04-07T14:03:07Z', - carrier_name = 'other', - message_size = 27, - message_length = 18, - attachment_count = 1, - recipient_count = 1, - campaign_class = 'T', - campaign_id = 'CJEUMDK' - ) - else : - return ListMessageItem( - ) - """ - - def testListMessageItem(self): - """Test ListMessageItem""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_lookup_request.py b/test/test_lookup_request.py deleted file mode 100644 index b9d21bce..00000000 --- a/test/test_lookup_request.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.lookup_request import LookupRequest # noqa: E501 -from bandwidth.rest import ApiException - -class TestLookupRequest(unittest.TestCase): - """LookupRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test LookupRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `LookupRequest` - """ - model = bandwidth.models.lookup_request.LookupRequest() # noqa: E501 - if include_optional : - return LookupRequest( - tns = [ - '' - ] - ) - else : - return LookupRequest( - tns = [ - '' - ], - ) - """ - - def testLookupRequest(self): - """Test LookupRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_lookup_result.py b/test/test_lookup_result.py deleted file mode 100644 index 38fd0a33..00000000 --- a/test/test_lookup_result.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.lookup_result import LookupResult # noqa: E501 -from bandwidth.rest import ApiException - -class TestLookupResult(unittest.TestCase): - """LookupResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test LookupResult - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `LookupResult` - """ - model = bandwidth.models.lookup_result.LookupResult() # noqa: E501 - if include_optional : - return LookupResult( - response_code = 0, - message = 'NOERROR', - e_164_format = '+19195551234', - formatted = '(919) 555-1234', - country = 'US', - line_type = 'Mobile', - line_provider = 'Verizon Wireless', - mobile_country_code = '310', - mobile_network_code = '010' - ) - else : - return LookupResult( - ) - """ - - def testLookupResult(self): - """Test LookupResult""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_lookup_status.py b/test/test_lookup_status.py deleted file mode 100644 index 8be65daf..00000000 --- a/test/test_lookup_status.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.lookup_status import LookupStatus # noqa: E501 -from bandwidth.rest import ApiException - -class TestLookupStatus(unittest.TestCase): - """LookupStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test LookupStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `LookupStatus` - """ - model = bandwidth.models.lookup_status.LookupStatus() # noqa: E501 - if include_optional : - return LookupStatus( - request_id = '004223a0-8b17-41b1-bf81-20732adf5590', - status = 'COMPLETE', - result = [ - bandwidth.models.lookup_result.lookupResult( - response_code = 0, - message = 'NOERROR', - e/164_format = '+19195551234', - formatted = '(919) 555-1234', - country = 'US', - line_type = 'Mobile', - line_provider = 'Verizon Wireless', - mobile_country_code = '310', - mobile_network_code = '010', ) - ], - failed_telephone_numbers = ["+191955512345"] - ) - else : - return LookupStatus( - ) - """ - - def testLookupStatus(self): - """Test LookupStatus""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_lookup_status_enum.py b/test/test_lookup_status_enum.py deleted file mode 100644 index abb4208e..00000000 --- a/test/test_lookup_status_enum.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.lookup_status_enum import LookupStatusEnum # noqa: E501 -from bandwidth.rest import ApiException - -class TestLookupStatusEnum(unittest.TestCase): - """LookupStatusEnum unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLookupStatusEnum(self): - """Test LookupStatusEnum""" - # inst = LookupStatusEnum() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_machine_detection_complete_callback.py b/test/test_machine_detection_complete_callback.py deleted file mode 100644 index f39febb4..00000000 --- a/test/test_machine_detection_complete_callback.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.machine_detection_complete_callback import MachineDetectionCompleteCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestMachineDetectionCompleteCallback(unittest.TestCase): - """MachineDetectionCompleteCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MachineDetectionCompleteCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MachineDetectionCompleteCallback` - """ - model = bandwidth.models.machine_detection_complete_callback.MachineDetectionCompleteCallback() # noqa: E501 - if include_optional : - return MachineDetectionCompleteCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - direction = 'inbound', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - enqueued_time = '2022-06-17T22:20Z', - start_time = '2022-06-17T22:19:40.375Z', - answer_time = '2022-06-17T22:20Z', - tag = 'exampleTag', - machine_detection_result = bandwidth.models.machine_detection_result.machineDetectionResult( - value = 'answering-machine', - duration = 'PT4.9891287S', ) - ) - else : - return MachineDetectionCompleteCallback( - ) - """ - - def testMachineDetectionCompleteCallback(self): - """Test MachineDetectionCompleteCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_machine_detection_configuration.py b/test/test_machine_detection_configuration.py deleted file mode 100644 index 2bb49ef7..00000000 --- a/test/test_machine_detection_configuration.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.machine_detection_configuration import MachineDetectionConfiguration # noqa: E501 -from bandwidth.rest import ApiException - -class TestMachineDetectionConfiguration(unittest.TestCase): - """MachineDetectionConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MachineDetectionConfiguration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MachineDetectionConfiguration` - """ - model = bandwidth.models.machine_detection_configuration.MachineDetectionConfiguration() # noqa: E501 - if include_optional : - return MachineDetectionConfiguration( - mode = 'async', - detection_timeout = 15, - silence_timeout = 10, - speech_threshold = 10, - speech_end_threshold = 5, - machine_speech_end_threshold = 5, - delay_result = False, - callback_url = 'https://myServer.example/bandwidth/webhooks/machineDetectionComplete', - callback_method = 'POST', - username = 'mySecretUsername', - password = 'mySecretPassword1!', - fallback_url = 'https://myFallbackServer.example/bandwidth/webhooks/machineDetectionComplete', - fallback_method = 'POST', - fallback_username = 'mySecretUsername', - fallback_password = 'mySecretPassword1!' - ) - else : - return MachineDetectionConfiguration( - ) - """ - - def testMachineDetectionConfiguration(self): - """Test MachineDetectionConfiguration""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_machine_detection_mode_enum.py b/test/test_machine_detection_mode_enum.py deleted file mode 100644 index 78928e99..00000000 --- a/test/test_machine_detection_mode_enum.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.machine_detection_mode_enum import MachineDetectionModeEnum # noqa: E501 -from bandwidth.rest import ApiException - -class TestMachineDetectionModeEnum(unittest.TestCase): - """MachineDetectionModeEnum unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMachineDetectionModeEnum(self): - """Test MachineDetectionModeEnum""" - # inst = MachineDetectionModeEnum() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_machine_detection_result.py b/test/test_machine_detection_result.py deleted file mode 100644 index 845d3360..00000000 --- a/test/test_machine_detection_result.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.machine_detection_result import MachineDetectionResult # noqa: E501 -from bandwidth.rest import ApiException - -class TestMachineDetectionResult(unittest.TestCase): - """MachineDetectionResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MachineDetectionResult - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MachineDetectionResult` - """ - model = bandwidth.models.machine_detection_result.MachineDetectionResult() # noqa: E501 - if include_optional : - return MachineDetectionResult( - value = 'answering-machine', - duration = 'PT4.9891287S' - ) - else : - return MachineDetectionResult( - ) - """ - - def testMachineDetectionResult(self): - """Test MachineDetectionResult""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_media.py b/test/test_media.py deleted file mode 100644 index 62011240..00000000 --- a/test/test_media.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.media import Media # noqa: E501 -from bandwidth.rest import ApiException - -class TestMedia(unittest.TestCase): - """Media unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test Media - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Media` - """ - model = bandwidth.models.media.Media() # noqa: E501 - if include_optional : - return Media( - content = '', - content_length = 56, - media_name = '' - ) - else : - return Media( - ) - """ - - def testMedia(self): - """Test Media""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_media_api.py b/test/test_media_api.py deleted file mode 100644 index 2b6ae425..00000000 --- a/test/test_media_api.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.media_api import MediaApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestMediaApi(unittest.TestCase): - """MediaApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.media_api.MediaApi() # noqa: E501 - - def tearDown(self): - pass - - def test_delete_media(self): - """Test case for delete_media - - Delete Media # noqa: E501 - """ - pass - - def test_get_media(self): - """Test case for get_media - - Get Media # noqa: E501 - """ - pass - - def test_list_media(self): - """Test case for list_media - - List Media # noqa: E501 - """ - pass - - def test_upload_media(self): - """Test case for upload_media - - Upload Media # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_message.py b/test/test_message.py deleted file mode 100644 index b441fda4..00000000 --- a/test/test_message.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.message import Message # noqa: E501 -from bandwidth.rest import ApiException - -class TestMessage(unittest.TestCase): - """Message unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test Message - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Message` - """ - model = bandwidth.models.message.Message() # noqa: E501 - if include_optional : - return Message( - id = '1589228074636lm4k2je7j7jklbn2', - owner = '+15554443333', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2022-09-14T18:20:16Z', - segment_count = 2, - direction = 'in', - to = ["+15552223333"], - var_from = '+15553332222', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png"], - text = 'Hello world', - tag = 'custom tag', - priority = 'default', - expiration = '2021-02-01T11:29:18-05:00' - ) - else : - return Message( - ) - """ - - def testMessage(self): - """Test Message""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_message_delivered_callback.py b/test/test_message_delivered_callback.py deleted file mode 100644 index 28a9f494..00000000 --- a/test/test_message_delivered_callback.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.message_delivered_callback import MessageDeliveredCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestMessageDeliveredCallback(unittest.TestCase): - """MessageDeliveredCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MessageDeliveredCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MessageDeliveredCallback` - """ - model = bandwidth.models.message_delivered_callback.MessageDeliveredCallback() # noqa: E501 - if include_optional : - return MessageDeliveredCallback( - time = '2016-09-14T18:20:16Z', - type = 'message-delivered', - to = '+15552223333', - description = 'Message delivered to carrier.', - message = bandwidth.models.message_delivered_callback_message.messageDeliveredCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - from = '+15553332222', - text = 'Hello world', - tag = 'custom string', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"], - priority = 'default', ) - ) - else : - return MessageDeliveredCallback( - time = '2016-09-14T18:20:16Z', - type = 'message-delivered', - to = '+15552223333', - description = 'Message delivered to carrier.', - message = bandwidth.models.message_delivered_callback_message.messageDeliveredCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - from = '+15553332222', - text = 'Hello world', - tag = 'custom string', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"], - priority = 'default', ), - ) - """ - - def testMessageDeliveredCallback(self): - """Test MessageDeliveredCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_message_delivered_callback_message.py b/test/test_message_delivered_callback_message.py deleted file mode 100644 index b7b31569..00000000 --- a/test/test_message_delivered_callback_message.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.message_delivered_callback_message import MessageDeliveredCallbackMessage # noqa: E501 -from bandwidth.rest import ApiException - -class TestMessageDeliveredCallbackMessage(unittest.TestCase): - """MessageDeliveredCallbackMessage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MessageDeliveredCallbackMessage - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MessageDeliveredCallbackMessage` - """ - model = bandwidth.models.message_delivered_callback_message.MessageDeliveredCallbackMessage() # noqa: E501 - if include_optional : - return MessageDeliveredCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - var_from = '+15553332222', - text = 'Hello world', - tag = 'custom string', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"], - priority = 'default' - ) - else : - return MessageDeliveredCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - var_from = '+15553332222', - text = 'Hello world', - tag = 'custom string', - ) - """ - - def testMessageDeliveredCallbackMessage(self): - """Test MessageDeliveredCallbackMessage""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_message_direction_enum.py b/test/test_message_direction_enum.py deleted file mode 100644 index d29a5719..00000000 --- a/test/test_message_direction_enum.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.message_direction_enum import MessageDirectionEnum # noqa: E501 -from bandwidth.rest import ApiException - -class TestMessageDirectionEnum(unittest.TestCase): - """MessageDirectionEnum unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMessageDirectionEnum(self): - """Test MessageDirectionEnum""" - # inst = MessageDirectionEnum() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_message_failed_callback.py b/test/test_message_failed_callback.py deleted file mode 100644 index 08699c8b..00000000 --- a/test/test_message_failed_callback.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.message_failed_callback import MessageFailedCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestMessageFailedCallback(unittest.TestCase): - """MessageFailedCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MessageFailedCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MessageFailedCallback` - """ - model = bandwidth.models.message_failed_callback.MessageFailedCallback() # noqa: E501 - if include_optional : - return MessageFailedCallback( - time = '2016-09-14T18:20:16Z', - type = 'message-failed', - to = '+15552223333', - description = 'rejected-unallocated-from-number', - message = bandwidth.models.message_failed_callback_message.messageFailedCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - from = '+15553332222', - text = 'Hello world', - tag = 'custom string', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"], - priority = 'default', ), - error_code = 9902 - ) - else : - return MessageFailedCallback( - time = '2016-09-14T18:20:16Z', - type = 'message-failed', - to = '+15552223333', - description = 'rejected-unallocated-from-number', - message = bandwidth.models.message_failed_callback_message.messageFailedCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - from = '+15553332222', - text = 'Hello world', - tag = 'custom string', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"], - priority = 'default', ), - error_code = 9902, - ) - """ - - def testMessageFailedCallback(self): - """Test MessageFailedCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_message_failed_callback_message.py b/test/test_message_failed_callback_message.py deleted file mode 100644 index 71c42fb5..00000000 --- a/test/test_message_failed_callback_message.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.message_failed_callback_message import MessageFailedCallbackMessage # noqa: E501 -from bandwidth.rest import ApiException - -class TestMessageFailedCallbackMessage(unittest.TestCase): - """MessageFailedCallbackMessage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MessageFailedCallbackMessage - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MessageFailedCallbackMessage` - """ - model = bandwidth.models.message_failed_callback_message.MessageFailedCallbackMessage() # noqa: E501 - if include_optional : - return MessageFailedCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - var_from = '+15553332222', - text = 'Hello world', - tag = 'custom string', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"], - priority = 'default' - ) - else : - return MessageFailedCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - var_from = '+15553332222', - text = 'Hello world', - tag = 'custom string', - priority = 'default', - ) - """ - - def testMessageFailedCallbackMessage(self): - """Test MessageFailedCallbackMessage""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_message_request.py b/test/test_message_request.py deleted file mode 100644 index 950d437a..00000000 --- a/test/test_message_request.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.message_request import MessageRequest # noqa: E501 -from bandwidth.rest import ApiException - -class TestMessageRequest(unittest.TestCase): - """MessageRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MessageRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MessageRequest` - """ - model = bandwidth.models.message_request.MessageRequest() # noqa: E501 - if include_optional : - return MessageRequest( - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - to = ["+15554443333","+15552223333"], - var_from = '+15551113333', - text = 'Hello world', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"], - tag = 'custom string', - priority = 'default', - expiration = '2021-02-01T11:29:18-05:00' - ) - else : - return MessageRequest( - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - to = ["+15554443333","+15552223333"], - var_from = '+15551113333', - ) - """ - - def testMessageRequest(self): - """Test MessageRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_message_sending_callback.py b/test/test_message_sending_callback.py deleted file mode 100644 index b2ab77f3..00000000 --- a/test/test_message_sending_callback.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.message_sending_callback import MessageSendingCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestMessageSendingCallback(unittest.TestCase): - """MessageSendingCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MessageSendingCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MessageSendingCallback` - """ - model = bandwidth.models.message_sending_callback.MessageSendingCallback() # noqa: E501 - if include_optional : - return MessageSendingCallback( - time = '2016-09-14T18:20:16Z', - type = 'message-sending', - to = '+15552223333', - description = 'Message is sending to carrier', - message = bandwidth.models.message_sending_callback_message.messageSendingCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - from = '+15553332222', - text = 'Hello world', - tag = 'custom string', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"], - priority = 'default', ) - ) - else : - return MessageSendingCallback( - time = '2016-09-14T18:20:16Z', - type = 'message-sending', - to = '+15552223333', - description = 'Message is sending to carrier', - message = bandwidth.models.message_sending_callback_message.messageSendingCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - from = '+15553332222', - text = 'Hello world', - tag = 'custom string', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"], - priority = 'default', ), - ) - """ - - def testMessageSendingCallback(self): - """Test MessageSendingCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_message_sending_callback_message.py b/test/test_message_sending_callback_message.py deleted file mode 100644 index 9899720f..00000000 --- a/test/test_message_sending_callback_message.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.message_sending_callback_message import MessageSendingCallbackMessage # noqa: E501 -from bandwidth.rest import ApiException - -class TestMessageSendingCallbackMessage(unittest.TestCase): - """MessageSendingCallbackMessage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MessageSendingCallbackMessage - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MessageSendingCallbackMessage` - """ - model = bandwidth.models.message_sending_callback_message.MessageSendingCallbackMessage() # noqa: E501 - if include_optional : - return MessageSendingCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - var_from = '+15553332222', - text = 'Hello world', - tag = 'custom string', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"], - priority = 'default' - ) - else : - return MessageSendingCallbackMessage( - id = '1661365814859loidf7mcwd4qacn7', - owner = '+15553332222', - application_id = '93de2206-9669-4e07-948d-329f4b722ee2', - time = '2016-09-14T18:20:16Z', - segment_count = 1, - direction = 'in', - to = ["+15552223333"], - var_from = '+15553332222', - text = 'Hello world', - media = ["https://dev.bandwidth.com/images/bandwidth-logo.png","https://dev.bandwidth.com/images/github_logo.png"], - priority = 'default', - ) - """ - - def testMessageSendingCallbackMessage(self): - """Test MessageSendingCallbackMessage""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_message_status_enum.py b/test/test_message_status_enum.py deleted file mode 100644 index 91d85764..00000000 --- a/test/test_message_status_enum.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.message_status_enum import MessageStatusEnum # noqa: E501 -from bandwidth.rest import ApiException - -class TestMessageStatusEnum(unittest.TestCase): - """MessageStatusEnum unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMessageStatusEnum(self): - """Test MessageStatusEnum""" - # inst = MessageStatusEnum() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_message_type_enum.py b/test/test_message_type_enum.py deleted file mode 100644 index 05699d58..00000000 --- a/test/test_message_type_enum.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.message_type_enum import MessageTypeEnum # noqa: E501 -from bandwidth.rest import ApiException - -class TestMessageTypeEnum(unittest.TestCase): - """MessageTypeEnum unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMessageTypeEnum(self): - """Test MessageTypeEnum""" - # inst = MessageTypeEnum() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_messages_api.py b/test/test_messages_api.py deleted file mode 100644 index 17f59e9a..00000000 --- a/test/test_messages_api.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.messages_api import MessagesApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestMessagesApi(unittest.TestCase): - """MessagesApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.messages_api.MessagesApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_message(self): - """Test case for create_message - - Create Message # noqa: E501 - """ - pass - - def test_list_messages(self): - """Test case for list_messages - - List Messages # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_messages_list.py b/test/test_messages_list.py deleted file mode 100644 index f2a556db..00000000 --- a/test/test_messages_list.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.messages_list import MessagesList # noqa: E501 -from bandwidth.rest import ApiException - -class TestMessagesList(unittest.TestCase): - """MessagesList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MessagesList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MessagesList` - """ - model = bandwidth.models.messages_list.MessagesList() # noqa: E501 - if include_optional : - return MessagesList( - total_count = 100, - page_info = bandwidth.models.page_info.PageInfo( - prev_page = 'https://messaging.bandwidth.com/api/v2/users/accountId/messages?messageStatus=DLR_EXPIRED&nextPage=DLAPE902', - next_page = 'https://messaging.bandwidth.com/api/v2/users/accountId/messages?messageStatus=DLR_EXPIRED&prevPage=GL83PD3C', - prev_page_token = 'DLAPE902', - next_page_token = 'GL83PD3C', ), - messages = [ - bandwidth.models.list_message_item.listMessageItem( - message_id = '1589228074636lm4k2je7j7jklbn2', - account_id = '9900000', - source_tn = '+15554443333', - destination_tn = '+15554442222', - message_status = 'RECEIVED', - message_direction = 'INBOUND', - message_type = 'sms', - segment_count = 1, - error_code = 9902, - receive_time = '2020-04-07T14:03:07Z', - carrier_name = 'other', - message_size = 27, - message_length = 18, - attachment_count = 1, - recipient_count = 1, - campaign_class = 'T', - campaign_id = 'CJEUMDK', ) - ] - ) - else : - return MessagesList( - ) - """ - - def testMessagesList(self): - """Test MessagesList""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_messaging_code_response.py b/test/test_messaging_code_response.py deleted file mode 100644 index 53578365..00000000 --- a/test/test_messaging_code_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.messaging_code_response import MessagingCodeResponse # noqa: E501 -from bandwidth.rest import ApiException - -class TestMessagingCodeResponse(unittest.TestCase): - """MessagingCodeResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MessagingCodeResponse - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MessagingCodeResponse` - """ - model = bandwidth.models.messaging_code_response.MessagingCodeResponse() # noqa: E501 - if include_optional : - return MessagingCodeResponse( - message_id = '9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6' - ) - else : - return MessagingCodeResponse( - ) - """ - - def testMessagingCodeResponse(self): - """Test MessagingCodeResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_messaging_request_error.py b/test/test_messaging_request_error.py deleted file mode 100644 index ec14fc51..00000000 --- a/test/test_messaging_request_error.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.messaging_request_error import MessagingRequestError # noqa: E501 -from bandwidth.rest import ApiException - -class TestMessagingRequestError(unittest.TestCase): - """MessagingRequestError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MessagingRequestError - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MessagingRequestError` - """ - model = bandwidth.models.messaging_request_error.MessagingRequestError() # noqa: E501 - if include_optional : - return MessagingRequestError( - type = '', - description = '' - ) - else : - return MessagingRequestError( - type = '', - description = '', - ) - """ - - def testMessagingRequestError(self): - """Test MessagingRequestError""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_mfa_api.py b/test/test_mfa_api.py deleted file mode 100644 index 7559e2d8..00000000 --- a/test/test_mfa_api.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.mfa_api import MFAApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestMFAApi(unittest.TestCase): - """MFAApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.mfa_api.MFAApi() # noqa: E501 - - def tearDown(self): - pass - - def test_generate_messaging_code(self): - """Test case for generate_messaging_code - - Messaging Authentication Code # noqa: E501 - """ - pass - - def test_generate_voice_code(self): - """Test case for generate_voice_code - - Voice Authentication Code # noqa: E501 - """ - pass - - def test_verify_code(self): - """Test case for verify_code - - Verify Authentication Code # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_mfa_forbidden_request_error.py b/test/test_mfa_forbidden_request_error.py deleted file mode 100644 index 5a754be2..00000000 --- a/test/test_mfa_forbidden_request_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.mfa_forbidden_request_error import MfaForbiddenRequestError # noqa: E501 -from bandwidth.rest import ApiException - -class TestMfaForbiddenRequestError(unittest.TestCase): - """MfaForbiddenRequestError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MfaForbiddenRequestError - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MfaForbiddenRequestError` - """ - model = bandwidth.models.mfa_forbidden_request_error.MfaForbiddenRequestError() # noqa: E501 - if include_optional : - return MfaForbiddenRequestError( - message = 'Missing Authentication Token' - ) - else : - return MfaForbiddenRequestError( - ) - """ - - def testMfaForbiddenRequestError(self): - """Test MfaForbiddenRequestError""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_mfa_request_error.py b/test/test_mfa_request_error.py deleted file mode 100644 index 2e5423b9..00000000 --- a/test/test_mfa_request_error.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.mfa_request_error import MfaRequestError # noqa: E501 -from bandwidth.rest import ApiException - -class TestMfaRequestError(unittest.TestCase): - """MfaRequestError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MfaRequestError - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MfaRequestError` - """ - model = bandwidth.models.mfa_request_error.MfaRequestError() # noqa: E501 - if include_optional : - return MfaRequestError( - error = '400 Request is malformed or invalid', - request_id = '354cc8a3-6701-461e-8fa7-8671703dd898' - ) - else : - return MfaRequestError( - ) - """ - - def testMfaRequestError(self): - """Test MfaRequestError""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_mfa_unauthorized_request_error.py b/test/test_mfa_unauthorized_request_error.py deleted file mode 100644 index c6e719ce..00000000 --- a/test/test_mfa_unauthorized_request_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.mfa_unauthorized_request_error import MfaUnauthorizedRequestError # noqa: E501 -from bandwidth.rest import ApiException - -class TestMfaUnauthorizedRequestError(unittest.TestCase): - """MfaUnauthorizedRequestError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test MfaUnauthorizedRequestError - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `MfaUnauthorizedRequestError` - """ - model = bandwidth.models.mfa_unauthorized_request_error.MfaUnauthorizedRequestError() # noqa: E501 - if include_optional : - return MfaUnauthorizedRequestError( - message = 'Unauthorized' - ) - else : - return MfaUnauthorizedRequestError( - ) - """ - - def testMfaUnauthorizedRequestError(self): - """Test MfaUnauthorizedRequestError""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_page_info.py b/test/test_page_info.py deleted file mode 100644 index 07dc573a..00000000 --- a/test/test_page_info.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.page_info import PageInfo # noqa: E501 -from bandwidth.rest import ApiException - -class TestPageInfo(unittest.TestCase): - """PageInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PageInfo - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PageInfo` - """ - model = bandwidth.models.page_info.PageInfo() # noqa: E501 - if include_optional : - return PageInfo( - prev_page = 'https://messaging.bandwidth.com/api/v2/users/accountId/messages?messageStatus=DLR_EXPIRED&nextPage=DLAPE902', - next_page = 'https://messaging.bandwidth.com/api/v2/users/accountId/messages?messageStatus=DLR_EXPIRED&prevPage=GL83PD3C', - prev_page_token = 'DLAPE902', - next_page_token = 'GL83PD3C' - ) - else : - return PageInfo( - ) - """ - - def testPageInfo(self): - """Test PageInfo""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_phone_number_lookup_api.py b/test/test_phone_number_lookup_api.py deleted file mode 100644 index bf70014c..00000000 --- a/test/test_phone_number_lookup_api.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.phone_number_lookup_api import PhoneNumberLookupApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestPhoneNumberLookupApi(unittest.TestCase): - """PhoneNumberLookupApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.phone_number_lookup_api.PhoneNumberLookupApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_lookup(self): - """Test case for create_lookup - - Create Lookup # noqa: E501 - """ - pass - - def test_get_lookup_status(self): - """Test case for get_lookup_status - - Get Lookup Request Status # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_priority_enum.py b/test/test_priority_enum.py deleted file mode 100644 index 6111bb1d..00000000 --- a/test/test_priority_enum.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.priority_enum import PriorityEnum # noqa: E501 -from bandwidth.rest import ApiException - -class TestPriorityEnum(unittest.TestCase): - """PriorityEnum unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPriorityEnum(self): - """Test PriorityEnum""" - # inst = PriorityEnum() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_recording_available_callback.py b/test/test_recording_available_callback.py deleted file mode 100644 index 09bc1902..00000000 --- a/test/test_recording_available_callback.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.recording_available_callback import RecordingAvailableCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestRecordingAvailableCallback(unittest.TestCase): - """RecordingAvailableCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test RecordingAvailableCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RecordingAvailableCallback` - """ - model = bandwidth.models.recording_available_callback.RecordingAvailableCallback() # noqa: E501 - if include_optional : - return RecordingAvailableCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - direction = 'inbound', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - parent_call_id = 'c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d', - recording_id = 'r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833', - media_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/recordings/r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833/media', - enqueued_time = '2022-06-17T22:20Z', - start_time = '2022-06-17T22:19:40.375Z', - end_time = '2022-06-17T22:20Z', - duration = 'PT13.67S', - file_format = 'wav', - channels = 'completed', - tag = 'exampleTag', - status = 'completed', - transfer_caller_id = '+15555555555', - transfer_to = '+15555555555)' - ) - else : - return RecordingAvailableCallback( - ) - """ - - def testRecordingAvailableCallback(self): - """Test RecordingAvailableCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_recording_complete_callback.py b/test/test_recording_complete_callback.py deleted file mode 100644 index c8a4c403..00000000 --- a/test/test_recording_complete_callback.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.recording_complete_callback import RecordingCompleteCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestRecordingCompleteCallback(unittest.TestCase): - """RecordingCompleteCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test RecordingCompleteCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RecordingCompleteCallback` - """ - model = bandwidth.models.recording_complete_callback.RecordingCompleteCallback() # noqa: E501 - if include_optional : - return RecordingCompleteCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - direction = 'inbound', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - parent_call_id = 'c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d', - recording_id = 'r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833', - media_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/recordings/r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833/media', - enqueued_time = '2022-06-17T22:20Z', - start_time = '2022-06-17T22:19:40.375Z', - answer_time = '2022-06-17T22:20Z', - end_time = '2022-06-17T22:20Z', - duration = 'PT13.67S', - file_format = 'wav', - channels = 1, - tag = 'exampleTag', - transfer_caller_id = '+15555555555', - transfer_to = '+15555555555)' - ) - else : - return RecordingCompleteCallback( - ) - """ - - def testRecordingCompleteCallback(self): - """Test RecordingCompleteCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_recording_state_enum.py b/test/test_recording_state_enum.py deleted file mode 100644 index de388697..00000000 --- a/test/test_recording_state_enum.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.recording_state_enum import RecordingStateEnum # noqa: E501 -from bandwidth.rest import ApiException - -class TestRecordingStateEnum(unittest.TestCase): - """RecordingStateEnum unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRecordingStateEnum(self): - """Test RecordingStateEnum""" - # inst = RecordingStateEnum() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_recordings_api.py b/test/test_recordings_api.py deleted file mode 100644 index c0eb20b4..00000000 --- a/test/test_recordings_api.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.recordings_api import RecordingsApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestRecordingsApi(unittest.TestCase): - """RecordingsApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.recordings_api.RecordingsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_delete_call_transcription(self): - """Test case for delete_call_transcription - - Delete Transcription # noqa: E501 - """ - pass - - def test_delete_recording(self): - """Test case for delete_recording - - Delete Recording # noqa: E501 - """ - pass - - def test_delete_recording_media(self): - """Test case for delete_recording_media - - Delete Recording Media # noqa: E501 - """ - pass - - def test_download_call_recording(self): - """Test case for download_call_recording - - Download Recording # noqa: E501 - """ - pass - - def test_get_call_recording(self): - """Test case for get_call_recording - - Get Call Recording # noqa: E501 - """ - pass - - def test_get_call_transcription(self): - """Test case for get_call_transcription - - Get Transcription # noqa: E501 - """ - pass - - def test_list_account_call_recordings(self): - """Test case for list_account_call_recordings - - Get Call Recordings # noqa: E501 - """ - pass - - def test_list_call_recordings(self): - """Test case for list_call_recordings - - List Call Recordings # noqa: E501 - """ - pass - - def test_transcribe_call_recording(self): - """Test case for transcribe_call_recording - - Create Transcription Request # noqa: E501 - """ - pass - - def test_update_call_recording_state(self): - """Test case for update_call_recording_state - - Update Recording # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_redirect_callback.py b/test/test_redirect_callback.py deleted file mode 100644 index 83df0c06..00000000 --- a/test/test_redirect_callback.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.redirect_callback import RedirectCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestRedirectCallback(unittest.TestCase): - """RedirectCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test RedirectCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `RedirectCallback` - """ - model = bandwidth.models.redirect_callback.RedirectCallback() # noqa: E501 - if include_optional : - return RedirectCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - direction = 'inbound', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - parent_call_id = 'c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d', - enqueued_time = '2022-06-17T22:20Z', - start_time = '2022-06-17T22:19:40.375Z', - answer_time = '2022-06-17T22:20Z', - tag = 'exampleTag', - transfer_caller_id = '+15555555555', - transfer_to = '+15555555555)' - ) - else : - return RedirectCallback( - ) - """ - - def testRedirectCallback(self): - """Test RedirectCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_redirect_method_enum.py b/test/test_redirect_method_enum.py deleted file mode 100644 index b1908a31..00000000 --- a/test/test_redirect_method_enum.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.redirect_method_enum import RedirectMethodEnum # noqa: E501 -from bandwidth.rest import ApiException - -class TestRedirectMethodEnum(unittest.TestCase): - """RedirectMethodEnum unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRedirectMethodEnum(self): - """Test RedirectMethodEnum""" - # inst = RedirectMethodEnum() - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_statistics_api.py b/test/test_statistics_api.py deleted file mode 100644 index 103f3da2..00000000 --- a/test/test_statistics_api.py +++ /dev/null @@ -1,41 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.statistics_api import StatisticsApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestStatisticsApi(unittest.TestCase): - """StatisticsApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.statistics_api.StatisticsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_statistics(self): - """Test case for get_statistics - - Get Account Statistics # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_stir_shaken.py b/test/test_stir_shaken.py deleted file mode 100644 index 17fff122..00000000 --- a/test/test_stir_shaken.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.stir_shaken import StirShaken # noqa: E501 -from bandwidth.rest import ApiException - -class TestStirShaken(unittest.TestCase): - """StirShaken unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test StirShaken - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `StirShaken` - """ - model = bandwidth.models.stir_shaken.StirShaken() # noqa: E501 - if include_optional : - return StirShaken( - verstat = 'Tn-Verification-Passed', - attestation_indicator = 'A', - originating_id = '99759086-1335-11ed-9bcf-5f7d464e91af' - ) - else : - return StirShaken( - ) - """ - - def testStirShaken(self): - """Test StirShaken""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tag.py b/test/test_tag.py deleted file mode 100644 index c773cad7..00000000 --- a/test/test_tag.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.tag import Tag # noqa: E501 -from bandwidth.rest import ApiException - -class TestTag(unittest.TestCase): - """Tag unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test Tag - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Tag` - """ - model = bandwidth.models.tag.Tag() # noqa: E501 - if include_optional : - return Tag( - key = '', - value = '' - ) - else : - return Tag( - ) - """ - - def testTag(self): - """Test Tag""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_tn_lookup_request_error.py b/test/test_tn_lookup_request_error.py deleted file mode 100644 index ae62fa79..00000000 --- a/test/test_tn_lookup_request_error.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.tn_lookup_request_error import TnLookupRequestError # noqa: E501 -from bandwidth.rest import ApiException - -class TestTnLookupRequestError(unittest.TestCase): - """TnLookupRequestError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test TnLookupRequestError - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TnLookupRequestError` - """ - model = bandwidth.models.tn_lookup_request_error.TnLookupRequestError() # noqa: E501 - if include_optional : - return TnLookupRequestError( - message = 'example error message' - ) - else : - return TnLookupRequestError( - ) - """ - - def testTnLookupRequestError(self): - """Test TnLookupRequestError""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_transcribe_recording.py b/test/test_transcribe_recording.py deleted file mode 100644 index 6bc69901..00000000 --- a/test/test_transcribe_recording.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.transcribe_recording import TranscribeRecording # noqa: E501 -from bandwidth.rest import ApiException - -class TestTranscribeRecording(unittest.TestCase): - """TranscribeRecording unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test TranscribeRecording - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TranscribeRecording` - """ - model = bandwidth.models.transcribe_recording.TranscribeRecording() # noqa: E501 - if include_optional : - return TranscribeRecording( - callback_url = 'https://myServer.example/bandwidth/webhooks/transcriptionAvailable', - callback_method = 'POST', - username = 'mySecretUsername', - password = 'mySecretPassword1!', - tag = 'exampleTag', - callback_timeout = 5.5, - detect_language = True - ) - else : - return TranscribeRecording( - ) - """ - - def testTranscribeRecording(self): - """Test TranscribeRecording""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_transcription.py b/test/test_transcription.py deleted file mode 100644 index 0913bc68..00000000 --- a/test/test_transcription.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.transcription import Transcription # noqa: E501 -from bandwidth.rest import ApiException - -class TestTranscription(unittest.TestCase): - """Transcription unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test Transcription - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `Transcription` - """ - model = bandwidth.models.transcription.Transcription() # noqa: E501 - if include_optional : - return Transcription( - text = 'Nice talking to you, friend!', - confidence = 0.9 - ) - else : - return Transcription( - ) - """ - - def testTranscription(self): - """Test Transcription""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_transcription_available_callback.py b/test/test_transcription_available_callback.py deleted file mode 100644 index 2cd8ea3e..00000000 --- a/test/test_transcription_available_callback.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.transcription_available_callback import TranscriptionAvailableCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestTranscriptionAvailableCallback(unittest.TestCase): - """TranscriptionAvailableCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test TranscriptionAvailableCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TranscriptionAvailableCallback` - """ - model = bandwidth.models.transcription_available_callback.TranscriptionAvailableCallback() # noqa: E501 - if include_optional : - return TranscriptionAvailableCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - direction = 'inbound', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - media_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/recordings/r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833/media', - parent_call_id = 'c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d', - recording_id = 'r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833', - enqueued_time = '2022-06-17T22:20Z', - start_time = '2022-06-17T22:19:40.375Z', - end_time = '2022-06-17T22:20Z', - duration = 'PT13.67S', - file_format = 'wav', - tag = 'exampleTag', - transcription = bandwidth.models.transcription.transcription( - text = 'Nice talking to you, friend!', - confidence = 0.9, ), - transfer_caller_id = '+15555555555', - transfer_to = '+15555555555)' - ) - else : - return TranscriptionAvailableCallback( - ) - """ - - def testTranscriptionAvailableCallback(self): - """Test TranscriptionAvailableCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_transcription_list.py b/test/test_transcription_list.py deleted file mode 100644 index cba18c12..00000000 --- a/test/test_transcription_list.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.transcription_list import TranscriptionList # noqa: E501 -from bandwidth.rest import ApiException - -class TestTranscriptionList(unittest.TestCase): - """TranscriptionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test TranscriptionList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TranscriptionList` - """ - model = bandwidth.models.transcription_list.TranscriptionList() # noqa: E501 - if include_optional : - return TranscriptionList( - transcripts = [ - bandwidth.models.transcription.transcription( - text = 'Nice talking to you, friend!', - confidence = 0.9, ) - ] - ) - else : - return TranscriptionList( - ) - """ - - def testTranscriptionList(self): - """Test TranscriptionList""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_transcription_metadata.py b/test/test_transcription_metadata.py deleted file mode 100644 index 721ecb71..00000000 --- a/test/test_transcription_metadata.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.transcription_metadata import TranscriptionMetadata # noqa: E501 -from bandwidth.rest import ApiException - -class TestTranscriptionMetadata(unittest.TestCase): - """TranscriptionMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test TranscriptionMetadata - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TranscriptionMetadata` - """ - model = bandwidth.models.transcription_metadata.TranscriptionMetadata() # noqa: E501 - if include_optional : - return TranscriptionMetadata( - id = 't-387bd648-18f3-4823-9d16-746bca0003c9', - status = 'completed', - completed_time = '2022-06-13T18:46:29.715Z', - url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/recordings/r-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85/transcription' - ) - else : - return TranscriptionMetadata( - ) - """ - - def testTranscriptionMetadata(self): - """Test TranscriptionMetadata""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_transfer_answer_callback.py b/test/test_transfer_answer_callback.py deleted file mode 100644 index b010211f..00000000 --- a/test/test_transfer_answer_callback.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.transfer_answer_callback import TransferAnswerCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestTransferAnswerCallback(unittest.TestCase): - """TransferAnswerCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test TransferAnswerCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TransferAnswerCallback` - """ - model = bandwidth.models.transfer_answer_callback.TransferAnswerCallback() # noqa: E501 - if include_optional : - return TransferAnswerCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - direction = 'inbound', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - enqueued_time = '2022-06-17T22:20Z', - start_time = '2022-06-17T22:19:40.375Z', - answer_time = '2022-06-17T22:20Z', - tag = 'exampleTag', - transfer_caller_id = '+15555555555', - transfer_to = '+15555555555)' - ) - else : - return TransferAnswerCallback( - ) - """ - - def testTransferAnswerCallback(self): - """Test TransferAnswerCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_transfer_complete_callback.py b/test/test_transfer_complete_callback.py deleted file mode 100644 index 70dab471..00000000 --- a/test/test_transfer_complete_callback.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.transfer_complete_callback import TransferCompleteCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestTransferCompleteCallback(unittest.TestCase): - """TransferCompleteCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test TransferCompleteCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TransferCompleteCallback` - """ - model = bandwidth.models.transfer_complete_callback.TransferCompleteCallback() # noqa: E501 - if include_optional : - return TransferCompleteCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - direction = 'inbound', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - enqueued_time = '2022-06-17T22:20Z', - start_time = '2022-06-17T22:19:40.375Z', - answer_time = '2022-06-17T22:20Z', - tag = 'exampleTag', - transfer_caller_id = '+15555555555', - transfer_to = '+15555555555)', - cause = 'busy', - error_message = 'Call c-2a913f94-6a486f3a-3cae-4034-bcc3-f0c9fa77ca2f is already bridged with another call', - error_id = '4642074b-7b58-478b-96e4-3a60955c6765' - ) - else : - return TransferCompleteCallback( - ) - """ - - def testTransferCompleteCallback(self): - """Test TransferCompleteCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_transfer_disconnect_callback.py b/test/test_transfer_disconnect_callback.py deleted file mode 100644 index 5fcf35d6..00000000 --- a/test/test_transfer_disconnect_callback.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.transfer_disconnect_callback import TransferDisconnectCallback # noqa: E501 -from bandwidth.rest import ApiException - -class TestTransferDisconnectCallback(unittest.TestCase): - """TransferDisconnectCallback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test TransferDisconnectCallback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `TransferDisconnectCallback` - """ - model = bandwidth.models.transfer_disconnect_callback.TransferDisconnectCallback() # noqa: E501 - if include_optional : - return TransferDisconnectCallback( - event_type = 'bridgeComplete', - event_time = '2022-06-17T22:19:40.375Z', - account_id = '920012', - application_id = '04e88489-df02-4e34-a0ee-27a91849555f', - var_from = '+15555555555', - to = '+15555555555', - direction = 'inbound', - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - call_url = 'https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85', - parent_call_id = 'c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d', - enqueued_time = '2022-06-17T22:20Z', - start_time = '2022-06-17T22:19:40.375Z', - answer_time = '2022-06-17T22:20Z', - end_time = '2022-06-17T22:20Z', - tag = 'exampleTag', - transfer_caller_id = '+15555555555', - transfer_to = '+15555555555)', - cause = 'busy', - error_message = 'Call c-2a913f94-6a486f3a-3cae-4034-bcc3-f0c9fa77ca2f is already bridged with another call', - error_id = '4642074b-7b58-478b-96e4-3a60955c6765' - ) - else : - return TransferDisconnectCallback( - ) - """ - - def testTransferDisconnectCallback(self): - """Test TransferDisconnectCallback""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_update_call.py b/test/test_update_call.py deleted file mode 100644 index a9ed57bd..00000000 --- a/test/test_update_call.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.update_call import UpdateCall # noqa: E501 -from bandwidth.rest import ApiException - -class TestUpdateCall(unittest.TestCase): - """UpdateCall unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test UpdateCall - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `UpdateCall` - """ - model = bandwidth.models.update_call.UpdateCall() # noqa: E501 - if include_optional : - return UpdateCall( - state = 'active', - redirect_url = 'https://myServer.example/bandwidth/webhooks/redirect', - redirect_method = 'POST', - username = 'mySecretUsername', - password = 'mySecretPassword1!', - redirect_fallback_url = 'https://myFallbackServer.example/bandwidth/webhooks/redirect', - redirect_fallback_method = 'POST', - fallback_username = 'mySecretUsername', - fallback_password = 'mySecretPassword1!', - tag = 'My Custom Tag' - ) - else : - return UpdateCall( - ) - """ - - def testUpdateCall(self): - """Test UpdateCall""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_update_call_recording.py b/test/test_update_call_recording.py deleted file mode 100644 index a853acac..00000000 --- a/test/test_update_call_recording.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.update_call_recording import UpdateCallRecording # noqa: E501 -from bandwidth.rest import ApiException - -class TestUpdateCallRecording(unittest.TestCase): - """UpdateCallRecording unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test UpdateCallRecording - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `UpdateCallRecording` - """ - model = bandwidth.models.update_call_recording.UpdateCallRecording() # noqa: E501 - if include_optional : - return UpdateCallRecording( - state = 'paused' - ) - else : - return UpdateCallRecording( - state = 'paused', - ) - """ - - def testUpdateCallRecording(self): - """Test UpdateCallRecording""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_update_conference.py b/test/test_update_conference.py deleted file mode 100644 index ddf8509e..00000000 --- a/test/test_update_conference.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.update_conference import UpdateConference # noqa: E501 -from bandwidth.rest import ApiException - -class TestUpdateConference(unittest.TestCase): - """UpdateConference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test UpdateConference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `UpdateConference` - """ - model = bandwidth.models.update_conference.UpdateConference() # noqa: E501 - if include_optional : - return UpdateConference( - status = 'active', - redirect_url = 'https://myServer.example/bandwidth/webhooks/conferenceRedirect', - redirect_method = 'POST', - username = 'mySecretUsername', - password = 'mySecretPassword1!', - redirect_fallback_url = 'https://myFallbackServer.example/bandwidth/webhooks/conferenceRedirect', - redirect_fallback_method = 'POST', - fallback_username = 'mySecretUsername', - fallback_password = 'mySecretPassword1!' - ) - else : - return UpdateConference( - ) - """ - - def testUpdateConference(self): - """Test UpdateConference""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_update_conference_member.py b/test/test_update_conference_member.py deleted file mode 100644 index 0f153ff4..00000000 --- a/test/test_update_conference_member.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.update_conference_member import UpdateConferenceMember # noqa: E501 -from bandwidth.rest import ApiException - -class TestUpdateConferenceMember(unittest.TestCase): - """UpdateConferenceMember unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test UpdateConferenceMember - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `UpdateConferenceMember` - """ - model = bandwidth.models.update_conference_member.UpdateConferenceMember() # noqa: E501 - if include_optional : - return UpdateConferenceMember( - mute = False, - hold = False, - call_ids_to_coach = ["c-25ac29a2-1331029c-2cb0-4a07-b215-b22865662d85"] - ) - else : - return UpdateConferenceMember( - ) - """ - - def testUpdateConferenceMember(self): - """Test UpdateConferenceMember""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_verify_code_request.py b/test/test_verify_code_request.py deleted file mode 100644 index 5cefb99a..00000000 --- a/test/test_verify_code_request.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.verify_code_request import VerifyCodeRequest # noqa: E501 -from bandwidth.rest import ApiException - -class TestVerifyCodeRequest(unittest.TestCase): - """VerifyCodeRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test VerifyCodeRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `VerifyCodeRequest` - """ - model = bandwidth.models.verify_code_request.VerifyCodeRequest() # noqa: E501 - if include_optional : - return VerifyCodeRequest( - to = '+19195551234', - scope = '2FA', - expiration_time_in_minutes = 3, - code = '123456' - ) - else : - return VerifyCodeRequest( - to = '+19195551234', - expiration_time_in_minutes = 3, - code = '123456', - ) - """ - - def testVerifyCodeRequest(self): - """Test VerifyCodeRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_verify_code_response.py b/test/test_verify_code_response.py deleted file mode 100644 index e335d611..00000000 --- a/test/test_verify_code_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.verify_code_response import VerifyCodeResponse # noqa: E501 -from bandwidth.rest import ApiException - -class TestVerifyCodeResponse(unittest.TestCase): - """VerifyCodeResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test VerifyCodeResponse - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `VerifyCodeResponse` - """ - model = bandwidth.models.verify_code_response.VerifyCodeResponse() # noqa: E501 - if include_optional : - return VerifyCodeResponse( - valid = True - ) - else : - return VerifyCodeResponse( - ) - """ - - def testVerifyCodeResponse(self): - """Test VerifyCodeResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_voice_api_error.py b/test/test_voice_api_error.py deleted file mode 100644 index 837b75c6..00000000 --- a/test/test_voice_api_error.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.voice_api_error import VoiceApiError # noqa: E501 -from bandwidth.rest import ApiException - -class TestVoiceApiError(unittest.TestCase): - """VoiceApiError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test VoiceApiError - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `VoiceApiError` - """ - model = bandwidth.models.voice_api_error.VoiceApiError() # noqa: E501 - if include_optional : - return VoiceApiError( - type = '', - description = '', - id = '' - ) - else : - return VoiceApiError( - ) - """ - - def testVoiceApiError(self): - """Test VoiceApiError""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_voice_code_response.py b/test/test_voice_code_response.py deleted file mode 100644 index 71950960..00000000 --- a/test/test_voice_code_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -import bandwidth -from bandwidth.models.voice_code_response import VoiceCodeResponse # noqa: E501 -from bandwidth.rest import ApiException - -class TestVoiceCodeResponse(unittest.TestCase): - """VoiceCodeResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test VoiceCodeResponse - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `VoiceCodeResponse` - """ - model = bandwidth.models.voice_code_response.VoiceCodeResponse() # noqa: E501 - if include_optional : - return VoiceCodeResponse( - call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85' - ) - else : - return VoiceCodeResponse( - ) - """ - - def testVoiceCodeResponse(self): - """Test VoiceCodeResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/unit/test_calls_api.py b/test/unit/test_calls_api.py deleted file mode 100644 index 09019c0b..00000000 --- a/test/unit/test_calls_api.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.calls_api import CallsApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestCallsApi(unittest.TestCase): - """CallsApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.calls_api.CallsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_call(self): - """Test case for create_call - - Create Call # noqa: E501 - """ - pass - - def test_get_call_state(self): - """Test case for get_call_state - - Get Call State Information # noqa: E501 - """ - pass - - def test_update_call(self): - """Test case for update_call - - Update Call # noqa: E501 - """ - pass - - def test_update_call_bxml(self): - """Test case for update_call_bxml - - Update Call BXML # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/unit/test_conferences_api.py b/test/unit/test_conferences_api.py deleted file mode 100644 index 40eed969..00000000 --- a/test/unit/test_conferences_api.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.conferences_api import ConferencesApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestConferencesApi(unittest.TestCase): - """ConferencesApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.conferences_api.ConferencesApi() # noqa: E501 - - def tearDown(self): - pass - - def test_download_conference_recording(self): - """Test case for download_conference_recording - - Download Conference Recording # noqa: E501 - """ - pass - - def test_get_conference(self): - """Test case for get_conference - - Get Conference Information # noqa: E501 - """ - pass - - def test_get_conference_member(self): - """Test case for get_conference_member - - Get Conference Member # noqa: E501 - """ - pass - - def test_get_conference_recording(self): - """Test case for get_conference_recording - - Get Conference Recording Information # noqa: E501 - """ - pass - - def test_list_conference_recordings(self): - """Test case for list_conference_recordings - - Get Conference Recordings # noqa: E501 - """ - pass - - def test_list_conferences(self): - """Test case for list_conferences - - Get Conferences # noqa: E501 - """ - pass - - def test_update_conference(self): - """Test case for update_conference - - Update Conference # noqa: E501 - """ - pass - - def test_update_conference_bxml(self): - """Test case for update_conference_bxml - - Update Conference BXML # noqa: E501 - """ - pass - - def test_update_conference_member(self): - """Test case for update_conference_member - - Update Conference Member # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/unit/test_media_api.py b/test/unit/test_media_api.py deleted file mode 100644 index 2b6ae425..00000000 --- a/test/unit/test_media_api.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.media_api import MediaApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestMediaApi(unittest.TestCase): - """MediaApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.media_api.MediaApi() # noqa: E501 - - def tearDown(self): - pass - - def test_delete_media(self): - """Test case for delete_media - - Delete Media # noqa: E501 - """ - pass - - def test_get_media(self): - """Test case for get_media - - Get Media # noqa: E501 - """ - pass - - def test_list_media(self): - """Test case for list_media - - List Media # noqa: E501 - """ - pass - - def test_upload_media(self): - """Test case for upload_media - - Upload Media # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/unit/test_messages_api.py b/test/unit/test_messages_api.py deleted file mode 100644 index 17f59e9a..00000000 --- a/test/unit/test_messages_api.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.messages_api import MessagesApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestMessagesApi(unittest.TestCase): - """MessagesApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.messages_api.MessagesApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_message(self): - """Test case for create_message - - Create Message # noqa: E501 - """ - pass - - def test_list_messages(self): - """Test case for list_messages - - List Messages # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/unit/test_mfa_api.py b/test/unit/test_mfa_api.py deleted file mode 100644 index 7559e2d8..00000000 --- a/test/unit/test_mfa_api.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.mfa_api import MFAApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestMFAApi(unittest.TestCase): - """MFAApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.mfa_api.MFAApi() # noqa: E501 - - def tearDown(self): - pass - - def test_generate_messaging_code(self): - """Test case for generate_messaging_code - - Messaging Authentication Code # noqa: E501 - """ - pass - - def test_generate_voice_code(self): - """Test case for generate_voice_code - - Voice Authentication Code # noqa: E501 - """ - pass - - def test_verify_code(self): - """Test case for verify_code - - Verify Authentication Code # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/unit/test_phone_number_lookup_api.py b/test/unit/test_phone_number_lookup_api.py deleted file mode 100644 index bf70014c..00000000 --- a/test/unit/test_phone_number_lookup_api.py +++ /dev/null @@ -1,48 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.phone_number_lookup_api import PhoneNumberLookupApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestPhoneNumberLookupApi(unittest.TestCase): - """PhoneNumberLookupApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.phone_number_lookup_api.PhoneNumberLookupApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_lookup(self): - """Test case for create_lookup - - Create Lookup # noqa: E501 - """ - pass - - def test_get_lookup_status(self): - """Test case for get_lookup_status - - Get Lookup Request Status # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/unit/test_recordings_api.py b/test/unit/test_recordings_api.py deleted file mode 100644 index c0eb20b4..00000000 --- a/test/unit/test_recordings_api.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - Bandwidth - - Bandwidth's Communication APIs - - The version of the OpenAPI document: 1.0.0 - Contact: letstalk@bandwidth.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import bandwidth -from bandwidth.api.recordings_api import RecordingsApi # noqa: E501 -from bandwidth.rest import ApiException - - -class TestRecordingsApi(unittest.TestCase): - """RecordingsApi unit test stubs""" - - def setUp(self): - self.api = bandwidth.api.recordings_api.RecordingsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_delete_call_transcription(self): - """Test case for delete_call_transcription - - Delete Transcription # noqa: E501 - """ - pass - - def test_delete_recording(self): - """Test case for delete_recording - - Delete Recording # noqa: E501 - """ - pass - - def test_delete_recording_media(self): - """Test case for delete_recording_media - - Delete Recording Media # noqa: E501 - """ - pass - - def test_download_call_recording(self): - """Test case for download_call_recording - - Download Recording # noqa: E501 - """ - pass - - def test_get_call_recording(self): - """Test case for get_call_recording - - Get Call Recording # noqa: E501 - """ - pass - - def test_get_call_transcription(self): - """Test case for get_call_transcription - - Get Transcription # noqa: E501 - """ - pass - - def test_list_account_call_recordings(self): - """Test case for list_account_call_recordings - - Get Call Recordings # noqa: E501 - """ - pass - - def test_list_call_recordings(self): - """Test case for list_call_recordings - - List Call Recordings # noqa: E501 - """ - pass - - def test_transcribe_call_recording(self): - """Test case for transcribe_call_recording - - Create Transcription Request # noqa: E501 - """ - pass - - def test_update_call_recording_state(self): - """Test case for update_call_recording_state - - Update Recording # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main()