ruạṛ
a ���fv! � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�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 � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zdd� Zdd� Zdd � Zd!S )"�ConnectionDetailsz. Connection details for the database. �TCP�TCPSc K sZ dddddddd�| _ dddddd d d�| _d| _d| _d| _d| _d| _d| _d| _dS )ap Initializes a new ConnectionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param protocol: The value to assign to the protocol property of this ConnectionDetails. 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 :param port: The value to assign to the port property of this ConnectionDetails. :type port: int :param connector_id: The value to assign to the connector_id property of this ConnectionDetails. :type connector_id: str :param service_name: The value to assign to the service_name property of this ConnectionDetails. :type service_name: str :param db_unique_name: The value to assign to the db_unique_name property of this ConnectionDetails. :type db_unique_name: str :param db_id: The value to assign to the db_id property of this ConnectionDetails. :type db_id: str :param ssl_secret_id: The value to assign to the ssl_secret_id property of this ConnectionDetails. :type ssl_secret_id: str �str�int)�protocol�port�connector_id�service_name�db_unique_name�db_id� ssl_secret_idr r ZconnectorIdZserviceNameZdbUniqueNameZdbIdZsslSecretIdN) Z swagger_typesZ attribute_map� _protocol�_port� _connector_id� _service_name�_db_unique_name�_db_id�_ssl_secret_id)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/stack_monitoring/models/connection_details.py�__init__ s. %�� zConnectionDetails.__init__c C s | j S )a� **[Required]** Gets the protocol of this ConnectionDetails. Protocol used in DB connection string when connecting to external database service. 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 ConnectionDetails. :rtype: str )r �r r r r r Z s zConnectionDetails.protocolc C s ddg}t ||�sd}|| _dS )z� Sets the protocol of this ConnectionDetails. Protocol used in DB connection string when connecting to external database service. :param protocol: The protocol of this ConnectionDetails. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r i s c C s | j S )z� **[Required]** Gets the port of this ConnectionDetails. Listener Port number used for connection requests. :return: The port of this ConnectionDetails. :rtype: int �r r r r r r x s zConnectionDetails.portc C s || _ dS )z� Sets the port of this ConnectionDetails. Listener Port number used for connection requests. :param port: The port of this ConnectionDetails. :type: int Nr )r r r r r r � s c C s | j S )a Gets the connector_id of this ConnectionDetails. Database connector Identifier `OCID`__. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The connector_id of this ConnectionDetails. :rtype: str �r r r r r r � s zConnectionDetails.connector_idc C s || _ dS )a# Sets the connector_id of this ConnectionDetails. Database connector Identifier `OCID`__. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param connector_id: The connector_id of this ConnectionDetails. :type: str Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the service_name of this ConnectionDetails. Service name used for connection requests. :return: The service_name of this ConnectionDetails. :rtype: str �r r r r r r � s zConnectionDetails.service_namec C s || _ dS )z� Sets the service_name of this ConnectionDetails. Service name used for connection requests. :param service_name: The service_name of this ConnectionDetails. :type: str Nr! )r r r r r r � s c C s | j S )z� Gets the db_unique_name of this ConnectionDetails. UniqueName used for database connection requests. :return: The db_unique_name of this ConnectionDetails. :rtype: str �r r r r r r � s z ConnectionDetails.db_unique_namec C s || _ dS )z� Sets the db_unique_name of this ConnectionDetails. UniqueName used for database connection requests. :param db_unique_name: The db_unique_name of this ConnectionDetails. :type: str Nr"