ruạṛ
a ���f6 � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ConnectionSummary� )�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 edd� �Zejdd� �Zdd� Zdd� Zd d!� Zd"S )#�MysqlConnectionSummaryz* Summary of the MySQL Connection. c K s dddddddddddddddddddddddddd �| _ d ddd ddddddddddddddddddd d!d"d �| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _ d#| _ d#| _d#| _d#| _ d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d$| _d#S )%aa Initializes a new MysqlConnectionSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.database_migration.models.MysqlConnectionSummary.connection_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 connection_type: The value to assign to the connection_type property of this MysqlConnectionSummary. Allowed values for this property are: "MYSQL", "ORACLE" :type connection_type: str :param id: The value to assign to the id property of this MysqlConnectionSummary. :type id: str :param display_name: The value to assign to the display_name property of this MysqlConnectionSummary. :type display_name: str :param description: The value to assign to the description property of this MysqlConnectionSummary. :type description: str :param compartment_id: The value to assign to the compartment_id property of this MysqlConnectionSummary. :type compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this MysqlConnectionSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this MysqlConnectionSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this MysqlConnectionSummary. :type system_tags: dict(str, dict(str, object)) :param lifecycle_state: The value to assign to the lifecycle_state property of this MysqlConnectionSummary. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this MysqlConnectionSummary. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this MysqlConnectionSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this MysqlConnectionSummary. :type time_updated: datetime :param vault_id: The value to assign to the vault_id property of this MysqlConnectionSummary. :type vault_id: str :param key_id: The value to assign to the key_id property of this MysqlConnectionSummary. :type key_id: str :param subnet_id: The value to assign to the subnet_id property of this MysqlConnectionSummary. :type subnet_id: str :param ingress_ips: The value to assign to the ingress_ips property of this MysqlConnectionSummary. :type ingress_ips: list[oci.database_migration.models.IngressIpDetails] :param nsg_ids: The value to assign to the nsg_ids property of this MysqlConnectionSummary. :type nsg_ids: list[str] :param technology_type: The value to assign to the technology_type property of this MysqlConnectionSummary. :type technology_type: str :param host: The value to assign to the host property of this MysqlConnectionSummary. :type host: str :param port: The value to assign to the port property of this MysqlConnectionSummary. :type port: int :param database_name: The value to assign to the database_name property of this MysqlConnectionSummary. :type database_name: str :param security_protocol: The value to assign to the security_protocol property of this MysqlConnectionSummary. :type security_protocol: str :param ssl_mode: The value to assign to the ssl_mode property of this MysqlConnectionSummary. :type ssl_mode: str :param additional_attributes: The value to assign to the additional_attributes property of this MysqlConnectionSummary. :type additional_attributes: list[oci.database_migration.models.NameValuePair] :param db_system_id: The value to assign to the db_system_id property of this MysqlConnectionSummary. :type db_system_id: str �strzdict(str, str)zdict(str, dict(str, object))Zdatetimezlist[IngressIpDetails]z list[str]�intzlist[NameValuePair])Zconnection_type�idZdisplay_name�descriptionZcompartment_idZ freeform_tagsZdefined_tagsZsystem_tagsZlifecycle_stateZlifecycle_detailsZtime_createdZtime_updatedZvault_idZkey_idZ subnet_idZingress_ipsZnsg_ids�technology_type�host�port� database_name�security_protocol�ssl_mode�additional_attributes�db_system_idZconnectionTyper ZdisplayNamer Z compartmentIdZfreeformTagsZdefinedTagsZ systemTagsZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedZvaultIdZkeyIdZsubnetIdZ ingressIpsZnsgIdsZtechnologyTyper r ZdatabaseNameZsecurityProtocolZsslModeZadditionalAttributesZ dbSystemIdNZMYSQL)Z swagger_typesZ attribute_mapZ_connection_typeZ_idZ _display_nameZ_descriptionZ_compartment_idZ_freeform_tagsZ _defined_tagsZ_system_tagsZ_lifecycle_stateZ_lifecycle_detailsZ _time_createdZ _time_updatedZ _vault_idZ_key_idZ _subnet_idZ_ingress_ipsZ_nsg_ids�_technology_type�_host�_port�_database_name�_security_protocol� _ssl_mode�_additional_attributes� _db_system_id)�self�kwargs� r �Z/usr/lib/python3.9/site-packages/oci/database_migration/models/mysql_connection_summary.py�__init__ s� m��zMysqlConnectionSummary.__init__c C s | j S )a5 **[Required]** Gets the technology_type of this MysqlConnectionSummary. The type of MySQL source or target connection. Example: OCI_MYSQL represents OCI MySQL HeatWave Database Service :return: The technology_type of this MysqlConnectionSummary. :rtype: str �r �r r r r r � s z&MysqlConnectionSummary.technology_typec C s || _ dS )a4 Sets the technology_type of this MysqlConnectionSummary. The type of MySQL source or target connection. Example: OCI_MYSQL represents OCI MySQL HeatWave Database Service :param technology_type: The technology_type of this MysqlConnectionSummary. :type: str Nr"