o
    ëÉ¶dT  ã                   @   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                   @   sd   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d
d„ Z	dd„ Z
dd„ ZdS )ÚHostnamezâ
    A hostname resource associated with a load balancer for use by one or more listeners.

    **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
    c                 K   s(   dddœ| _ dddœ| _d| _d| _dS )aº  
        Initializes a new Hostname object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param name:
            The value to assign to the name property of this Hostname.
        :type name: str

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

        Ústr)ÚnameÚhostnamer   r	   N)Zswagger_typesZattribute_mapÚ_nameÚ	_hostname)ÚselfÚkwargs© r   úEusr/lib/python3.10/site-packages/oci/load_balancer/models/hostname.pyÚ__init__   s   þþ
zHostname.__init__c                 C   ó   | j S )a;  
        **[Required]** Gets the name of this Hostname.
        A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential
        information.

        Example: `example_hostname_001`


        :return: The name of this Hostname.
        :rtype: str
        ©r
   ©r   r   r   r   r   /   s   zHostname.namec                 C   ó
   || _ dS )a/  
        Sets the name of this Hostname.
        A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential
        information.

        Example: `example_hostname_001`


        :param name: The name of this Hostname.
        :type: str
        Nr   )r   r   r   r   r   r   >   s   
c                 C   r   )a‘  
        **[Required]** Gets the hostname of this Hostname.
        A virtual hostname. For more information about virtual hostname string construction, see
        `Managing Request Routing`__.

        Example: `app.example.com`

        __ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm#routing


        :return: The hostname of this Hostname.
        :rtype: str
        ©r   r   r   r   r   r	   M   s   zHostname.hostnamec                 C   r   )a‰  
        Sets the hostname of this Hostname.
        A virtual hostname. For more information about virtual hostname string construction, see
        `Managing Request Routing`__.

        Example: `app.example.com`

        __ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm#routing


        :param hostname: The hostname of this Hostname.
        :type: str
        Nr   )r   r	   r   r   r   r	   ^   s   
c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__o   s   zHostname.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__r   s   zHostname.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__x   s   
zHostname.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   r   r   r   r   r   r   r   r      s    



r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   