ruạṛ
a N��fbM � @ 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:� �Zd<d=� Zd>d?� Z d@dA� Z!dBS )C�TargetDatabasez7 The details of the Data Safe target database. �CREATING�UPDATING�ACTIVE�INACTIVE�DELETING�DELETED�NEEDS_ATTENTION�FAILEDc K s� ddddddddddddddd d d �| _ ddd dddddddddddddd �| _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 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)) �str�DatabaseDetails�Credentials� TlsConfig�ConnectionOptionz list[str]�datetimezdict(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� freeform_tags�defined_tags�system_tags� compartmentIdr �displayNamer �databaseDetailsr � tlsConfig�connectionOption�associatedResourceIds�lifecycleState�lifecycleDetails�timeCreated�timeUpdated�freeformTags�definedTags� systemTagsN)� swagger_types� 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�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rF ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_safe/models/target_database.py�__init__0 sd I��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 �r4 �rD rF rF rG 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 NrI )rD r rF rF rG 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 �r5 rJ rF rF rG r � s zTargetDatabase.idc C s || _ dS )z� Sets the id of this TargetDatabase. The OCID of the Data Safe target database. :param id: The id of this TargetDatabase. :type: str NrK )rD r rF rF rG r � s c C s | j S )z� **[Required]** Gets the display_name of this TargetDatabase. The display name of the target database in Data Safe. :return: The display_name of this TargetDatabase. :rtype: str �r6 rJ rF rF rG r � s zTargetDatabase.display_namec C s || _ dS )z� Sets the display_name of this TargetDatabase. The display name of the target database in Data Safe. :param display_name: The display_name of this TargetDatabase. :type: str NrL )rD r rF rF rG r � s c C s | j S )z� Gets the description of this TargetDatabase. The description of the target database in Data Safe. :return: The description of this TargetDatabase. :rtype: str �r7 rJ rF rF rG r � s zTargetDatabase.descriptionc C s || _ dS )z� Sets the description of this TargetDatabase. The description of the target database in Data Safe. :param description: The description of this TargetDatabase. :type: str NrM )rD r rF rF rG r s c C s | j S )z� **[Required]** Gets the database_details of this TargetDatabase. :return: The database_details of this TargetDatabase. :rtype: oci.data_safe.models.DatabaseDetails �r8 rJ rF rF rG r s zTargetDatabase.database_detailsc C s || _ dS )z� Sets the database_details of this TargetDatabase. :param database_details: The database_details of this TargetDatabase. :type: oci.data_safe.models.DatabaseDetails NrN )rD r rF rF rG r s c C s | j S )z� Gets the credentials of this TargetDatabase. :return: The credentials of this TargetDatabase. :rtype: oci.data_safe.models.Credentials �r9 rJ rF rF rG r # s zTargetDatabase.credentialsc C s || _ dS )z� Sets the credentials of this TargetDatabase. :param credentials: The credentials of this TargetDatabase. :type: oci.data_safe.models.Credentials NrO )rD r rF rF rG r - s c C s | j S )z� Gets the tls_config of this TargetDatabase. :return: The tls_config of this TargetDatabase. :rtype: oci.data_safe.models.TlsConfig �r: rJ rF rF rG r 7 s zTargetDatabase.tls_configc C s || _ dS )z� Sets the tls_config of this TargetDatabase. :param tls_config: The tls_config of this TargetDatabase. :type: oci.data_safe.models.TlsConfig NrP )rD r rF rF rG r A s c C s | j S )z� Gets the connection_option of this TargetDatabase. :return: The connection_option of this TargetDatabase. :rtype: oci.data_safe.models.ConnectionOption �r; rJ rF rF rG r K s z TargetDatabase.connection_optionc C s || _ dS )z� Sets the connection_option of this TargetDatabase. :param connection_option: The connection_option of this TargetDatabase. :type: oci.data_safe.models.ConnectionOption NrQ )rD r rF rF rG r U s c C s | j S )a Gets the associated_resource_ids of this TargetDatabase. The OCIDs of associated resources like Database, Data Safe private endpoint etc. :return: The associated_resource_ids of this TargetDatabase. :rtype: list[str] �r<