ruạṛ
a N��f!P � @ 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 Zdd� Zedd� �Zejdd� �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� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Z e jd9d8� �Z ed:d;� �Z!e!jd<d;� �Z!d=d>� Z"d?d@� Z#dAdB� Z$dCS )D�ConnectionSummaryz& Database Connection Summary. �MANUAL� AUTONOMOUS�USER_MANAGED_OCI�ORACLE� RDS_ORACLE�CREATING�UPDATING�ACTIVE�INACTIVE�DELETING�DELETED�FAILEDc K s� dddddddddddddddd�| _ dd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a� Initializes a new ConnectionSummary object with values from keyword arguments. 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 ConnectionSummary. :type id: str :param compartment_id: The value to assign to the compartment_id property of this ConnectionSummary. :type compartment_id: str :param database_type: The value to assign to the database_type property of this ConnectionSummary. Allowed values for this property are: "MANUAL", "AUTONOMOUS", "USER_MANAGED_OCI", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type database_type: str :param manual_database_sub_type: The value to assign to the manual_database_sub_type property of this ConnectionSummary. Allowed values for this property are: "ORACLE", "RDS_ORACLE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type manual_database_sub_type: str :param is_dedicated: The value to assign to the is_dedicated property of this ConnectionSummary. :type is_dedicated: bool :param display_name: The value to assign to the display_name property of this ConnectionSummary. :type display_name: str :param database_id: The value to assign to the database_id property of this ConnectionSummary. :type database_id: str :param time_created: The value to assign to the time_created property of this ConnectionSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ConnectionSummary. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this ConnectionSummary. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "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 ConnectionSummary. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this ConnectionSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ConnectionSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this ConnectionSummary. :type system_tags: dict(str, dict(str, object)) :param nsg_ids: The value to assign to the nsg_ids property of this ConnectionSummary. :type nsg_ids: list[str] �str�bool�datetimezdict(str, str)zdict(str, dict(str, object))z list[str])�id�compartment_id� database_type�manual_database_sub_type�is_dedicated�display_name�database_id�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tags�nsg_idsr � compartmentId�databaseType�manualDatabaseSubType�isDedicated�displayName� databaseId�timeCreated�timeUpdated�lifecycleState�lifecycleDetails�freeformTags�definedTags� systemTags�nsgIdsN)� swagger_types� attribute_map�_id�_compartment_id�_database_type�_manual_database_sub_type� _is_dedicated� _display_name�_database_id� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags�_nsg_ids)�self�kwargs� rF ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_migration/models/connection_summary.py�__init__@ s^ I��zConnectionSummary.__init__c C s | j S )z� **[Required]** Gets the id of this ConnectionSummary. The OCID of the resource :return: The id of this ConnectionSummary. :rtype: str �r5 �rD rF rF rG r � s zConnectionSummary.idc C s || _ dS )z� Sets the id of this ConnectionSummary. The OCID of the resource :param id: The id of this ConnectionSummary. :type: str NrI )rD r rF rF rG r � s c C s | j S )z� **[Required]** Gets the compartment_id of this ConnectionSummary. OCID of the compartment :return: The compartment_id of this ConnectionSummary. :rtype: str �r6 rJ rF rF rG r � s z ConnectionSummary.compartment_idc C s || _ dS )z� Sets the compartment_id of this ConnectionSummary. OCID of the compartment :param compartment_id: The compartment_id of this ConnectionSummary. :type: str NrK )rD r rF rF rG r � s c C s | j S )a� **[Required]** Gets the database_type of this ConnectionSummary. Database connection type. Allowed values for this property are: "MANUAL", "AUTONOMOUS", "USER_MANAGED_OCI", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The database_type of this ConnectionSummary. :rtype: str )r7 rJ rF rF rG r � s zConnectionSummary.database_typec C s g d�}t ||�sd}|| _dS )z� Sets the database_type of this ConnectionSummary. Database connection type. :param database_type: The database_type of this ConnectionSummary. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r7 )rD r �allowed_valuesrF rF rG r � s c C s | j S )a� Gets the manual_database_sub_type of this ConnectionSummary. Database manual connection subtype. This value can only be specified for manual connections. Allowed values for this property are: "ORACLE", "RDS_ORACLE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The manual_database_sub_type of this ConnectionSummary. :rtype: str )r8 rJ rF rF rG r s z*ConnectionSummary.manual_database_sub_typec C s ddg}t ||�sd}|| _dS )a) Sets the manual_database_sub_type of this ConnectionSummary. Database manual connection subtype. This value can only be specified for manual connections. :param manual_database_sub_type: The manual_database_sub_type of this ConnectionSummary. :type: str r r rL N)r r8 )rD r rM rF rF rG r s c C s | j S )z� Gets the is_dedicated of this ConnectionSummary. True if the Autonomous Connection is dedicated. Not provided for Non-Autonomous Connections. :return: The is_dedicated of this ConnectionSummary. :rtype: bool �r9 rJ rF rF rG r ( s zConnectionSummary.is_dedicatedc C s || _ dS )a Sets the is_dedicated of this ConnectionSummary. True if the Autonomous Connection is dedicated. Not provided for Non-Autonomous Connections. :param is_dedicated: The is_dedicated of this ConnectionSummary. :type: bool NrN )rD r rF rF rG r 4 s c C s | j S )z� **[Required]** Gets the display_name of this ConnectionSummary. Database Connection display name identifier. :return: The display_name of this ConnectionSummary. :rtype: str �r: rJ rF rF rG r @ s zConnectionSummary.display_namec C s || _ dS )z� Sets the display_name of this ConnectionSummary. Database Connection display name identifier. :param display_name: The display_name of this ConnectionSummary. :type: str NrO )rD r rF rF rG r L s c C s | j S )z� Gets the database_id of this ConnectionSummary. The OCID of the cloud database. :return: The database_id of this ConnectionSummary. :rtype: str �r; rJ rF rF rG r X s zConnectionSummary.database_idc C s || _ dS )z� Sets the database_id of this ConnectionSummary. The OCID of the cloud database. :param database_id: The database_id of this ConnectionSummary. :type: str NrP )rD r rF rF rG r d s c C s | j S )a **[Required]** Gets the time_created of this ConnectionSummary. The time the Connection resource was created. An RFC3339 formatted datetime string. :return: The time_created of this ConnectionSummary. :rtype: datetime �r<