/
lib
/
python3.9
/
site-packages
/
oci
/
database_tools
/
models
/
__pycache__
/
Upload File
HOME
a ���f�S � @ 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 dZ d Zd ZdZ dZd ZdZdd� Zedd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Z e jd3d2� �Z ed4d5� �Z!e!jd6d5� �Z!ed7d8� �Z"e"jd9d8� �Z"d:d;� Z#d<d=� Z$d>d?� Z%d@S )A�DatabaseToolsConnectionSummaryz3 Summary of the Database Tools connection. �CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILED�INACTIVE�ORACLE_DATABASE�MYSQL� POSTGRESQL�GENERIC_JDBC� SUPPORTED�UNSUPPORTEDc K s� dddddddddddddd� | _ ddd d ddd ddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a Initializes a new DatabaseToolsConnectionSummary 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.DatabaseToolsConnectionPostgresqlSummary` * :class:`~oci.database_tools.models.DatabaseToolsConnectionOracleDatabaseSummary` * :class:`~oci.database_tools.models.DatabaseToolsConnectionMySqlSummary` * :class:`~oci.database_tools.models.DatabaseToolsConnectionGenericJdbcSummary` 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 DatabaseToolsConnectionSummary. :type id: str :param display_name: The value to assign to the display_name property of this DatabaseToolsConnectionSummary. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this DatabaseToolsConnectionSummary. :type compartment_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this DatabaseToolsConnectionSummary. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "INACTIVE", '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 DatabaseToolsConnectionSummary. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this DatabaseToolsConnectionSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DatabaseToolsConnectionSummary. :type time_updated: datetime :param defined_tags: The value to assign to the defined_tags property of this DatabaseToolsConnectionSummary. :type defined_tags: dict(str, dict(str, object)) :param freeform_tags: The value to assign to the freeform_tags property of this DatabaseToolsConnectionSummary. :type freeform_tags: dict(str, str) :param system_tags: The value to assign to the system_tags property of this DatabaseToolsConnectionSummary. :type system_tags: dict(str, dict(str, object)) :param locks: The value to assign to the locks property of this DatabaseToolsConnectionSummary. :type locks: list[oci.database_tools.models.ResourceLock] :param type: The value to assign to the type property of this DatabaseToolsConnectionSummary. Allowed values for this property are: "ORACLE_DATABASE", "MYSQL", "POSTGRESQL", "GENERIC_JDBC", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param runtime_support: The value to assign to the runtime_support property of this DatabaseToolsConnectionSummary. Allowed values for this property are: "SUPPORTED", "UNSUPPORTED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type runtime_support: str �strZdatetimezdict(str, dict(str, object))zdict(str, str)zlist[ResourceLock]) �id�display_name�compartment_id�lifecycle_state�lifecycle_details�time_created�time_updated�defined_tags� freeform_tags�system_tags�locks�type�runtime_supportr ZdisplayNameZ compartmentIdZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedZdefinedTagsZfreeformTagsZ systemTagsr r ZruntimeSupportN)Z swagger_typesZ attribute_map�_id� _display_name�_compartment_id�_lifecycle_state�_lifecycle_details� _time_created� _time_updated� _defined_tags�_freeform_tags�_system_tags�_locks�_type�_runtime_support)�self�kwargs� r1 �_/usr/lib/python3.9/site-packages/oci/database_tools/models/database_tools_connection_summary.py�__init__F sR H��z'DatabaseToolsConnectionSummary.__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(DatabaseToolsConnectionPostgresqlSummaryr Z,DatabaseToolsConnectionOracleDatabaseSummaryr Z#DatabaseToolsConnectionMySqlSummaryr Z)DatabaseToolsConnectionGenericJdbcSummaryr Nr1 )Zobject_dictionaryr r1 r1 r2 �get_subtype� s z*DatabaseToolsConnectionSummary.get_subtypec C s | j S )a4 **[Required]** Gets the id of this DatabaseToolsConnectionSummary. The `OCID`__ of the `DatabaseToolsConnection`. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this DatabaseToolsConnectionSummary. :rtype: str �r"