ruạṛ
a N��f�A � @ 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 @ sz e Zd ZdZdZdZdZdZdZdZ dZ d Zd d� Ze dd � �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zd/d0� Zd1d2� Zd3d4� Zd5S )6�DatabaseToolsConnectionz7 Description of the Database Tools connection. �CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILED�ORACLE_DATABASE�MYSQLc K s� dddddddddddd�| _ dddd d ddd dddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a� Initializes a new DatabaseToolsConnection 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.DatabaseToolsConnectionOracleDatabase` * :class:`~oci.database_tools.models.DatabaseToolsConnectionMySql` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this DatabaseToolsConnection. :type id: str :param display_name: The value to assign to the display_name property of this DatabaseToolsConnection. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this DatabaseToolsConnection. :type compartment_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this DatabaseToolsConnection. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this DatabaseToolsConnection. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this DatabaseToolsConnection. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DatabaseToolsConnection. :type time_updated: datetime :param defined_tags: The value to assign to the defined_tags property of this DatabaseToolsConnection. :type defined_tags: dict(str, dict(str, object)) :param freeform_tags: The value to assign to the freeform_tags property of this DatabaseToolsConnection. :type freeform_tags: dict(str, str) :param system_tags: The value to assign to the system_tags property of this DatabaseToolsConnection. :type system_tags: dict(str, dict(str, object)) :param type: The value to assign to the type property of this DatabaseToolsConnection. Allowed values for this property are: "ORACLE_DATABASE", "MYSQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str �str�datetimezdict(str, dict(str, object))zdict(str, str))�id�display_name�compartment_id�lifecycle_state�lifecycle_details�time_created�time_updated�defined_tags� freeform_tags�system_tags�typer �displayName� compartmentId�lifecycleState�lifecycleDetails�timeCreated�timeUpdated�definedTags�freeformTags� systemTagsr N) � swagger_types� attribute_map�_id� _display_name�_compartment_id�_lifecycle_state�_lifecycle_details� _time_created� _time_updated� _defined_tags�_freeform_tags�_system_tags�_type)�self�kwargs� r4 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_tools/models/database_tools_connection.py�__init__0 sF <��z DatabaseToolsConnection.__init__c C s( | d }|dkrdS |dkr dS dS 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 �%DatabaseToolsConnectionOracleDatabaser �DatabaseToolsConnectionMySqlr Nr4 )�object_dictionaryr r4 r4 r5 �get_subtype� s z#DatabaseToolsConnection.get_subtypec C s | j S )a& **[Required]** Gets the id of this DatabaseToolsConnection. The `OCID`__ of the Database Tools connection. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this DatabaseToolsConnection. :rtype: str �r'