# coding: utf-8

"""
    Identity Security Cloud V3 API

    Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.

    The version of the OpenAPI document: 3.0.0
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from sailpoint.v3.models.managed_cluster import ManagedCluster

class TestManagedCluster(unittest.TestCase):
    """ManagedCluster unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> ManagedCluster:
        """Test ManagedCluster
            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 `ManagedCluster`
        """
        model = ManagedCluster()
        if include_optional:
            return ManagedCluster(
                id = 'e1ff7bb24c934240bbf55e1aa39e41c5',
                name = 'Managed Cluster Name',
                pod = 'megapod-useast1',
                org = 'denali',
                type = 'idn',
                configuration = {clusterExternalId=e1ff7bb24c934240bbf55e1aa39e41c5, clusterType=sqsCluster, gmtOffset=-5},
                key_pair = sailpoint.v3.models.managed_cluster_key_pair.Managed Cluster Key Pair(
                    public_key = '-----BEGIN PUBLIC KEY-----******-----END PUBLIC KEY-----', 
                    public_key_thumbprint = '6CMlaJIV44-xJxcB3CJBjDUUn54', 
                    public_key_certificate = '-----BEGIN CERTIFICATE-----****-----END CERTIFICATE-----', ),
                attributes = sailpoint.v3.models.managed_cluster_attributes.Managed Cluster Attributes(
                    queue = sailpoint.v3.models.managed_cluster_queue.Managed Cluster Queue(
                        name = 'megapod-useast1-denali-lwt-cluster-1533', 
                        region = 'us-east-1', ), 
                    keystore = '/u3+7QAAAAIAAAABAAAAAQAvL3Byb3h5LWNsdXN0ZXIvMmM5MTgwODc3Yjg3MW', ),
                description = 'q',
                redis = sailpoint.v3.models.managed_cluster_redis.Managed Cluster Redis(
                    redis_host = 'megapod-useast1-shared-redis.cloud.sailpoint.com', 
                    redis_port = 6379, ),
                client_type = 'CCG',
                ccg_version = 'v01',
                pinned_config = False,
                log_configuration = sailpoint.v3.models.client_log_configuration.Client Log Configuration(
                    client_id = '3a38a51992e8445ab51a549c0a70ee66', 
                    duration_minutes = 120, 
                    expiration = '2024-11-06T01:31:08.013164Z', 
                    root_level = 'INFO', 
                    log_levels = INFO, ),
                operational = False,
                status = 'NORMAL',
                public_key_certificate = '-----BEGIN CERTIFICATE-----TCCAb2gAwIBAgIBADANBgkqhkiG9w0BAQsFADAuMQ0wCwYDVQQD-----END CERTIFICATE-----',
                public_key_thumbprint = 'obc6pLiulGbtZ',
                public_key = '-----BEGIN PUBLIC KEY-----jANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3WgnsxP52MDgBTfHR+5n4-----END PUBLIC KEY-----',
                encryption_configuration = sailpoint.v3.models.managed_cluster_encryption_configuration.Managed Cluster Encryption Configuration(
                    format = 'V3', ),
                alert_key = 'LIMITED_RESOURCES',
                client_ids = [1244, 1245],
                service_count = 6,
                cc_id = '0',
                created_at = '2023-08-04T20:48:01.865Z',
                updated_at = '2023-08-04T20:48:01.865Z',
                last_release_notified_at = '2025-03-11T07:00:13.729721Z',
                update_preferences = sailpoint.v3.models.managed_cluster_update_preferences.ManagedCluster_updatePreferences(
                    process_groups = 'processGroup1', 
                    update_state = 'DISABLED', 
                    notification_email = 'test@mail.com', ),
                current_installed_release_version = '123.1',
                update_package = '123.1.2',
                is_out_of_date_notified_at = '2025-03-11T07:00:13.734393Z',
                consolidated_health_indicators_status = 'ERROR'
            )
        else:
            return ManagedCluster(
                id = 'e1ff7bb24c934240bbf55e1aa39e41c5',
                client_type = 'CCG',
                ccg_version = 'v01',
        )
        """

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

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