# coding: utf-8

"""
    Consolidate Services

    Description of all APIs  # noqa: E501

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


from __future__ import absolute_import

import unittest
import datetime

import argocd_client
from argocd_client.models.v1alpha1_repository_list import V1alpha1RepositoryList  # noqa: E501
from argocd_client.rest import ApiException

class TestV1alpha1RepositoryList(unittest.TestCase):
    """V1alpha1RepositoryList unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test V1alpha1RepositoryList
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = argocd_client.models.v1alpha1_repository_list.V1alpha1RepositoryList()  # noqa: E501
        if include_optional :
            return V1alpha1RepositoryList(
                items = [
                    argocd_client.models.repository_is_a_repository_holding_application_configurations.Repository is a repository holding application configurations(
                        connection_state = argocd_client.models.connection_state_contains_information_about_remote_resource_connection_state.ConnectionState contains information about remote resource connection state(
                            attempted_at = argocd_client.models.v1_time.v1Time(
                                nanos = 56, 
                                seconds = '0', ), 
                            message = '0', 
                            status = '0', ), 
                        enable_lfs = True, 
                        inherited_creds = True, 
                        insecure = True, 
                        insecure_ignore_host_key = True, 
                        name = '0', 
                        password = '0', 
                        repo = '0', 
                        ssh_private_key = '0', 
                        tls_client_cert_data = '0', 
                        tls_client_cert_key = '0', 
                        type = '0', 
                        username = '0', )
                    ], 
                metadata = argocd_client.models.v1_list_meta.v1ListMeta(
                    continue = '0', 
                    remaining_item_count = '0', 
                    resource_version = '0', 
                    self_link = '0', )
            )
        else :
            return V1alpha1RepositoryList(
        )

    def testV1alpha1RepositoryList(self):
        """Test V1alpha1RepositoryList"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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