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 @ sr e Zd ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z ed d� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�ConfigSourceRecordz8 Information about the Terraform configuration. �BITBUCKET_CLOUD_CONFIG_SOURCE�BITBUCKET_SERVER_CONFIG_SOURCE�COMPARTMENT_CONFIG_SOURCE�DEVOPS_CONFIG_SOURCE�GIT_CONFIG_SOURCE�OBJECT_STORAGE_CONFIG_SOURCE� ZIP_UPLOADc K s ddi| _ ddi| _d| _dS )an Initializes a new ConfigSourceRecord 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.DevOpsConfigSourceRecord` * :class:`~oci.resource_manager.models.GitConfigSourceRecord` * :class:`~oci.resource_manager.models.ZipUploadConfigSourceRecord` * :class:`~oci.resource_manager.models.BitbucketCloudConfigSourceRecord` * :class:`~oci.resource_manager.models.BitbucketServerConfigSourceRecord` * :class:`~oci.resource_manager.models.ObjectStorageConfigSourceRecord` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param config_source_record_type: The value to assign to the config_source_record_type property of this ConfigSourceRecord. 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", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type config_source_record_type: str �config_source_record_type�str�configSourceRecordTypeN)� swagger_types� attribute_map�_config_source_record_type)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/resource_manager/models/config_source_record.py�__init__, s ��zConfigSourceRecord.__init__c C sX | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S 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 r �DevOpsConfigSourceRecordr �GitConfigSourceRecordr �ZipUploadConfigSourceRecordr � BitbucketCloudConfigSourceRecordr �!BitbucketServerConfigSourceRecordr �ObjectStorageConfigSourceRecordr Nr )�object_dictionary�typer r r �get_subtypeK s zConfigSourceRecord.get_subtypec C s | j S )ao **[Required]** Gets the config_source_record_type of this ConfigSourceRecord. The type of configuration source to use for the Terraform configuration. 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", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The config_source_record_type of this ConfigSourceRecord. :rtype: str )r �r r r r r g s z,ConfigSourceRecord.config_source_record_typec C s g d�}t ||�sd}|| _dS )a Sets the config_source_record_type of this ConfigSourceRecord. The type of configuration source to use for the Terraform configuration. :param config_source_record_type: The config_source_record_type of this ConfigSourceRecord. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r v s c C s t | �S �N)r r"