# 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.indicator_response import IndicatorResponse

class TestIndicatorResponse(unittest.TestCase):
    """IndicatorResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> IndicatorResponse:
        """Test IndicatorResponse
            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 `IndicatorResponse`
        """
        model = IndicatorResponse()
        if include_optional:
            return IndicatorResponse(
                query = whisper_api_sdk.models.query_info.QueryInfo(
                    indicator = '', 
                    indicator_type = '', 
                    history_type = '', 
                    timestamp = '', 
                    response_time_ms = 56, ),
                summary = whisper_api_sdk.models.summary_info.SummaryInfo(
                    organization = 'Google LLC', 
                    location = 'Mountain View, California, US', 
                    network = '8.8.8.0/24', 
                    registrar = 'MarkMonitor Inc.', 
                    status = 'active', 
                    asn_primary = 'AS15169', 
                    risk_score = 1.2, 
                    ip_type = 'datacenter', 
                    total_domains = 142, 
                    domain_name = 'google.com', 
                    registration_date = '1997-09-15', 
                    expiration_date = '2028-09-14', 
                    dns_provider = 'Cloudflare', 
                    total_links_in = 1523, 
                    total_links_out = 89, ),
                geolocation = whisper_api_sdk.models.old_value.oldValue(),
                network = whisper_api_sdk.models.old_value.oldValue(),
                routing = whisper_api_sdk.models.old_value.oldValue(),
                isp = whisper_api_sdk.models.old_value.oldValue(),
                registration = whisper_api_sdk.models.old_value.oldValue(),
                dns = whisper_api_sdk.models.dns_info.DnsInfo(
                    arecords = [
                        ''
                        ], 
                    a_records = ["8.8.8.8","8.8.4.4"], 
                    aaaa_records = ["2001:4860:4860::8888"], 
                    mx_records = [
                        whisper_api_sdk.models.old_value.oldValue()
                        ], 
                    ns_records = ["ns1.google.com","ns2.google.com"], 
                    txt_records = [
                        ''
                        ], 
                    cname_records = [
                        ''
                        ], ),
                relationships = whisper_api_sdk.models.relationship_info.RelationshipInfo(
                    incoming_links = whisper_api_sdk.models.links_info.LinksInfo(
                        total = 1523, 
                        top_sources = ["example.com","test.org"], 
                        top_destinations = ["accounts.google.com","support.google.com"], ), 
                    outgoing_links = whisper_api_sdk.models.links_info.LinksInfo(
                        total = 1523, 
                        top_sources = ["example.com","test.org"], 
                        top_destinations = ["accounts.google.com","support.google.com"], ), 
                    related_domains = ["google.co.uk","google.ca","google.de"], 
                    shared_infrastructure = ["youtube.com","gmail.com"], ),
                reputation = whisper_api_sdk.models.reputation_info.ReputationInfo(
                    risk_score = 2.3, 
                    blacklists = whisper_api_sdk.models.blacklist_scores.BlacklistScores(
                        ip_score = 0.5, 
                        prefix_score = 1.2, 
                        asn_score = 0.8, ), 
                    domain_reputation = whisper_api_sdk.models.domain_reputation_scores.DomainReputationScores(
                        overall_score = 51.3, 
                        risk_level = 'medium_risk', 
                        domain_ip_score = 85.5, 
                        nameserver_ip_score = 45.2, 
                        mailserver_ip_score = 32.1, 
                        details = whisper_api_sdk.models.domain_reputation_details.DomainReputationDetails(
                            domain_ips = ["8.8.8.8"], 
                            domain_ip_scores = {
                                'key' : 1.337
                                }, 
                            nameserver_domains = ["ns1.example.com","ns2.example.com"], 
                            nameserver_ips = ["1.1.1.1","1.0.0.1"], 
                            nameserver_ip_scores = {
                                'key' : 1.337
                                }, 
                            mailserver_domains = ["mail.example.com"], 
                            mailserver_ips = ["74.125.28.27"], 
                            mailserver_ip_scores = {
                                'key' : 1.337
                                }, ), 
                        scoring_method = 'composite_infrastructure', 
                        weights = {
                            'key' : 1.337
                            }, ), ),
                security = whisper_api_sdk.models.old_value.oldValue(),
                rpki = whisper_api_sdk.models.old_value.oldValue(),
                ip_intelligence = {
                    'key' : whisper_api_sdk.models.old_value.oldValue()
                    },
                metadata = whisper_api_sdk.models.metadata_info.MetadataInfo(
                    data_sources = ["geolocation_db","whois_api","dns_resolver","threat_feeds"], 
                    errors = ["threat_feed_timeout","historical_whois_unavailable"], )
            )
        else:
            return IndicatorResponse(
        )
        """

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

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