a Of!@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d d Z e d d Z ed dZejddZeddZejddZddZddZddZdS) ConfigSourcez8 Information about the Terraform configuration. BITBUCKET_CLOUD_CONFIG_SOURCEBITBUCKET_SERVER_CONFIG_SOURCECOMPARTMENT_CONFIG_SOURCEDEVOPS_CONFIG_SOURCEGIT_CONFIG_SOURCEOBJECT_STORAGE_CONFIG_SOURCE ZIP_UPLOADcKs(ddd|_ddd|_d|_d|_dS)a Initializes a new ConfigSource 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.GitConfigSource` * :class:`~oci.resource_manager.models.DevOpsConfigSource` * :class:`~oci.resource_manager.models.ObjectStorageConfigSource` * :class:`~oci.resource_manager.models.BitbucketServerConfigSource` * :class:`~oci.resource_manager.models.BitbucketCloudConfigSource` * :class:`~oci.resource_manager.models.CompartmentConfigSource` * :class:`~oci.resource_manager.models.ZipUploadConfigSource` 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 ConfigSource. 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_type: str :param working_directory: The value to assign to the working_directory property of this ConfigSource. :type working_directory: str str)config_source_typeworking_directoryconfigSourceTypeworkingDirectoryN) swagger_types attribute_map_config_source_type_working_directory)selfkwargsr/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/resource_manager/models/config_source.py__init__,szConfigSource.__init__cCsd|d}|dkrdS|dkr dS|dkr,dS|dkr8d S|d krDd S|d krPd S|dkr\dSdSdS)z Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. rr GitConfigSourcer DevOpsConfigSourcer ObjectStorageConfigSourcerBitbucketServerConfigSourcerBitbucketCloudConfigSourcer CompartmentConfigSourcer ZipUploadConfigSourcerNr)object_dictionarytyperrr get_subtypeSs zConfigSource.get_subtypecCs|jS)aU **[Required]** Gets the config_source_type of this ConfigSource. 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_type of this ConfigSource. :rtype: str )rrrrrrrs zConfigSource.config_source_typecCs gd}t||sd}||_dS)z Sets the config_source_type of this ConfigSource. The type of configuration source to use for the Terraform configuration. :param config_source_type: The config_source_type of this ConfigSource. :type: str )rrr r r r r UNKNOWN_ENUM_VALUEN)rr)rrallowed_valuesrrrrs  cCs|jS)a Gets the working_directory of this ConfigSource. 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 ConfigSource. :rtype: str rr&rrrrszConfigSource.working_directorycCs ||_dS)a Sets the working_directory of this ConfigSource. 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 ConfigSource. :type: str Nr))rrrrrrscCst|SN)rr&rrr__repr__szConfigSource.__repr__cCs|dur dS|j|jkS)NF)__dict__rotherrrr__eq__szConfigSource.__eq__cCs ||k Sr*rr-rrr__ne__szConfigSource.__ne__N)__name__ __module__ __qualname____doc__0CONFIG_SOURCE_TYPE_BITBUCKET_CLOUD_CONFIG_SOURCE1CONFIG_SOURCE_TYPE_BITBUCKET_SERVER_CONFIG_SOURCE,CONFIG_SOURCE_TYPE_COMPARTMENT_CONFIG_SOURCE'CONFIG_SOURCE_TYPE_DEVOPS_CONFIG_SOURCE$CONFIG_SOURCE_TYPE_GIT_CONFIG_SOURCE/CONFIG_SOURCE_TYPE_OBJECT_STORAGE_CONFIG_SOURCECONFIG_SOURCE_TYPE_ZIP_UPLOADr staticmethodr%propertyrsetterrr+r/r0rrrrr s,'     rN)oci.utilrrroci.decoratorsrobjectrrrrrs