# coding: utf-8

"""
    FastAPI

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

    The version of the OpenAPI document: 0.1.0
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from voiceos.models.call_response import CallResponse

class TestCallResponse(unittest.TestCase):
    """CallResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> CallResponse:
        """Test CallResponse
            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 `CallResponse`
        """
        model = CallResponse()
        if include_optional:
            return CallResponse(
                uri = '',
                type = 'inbound_phone_call',
                status = 'live',
                to_number = '',
                from_number = '',
                start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                end_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                agent = voiceos.models.agent_response.AgentResponse(
                    name = '', 
                    initial_message = '', 
                    prompt = '', 
                    language = null, 
                    language_model = null, 
                    voice = null, 
                    transcriber = null, 
                    max_call_duration = 56, 
                    id = '', 
                    uri = '', 
                    account_id = '', 
                    created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ),
                agent_id = '',
                messages = [
                    voiceos.models.message.Message(
                        role = null, 
                        content = '', )
                    ],
                account_id = '',
                ended_reason = 'human_hangup',
                cost = voiceos.models.call_cost.CallCost(
                    total = 1.337, 
                    synthesizer = null, 
                    transcriber = null, 
                    language_model = null, 
                    telephony = null, 
                    agent = null, 
                    currency = null, ),
                id = ''
            )
        else:
            return CallResponse(
                uri = '',
                type = 'inbound_phone_call',
                status = 'live',
                start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
                agent = voiceos.models.agent_response.AgentResponse(
                    name = '', 
                    initial_message = '', 
                    prompt = '', 
                    language = null, 
                    language_model = null, 
                    voice = null, 
                    transcriber = null, 
                    max_call_duration = 56, 
                    id = '', 
                    uri = '', 
                    account_id = '', 
                    created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                    updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ),
                account_id = '',
                id = '',
        )
        """

    def testCallResponse(self):
        """Test CallResponse"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

if __name__ == '__main__':
    unittest.main()
