ruạṛ
a N��f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�ManagedDatabaseCredential� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�!ManagedDatabasePasswordCredentialzI User provides a password to be used to connect to the database. c K sB ddddd�| _ ddddd�| _d| _d| _d| _d| _d| _dS ) a� Initializes a new ManagedDatabasePasswordCredential object with values from keyword arguments. The default value of the :py:attr:`~oci.database_management.models.ManagedDatabasePasswordCredential.credential_type` attribute of this class is ``PASSWORD`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param credential_type: The value to assign to the credential_type property of this ManagedDatabasePasswordCredential. Allowed values for this property are: "SECRET", "PASSWORD" :type credential_type: str :param username: The value to assign to the username property of this ManagedDatabasePasswordCredential. :type username: str :param role: The value to assign to the role property of this ManagedDatabasePasswordCredential. Allowed values for this property are: "NORMAL", "SYSDBA" :type role: str :param password: The value to assign to the password property of this ManagedDatabasePasswordCredential. :type password: str �str)�credential_type�username�role�password�credentialTyper r r N�PASSWORD)� swagger_types� attribute_map�_credential_type� _username�_role� _password)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_management/models/managed_database_password_credential.py�__init__ s ��z*ManagedDatabasePasswordCredential.__init__c C s | j S )z� **[Required]** Gets the password of this ManagedDatabasePasswordCredential. The database user's password encoded using BASE64 scheme. :return: The password of this ManagedDatabasePasswordCredential. :rtype: str �r �r r r r r = s z*ManagedDatabasePasswordCredential.passwordc C s || _ dS )z� Sets the password of this ManagedDatabasePasswordCredential. The database user's password encoded using BASE64 scheme. :param password: The password of this ManagedDatabasePasswordCredential. :type: str Nr )r r r r r r I s c C s t | �S �N)r r r r r �__repr__U s z*ManagedDatabasePasswordCredential.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__X s z(ManagedDatabasePasswordCredential.__eq__c C s | |k S r r r r r r �__ne__^ s z(ManagedDatabasePasswordCredential.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r"