📂 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: basic_database_connection_string_details.cpython-39.pyc
a ���f � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�DatabaseConnectionStringDetails� )�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 � �Zdd� Zdd� Z dd� ZdS )�$BasicDatabaseConnectionStringDetailszE The details of the Oracle Database basic connection string. �TCP�TCPSc K sB ddddd�| _ ddddd�| _d| _d| _d| _d| _d | _dS ) a� Initializes a new BasicDatabaseConnectionStringDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database_management.models.BasicDatabaseConnectionStringDetails.connection_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 connection_type: The value to assign to the connection_type property of this BasicDatabaseConnectionStringDetails. Allowed values for this property are: "BASIC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type connection_type: str :param service: The value to assign to the service property of this BasicDatabaseConnectionStringDetails. :type service: str :param port: The value to assign to the port property of this BasicDatabaseConnectionStringDetails. :type port: int :param protocol: The value to assign to the protocol property of this BasicDatabaseConnectionStringDetails. Allowed values for this property are: "TCP", "TCPS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type protocol: str �str�int)Zconnection_type�service�port�protocolZconnectionTyper r r NZBASIC)Z swagger_typesZ attribute_mapZ_connection_type�_service�_port� _protocol)�self�kwargs� r �k/usr/lib/python3.9/site-packages/oci/database_management/models/basic_database_connection_string_details.py�__init__ s ��z-BasicDatabaseConnectionStringDetails.__init__c C s | j S )z� **[Required]** Gets the service of this BasicDatabaseConnectionStringDetails. The service name of the database. :return: The service of this BasicDatabaseConnectionStringDetails. :rtype: str �r �r r r r r I s z,BasicDatabaseConnectionStringDetails.servicec C s || _ dS )z� Sets the service of this BasicDatabaseConnectionStringDetails. The service name of the database. :param service: The service of this BasicDatabaseConnectionStringDetails. :type: str Nr )r r r r r r U s c C s | j S )z� **[Required]** Gets the port of this BasicDatabaseConnectionStringDetails. The port number used to connect to the database. :return: The port of this BasicDatabaseConnectionStringDetails. :rtype: int �r r r r r r a s z)BasicDatabaseConnectionStringDetails.portc C s || _ dS )z� Sets the port of this BasicDatabaseConnectionStringDetails. The port number used to connect to the database. :param port: The port of this BasicDatabaseConnectionStringDetails. :type: int Nr )r r r r r r m s c C s | j S )a� **[Required]** Gets the protocol of this BasicDatabaseConnectionStringDetails. The protocol used to connect to the database. Allowed values for this property are: "TCP", "TCPS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The protocol of this BasicDatabaseConnectionStringDetails. :rtype: str )r r r r r r y s z-BasicDatabaseConnectionStringDetails.protocolc C s ddg}t ||�sd}|| _dS )z� Sets the protocol of this BasicDatabaseConnectionStringDetails. The protocol used to connect to the database. :param protocol: The protocol of this BasicDatabaseConnectionStringDetails. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s t | �S �N)r r r r r �__repr__� s z-BasicDatabaseConnectionStringDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z+BasicDatabaseConnectionStringDetails.__eq__c C s | |k S r r r r r r �__ne__� s z+BasicDatabaseConnectionStringDetails.__ne__N)�__name__� __module__�__qualname__�__doc__ZPROTOCOL_TCPZ PROTOCOL_TCPSr �propertyr �setterr r r r r! r r r r r s&