ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ConfigSource� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�GitConfigSourcez6 Metadata about the Git configuration source. c K sL dddddd�| _ dddddd�| _d| _d| _d| _d| _d| _d | _dS ) a� Initializes a new GitConfigSource object with values from keyword arguments. The default value of the :py:attr:`~oci.resource_manager.models.GitConfigSource.config_source_type` attribute of this class is ``GIT_CONFIG_SOURCE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param config_source_type: The value to assign to the config_source_type property of this GitConfigSource. Allowed values for this property are: "BITBUCKET_CLOUD_CONFIG_SOURCE", "BITBUCKET_SERVER_CONFIG_SOURCE", "COMPARTMENT_CONFIG_SOURCE", "DEVOPS_CONFIG_SOURCE", "GIT_CONFIG_SOURCE", "OBJECT_STORAGE_CONFIG_SOURCE", "ZIP_UPLOAD" :type config_source_type: str :param working_directory: The value to assign to the working_directory property of this GitConfigSource. :type working_directory: str :param configuration_source_provider_id: The value to assign to the configuration_source_provider_id property of this GitConfigSource. :type configuration_source_provider_id: str :param repository_url: The value to assign to the repository_url property of this GitConfigSource. :type repository_url: str :param branch_name: The value to assign to the branch_name property of this GitConfigSource. :type branch_name: str �str)Zconfig_source_typeZworking_directory� configuration_source_provider_id�repository_url�branch_nameZconfigSourceTypeZworkingDirectoryZconfigurationSourceProviderIdZ repositoryUrlZ branchNameNZGIT_CONFIG_SOURCE)Z swagger_typesZ attribute_mapZ_config_source_typeZ_working_directory�!_configuration_source_provider_id�_repository_url�_branch_name)�self�kwargs� r �Q/usr/lib/python3.9/site-packages/oci/resource_manager/models/git_config_source.py�__init__ s$ � �zGitConfigSource.__init__c C s | j S )aV **[Required]** Gets the configuration_source_provider_id of this GitConfigSource. The `OCID`__ of the Git configuration source. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The configuration_source_provider_id of this GitConfigSource. :rtype: str �r �r r r r r E s z0GitConfigSource.configuration_source_provider_idc C s || _ dS )af Sets the configuration_source_provider_id of this GitConfigSource. The `OCID`__ of the Git configuration source. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param configuration_source_provider_id: The configuration_source_provider_id of this GitConfigSource. :type: str Nr )r r r r r r S s c C s | j S )z� Gets the repository_url of this GitConfigSource. The URL of the Git repository for the configuration source. :return: The repository_url of this GitConfigSource. :rtype: str �r r r r r r a s zGitConfigSource.repository_urlc C s || _ dS )z� Sets the repository_url of this GitConfigSource. The URL of the Git repository for the configuration source. :param repository_url: The repository_url of this GitConfigSource. :type: str Nr )r r r r r r m s c C s | j S )z� Gets the branch_name of this GitConfigSource. The name of the branch in the Git repository for the configuration source. :return: The branch_name of this GitConfigSource. :rtype: str �r r r r r r y s zGitConfigSource.branch_namec C s || _ dS )z� Sets the branch_name of this GitConfigSource. The name of the branch in the Git repository for the configuration source. :param branch_name: The branch_name of this GitConfigSource. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zGitConfigSource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zGitConfigSource.__eq__c C s | |k S r r r r r r �__ne__� s zGitConfigSource.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"