# coding: utf-8

"""
    Sonatype Lifecycle Public REST API

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

    The version of the OpenAPI document: 1.196.0-01
    Contact: community@sonatype.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from sonatype_iq_api_client.models.insert_or_update_saml_configuration_request import InsertOrUpdateSamlConfigurationRequest

class TestInsertOrUpdateSamlConfigurationRequest(unittest.TestCase):
    """InsertOrUpdateSamlConfigurationRequest unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> InsertOrUpdateSamlConfigurationRequest:
        """Test InsertOrUpdateSamlConfigurationRequest
            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 `InsertOrUpdateSamlConfigurationRequest`
        """
        model = InsertOrUpdateSamlConfigurationRequest()
        if include_optional:
            return InsertOrUpdateSamlConfigurationRequest(
                identity_provider_xml = bytes(b'blah'),
                saml_configuration = sonatype_iq_api_client.models.api_saml_configuration_dto.ApiSamlConfigurationDTO(
                    email_attribute_name = '', 
                    entity_id = '', 
                    first_name_attribute_name = '', 
                    groups_attribute_name = '', 
                    identity_provider_name = '', 
                    last_name_attribute_name = '', 
                    username_attribute_name = '', 
                    validate_assertion_signature = True, 
                    validate_response_signature = True, )
            )
        else:
            return InsertOrUpdateSamlConfigurationRequest(
                identity_provider_xml = bytes(b'blah'),
                saml_configuration = sonatype_iq_api_client.models.api_saml_configuration_dto.ApiSamlConfigurationDTO(
                    email_attribute_name = '', 
                    entity_id = '', 
                    first_name_attribute_name = '', 
                    groups_attribute_name = '', 
                    identity_provider_name = '', 
                    last_name_attribute_name = '', 
                    username_attribute_name = '', 
                    validate_assertion_signature = True, 
                    validate_response_signature = True, ),
        )
        """

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

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