<reponame>hi-artem/twistlock-py<gh_stars>0
# 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.waas_malicious_upload_config import WaasMaliciousUploadConfig  # noqa: E501
from openapi_client.rest import ApiException

class TestWaasMaliciousUploadConfig(unittest.TestCase):
    """WaasMaliciousUploadConfig unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test WaasMaliciousUploadConfig
            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.waas_malicious_upload_config.WaasMaliciousUploadConfig()  # noqa: E501
        if include_optional :
            return WaasMaliciousUploadConfig(
                allowed_extensions = [
                    ''
                    ], 
                allowed_file_types = [
                    '[\"pdf\",\"officeLegacy\",\"officeOoxml\",\"odf\",\"jpeg\",\"png\",\"gif\",\"bmp\",\"ico\",\"avi\",\"mp4\",\"aac\",\"mp3\",\"wav\",\"zip\",\"gzip\",\"rar\",\"7zip\"]'
                    ], 
                effect = '[\"ban\",\"prevent\",\"alert\",\"allow\",\"disable\",\"reCAPTCHA\"]'
            )
        else :
            return WaasMaliciousUploadConfig(
        )

    def testWaasMaliciousUploadConfig(self):
        """Test WaasMaliciousUploadConfig"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)

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

# 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.waas_malicious_upload_config import WaasMaliciousUploadConfig  # noqa: E501
from openapi_client.rest import ApiException

class TestWaasMaliciousUploadConfig(unittest.TestCase):
    """WaasMaliciousUploadConfig unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test WaasMaliciousUploadConfig
            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.waas_malicious_upload_config.WaasMaliciousUploadConfig()  # noqa: E501
        if include_optional :
            return WaasMaliciousUploadConfig(
                allowed_extensions = [
                    ''
                    ], 
                allowed_file_types = [
                    '[\"pdf\",\"officeLegacy\",\"officeOoxml\",\"odf\",\"jpeg\",\"png\",\"gif\",\"bmp\",\"ico\",\"avi\",\"mp4\",\"aac\",\"mp3\",\"wav\",\"zip\",\"gzip\",\"rar\",\"7zip\"]'
                    ], 
                effect = '[\"ban\",\"prevent\",\"alert\",\"allow\",\"disable\",\"reCAPTCHA\"]'
            )
        else :
            return WaasMaliciousUploadConfig(
        )

    def testWaasMaliciousUploadConfig(self):
        """Test WaasMaliciousUploadConfig"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)

if __name__ == '__main__':
    unittest.main()
# 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 # noqa: E501 WaasMaliciousUploadConfig unit test stubs Test WaasMaliciousUploadConfig             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.waas_malicious_upload_config.WaasMaliciousUploadConfig()  # noqa: E501 Test WaasMaliciousUploadConfig