ruạṛ
a ���f � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�PreferredCredential� )�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 )�NamedPreferredCredentialzE The details of the 'NAMED_CREDENTIAL' preferred credential. c K sL dddddd�| _ dddddd�| _d | _d | _d | _d | _d | _d | _d S )a& Initializes a new NamedPreferredCredential object with values from keyword arguments. The default value of the :py:attr:`~oci.database_management.models.NamedPreferredCredential.type` attribute of this class is ``NAMED_CREDENTIAL`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this NamedPreferredCredential. Allowed values for this property are: "BASIC", "NAMED_CREDENTIAL" :type type: str :param credential_name: The value to assign to the credential_name property of this NamedPreferredCredential. :type credential_name: str :param status: The value to assign to the status property of this NamedPreferredCredential. Allowed values for this property are: "SET", "NOT_SET" :type status: str :param is_accessible: The value to assign to the is_accessible property of this NamedPreferredCredential. :type is_accessible: bool :param named_credential_id: The value to assign to the named_credential_id property of this NamedPreferredCredential. :type named_credential_id: str �str�bool)�typeZcredential_name�statusZ is_accessible�named_credential_idr ZcredentialNamer ZisAccessibleZnamedCredentialIdNZNAMED_CREDENTIAL)Z swagger_typesZ attribute_mapZ_typeZ_credential_nameZ_statusZ_is_accessible�_named_credential_id)�self�kwargs� r �]/usr/lib/python3.9/site-packages/oci/database_management/models/named_preferred_credential.py�__init__ s$ � �z!NamedPreferredCredential.__init__c C s | j S )ad Gets the named_credential_id of this NamedPreferredCredential. The `OCID`__ of the Named Credential that contains the database user password metadata. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The named_credential_id of this NamedPreferredCredential. :rtype: str �r �r r r r r F s z,NamedPreferredCredential.named_credential_idc C s || _ dS )av Sets the named_credential_id of this NamedPreferredCredential. The `OCID`__ of the Named Credential that contains the database user password metadata. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param named_credential_id: The named_credential_id of this NamedPreferredCredential. :type: str Nr )r r r r r r T s c C s t | �S �N)r r r r r �__repr__b s z!NamedPreferredCredential.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__e s zNamedPreferredCredential.__eq__c C s | |k S r r r r r r �__ne__k s zNamedPreferredCredential.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s 4 r N) Zpreferred_credentialr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn