# 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.device_owned_alert_response import DeviceOwnedAlertResponse

class TestDeviceOwnedAlertResponse(unittest.TestCase):
    """DeviceOwnedAlertResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> DeviceOwnedAlertResponse:
        """Test DeviceOwnedAlertResponse
            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 `DeviceOwnedAlertResponse`
        """
        model = DeviceOwnedAlertResponse()
        if include_optional:
            return DeviceOwnedAlertResponse(
                device = biotmed_device_sdk.models.device_response.DeviceResponse(
                    _description = '', 
                    _timezone = 'Europe/Oslo', 
                    _id = '', 
                    _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 = '', ), 
                    _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
                        }, 
                    _status = biotmed_device_sdk.models.device_status.DeviceStatus(
                        _fw_version = '', 
                        _hw_version = '', 
                        _certificate_status = 'NOT_INSTALLED', 
                        _boot_time = '2007-12-20', 
                        _connection = biotmed_device_sdk.models.connection_status.ConnectionStatus(
                            _connected = True, 
                            _ip_address = '2007-12-20', 
                            _last_connected_time = '2007-12-20', ), 
                        _operational = biotmed_device_sdk.models.device_operational_status_response.DeviceOperationalStatusResponse(
                            _message = '', ), ), 
                    _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 = '', ), 
                    _registration_code = , 
                    _creation_time = '2007-12-20T10:15:30Z', 
                    _last_modified_time = '2007-12-20T10:15:30Z', 
                    _caption = 'mydevice1', ),
                alerts = [
                    biotmed_device_sdk.models.device_alert_response.DeviceAlertResponse(
                        _state = 'ACTIVE', 
                        _severity = 'INFO', 
                        _clear_notes = '', 
                        _name = '0', 
                        _id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                        _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, )
                            }, 
                        _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 = '', ), 
                        _clear_date_time = '2007-12-20T10:15:30Z', 
                        _clear_trigger = 'AUTOMATIC', 
                        _cleared_by = 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 = '', ), 
                        _creation_time = '2007-12-20T10:15:30Z', 
                        _last_modified_time = '2007-12-20T10:15:30Z', 
                        _device = null, 
                        _set_date_time = '2007-12-20T10:15:30Z', 
                        _caption = '', )
                    ]
            )
        else:
            return DeviceOwnedAlertResponse(
                device = biotmed_device_sdk.models.device_response.DeviceResponse(
                    _description = '', 
                    _timezone = 'Europe/Oslo', 
                    _id = '', 
                    _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 = '', ), 
                    _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
                        }, 
                    _status = biotmed_device_sdk.models.device_status.DeviceStatus(
                        _fw_version = '', 
                        _hw_version = '', 
                        _certificate_status = 'NOT_INSTALLED', 
                        _boot_time = '2007-12-20', 
                        _connection = biotmed_device_sdk.models.connection_status.ConnectionStatus(
                            _connected = True, 
                            _ip_address = '2007-12-20', 
                            _last_connected_time = '2007-12-20', ), 
                        _operational = biotmed_device_sdk.models.device_operational_status_response.DeviceOperationalStatusResponse(
                            _message = '', ), ), 
                    _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 = '', ), 
                    _registration_code = , 
                    _creation_time = '2007-12-20T10:15:30Z', 
                    _last_modified_time = '2007-12-20T10:15:30Z', 
                    _caption = 'mydevice1', ),
                alerts = [
                    biotmed_device_sdk.models.device_alert_response.DeviceAlertResponse(
                        _state = 'ACTIVE', 
                        _severity = 'INFO', 
                        _clear_notes = '', 
                        _name = '0', 
                        _id = '3fa85f64-5717-4562-b3fc-2c963f66afa6', 
                        _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, )
                            }, 
                        _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 = '', ), 
                        _clear_date_time = '2007-12-20T10:15:30Z', 
                        _clear_trigger = 'AUTOMATIC', 
                        _cleared_by = 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 = '', ), 
                        _creation_time = '2007-12-20T10:15:30Z', 
                        _last_modified_time = '2007-12-20T10:15:30Z', 
                        _device = null, 
                        _set_date_time = '2007-12-20T10:15:30Z', 
                        _caption = '', )
                    ],
        )
        """

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

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