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 @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�#DatabaseConnectionCredentailsByNamezD Existing named credential used to connect to the database. c K s. ddd�| _ ddd�| _d| _d| _d| _dS )a_ Initializes a new DatabaseConnectionCredentailsByName object with values from keyword arguments. The default value of the :py:attr:`~oci.database.models.DatabaseConnectionCredentailsByName.credential_type` attribute of this class is ``NAME_REFERENCE`` 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 DatabaseConnectionCredentailsByName. Allowed values for this property are: "NAME_REFERENCE", "DETAILS", "SSL_DETAILS" :type credential_type: str :param credential_name: The value to assign to the credential_name property of this DatabaseConnectionCredentailsByName. :type credential_name: str �str)�credential_type�credential_name�credentialType�credentialNameN�NAME_REFERENCE)� swagger_types� attribute_map�_credential_type�_credential_name)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/database_connection_credentails_by_name.py�__init__ s ��z,DatabaseConnectionCredentailsByName.__init__c C s | j S )a� **[Required]** Gets the credential_name of this DatabaseConnectionCredentailsByName. 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 DatabaseConnectionCredentailsByName. :rtype: str �r �r r r r r . s z3DatabaseConnectionCredentailsByName.credential_namec C s || _ dS )a� Sets the credential_name of this DatabaseConnectionCredentailsByName. 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 DatabaseConnectionCredentailsByName. :type: str Nr )r r r r r r B s c C s t | �S �N)r r r r r �__repr__V s z,DatabaseConnectionCredentailsByName.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__Y s z*DatabaseConnectionCredentailsByName.__eq__c C s | |k S r r r r r r �__ne___ s z*DatabaseConnectionCredentailsByName.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s r N) �database_connection_credentialsr �oci.utilr r r �oci.decoratorsr r r r r r �<module> s
cải xoăn