ruạṛ
a N��f�h � @ 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!ed=d>� �Z"e"jd?d>� �Z"ed@dA� �Z#e#jdBdA� �Z#edCdD� �Z$e$jdEdD� �Z$edFdG� �Z%e%jdHdG� �Z%edIdJ� �Z&e&jdKdJ� �Z&edLdM� �Z'e'jdNdM� �Z'edOdP� �Z(e(jdQdP� �Z(dRdS� Z)dTdU� Z*dVdW� Z+dXS )Y� Connectionz; Database Connection resource used for migrations. �MANUAL� AUTONOMOUS�USER_MANAGED_OCI�ORACLE� RDS_ORACLE�CREATING�UPDATING�ACTIVE�INACTIVE�DELETING�DELETED�FAILEDc K s� ddddddddddddddddddd d d dd�| _ d ddddddddddddddddddd d!d"d�| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _ d#| _ d#| _d#| _d#| _ d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#S )$a) Initializes a new Connection 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 Connection. :type id: str :param compartment_id: The value to assign to the compartment_id property of this Connection. :type compartment_id: str :param database_type: The value to assign to the database_type property of this Connection. 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 Connection. 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 Connection. :type is_dedicated: bool :param display_name: The value to assign to the display_name property of this Connection. :type display_name: str :param database_id: The value to assign to the database_id property of this Connection. :type database_id: str :param connect_descriptor: The value to assign to the connect_descriptor property of this Connection. :type connect_descriptor: oci.database_migration.models.ConnectDescriptor :param credentials_secret_id: The value to assign to the credentials_secret_id property of this Connection. :type credentials_secret_id: str :param certificate_tdn: The value to assign to the certificate_tdn property of this Connection. :type certificate_tdn: str :param ssh_details: The value to assign to the ssh_details property of this Connection. :type ssh_details: oci.database_migration.models.SshDetails :param admin_credentials: The value to assign to the admin_credentials property of this Connection. :type admin_credentials: oci.database_migration.models.AdminCredentials :param private_endpoint: The value to assign to the private_endpoint property of this Connection. :type private_endpoint: oci.database_migration.models.PrivateEndpointDetails :param vault_details: The value to assign to the vault_details property of this Connection. :type vault_details: oci.database_migration.models.VaultDetails :param lifecycle_state: The value to assign to the lifecycle_state property of this Connection. 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 Connection. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this Connection. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Connection. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this Connection. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Connection. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this Connection. :type system_tags: dict(str, dict(str, object)) :param nsg_ids: The value to assign to the nsg_ids property of this Connection. :type nsg_ids: list[str] �str�bool�ConnectDescriptor� SshDetails�AdminCredentials�PrivateEndpointDetails�VaultDetails�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�connect_descriptor�credentials_secret_id�certificate_tdn�ssh_details�admin_credentials�private_endpoint� vault_details�lifecycle_state�lifecycle_details�time_created�time_updated� freeform_tags�defined_tags�system_tags�nsg_idsr � compartmentId�databaseType�manualDatabaseSubType�isDedicated�displayName� databaseId�connectDescriptor�credentialsSecretId�certificateTdn� sshDetails�adminCredentials�privateEndpoint�vaultDetails�lifecycleState�lifecycleDetails�timeCreated�timeUpdated�freeformTags�definedTags� systemTags�nsgIdsN)� swagger_types� attribute_map�_id�_compartment_id�_database_type�_manual_database_sub_type� _is_dedicated� _display_name�_database_id�_connect_descriptor�_credentials_secret_id�_certificate_tdn�_ssh_details�_admin_credentials�_private_endpoint�_vault_details�_lifecycle_state�_lifecycle_details� _time_created� _time_updated�_freeform_tags� _defined_tags�_system_tags�_nsg_ids)�self�kwargs� r` ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database_migration/models/connection.py�__init__@ s� e��zConnection.__init__c C s | j S )z� **[Required]** Gets the id of this Connection. The OCID of the resource :return: The id of this Connection. :rtype: str �rH �r^ r` r` ra r � s z Connection.idc C s || _ dS )z� Sets the id of this Connection. The OCID of the resource :param id: The id of this Connection. :type: str Nrc )r^ r r` r` ra r � s c C s | j S )z� **[Required]** Gets the compartment_id of this Connection. OCID of the compartment :return: The compartment_id of this Connection. :rtype: str �rI rd r` r` ra r s zConnection.compartment_idc C s || _ dS )z� Sets the compartment_id of this Connection. OCID of the compartment :param compartment_id: The compartment_id of this Connection. :type: str Nre )r^ r r` r` ra r s c C s | j S )a� **[Required]** Gets the database_type of this Connection. 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 Connection. :rtype: str )rJ rd r` r` ra r s zConnection.database_typec C s g d�}t ||�sd}|| _dS )z� Sets the database_type of this Connection. Database connection type. :param database_type: The database_type of this Connection. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r rJ )r^ r �allowed_valuesr` r` ra r , s c C s | j S )a� Gets the manual_database_sub_type of this Connection. 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 Connection. :rtype: str )rK rd r` r` ra r ; s z#Connection.manual_database_sub_typec C s ddg}t ||�sd}|| _dS )a Sets the manual_database_sub_type of this Connection. 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 Connection. :type: str r r rf N)r rK )r^ r rg r` r` ra r J s c C s | j S )z� Gets the is_dedicated of this Connection. True if the Autonomous Connection is dedicated. Not provided for Non-Autonomous Connections. :return: The is_dedicated of this Connection. :rtype: bool �rL rd r` r` ra r Y s zConnection.is_dedicatedc C s || _ dS )z� Sets the is_dedicated of this Connection. True if the Autonomous Connection is dedicated. Not provided for Non-Autonomous Connections. :param is_dedicated: The is_dedicated of this Connection. :type: bool Nrh )r^ r r` r` ra r e s c C s | j S )z� **[Required]** Gets the display_name of this Connection. Database Connection display name identifier. :return: The display_name of this Connection. :rtype: str �rM rd r` r` ra r q s zConnection.display_namec C s || _ dS )z� Sets the display_name of this Connection. Database Connection display name identifier. :param display_name: The display_name of this Connection. :type: str Nri )r^ r r` r` ra r } s c C s | j S )z� Gets the database_id of this Connection. The OCID of the cloud database. :return: The database_id of this Connection. :rtype: str �rN rd r` r` ra r! � s zConnection.database_idc C s || _ dS )z� Sets the database_id of this Connection. The OCID of the cloud database. :param database_id: The database_id of this Connection. :type: str Nrj )r^ r! r` r` ra r! � s c C s | j S )z� Gets the connect_descriptor of this Connection. :return: The connect_descriptor of this Connection. :rtype: oci.database_migration.models.ConnectDescriptor �rO rd r` r` ra r"