# coding: utf-8

"""
    Prisma Cloud Compute API

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

    The version of the OpenAPI document: 21.04.439
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import openapi_client
from openapi_client.models.shared_license import SharedLicense  # noqa: E501
from openapi_client.rest import ApiException

class TestSharedLicense(unittest.TestCase):
    """SharedLicense unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test SharedLicense
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = openapi_client.models.shared_license.SharedLicense()  # noqa: E501
        if include_optional :
            return SharedLicense(
                access_token = '', 
                contract_id = '', 
                contract_type = '[\"\",\"host\",\"avg\",\"burndown\"]', 
                credits = 56, 
                customer_id = '', 
                defender_details = [
                    openapi_client.models.shared/defender_license_details.shared.DefenderLicenseDetails(
                        category = '[\"container\",\"host\",\"serverless\",\"appEmbedded\"]', 
                        count = 56, )
                    ], 
                defenders = 56, 
                expiration_date = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                issue_date = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), 
                type = '[\"\",\"developer\",\"enterprise\",\"evaluation\",\"oem\"]', 
                workloads = 56
            )
        else :
            return SharedLicense(
        )

    def testSharedLicense(self):
        """Test SharedLicense"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)

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