# 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.reputation_info import ReputationInfo

class TestReputationInfo(unittest.TestCase):
    """ReputationInfo unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ReputationInfo:
        """Test ReputationInfo
            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 `ReputationInfo`
        """
        model = ReputationInfo()
        if include_optional:
            return 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
                        }, )
            )
        else:
            return ReputationInfo(
        )
        """

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

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