ruạṛ
a N��f\4 � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DatabaseToolsConnection� )�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 ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS ) �%DatabaseToolsConnectionOracleDatabasez: Database Tools connection of an Oracle Database. c K s� ddddddddddddddddddd�| _ d d ddd dddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _dS )a] Initializes a new DatabaseToolsConnectionOracleDatabase object with values from keyword arguments. The default value of the :py:attr:`~oci.database_tools.models.DatabaseToolsConnectionOracleDatabase.type` attribute of this class is ``ORACLE_DATABASE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this DatabaseToolsConnectionOracleDatabase. :type id: str :param display_name: The value to assign to the display_name property of this DatabaseToolsConnectionOracleDatabase. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this DatabaseToolsConnectionOracleDatabase. :type compartment_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this DatabaseToolsConnectionOracleDatabase. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED" :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this DatabaseToolsConnectionOracleDatabase. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this DatabaseToolsConnectionOracleDatabase. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DatabaseToolsConnectionOracleDatabase. :type time_updated: datetime :param defined_tags: The value to assign to the defined_tags property of this DatabaseToolsConnectionOracleDatabase. :type defined_tags: dict(str, dict(str, object)) :param freeform_tags: The value to assign to the freeform_tags property of this DatabaseToolsConnectionOracleDatabase. :type freeform_tags: dict(str, str) :param system_tags: The value to assign to the system_tags property of this DatabaseToolsConnectionOracleDatabase. :type system_tags: dict(str, dict(str, object)) :param type: The value to assign to the type property of this DatabaseToolsConnectionOracleDatabase. Allowed values for this property are: "ORACLE_DATABASE", "MYSQL" :type type: str :param related_resource: The value to assign to the related_resource property of this DatabaseToolsConnectionOracleDatabase. :type related_resource: oci.database_tools.models.DatabaseToolsRelatedResource :param connection_string: The value to assign to the connection_string property of this DatabaseToolsConnectionOracleDatabase. :type connection_string: str :param user_name: The value to assign to the user_name property of this DatabaseToolsConnectionOracleDatabase. :type user_name: str :param user_password: The value to assign to the user_password property of this DatabaseToolsConnectionOracleDatabase. :type user_password: oci.database_tools.models.DatabaseToolsUserPassword :param advanced_properties: The value to assign to the advanced_properties property of this DatabaseToolsConnectionOracleDatabase. :type advanced_properties: dict(str, str) :param key_stores: The value to assign to the key_stores property of this DatabaseToolsConnectionOracleDatabase. :type key_stores: list[oci.database_tools.models.DatabaseToolsKeyStore] :param private_endpoint_id: The value to assign to the private_endpoint_id property of this DatabaseToolsConnectionOracleDatabase. :type private_endpoint_id: str �str�datetimezdict(str, dict(str, object))zdict(str, str)�DatabaseToolsRelatedResource�DatabaseToolsUserPasswordzlist[DatabaseToolsKeyStore])�id�display_name�compartment_id�lifecycle_state�lifecycle_details�time_created�time_updated�defined_tags� freeform_tags�system_tags�type�related_resource�connection_string� user_name� user_password�advanced_properties� key_stores�private_endpoint_idr �displayName� compartmentId�lifecycleState�lifecycleDetails�timeCreated�timeUpdated�definedTags�freeformTags� systemTagsr �relatedResource�connectionString�userName�userPassword�advancedProperties� keyStores�privateEndpointIdN�ORACLE_DATABASE)� swagger_types� attribute_map�_id� _display_name�_compartment_id�_lifecycle_state�_lifecycle_details� _time_created� _time_updated� _defined_tags�_freeform_tags�_system_tags�_type�_related_resource�_connection_string� _user_name�_user_password�_advanced_properties�_key_stores�_private_endpoint_id)�self�kwargs� rF ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_tools/models/database_tools_connection_oracle_database.py�__init__ sr R��z.DatabaseToolsConnectionOracleDatabase.__init__c C s | j S )z� Gets the related_resource of this DatabaseToolsConnectionOracleDatabase. :return: The related_resource of this DatabaseToolsConnectionOracleDatabase. :rtype: oci.database_tools.models.DatabaseToolsRelatedResource �r= �rD rF rF rG r � s z6DatabaseToolsConnectionOracleDatabase.related_resourcec C s || _ dS )a Sets the related_resource of this DatabaseToolsConnectionOracleDatabase. :param related_resource: The related_resource of this DatabaseToolsConnectionOracleDatabase. :type: oci.database_tools.models.DatabaseToolsRelatedResource NrI )rD r rF rF rG r � s c C s | j S )a% Gets the connection_string of this DatabaseToolsConnectionOracleDatabase. The connect descriptor or Easy Connect Naming method used to connect to the database. :return: The connection_string of this DatabaseToolsConnectionOracleDatabase. :rtype: str �r>