# 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.199.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.api_applicable_membership_mappings_dto import ApiApplicableMembershipMappingsDTO

class TestApiApplicableMembershipMappingsDTO(unittest.TestCase):
    """ApiApplicableMembershipMappingsDTO unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ApiApplicableMembershipMappingsDTO:
        """Test ApiApplicableMembershipMappingsDTO
            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 `ApiApplicableMembershipMappingsDTO`
        """
        model = ApiApplicableMembershipMappingsDTO()
        if include_optional:
            return ApiApplicableMembershipMappingsDTO(
                group_search_enabled = True,
                members_by_role = [
                    sonatype_iq_api_client.models.api_role_with_members_by_owner_dto.ApiRoleWithMembersByOwnerDTO(
                        members_by_owner = [
                            sonatype_iq_api_client.models.api_members_by_owner_dto.ApiMembersByOwnerDTO(
                                members = [
                                    sonatype_iq_api_client.models.api_member_with_details_dto.ApiMemberWithDetailsDTO(
                                        display_name = '', 
                                        email = '', 
                                        internal_name = '', 
                                        realm = '', 
                                        type = 'USER', )
                                    ], 
                                owner_id = '', 
                                owner_name = '', 
                                owner_type = '', )
                            ], 
                        role_description = '', 
                        role_id = '', 
                        role_name = '', )
                    ]
            )
        else:
            return ApiApplicableMembershipMappingsDTO(
        )
        """

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

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