ruạṛ
a ���fN$ � @ 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 d d� Z dd� Zdd� ZdS )�OracleConnectionSummaryz+ Summary of the Oracle Connection. c K s� ddddddddddddddddddddd�| _ dd d ddd ddddddddddddddd�| _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 OracleConnectionSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.database_migration.models.OracleConnectionSummary.connection_type` attribute of this class is ``ORACLE`` 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 OracleConnectionSummary. Allowed values for this property are: "MYSQL", "ORACLE" :type connection_type: str :param id: The value to assign to the id property of this OracleConnectionSummary. :type id: str :param display_name: The value to assign to the display_name property of this OracleConnectionSummary. :type display_name: str :param description: The value to assign to the description property of this OracleConnectionSummary. :type description: str :param compartment_id: The value to assign to the compartment_id property of this OracleConnectionSummary. :type compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this OracleConnectionSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this OracleConnectionSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this OracleConnectionSummary. :type system_tags: dict(str, dict(str, object)) :param lifecycle_state: The value to assign to the lifecycle_state property of this OracleConnectionSummary. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this OracleConnectionSummary. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this OracleConnectionSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this OracleConnectionSummary. :type time_updated: datetime :param vault_id: The value to assign to the vault_id property of this OracleConnectionSummary. :type vault_id: str :param key_id: The value to assign to the key_id property of this OracleConnectionSummary. :type key_id: str :param subnet_id: The value to assign to the subnet_id property of this OracleConnectionSummary. :type subnet_id: str :param ingress_ips: The value to assign to the ingress_ips property of this OracleConnectionSummary. :type ingress_ips: list[oci.database_migration.models.IngressIpDetails] :param nsg_ids: The value to assign to the nsg_ids property of this OracleConnectionSummary. :type nsg_ids: list[str] :param technology_type: The value to assign to the technology_type property of this OracleConnectionSummary. :type technology_type: str :param connection_string: The value to assign to the connection_string property of this OracleConnectionSummary. :type connection_string: str :param database_id: The value to assign to the database_id property of this OracleConnectionSummary. :type database_id: str �strzdict(str, str)zdict(str, dict(str, object))Zdatetimezlist[IngressIpDetails]z list[str])Zconnection_type�idZdisplay_name�descriptionZcompartment_idZ freeform_tagsZdefined_tagsZsystem_tagsZlifecycle_stateZlifecycle_detailsZtime_createdZtime_updatedZvault_idZkey_idZ subnet_idZingress_ipsZnsg_ids�technology_type�connection_string�database_idZconnectionTyper ZdisplayNamer Z compartmentIdZfreeformTagsZdefinedTagsZ systemTagsZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedZvaultIdZkeyIdZsubnetIdZ ingressIpsZnsgIdsZtechnologyTypeZconnectionStringZ databaseIdNZORACLE)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�_connection_string�_database_id)�self�kwargs� r �[/usr/lib/python3.9/site-packages/oci/database_migration/models/oracle_connection_summary.py�__init__ s~ Y��z OracleConnectionSummary.__init__c C s | j S )z� **[Required]** Gets the technology_type of this OracleConnectionSummary. The Oracle technology type. :return: The technology_type of this OracleConnectionSummary. :rtype: str �r �r r r r r � s z'OracleConnectionSummary.technology_typec C s || _ dS )z� Sets the technology_type of this OracleConnectionSummary. The Oracle technology type. :param technology_type: The technology_type of this OracleConnectionSummary. :type: str Nr )r r r r r r � s c C s | j S )a Gets the connection_string of this OracleConnectionSummary. Connect descriptor or Easy Connect Naming method used to connect to a database. :return: The connection_string of this OracleConnectionSummary. :rtype: str �r r r r r r � s z)OracleConnectionSummary.connection_stringc C s || _ dS )a Sets the connection_string of this OracleConnectionSummary. Connect descriptor or Easy Connect Naming method used to connect to a database. :param connection_string: The connection_string of this OracleConnectionSummary. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the database_id of this OracleConnectionSummary. The OCID of the database being referenced. :return: The database_id of this OracleConnectionSummary. :rtype: str �r r r r r r � s z#OracleConnectionSummary.database_idc C s || _ dS )z� Sets the database_id of this OracleConnectionSummary. The OCID of the database being referenced. :param database_id: The database_id of this OracleConnectionSummary. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z OracleConnectionSummary.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zOracleConnectionSummary.__eq__c C s | |k S r r r r r r �__ne__� s zOracleConnectionSummary.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r! r r r r r s$ r N) Zconnection_summaryr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn