ruạṛ
a N��f�! � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DatabaseConnectionCredentials� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zdd� Z dd� Zdd� ZdS )�&DatabaseConnectionCredentialsByDetailsz� User information to connect to the database. Required when performing the :func:`create_external_database_connector_details` operation. *IMPORTANT*: Not supported for the :func:`update_external_database_connector_details` operation. �SYSDBA�NORMALc K sL dddddd�| _ dddddd�| _d| _d| _d| _d| _d| _d | _dS ) al Initializes a new DatabaseConnectionCredentialsByDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database.models.DatabaseConnectionCredentialsByDetails.credential_type` attribute of this class is ``DETAILS`` 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 DatabaseConnectionCredentialsByDetails. Allowed values for this property are: "NAME_REFERENCE", "DETAILS", "SSL_DETAILS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type credential_type: str :param credential_name: The value to assign to the credential_name property of this DatabaseConnectionCredentialsByDetails. :type credential_name: str :param username: The value to assign to the username property of this DatabaseConnectionCredentialsByDetails. :type username: str :param password: The value to assign to the password property of this DatabaseConnectionCredentialsByDetails. :type password: str :param role: The value to assign to the role property of this DatabaseConnectionCredentialsByDetails. Allowed values for this property are: "SYSDBA", "NORMAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type role: str �str)�credential_type�credential_name�username�password�role�credentialType�credentialNamer r r N�DETAILS)� swagger_types� attribute_map�_credential_type�_credential_name� _username� _password�_role)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/database_connection_credentials_by_details.py�__init__ s$ � �z/DatabaseConnectionCredentialsByDetails.__init__c C s | j S )a� Gets the credential_name of this DatabaseConnectionCredentialsByDetails. The name of the credential information that used to connect to the database. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the OCI region the credential is being created in. If you specify a name that duplicates the name of another credential within the same OCI region, you may overwrite or corrupt the credential that is already using the name. For example: inventorydb.abc112233445566778899 :return: The credential_name of this DatabaseConnectionCredentialsByDetails. :rtype: str �r �r r r r r O s z6DatabaseConnectionCredentialsByDetails.credential_namec C s || _ dS )a� Sets the credential_name of this DatabaseConnectionCredentialsByDetails. The name of the credential information that used to connect to the database. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the OCI region the credential is being created in. If you specify a name that duplicates the name of another credential within the same OCI region, you may overwrite or corrupt the credential that is already using the name. For example: inventorydb.abc112233445566778899 :param credential_name: The credential_name of this DatabaseConnectionCredentialsByDetails. :type: str Nr )r r r r r r c s c C s | j S )a **[Required]** Gets the username of this DatabaseConnectionCredentialsByDetails. The username that will be used to connect to the database. :return: The username of this DatabaseConnectionCredentialsByDetails. :rtype: str �r r! r r r r w s z/DatabaseConnectionCredentialsByDetails.usernamec C s || _ dS )a Sets the username of this DatabaseConnectionCredentialsByDetails. The username that will be used to connect to the database. :param username: The username of this DatabaseConnectionCredentialsByDetails. :type: str Nr"