# coding: utf-8

"""
    Whisper Security API

    Enterprise threat intelligence and security operations API

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

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


import unittest

from whisper_api_sdk.models.subdomain_response import SubdomainResponse

class TestSubdomainResponse(unittest.TestCase):
    """SubdomainResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> SubdomainResponse:
        """Test SubdomainResponse
            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 `SubdomainResponse`
        """
        model = SubdomainResponse()
        if include_optional:
            return SubdomainResponse(
                domain = 'example.com',
                total_count = 42,
                subdomains = [
                    whisper_api_sdk.models.subdomain_info.SubdomainInfo(
                        subdomain = 'www.example.com', 
                        ip_addresses = ["192.0.2.1","198.51.100.1"], 
                        first_seen = '2024-01-15T08:00Z', 
                        last_seen = '2024-12-20T10:00Z', 
                        record_type = 'A', 
                        status = 'active', 
                        technologies = ["nginx","WordPress","CloudFlare"], 
                        risk_score = 15, )
                    ],
                timestamp = '2024-12-20T10:15:30.123Z',
                sources = ["passive_dns","certificate_transparency","web_crawling"]
            )
        else:
            return SubdomainResponse(
                domain = 'example.com',
                total_count = 42,
                subdomains = [
                    whisper_api_sdk.models.subdomain_info.SubdomainInfo(
                        subdomain = 'www.example.com', 
                        ip_addresses = ["192.0.2.1","198.51.100.1"], 
                        first_seen = '2024-01-15T08:00Z', 
                        last_seen = '2024-12-20T10:00Z', 
                        record_type = 'A', 
                        status = 'active', 
                        technologies = ["nginx","WordPress","CloudFlare"], 
                        risk_score = 15, )
                    ],
                timestamp = '2024-12-20T10:15:30.123Z',
        )
        """

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

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