/
lib
/
python3.9
/
site-packages
/
oci
/
database_tools
/
models
/
__pycache__
/
Upload File
HOME
a ���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 ) �DatabaseToolsConnectionMySqlz6 Database Tools connection of a MySQL Server. c K s� ddddddddddddddddddddd �| _ d ddd ddddddddddddddddd �| _d| _d| _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", "INACTIVE" :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 locks: The value to assign to the locks property of this DatabaseToolsConnectionMySql. :type locks: list[oci.database_tools.models.ResourceLock] :param type: The value to assign to the type property of this DatabaseToolsConnectionMySql. Allowed values for this property are: "ORACLE_DATABASE", "MYSQL", "POSTGRESQL", "GENERIC_JDBC" :type type: str :param runtime_support: The value to assign to the runtime_support property of this DatabaseToolsConnectionMySql. Allowed values for this property are: "SUPPORTED", "UNSUPPORTED" :type runtime_support: 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 �strZdatetimezdict(str, dict(str, object))zdict(str, str)zlist[ResourceLock]Z!DatabaseToolsRelatedResourceMySqlZDatabaseToolsUserPasswordz list[DatabaseToolsKeyStoreMySql])�idZdisplay_nameZcompartment_idZlifecycle_stateZlifecycle_detailsZtime_createdZtime_updatedZdefined_tagsZ freeform_tagsZsystem_tags�locks�typeZruntime_support�related_resource�connection_string� user_name� user_password�advanced_properties� key_stores�private_endpoint_idr ZdisplayNameZ compartmentIdZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedZdefinedTagsZfreeformTagsZ systemTagsr r ZruntimeSupportZrelatedResourceZconnectionStringZuserNameZuserPasswordZadvancedPropertiesZ keyStoresZprivateEndpointIdNZMYSQL)Z swagger_typesZ attribute_mapZ_idZ _display_nameZ_compartment_idZ_lifecycle_stateZ_lifecycle_detailsZ _time_createdZ _time_updatedZ _defined_tagsZ_freeform_tagsZ_system_tagsZ_locksZ_typeZ_runtime_support�_related_resource�_connection_string� _user_name�_user_password�_advanced_properties�_key_stores�_private_endpoint_id)�self�kwargs� r �^/usr/lib/python3.9/site-packages/oci/database_tools/models/database_tools_connection_my_sql.py�__init__ s~ [��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 �r r r r 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 Nr )r r r r r r � s c C s | j S )a **[Required]** 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 r! r r r r � s z.DatabaseToolsConnectionMySql.connection_stringc C s || _ dS )a Sets the connection_string of this DatabaseToolsConnectionMySql. The connection string used to connect to the MySQL Server. :param connection_string: The connection_string of this DatabaseToolsConnectionMySql. :type: str Nr"