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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 ) ÚUserCapabilitieszH
    Properties indicating how the user is allowed to authenticate.
    c                 K   sZ   ddddddddœ| _ ddddddd	dœ| _d
| _d
| _d
| _d
| _d
| _d
| _d
| _d
S )aß  
        Initializes a new UserCapabilities object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param can_use_console_password:
            The value to assign to the can_use_console_password property of this UserCapabilities.
        :type can_use_console_password: bool

        :param can_use_api_keys:
            The value to assign to the can_use_api_keys property of this UserCapabilities.
        :type can_use_api_keys: bool

        :param can_use_auth_tokens:
            The value to assign to the can_use_auth_tokens property of this UserCapabilities.
        :type can_use_auth_tokens: bool

        :param can_use_smtp_credentials:
            The value to assign to the can_use_smtp_credentials property of this UserCapabilities.
        :type can_use_smtp_credentials: bool

        :param can_use_db_credentials:
            The value to assign to the can_use_db_credentials property of this UserCapabilities.
        :type can_use_db_credentials: bool

        :param can_use_customer_secret_keys:
            The value to assign to the can_use_customer_secret_keys property of this UserCapabilities.
        :type can_use_customer_secret_keys: bool

        :param can_use_o_auth2_client_credentials:
            The value to assign to the can_use_o_auth2_client_credentials property of this UserCapabilities.
        :type can_use_o_auth2_client_credentials: bool

        Úbool)Úcan_use_console_passwordÚcan_use_api_keysÚcan_use_auth_tokensÚcan_use_smtp_credentialsÚcan_use_db_credentialsÚcan_use_customer_secret_keysÚ"can_use_o_auth2_client_credentialsZcanUseConsolePasswordZcanUseApiKeysZcanUseAuthTokensZcanUseSmtpCredentialsZcanUseDbCredentialsZcanUseCustomerSecretKeysZcanUseOAuth2ClientCredentialsN)	Zswagger_typesZattribute_mapÚ_can_use_console_passwordÚ_can_use_api_keysÚ_can_use_auth_tokensÚ_can_use_smtp_credentialsÚ_can_use_db_credentialsÚ_can_use_customer_secret_keysÚ#_can_use_o_auth2_client_credentials)ÚselfÚkwargs© r   úIusr/lib/python3.10/site-packages/oci/identity/models/user_capabilities.pyÚ__init__   s.   #ùù

zUserCapabilities.__init__c                 C   ó   | j S )zå
        Gets the can_use_console_password of this UserCapabilities.
        Indicates if the user can log in to the console.


        :return: The can_use_console_password of this UserCapabilities.
        :rtype: bool
        ©r   ©r   r   r   r   r   P   ó   
z)UserCapabilities.can_use_console_passwordc                 C   ó
   || _ dS )zü
        Sets the can_use_console_password of this UserCapabilities.
        Indicates if the user can log in to the console.


        :param can_use_console_password: The can_use_console_password of this UserCapabilities.
        :type: bool
        Nr   )r   r   r   r   r   r   \   ó   

c                 C   r   )zÌ
        Gets the can_use_api_keys of this UserCapabilities.
        Indicates if the user can use API keys.


        :return: The can_use_api_keys of this UserCapabilities.
        :rtype: bool
        ©r   r   r   r   r   r	   h   r   z!UserCapabilities.can_use_api_keysc                 C   r   )zÛ
        Sets the can_use_api_keys of this UserCapabilities.
        Indicates if the user can use API keys.


        :param can_use_api_keys: The can_use_api_keys of this UserCapabilities.
        :type: bool
        Nr!   )r   r	   r   r   r   r	   t   r    c                 C   r   )zç
        Gets the can_use_auth_tokens of this UserCapabilities.
        Indicates if the user can use SWIFT passwords / auth tokens.


        :return: The can_use_auth_tokens of this UserCapabilities.
        :rtype: bool
        ©r   r   r   r   r   r
   €   r   z$UserCapabilities.can_use_auth_tokensc                 C   r   )zù
        Sets the can_use_auth_tokens of this UserCapabilities.
        Indicates if the user can use SWIFT passwords / auth tokens.


        :param can_use_auth_tokens: The can_use_auth_tokens of this UserCapabilities.
        :type: bool
        Nr"   )r   r
   r   r   r   r
   Œ   r    c                 C   r   )zâ
        Gets the can_use_smtp_credentials of this UserCapabilities.
        Indicates if the user can use SMTP passwords.


        :return: The can_use_smtp_credentials of this UserCapabilities.
        :rtype: bool
        ©r   r   r   r   r   r   ˜   r   z)UserCapabilities.can_use_smtp_credentialsc                 C   r   )zù
        Sets the can_use_smtp_credentials of this UserCapabilities.
        Indicates if the user can use SMTP passwords.


        :param can_use_smtp_credentials: The can_use_smtp_credentials of this UserCapabilities.
        :type: bool
        Nr#   )r   r   r   r   r   r   ¤   r    c                 C   r   )zÜ
        Gets the can_use_db_credentials of this UserCapabilities.
        Indicates if the user can use DB passwords.


        :return: The can_use_db_credentials of this UserCapabilities.
        :rtype: bool
        ©r   r   r   r   r   r   °   r   z'UserCapabilities.can_use_db_credentialsc                 C   r   )zñ
        Sets the can_use_db_credentials of this UserCapabilities.
        Indicates if the user can use DB passwords.


        :param can_use_db_credentials: The can_use_db_credentials of this UserCapabilities.
        :type: bool
        Nr$   )r   r   r   r   r   r   ¼   r    c                 C   r   )zð
        Gets the can_use_customer_secret_keys of this UserCapabilities.
        Indicates if the user can use SigV4 symmetric keys.


        :return: The can_use_customer_secret_keys of this UserCapabilities.
        :rtype: bool
        ©r   r   r   r   r   r   È   r   z-UserCapabilities.can_use_customer_secret_keysc                 C   r   )a  
        Sets the can_use_customer_secret_keys of this UserCapabilities.
        Indicates if the user can use SigV4 symmetric keys.


        :param can_use_customer_secret_keys: The can_use_customer_secret_keys of this UserCapabilities.
        :type: bool
        Nr%   )r   r   r   r   r   r   Ô   r    c                 C   r   )a  
        Gets the can_use_o_auth2_client_credentials of this UserCapabilities.
        Indicates if the user can use OAuth2 credentials and tokens.


        :return: The can_use_o_auth2_client_credentials of this UserCapabilities.
        :rtype: bool
        ©r   r   r   r   r   r   à   r   z3UserCapabilities.can_use_o_auth2_client_credentialsc                 C   r   )a&  
        Sets the can_use_o_auth2_client_credentials of this UserCapabilities.
        Indicates if the user can use OAuth2 credentials and tokens.


        :param can_use_o_auth2_client_credentials: The can_use_o_auth2_client_credentials of this UserCapabilities.
        :type: bool
        Nr&   )r   r   r   r   r   r   ì   r    c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__ø   s   zUserCapabilities.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__û   s   zUserCapabilities.__eq__c                 C   s
   | |k S r'   r   r*   r   r   r   Ú__ne__  s   
zUserCapabilities.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr	   r
   r   r   r   r   r(   r,   r-   r   r   r   r   r      sD    >













r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   