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 )�CompartmentConfigSourcez� Compartment to use for creating the stack. The new stack will include definitions for supported resource types in this compartment. c K sL dddddd�| _ dddddd�| _d | _d | _d | _d | _d | _d | _d S )a� Initializes a new CompartmentConfigSource object with values from keyword arguments. The default value of the :py:attr:`~oci.resource_manager.models.CompartmentConfigSource.config_source_type` attribute of this class is ``COMPARTMENT_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 CompartmentConfigSource. 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 CompartmentConfigSource. :type working_directory: str :param compartment_id: The value to assign to the compartment_id property of this CompartmentConfigSource. :type compartment_id: str :param region: The value to assign to the region property of this CompartmentConfigSource. :type region: str :param services_to_discover: The value to assign to the services_to_discover property of this CompartmentConfigSource. :type services_to_discover: list[str] �strz list[str])Zconfig_source_typeZworking_directory�compartment_id�region�services_to_discoverZconfigSourceTypeZworkingDirectoryZ compartmentIdr ZservicesToDiscoverNZCOMPARTMENT_CONFIG_SOURCE)Z swagger_typesZ attribute_mapZ_config_source_typeZ_working_directory�_compartment_id�_region�_services_to_discover)�self�kwargs� r �Y/usr/lib/python3.9/site-packages/oci/resource_manager/models/compartment_config_source.py�__init__ s$ � �z CompartmentConfigSource.__init__c C s | j S )a� **[Required]** Gets the compartment_id of this CompartmentConfigSource. The `OCID`__ of the compartment to use for creating the stack. The new stack will include definitions for supported resource types in this compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this CompartmentConfigSource. :rtype: str �r �r r r r r F s z&CompartmentConfigSource.compartment_idc C s || _ dS )a� Sets the compartment_id of this CompartmentConfigSource. The `OCID`__ of the compartment to use for creating the stack. The new stack will include definitions for supported resource types in this compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this CompartmentConfigSource. :type: str Nr )r r r r r r V s c C s | j S )a2 **[Required]** Gets the region of this CompartmentConfigSource. The region to use for creating the stack. The new stack will include definitions for supported resource types in this region. :return: The region of this CompartmentConfigSource. :rtype: str �r r r r r r f s zCompartmentConfigSource.regionc C s || _ dS )a( Sets the region of this CompartmentConfigSource. The region to use for creating the stack. The new stack will include definitions for supported resource types in this region. :param region: The region of this CompartmentConfigSource. :type: str Nr )r r r r r r s s c C s | j S )a� Gets the services_to_discover of this CompartmentConfigSource. Filter for `services to use with Resource Discovery`__. For example, "database" limits resource discovery to resource types within the Database service. The specified services must be in scope of the given compartment OCID (tenancy level for root compartment, compartment level otherwise). If not specified, then all services at the scope of the given compartment OCID are used. __ https://www.terraform.io/docs/providers/oci/guides/resource_discovery.html#services :return: The services_to_discover of this CompartmentConfigSource. :rtype: list[str] �r r r r r r � s z,CompartmentConfigSource.services_to_discoverc C s || _ dS )a� Sets the services_to_discover of this CompartmentConfigSource. Filter for `services to use with Resource Discovery`__. For example, "database" limits resource discovery to resource types within the Database service. The specified services must be in scope of the given compartment OCID (tenancy level for root compartment, compartment level otherwise). If not specified, then all services at the scope of the given compartment OCID are used. __ https://www.terraform.io/docs/providers/oci/guides/resource_discovery.html#services :param services_to_discover: The services_to_discover of this CompartmentConfigSource. :type: list[str] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z CompartmentConfigSource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zCompartmentConfigSource.__eq__c C s | |k S r r r r r r �__ne__� s zCompartmentConfigSource.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"