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                   @   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 )ÚCredentialszU
    The database credentials required for Data Safe to connect to the database.
    c                 K   s(   dddœ| _ dddœ| _d| _d| _dS )aÒ  
        Initializes a new Credentials object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param user_name:
            The value to assign to the user_name property of this Credentials.
        :type user_name: str

        :param password:
            The value to assign to the password property of this Credentials.
        :type password: str

        Ústr)Ú	user_nameÚpasswordZuserNamer	   N)Zswagger_typesZattribute_mapÚ
_user_nameÚ	_password)ÚselfÚkwargs© r   úDusr/lib/python3.10/site-packages/oci/data_safe/models/credentials.pyÚ__init__   s   þþ
zCredentials.__init__c                 C   ó   | j S )z²
        **[Required]** Gets the user_name of this Credentials.
        The database user name.


        :return: The user_name of this Credentials.
        :rtype: str
        ©r
   ©r   r   r   r   r   -   ó   
zCredentials.user_namec                 C   ó
   || _ dS )z«
        Sets the user_name of this Credentials.
        The database user name.


        :param user_name: The user_name of this Credentials.
        :type: str
        Nr   )r   r   r   r   r   r   9   ó   

c                 C   r   )z»
        **[Required]** Gets the password of this Credentials.
        The password of the database user.


        :return: The password of this Credentials.
        :rtype: str
        ©r   r   r   r   r   r	   E   r   zCredentials.passwordc                 C   r   )z³
        Sets the password of this Credentials.
        The password of the database user.


        :param password: The password of this Credentials.
        :type: str
        Nr   )r   r	   r   r   r   r	   Q   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__]   s   zCredentials.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__`   s   zCredentials.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__f   s   
zCredentials.__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   