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 )�ManagedDatabaseSecretCredentialzn User provides a secret OCID, which will be used to retrieve the password to connect to the database. c K sB ddddd�| _ ddddd�| _d| _d| _d| _d| _d| _dS ) a� Initializes a new ManagedDatabaseSecretCredential object with values from keyword arguments. The default value of the :py:attr:`~oci.database_management.models.ManagedDatabaseSecretCredential.credential_type` attribute of this class is ``SECRET`` 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 ManagedDatabaseSecretCredential. Allowed values for this property are: "SECRET", "PASSWORD" :type credential_type: str :param username: The value to assign to the username property of this ManagedDatabaseSecretCredential. :type username: str :param role: The value to assign to the role property of this ManagedDatabaseSecretCredential. Allowed values for this property are: "NORMAL", "SYSDBA" :type role: str :param password_secret_id: The value to assign to the password_secret_id property of this ManagedDatabaseSecretCredential. :type password_secret_id: str �str)�credential_type�username�role�password_secret_id�credentialTyper r �passwordSecretIdN�SECRET)� swagger_types� attribute_map�_credential_type� _username�_role�_password_secret_id)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_management/models/managed_database_secret_credential.py�__init__ s ��z(ManagedDatabaseSecretCredential.__init__c C s | j S )aq **[Required]** Gets the password_secret_id of this ManagedDatabaseSecretCredential. The `OCID`__ of the Secret where the database password is stored. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The password_secret_id of this ManagedDatabaseSecretCredential. :rtype: str �r �r r r r r = s z2ManagedDatabaseSecretCredential.password_secret_idc C s || _ dS )as Sets the password_secret_id of this ManagedDatabaseSecretCredential. The `OCID`__ of the Secret where the database password is stored. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param password_secret_id: The password_secret_id of this ManagedDatabaseSecretCredential. :type: str Nr )r r r r r r L s c C s t | �S �N)r r r r r �__repr__[ s z(ManagedDatabaseSecretCredential.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__^ s z&ManagedDatabaseSecretCredential.__eq__c C s | |k S r r r! r r r �__ne__d s z&ManagedDatabaseSecretCredential.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r# r$ r r r r r s - r N) �managed_database_credentialr �oci.utilr r r �oci.decoratorsr r r r r r �<module> s
cải xoăn