ruạṛ
a ���f) � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�CredentialDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s0 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd S )�CredentialsBySourcez7 Credential Source to connect to the database. c K s. ddd�| _ ddd�| _d| _d| _d| _dS )a< Initializes a new CredentialsBySource object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.CredentialsBySource.credential_type` attribute of this class is ``CREDENTIALS_BY_SOURCE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param credential_source_name: The value to assign to the credential_source_name property of this CredentialsBySource. :type credential_source_name: str :param credential_type: The value to assign to the credential_type property of this CredentialsBySource. Allowed values for this property are: "CREDENTIALS_BY_SOURCE", "CREDENTIALS_BY_VAULT" :type credential_type: str �str)Zcredential_source_nameZcredential_typeZcredentialSourceNameZcredentialTypeNZCREDENTIALS_BY_SOURCE)Z swagger_typesZ attribute_mapZ_credential_source_nameZ_credential_type)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/opsi/models/credentials_by_source.py�__init__ s ��zCredentialsBySource.__init__c C s t | �S �N)r )r r r r �__repr__0 s zCredentialsBySource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__3 s zCredentialsBySource.__eq__c C s | |k S r r r r r r �__ne__9 s zCredentialsBySource.__ne__N)�__name__� __module__�__qualname__�__doc__r r r r r r r r r s r N) Zcredential_detailsr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn