# coding: utf-8

"""
    BioT Device Service

    APIs document (version: 8.9.1)

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

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


import unittest

from biotmed_device_sdk.models.session_response_v2 import SessionResponseV2

class TestSessionResponseV2(unittest.TestCase):
    """SessionResponseV2 unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> SessionResponseV2:
        """Test SessionResponseV2
            include_optional 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 `SessionResponseV2`
        """
        model = SessionResponseV2()
        if include_optional:
            return SessionResponseV2(
                id = '3fa85f64-5717-4562-b3fc-2c963f66afa6',
                patient = biotmed_device_sdk.models.basic_referenced_entity_data_uuidid.BasicReferencedEntityDataUUIDId(
                    id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    template_id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    parent_entity_id = '', 
                    template_name = '', 
                    template = null, 
                    organization_id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    name = '', ),
                device = biotmed_device_sdk.models.basic_referenced_entity_data_string_id.BasicReferencedEntityDataStringId(
                    id = '', 
                    template_id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    parent_entity_id = '', 
                    template_name = '', 
                    template = null, 
                    organization_id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    name = '', ),
                owner_organization = biotmed_device_sdk.models.basic_referenced_entity_data_uuidid.BasicReferencedEntityDataUUIDId(
                    id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    template_id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    parent_entity_id = '', 
                    template_name = '', 
                    template = null, 
                    organization_id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    name = '', ),
                start_time = '2007-12-20T10:15:30Z',
                end_time = '2007-12-20T10:15:30Z',
                state = 'ACTIVE',
                initiator = 'EXTERNAL',
                required_measurement_interval_milliseconds = 1000,
                template = biotmed_device_sdk.models.basic_template_data.BasicTemplateData(
                    name = '', 
                    display_name = '', 
                    parent_template = null, 
                    id = '', ),
                referencers = {
                    'key' : biotmed_device_sdk.models.referenced_side_attribute_information.ReferencedSideAttributeInformation(
                        name = '', 
                        display_name = '', 
                        count = 56, 
                        attribute_id = '', 
                        template_id = '', 
                        template = null, 
                        referrer = null, )
                    },
                configuration = {
                    'key' : null
                    },
                summary = biotmed_device_sdk.models.session_summary.SessionSummary(
                    _stop_reason = 'Manual Stop', 
                    _stop_reason_code = 'COMPLETION', ),
                last_modified_time = '2007-12-20T10:15:30Z',
                creation_time = '2007-12-20T10:15:30Z',
                name = '0',
                session_context = '',
                caption = ''
            )
        else:
            return SessionResponseV2(
                id = '3fa85f64-5717-4562-b3fc-2c963f66afa6',
                patient = biotmed_device_sdk.models.basic_referenced_entity_data_uuidid.BasicReferencedEntityDataUUIDId(
                    id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    template_id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    parent_entity_id = '', 
                    template_name = '', 
                    template = null, 
                    organization_id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    name = '', ),
                device = biotmed_device_sdk.models.basic_referenced_entity_data_string_id.BasicReferencedEntityDataStringId(
                    id = '', 
                    template_id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    parent_entity_id = '', 
                    template_name = '', 
                    template = null, 
                    organization_id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    name = '', ),
                owner_organization = biotmed_device_sdk.models.basic_referenced_entity_data_uuidid.BasicReferencedEntityDataUUIDId(
                    id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    template_id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    parent_entity_id = '', 
                    template_name = '', 
                    template = null, 
                    organization_id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                    name = '', ),
                start_time = '2007-12-20T10:15:30Z',
                state = 'ACTIVE',
                initiator = 'EXTERNAL',
                required_measurement_interval_milliseconds = 1000,
                summary = biotmed_device_sdk.models.session_summary.SessionSummary(
                    _stop_reason = 'Manual Stop', 
                    _stop_reason_code = 'COMPLETION', ),
                last_modified_time = '2007-12-20T10:15:30Z',
                creation_time = '2007-12-20T10:15:30Z',
        )
        """

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

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