ruạṛ
a N��f�I � @ 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 @ s� e Zd ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8�ExternalDatabaseConnectora6 An Oracle Cloud Infrastructure resource used to connect to an external Oracle Database. This resource stores the database connection string, user credentials, and related details that allow you to manage your external database using the Oracle Cloud Infrastructure Console and API interfaces. �PROVISIONING� AVAILABLE�UPDATING�TERMINATING� TERMINATED�FAILED�MACSc K s� ddddddddddddd�| _ dddd d ddd ddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )ay Initializes a new ExternalDatabaseConnector 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.database.models.ExternalMacsConnector` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this ExternalDatabaseConnector. :type compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this ExternalDatabaseConnector. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ExternalDatabaseConnector. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this ExternalDatabaseConnector. :type display_name: str :param id: The value to assign to the id property of this ExternalDatabaseConnector. :type id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ExternalDatabaseConnector. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this ExternalDatabaseConnector. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this ExternalDatabaseConnector. :type time_created: datetime :param connector_type: The value to assign to the connector_type property of this ExternalDatabaseConnector. Allowed values for this property are: "MACS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type connector_type: str :param external_database_id: The value to assign to the external_database_id property of this ExternalDatabaseConnector. :type external_database_id: str :param connection_status: The value to assign to the connection_status property of this ExternalDatabaseConnector. :type connection_status: str :param time_connection_status_last_updated: The value to assign to the time_connection_status_last_updated property of this ExternalDatabaseConnector. :type time_connection_status_last_updated: datetime �strzdict(str, str)zdict(str, dict(str, object))�datetime)�compartment_id� freeform_tags�defined_tags�display_name�id�lifecycle_state�lifecycle_details�time_created�connector_type�external_database_id�connection_status�#time_connection_status_last_updated� compartmentId�freeformTags�definedTags�displayNamer �lifecycleState�lifecycleDetails�timeCreated� connectorType�externalDatabaseId�connectionStatus�timeConnectionStatusLastUpdatedN)� swagger_types� attribute_map�_compartment_id�_freeform_tags� _defined_tags� _display_name�_id�_lifecycle_state�_lifecycle_details� _time_created�_connector_type�_external_database_id�_connection_status�$_time_connection_status_last_updated)�self�kwargs� r7 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/external_database_connector.py�__init__. sL ?��z"ExternalDatabaseConnector.__init__c C s | d }|dkrdS 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 �ExternalMacsConnectorr Nr7 )�object_dictionary�typer7 r7 r8 �get_subtype� s z%ExternalDatabaseConnector.get_subtypec C s | j S )a4 **[Required]** Gets the compartment_id of this ExternalDatabaseConnector. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this ExternalDatabaseConnector. :rtype: str �r) �r5 r7 r7 r8 r � s z(ExternalDatabaseConnector.compartment_idc C s || _ dS )a2 Sets the compartment_id of this ExternalDatabaseConnector. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this ExternalDatabaseConnector. :type: str Nr>