ruạṛ
a ���f2 � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�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 )�ExternalDatabaseInstancez7 The details of an external database instance. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new ExternalDatabaseInstance object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param instance_number: The value to assign to the instance_number property of this ExternalDatabaseInstance. :type instance_number: int :param instance_name: The value to assign to the instance_name property of this ExternalDatabaseInstance. :type instance_name: str :param host_name: The value to assign to the host_name property of this ExternalDatabaseInstance. :type host_name: str �int�str)�instance_number� instance_name� host_nameZinstanceNumberZinstanceNameZhostNameN)Z swagger_typesZ attribute_map�_instance_number�_instance_name� _host_name)�self�kwargs� r �]/usr/lib/python3.9/site-packages/oci/database_management/models/external_database_instance.py�__init__ s ��z!ExternalDatabaseInstance.__init__c C s | j S )z� **[Required]** Gets the instance_number of this ExternalDatabaseInstance. The instance number of the database instance. :return: The instance_number of this ExternalDatabaseInstance. :rtype: int �r �r r r r r 4 s z(ExternalDatabaseInstance.instance_numberc C s || _ dS )z� Sets the instance_number of this ExternalDatabaseInstance. The instance number of the database instance. :param instance_number: The instance_number of this ExternalDatabaseInstance. :type: int Nr )r r r r r r @ s c C s | j S )z� **[Required]** Gets the instance_name of this ExternalDatabaseInstance. The name of the database instance. :return: The instance_name of this ExternalDatabaseInstance. :rtype: str �r r r r r r L s z&ExternalDatabaseInstance.instance_namec C s || _ dS )z� Sets the instance_name of this ExternalDatabaseInstance. The name of the database instance. :param instance_name: The instance_name of this ExternalDatabaseInstance. :type: str Nr )r r r r r r X s c C s | j S )z� **[Required]** Gets the host_name of this ExternalDatabaseInstance. The name of the host machine. :return: The host_name of this ExternalDatabaseInstance. :rtype: str �r r r r r r d s z"ExternalDatabaseInstance.host_namec C s || _ dS )z� Sets the host_name of this ExternalDatabaseInstance. The name of the host machine. :param host_name: The host_name of this ExternalDatabaseInstance. :type: str Nr )r r r r r r p s c C s t | �S �N)r r r r r �__repr__| s z!ExternalDatabaseInstance.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zExternalDatabaseInstance.__eq__c C s | |k S r r r r r r �__ne__� s zExternalDatabaseInstance.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"