# coding: utf-8

"""
    Internet Insights API

    # Overview We are happy to announce the release of the Internet Insights API set. This limited release includes endpoints that: * Make our catalog provider and Internet outage data accessible to API users. * Provide access to advanced filtering, which is part of our next-generation API efforts to allow API users to fine-tune queries across all of our APIs in a consistent manner.  Internet Insights provide visibility into core Internet infrastructure, including: ISPs, DNS providers, IaaS, CDNs , and SaaS providers. It tracks the macro-level impact of Internet events on individual users and enterprise networks connecting at the edge of the Internet. These events include: Outages, Routing hijacks and leaks, DDoS attacks, And political interference, among others.  Future releases of the Internet Insights API set will further unlock access to core Internet Insights functionality, unlocking potential integrations to enrich customer process flows. 

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

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


import unittest
import datetime

from internet_insights_api.models.api_application_outage_details import ApiApplicationOutageDetails

class TestApiApplicationOutageDetails(unittest.TestCase):
    """ApiApplicationOutageDetails unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ApiApplicationOutageDetails:
        """Test ApiApplicationOutageDetails
            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 `ApiApplicationOutageDetails`
        """
        model = ApiApplicationOutageDetails()
        if include_optional:
            return ApiApplicationOutageDetails(
                id = '0CC4C4209887126DE42E92252FB43962CBB3193147F318EA',
                provider_name = 'Amazon Web Services',
                provider_type = 'SAAS',
                application_name = 'Amazon Web Services',
                start_date = '2023-01-27T20:50:51.256Z',
                start_round_id = 1674852600,
                end_date = '2023-01-27T20:53:51.256Z',
                end_round_id = 1674852600,
                duration = 180,
                affected_tests = [
                    internet_insights_api.models.api_affected_test.ApiAffectedTest(
                        id = 5, 
                        name = 'amazon-test2', )
                    ],
                affected_domains = [
                    'amazon.com'
                    ],
                affected_agents = [
                    internet_insights_api.models.api_affected_agent.ApiAffectedAgent(
                        id = 11, 
                        name = 'London, England', )
                    ],
                errors = [
                    'HTTP_SERVER_TIMEOUT'
                    ],
                affected_locations = [
                    internet_insights_api.models.api_application_outage_affected_location.ApiApplicationOutageAffectedLocation(
                        location = 'Chicago, Illinois, US', 
                        affected_servers = [
                            internet_insights_api.models.api_application_outage_affected_server.ApiApplicationOutageAffectedServer(
                                domain = 'amazon.com', 
                                prefix = '123.176.185.0/23', )
                            ], )
                    ]
            )
        else:
            return ApiApplicationOutageDetails(
        )
        """

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

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