ruạṛ
a ���f` � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DatabaseDetails� )�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 dd� Zdd� Zdd� Z dS )�InstalledDatabaseDetailszS The details of the database running on-premises or on a compute instance. c K sV ddddddd�| _ ddddd d d�| _d| _d| _d| _d| _d| _d| _d| _dS ) aJ Initializes a new InstalledDatabaseDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.data_safe.models.InstalledDatabaseDetails.database_type` attribute of this class is ``INSTALLED_DATABASE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param database_type: The value to assign to the database_type property of this InstalledDatabaseDetails. Allowed values for this property are: "DATABASE_CLOUD_SERVICE", "AUTONOMOUS_DATABASE", "INSTALLED_DATABASE" :type database_type: str :param infrastructure_type: The value to assign to the infrastructure_type property of this InstalledDatabaseDetails. Allowed values for this property are: "ORACLE_CLOUD", "CLOUD_AT_CUSTOMER", "ON_PREMISES", "NON_ORACLE_CLOUD" :type infrastructure_type: str :param instance_id: The value to assign to the instance_id property of this InstalledDatabaseDetails. :type instance_id: str :param ip_addresses: The value to assign to the ip_addresses property of this InstalledDatabaseDetails. :type ip_addresses: list[str] :param listener_port: The value to assign to the listener_port property of this InstalledDatabaseDetails. :type listener_port: int :param service_name: The value to assign to the service_name property of this InstalledDatabaseDetails. :type service_name: str �strz list[str]�int)Z database_typeZinfrastructure_type�instance_id�ip_addresses� listener_port�service_nameZdatabaseTypeZinfrastructureTypeZ instanceIdZipAddressesZlistenerPortZserviceNameNZINSTALLED_DATABASE)Z swagger_typesZ attribute_mapZ_database_typeZ_infrastructure_type�_instance_id� _ip_addresses�_listener_port� _service_name)�self�kwargs� r �S/usr/lib/python3.9/site-packages/oci/data_safe/models/installed_database_details.py�__init__ s* "� � z!InstalledDatabaseDetails.__init__c C s | j S )z� Gets the instance_id of this InstalledDatabaseDetails. The OCID of the compute instance on which the database is running. :return: The instance_id of this InstalledDatabaseDetails. :rtype: str �r �r r r r r M s z$InstalledDatabaseDetails.instance_idc C s || _ dS )z� Sets the instance_id of this InstalledDatabaseDetails. The OCID of the compute instance on which the database is running. :param instance_id: The instance_id of this InstalledDatabaseDetails. :type: str Nr )r r r r r r Y s c C s | j S )a+ Gets the ip_addresses of this InstalledDatabaseDetails. The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'. :return: The ip_addresses of this InstalledDatabaseDetails. :rtype: list[str] �r r r r r r e s z%InstalledDatabaseDetails.ip_addressesc C s || _ dS )a6 Sets the ip_addresses of this InstalledDatabaseDetails. The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is 'ONPREM_CONNECTOR'. :param ip_addresses: The ip_addresses of this InstalledDatabaseDetails. :type: list[str] Nr )r r r r r r q s c C s | j S )z� **[Required]** Gets the listener_port of this InstalledDatabaseDetails. The port number of the database listener. :return: The listener_port of this InstalledDatabaseDetails. :rtype: int �r r r r r r } s z&InstalledDatabaseDetails.listener_portc C s || _ dS )z� Sets the listener_port of this InstalledDatabaseDetails. The port number of the database listener. :param listener_port: The listener_port of this InstalledDatabaseDetails. :type: int Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the service_name of this InstalledDatabaseDetails. The service name of the database registered as target database. :return: The service_name of this InstalledDatabaseDetails. :rtype: str �r r r r r r � s z%InstalledDatabaseDetails.service_namec C s || _ dS )z� Sets the service_name of this InstalledDatabaseDetails. The service name of the database registered as target database. :param service_name: The service_name of this InstalledDatabaseDetails. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z!InstalledDatabaseDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zInstalledDatabaseDetails.__eq__c C s | |k S r r r r r r �__ne__� s zInstalledDatabaseDetails.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r"