ruạṛ
a O��f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sp e Zd ZdZdd� Zedd� �Zedd� �Zej dd� �Zed d � �Z e j dd � �Z dd � Zdd� Zdd� Z dS )�CreateConfigSourceDetailszJ Creation details for a configuration source used with the stack. c K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new CreateConfigSourceDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.resource_manager.models.CreateDevOpsConfigSourceDetails` * :class:`~oci.resource_manager.models.CreateBitbucketCloudConfigSourceDetails` * :class:`~oci.resource_manager.models.CreateZipUploadConfigSourceDetails` * :class:`~oci.resource_manager.models.CreateBitbucketServerConfigSourceDetails` * :class:`~oci.resource_manager.models.CreateGitConfigSourceDetails` * :class:`~oci.resource_manager.models.CreateObjectStorageConfigSourceDetails` * :class:`~oci.resource_manager.models.CreateCompartmentConfigSourceDetails` * :class:`~oci.resource_manager.models.CreateStackTemplateConfigSourceDetails` 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 CreateConfigSourceDetails. :type config_source_type: str :param working_directory: The value to assign to the working_directory property of this CreateConfigSourceDetails. :type working_directory: str �str)�config_source_type�working_directory�configSourceType�workingDirectoryN)� swagger_types� attribute_map�_config_source_type�_working_directory)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/resource_manager/models/create_config_source_details.py�__init__ s ��z"CreateConfigSourceDetails.__init__c C sp | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S |dkr\dS |dkrhdS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r �DEVOPS_CONFIG_SOURCE�CreateDevOpsConfigSourceDetails�BITBUCKET_CLOUD_CONFIG_SOURCE�'CreateBitbucketCloudConfigSourceDetails� ZIP_UPLOAD�"CreateZipUploadConfigSourceDetails�BITBUCKET_SERVER_CONFIG_SOURCE�(CreateBitbucketServerConfigSourceDetails�GIT_CONFIG_SOURCE�CreateGitConfigSourceDetails�OBJECT_STORAGE_CONFIG_SOURCE�&CreateObjectStorageConfigSourceDetails�COMPARTMENT_CONFIG_SOURCE�$CreateCompartmentConfigSourceDetails�TEMPLATE_CONFIG_SOURCE�&CreateStackTemplateConfigSourceDetailsr Nr )�object_dictionary�typer r r �get_subtype6 s$ z%CreateConfigSourceDetails.get_subtypec C s | j S )a **[Required]** Gets the config_source_type of this CreateConfigSourceDetails. Specifies the `configSourceType` for uploading the Terraform configuration. :return: The config_source_type of this CreateConfigSourceDetails. :rtype: str �r �r r r r r X s z,CreateConfigSourceDetails.config_source_typec C s || _ dS )a Sets the config_source_type of this CreateConfigSourceDetails. Specifies the `configSourceType` for uploading the Terraform configuration. :param config_source_type: The config_source_type of this CreateConfigSourceDetails. :type: str Nr( )r r r r r r d s c C s | j S )a Gets the working_directory of this CreateConfigSourceDetails. File path to the directory to use for running Terraform. If not specified, the root directory is used. Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. For more information about required and recommended file structure, see `File Structure (Terraform Configurations for Resource Manager)`__. __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure :return: The working_directory of this CreateConfigSourceDetails. :rtype: str �r r) r r r r p s z+CreateConfigSourceDetails.working_directoryc C s || _ dS )a Sets the working_directory of this CreateConfigSourceDetails. File path to the directory to use for running Terraform. If not specified, the root directory is used. Required when using a zip Terraform configuration (`configSourceType` value of `ZIP_UPLOAD`) that contains folders. Ignored for the `configSourceType` value of `COMPARTMENT_CONFIG_SOURCE`. For more information about required and recommended file structure, see `File Structure (Terraform Configurations for Resource Manager)`__. __ https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager.htm#filestructure :param working_directory: The working_directory of this CreateConfigSourceDetails. :type: str Nr* )r r r r r r � s c C s t | �S �N)r r) r r r �__repr__� s z"CreateConfigSourceDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z CreateConfigSourceDetails.__eq__c C s | |k S r+ r r. r r r �__ne__� s z CreateConfigSourceDetails.__ne__N)�__name__� __module__�__qualname__�__doc__r �staticmethodr'