/
lib
/
python3.9
/
site-packages
/
oci
/
database_tools
/
models
/
__pycache__
/
Upload File
HOME
a ���fw1 � @ 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 ZdZdZdZdZdZdZdZ dd � Z ed d� �Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Zd!d"� Zd#d$� Zd%d&� Zd'S )(�$CreateDatabaseToolsConnectionDetailsz8 Details for the new Database Tools connection. �ORACLE_DATABASE�MYSQL� POSTGRESQL�GENERIC_JDBC� SUPPORTED�UNSUPPORTEDc K sZ dddddddd�| _ dddd d ddd�| _d | _d | _d | _d | _d | _d | _d | _d S )a� Initializes a new CreateDatabaseToolsConnectionDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.database_tools.models.CreateDatabaseToolsConnectionGenericJdbcDetails` * :class:`~oci.database_tools.models.CreateDatabaseToolsConnectionPostgresqlDetails` * :class:`~oci.database_tools.models.CreateDatabaseToolsConnectionMySqlDetails` * :class:`~oci.database_tools.models.CreateDatabaseToolsConnectionOracleDatabaseDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this CreateDatabaseToolsConnectionDetails. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this CreateDatabaseToolsConnectionDetails. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this CreateDatabaseToolsConnectionDetails. :type defined_tags: dict(str, dict(str, object)) :param freeform_tags: The value to assign to the freeform_tags property of this CreateDatabaseToolsConnectionDetails. :type freeform_tags: dict(str, str) :param locks: The value to assign to the locks property of this CreateDatabaseToolsConnectionDetails. :type locks: list[oci.database_tools.models.ResourceLock] :param type: The value to assign to the type property of this CreateDatabaseToolsConnectionDetails. Allowed values for this property are: "ORACLE_DATABASE", "MYSQL", "POSTGRESQL", "GENERIC_JDBC" :type type: str :param runtime_support: The value to assign to the runtime_support property of this CreateDatabaseToolsConnectionDetails. Allowed values for this property are: "SUPPORTED", "UNSUPPORTED" :type runtime_support: str �strzdict(str, dict(str, object))zdict(str, str)zlist[ResourceLock])�display_name�compartment_id�defined_tags� freeform_tags�locks�type�runtime_supportZdisplayNameZ compartmentIdZdefinedTagsZfreeformTagsr r ZruntimeSupportN) Z swagger_typesZ attribute_map� _display_name�_compartment_id� _defined_tags�_freeform_tags�_locks�_type�_runtime_support)�self�kwargs� r �f/usr/lib/python3.9/site-packages/oci/database_tools/models/create_database_tools_connection_details.py�__init__* s. ,�� z-CreateDatabaseToolsConnectionDetails.__init__c C s@ | d }|dkrdS |dkr dS |dkr,dS |dkr8d S d S dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r Z/CreateDatabaseToolsConnectionGenericJdbcDetailsr Z.CreateDatabaseToolsConnectionPostgresqlDetailsr Z)CreateDatabaseToolsConnectionMySqlDetailsr Z2CreateDatabaseToolsConnectionOracleDatabaseDetailsr Nr )Zobject_dictionaryr r r r �get_subtypeq s z0CreateDatabaseToolsConnectionDetails.get_subtypec C s | j S )aB **[Required]** Gets the display_name of this CreateDatabaseToolsConnectionDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this CreateDatabaseToolsConnectionDetails. :rtype: str �r �r r r r r � s z1CreateDatabaseToolsConnectionDetails.display_namec C s || _ dS )a> Sets the display_name of this CreateDatabaseToolsConnectionDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this CreateDatabaseToolsConnectionDetails. :type: str Nr"