ruạṛ
a N��f�1 � @ 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 ) �DatabaseToolsConnectionMySqlz6 Database Tools connection of a MySQL Server. 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 DatabaseToolsConnectionMySql object with values from keyword arguments. The default value of the :py:attr:`~oci.database_tools.models.DatabaseToolsConnectionMySql.type` attribute of this class is ``MYSQL`` 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 DatabaseToolsConnectionMySql. :type id: str :param display_name: The value to assign to the display_name property of this DatabaseToolsConnectionMySql. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this DatabaseToolsConnectionMySql. :type compartment_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this DatabaseToolsConnectionMySql. 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 DatabaseToolsConnectionMySql. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this DatabaseToolsConnectionMySql. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DatabaseToolsConnectionMySql. :type time_updated: datetime :param defined_tags: The value to assign to the defined_tags property of this DatabaseToolsConnectionMySql. :type defined_tags: dict(str, dict(str, object)) :param freeform_tags: The value to assign to the freeform_tags property of this DatabaseToolsConnectionMySql. :type freeform_tags: dict(str, str) :param system_tags: The value to assign to the system_tags property of this DatabaseToolsConnectionMySql. :type system_tags: dict(str, dict(str, object)) :param type: The value to assign to the type property of this DatabaseToolsConnectionMySql. 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 DatabaseToolsConnectionMySql. :type related_resource: oci.database_tools.models.DatabaseToolsRelatedResourceMySql :param connection_string: The value to assign to the connection_string property of this DatabaseToolsConnectionMySql. :type connection_string: str :param user_name: The value to assign to the user_name property of this DatabaseToolsConnectionMySql. :type user_name: str :param user_password: The value to assign to the user_password property of this DatabaseToolsConnectionMySql. :type user_password: oci.database_tools.models.DatabaseToolsUserPassword :param advanced_properties: The value to assign to the advanced_properties property of this DatabaseToolsConnectionMySql. :type advanced_properties: dict(str, str) :param key_stores: The value to assign to the key_stores property of this DatabaseToolsConnectionMySql. :type key_stores: list[oci.database_tools.models.DatabaseToolsKeyStoreMySql] :param private_endpoint_id: The value to assign to the private_endpoint_id property of this DatabaseToolsConnectionMySql. :type private_endpoint_id: str �str�datetimezdict(str, dict(str, object))zdict(str, str)�!DatabaseToolsRelatedResourceMySql�DatabaseToolsUserPasswordz list[DatabaseToolsKeyStoreMySql])�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�MYSQL)� 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_my_sql.py�__init__ sr R��z%DatabaseToolsConnectionMySql.__init__c C s | j S )z� Gets the related_resource of this DatabaseToolsConnectionMySql. :return: The related_resource of this DatabaseToolsConnectionMySql. :rtype: oci.database_tools.models.DatabaseToolsRelatedResourceMySql �r= �rD rF rF rG r � s z-DatabaseToolsConnectionMySql.related_resourcec C s || _ dS )z� Sets the related_resource of this DatabaseToolsConnectionMySql. :param related_resource: The related_resource of this DatabaseToolsConnectionMySql. :type: oci.database_tools.models.DatabaseToolsRelatedResourceMySql NrI )rD r rF rF rG r � s c C s | j S )z� Gets the connection_string of this DatabaseToolsConnectionMySql. The connection string used to connect to the MySQL Server. :return: The connection_string of this DatabaseToolsConnectionMySql. :rtype: str �r>