ruạṛ
a ���f�R � @ 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 d� Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Ze d$d%� �Zejd&d%� �Ze d'd(� �Zejd)d(� �Ze d*d+� �Zejd,d+� �Ze d-d.� �Zejd/d.� �Ze d0d1� �Zejd2d1� �Ze d3d4� �Zejd5d4� �Ze d6d7� �Zejd8d7� �Ze d9d:� �Zejd;d:� �Ze d<d=� �Zejd>d=� �Zd?d@� Z dAdB� Z!dCdD� Z"dES )F�TargetDatabasez7 The details of the Data Safe target database. �CREATING�UPDATING�ACTIVE�INACTIVE�DELETING�DELETED�NEEDS_ATTENTION�FAILEDc K s� ddddddddddddddd d d d�| _ dd dddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new TargetDatabase object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this TargetDatabase. :type compartment_id: str :param id: The value to assign to the id property of this TargetDatabase. :type id: str :param display_name: The value to assign to the display_name property of this TargetDatabase. :type display_name: str :param description: The value to assign to the description property of this TargetDatabase. :type description: str :param database_details: The value to assign to the database_details property of this TargetDatabase. :type database_details: oci.data_safe.models.DatabaseDetails :param credentials: The value to assign to the credentials property of this TargetDatabase. :type credentials: oci.data_safe.models.Credentials :param tls_config: The value to assign to the tls_config property of this TargetDatabase. :type tls_config: oci.data_safe.models.TlsConfig :param connection_option: The value to assign to the connection_option property of this TargetDatabase. :type connection_option: oci.data_safe.models.ConnectionOption :param associated_resource_ids: The value to assign to the associated_resource_ids property of this TargetDatabase. :type associated_resource_ids: list[str] :param lifecycle_state: The value to assign to the lifecycle_state property of this TargetDatabase. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "NEEDS_ATTENTION", "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 TargetDatabase. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this TargetDatabase. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this TargetDatabase. :type time_updated: datetime :param peer_target_databases: The value to assign to the peer_target_databases property of this TargetDatabase. :type peer_target_databases: list[oci.data_safe.models.PeerTargetDatabase] :param freeform_tags: The value to assign to the freeform_tags property of this TargetDatabase. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this TargetDatabase. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this TargetDatabase. :type system_tags: dict(str, dict(str, object)) �strZDatabaseDetailsZCredentialsZ TlsConfigZConnectionOptionz list[str]Zdatetimezlist[PeerTargetDatabase]zdict(str, str)zdict(str, dict(str, object)))�compartment_id�id�display_name�description�database_details�credentials� tls_config�connection_option�associated_resource_ids�lifecycle_state�lifecycle_details�time_created�time_updated�peer_target_databases� freeform_tags�defined_tags�system_tagsZ compartmentIdr ZdisplayNamer ZdatabaseDetailsr Z tlsConfigZconnectionOptionZassociatedResourceIdsZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedZpeerTargetDatabasesZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_compartment_id�_id� _display_name�_description�_database_details�_credentials�_tls_config�_connection_option�_associated_resource_ids�_lifecycle_state�_lifecycle_details� _time_created� _time_updated�_peer_target_databases�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r4 �H/usr/lib/python3.9/site-packages/oci/data_safe/models/target_database.py�__init__2 sj M��zTargetDatabase.__init__c C s | j S )z� **[Required]** Gets the compartment_id of this TargetDatabase. The OCID of the compartment which contains the Data Safe target database. :return: The compartment_id of this TargetDatabase. :rtype: str �r! �r2 r4 r4 r5 r � s zTargetDatabase.compartment_idc C s || _ dS )z� Sets the compartment_id of this TargetDatabase. The OCID of the compartment which contains the Data Safe target database. :param compartment_id: The compartment_id of this TargetDatabase. :type: str Nr7 )r2 r r4 r4 r5 r � s c C s | j S )z� **[Required]** Gets the id of this TargetDatabase. The OCID of the Data Safe target database. :return: The id of this TargetDatabase. :rtype: str �r"