📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
database_management
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/database_management/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: update_basic_preferred_credential_details.cpython-39.pyc
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� UpdatePreferredCredentialDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zdd� Z dd� Zdd� ZdS )�%UpdateBasicPreferredCredentialDetailsz: The details of the 'BASIC' preferred credential. �NORMAL�SYSDBA�SYSDGc K sB ddddd�| _ ddddd�| _d| _d| _d| _d| _d| _dS ) a� Initializes a new UpdateBasicPreferredCredentialDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database_management.models.UpdateBasicPreferredCredentialDetails.type` attribute of this class is ``BASIC`` 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 UpdateBasicPreferredCredentialDetails. Allowed values for this property are: "BASIC", "NAMED_CREDENTIAL" :type type: str :param user_name: The value to assign to the user_name property of this UpdateBasicPreferredCredentialDetails. :type user_name: str :param role: The value to assign to the role property of this UpdateBasicPreferredCredentialDetails. Allowed values for this property are: "NORMAL", "SYSDBA", "SYSDG" :type role: str :param password_secret_id: The value to assign to the password_secret_id property of this UpdateBasicPreferredCredentialDetails. :type password_secret_id: str �str)�type� user_name�role�password_secret_idr ZuserNamer ZpasswordSecretIdNZBASIC)Z swagger_typesZ attribute_mapZ_type� _user_name�_role�_password_secret_id)�self�kwargs� r �l/usr/lib/python3.9/site-packages/oci/database_management/models/update_basic_preferred_credential_details.py�__init__ s ��z.UpdateBasicPreferredCredentialDetails.__init__c C s | j S )z� Gets the user_name of this UpdateBasicPreferredCredentialDetails. The user name used to connect to the database. :return: The user_name of this UpdateBasicPreferredCredentialDetails. :rtype: str �r �r r r r r K s z/UpdateBasicPreferredCredentialDetails.user_namec C s || _ dS )z� Sets the user_name of this UpdateBasicPreferredCredentialDetails. The user name used to connect to the database. :param user_name: The user_name of this UpdateBasicPreferredCredentialDetails. :type: str Nr )r r r r r r W s c C s | j S )a Gets the role of this UpdateBasicPreferredCredentialDetails. The role of the database user. Allowed values for this property are: "NORMAL", "SYSDBA", "SYSDG" :return: The role of this UpdateBasicPreferredCredentialDetails. :rtype: str )r r r r r r c s z*UpdateBasicPreferredCredentialDetails.rolec C s* g d�}t ||�s td|� ���|| _dS )z� Sets the role of this UpdateBasicPreferredCredentialDetails. The role of the database user. :param role: The role of this UpdateBasicPreferredCredentialDetails. :type: str )r r r z1Invalid value for `role`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r q s �c C s | j S )aw Gets the password_secret_id of this UpdateBasicPreferredCredentialDetails. The `OCID`__ of the Vault service secret that contains the database user password. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The password_secret_id of this UpdateBasicPreferredCredentialDetails. :rtype: str �r r r r r r � s z8UpdateBasicPreferredCredentialDetails.password_secret_idc C s || _ dS )a� Sets the password_secret_id of this UpdateBasicPreferredCredentialDetails. The `OCID`__ of the Vault service secret that contains the database user password. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param password_secret_id: The password_secret_id of this UpdateBasicPreferredCredentialDetails. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z.UpdateBasicPreferredCredentialDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z,UpdateBasicPreferredCredentialDetails.__eq__c C s | |k S r r r r r r �__ne__� s z,UpdateBasicPreferredCredentialDetails.__ne__N)�__name__� __module__�__qualname__�__doc__ZROLE_NORMALZROLE_SYSDBAZ ROLE_SYSDGr �propertyr �setterr r r r"