o
    ëÉ¶d  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   s²   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejd	d„ ƒZed
d„ ƒZ	e	jdd„ ƒZ	edd„ ƒZ
e
jdd„ ƒZ
edd„ ƒZejdd„ ƒZdd„ Zdd„ Zdd„ ZdS )ÚScanDetailsz7
    The Single Client Access Name (SCAN) details.
    c                 K   sF   ddddddœ| _ ddddd	dœ| _d
| _d
| _d
| _d
| _d
| _d
S )a¦  
        Initializes a new ScanDetails object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param hostname:
            The value to assign to the hostname property of this ScanDetails.
        :type hostname: str

        :param port:
            The value to assign to the port property of this ScanDetails.
        :type port: int

        :param scan_listener_port_tcp:
            The value to assign to the scan_listener_port_tcp property of this ScanDetails.
        :type scan_listener_port_tcp: int

        :param scan_listener_port_tcp_ssl:
            The value to assign to the scan_listener_port_tcp_ssl property of this ScanDetails.
        :type scan_listener_port_tcp_ssl: int

        :param ips:
            The value to assign to the ips property of this ScanDetails.
        :type ips: list[str]

        ÚstrÚintz	list[str])ÚhostnameÚportÚscan_listener_port_tcpÚscan_listener_port_tcp_sslÚipsr	   r
   ZscanListenerPortTcpZscanListenerPortTcpSslr   N)Zswagger_typesZattribute_mapÚ	_hostnameÚ_portÚ_scan_listener_port_tcpÚ_scan_listener_port_tcp_sslÚ_ips)ÚselfÚkwargs© r   úDusr/lib/python3.10/site-packages/oci/database/models/scan_details.pyÚ__init__   s"   û	û
zScanDetails.__init__c                 C   ó   | j S )z«
        **[Required]** Gets the hostname of this ScanDetails.
        The SCAN hostname.


        :return: The hostname of this ScanDetails.
        :rtype: str
        ©r   ©r   r   r   r   r	   B   ó   
zScanDetails.hostnamec                 C   ó
   || _ dS )z£
        Sets the hostname of this ScanDetails.
        The SCAN hostname.


        :param hostname: The hostname of this ScanDetails.
        :type: str
        Nr   )r   r	   r   r   r   r	   N   ó   

c                 C   r   )a  
        Gets the port of this ScanDetails.
        **Deprecated.** This field is deprecated. You may use 'scanListenerPortTcp' to specify the port.
        The SCAN TCPIP port. Default is 1521.


        :return: The port of this ScanDetails.
        :rtype: int
        ©r   r   r   r   r   r
   Z   s   zScanDetails.portc                 C   r   )a  
        Sets the port of this ScanDetails.
        **Deprecated.** This field is deprecated. You may use 'scanListenerPortTcp' to specify the port.
        The SCAN TCPIP port. Default is 1521.


        :param port: The port of this ScanDetails.
        :type: int
        Nr   )r   r
   r   r   r   r
   g   s   
c                 C   r   )zË
        Gets the scan_listener_port_tcp of this ScanDetails.
        The SCAN TCPIP port. Default is 1521.


        :return: The scan_listener_port_tcp of this ScanDetails.
        :rtype: int
        ©r   r   r   r   r   r   t   r   z"ScanDetails.scan_listener_port_tcpc                 C   r   )zà
        Sets the scan_listener_port_tcp of this ScanDetails.
        The SCAN TCPIP port. Default is 1521.


        :param scan_listener_port_tcp: The scan_listener_port_tcp of this ScanDetails.
        :type: int
        Nr   )r   r   r   r   r   r   €   r   c                 C   r   )z×
        Gets the scan_listener_port_tcp_ssl of this ScanDetails.
        The SCAN TCPIP SSL port. Default is 2484.


        :return: The scan_listener_port_tcp_ssl of this ScanDetails.
        :rtype: int
        ©r   r   r   r   r   r   Œ   r   z&ScanDetails.scan_listener_port_tcp_sslc                 C   r   )zð
        Sets the scan_listener_port_tcp_ssl of this ScanDetails.
        The SCAN TCPIP SSL port. Default is 2484.


        :param scan_listener_port_tcp_ssl: The scan_listener_port_tcp_ssl of this ScanDetails.
        :type: int
        Nr    )r   r   r   r   r   r   ˜   r   c                 C   r   )z×
        **[Required]** Gets the ips of this ScanDetails.
        The list of SCAN IP addresses. Three addresses should be provided.


        :return: The ips of this ScanDetails.
        :rtype: list[str]
        ©r   r   r   r   r   r   ¤   r   zScanDetails.ipsc                 C   r   )zÊ
        Sets the ips of this ScanDetails.
        The list of SCAN IP addresses. Three addresses should be provided.


        :param ips: The ips of this ScanDetails.
        :type: list[str]
        Nr!   )r   r   r   r   r   r   °   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__¼   s   zScanDetails.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__¿   s   zScanDetails.__eq__c                 C   s
   | |k S r"   r   r%   r   r   r   Ú__ne__Å   s   
zScanDetails.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr	   Úsetterr
   r   r   r   r#   r'   r(   r   r   r   r   r      s4    0









r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   