ruạṛ
a N��f�j � @ 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 dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zed7d8� �Zej d9d8� �Zed:d;� �Zej d<d;� �Zed=d>� �Zej d?d>� �Zd@dA� ZdBdC� Z dDdE� Z!dFS )G�SensitiveDataModela� A sensitive data model is a collection of sensitive columns and their referential relationships. It helps understand the sensitive data landscape, track changes, and efficiently enable security controls such as data masking. It can be managed either manually or by performing sensitive data discovery on a reference target database. `Learn more`__. __ https://docs.oracle.com/en/cloud/paas/data-safe/udscs/sensitive-data-models1.html#GUID-849CA7D2-1809-40DD-B6D7-44E46EFF7EB5 �CREATING�ACTIVE�UPDATING�DELETING�DELETED�FAILEDc K s� ddddddddddddddddddd�| _ dd d ddd ddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _dS )a� Initializes a new SensitiveDataModel 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 SensitiveDataModel. :type id: str :param display_name: The value to assign to the display_name property of this SensitiveDataModel. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this SensitiveDataModel. :type compartment_id: str :param target_id: The value to assign to the target_id property of this SensitiveDataModel. :type target_id: str :param time_created: The value to assign to the time_created property of this SensitiveDataModel. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this SensitiveDataModel. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this SensitiveDataModel. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "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 app_suite_name: The value to assign to the app_suite_name property of this SensitiveDataModel. :type app_suite_name: str :param description: The value to assign to the description property of this SensitiveDataModel. :type description: str :param schemas_for_discovery: The value to assign to the schemas_for_discovery property of this SensitiveDataModel. :type schemas_for_discovery: list[str] :param sensitive_type_ids_for_discovery: The value to assign to the sensitive_type_ids_for_discovery property of this SensitiveDataModel. :type sensitive_type_ids_for_discovery: list[str] :param is_sample_data_collection_enabled: The value to assign to the is_sample_data_collection_enabled property of this SensitiveDataModel. :type is_sample_data_collection_enabled: bool :param is_app_defined_relation_discovery_enabled: The value to assign to the is_app_defined_relation_discovery_enabled property of this SensitiveDataModel. :type is_app_defined_relation_discovery_enabled: bool :param is_include_all_schemas: The value to assign to the is_include_all_schemas property of this SensitiveDataModel. :type is_include_all_schemas: bool :param is_include_all_sensitive_types: The value to assign to the is_include_all_sensitive_types property of this SensitiveDataModel. :type is_include_all_sensitive_types: bool :param freeform_tags: The value to assign to the freeform_tags property of this SensitiveDataModel. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this SensitiveDataModel. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this SensitiveDataModel. :type system_tags: dict(str, dict(str, object)) �str�datetimez list[str]�boolzdict(str, str)zdict(str, dict(str, object)))�id�display_name�compartment_id� target_id�time_created�time_updated�lifecycle_state�app_suite_name�description�schemas_for_discovery� sensitive_type_ids_for_discovery�!is_sample_data_collection_enabled�)is_app_defined_relation_discovery_enabled�is_include_all_schemas�is_include_all_sensitive_types� freeform_tags�defined_tags�system_tagsr �displayName� compartmentId�targetId�timeCreated�timeUpdated�lifecycleState�appSuiteNamer �schemasForDiscovery�sensitiveTypeIdsForDiscovery�isSampleDataCollectionEnabled�$isAppDefinedRelationDiscoveryEnabled�isIncludeAllSchemas�isIncludeAllSensitiveTypes�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map�_id� _display_name�_compartment_id� _target_id� _time_created� _time_updated�_lifecycle_state�_app_suite_name�_description�_schemas_for_discovery�!_sensitive_type_ids_for_discovery�"_is_sample_data_collection_enabled�*_is_app_defined_relation_discovery_enabled�_is_include_all_schemas�_is_include_all_sensitive_types�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rH ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_safe/models/sensitive_data_model.py�__init__- sp Q��zSensitiveDataModel.__init__c C s | j S )z� **[Required]** Gets the id of this SensitiveDataModel. The OCID of the sensitive data model. :return: The id of this SensitiveDataModel. :rtype: str �r4 �rF rH rH rI r � s zSensitiveDataModel.idc C s || _ dS )z� Sets the id of this SensitiveDataModel. The OCID of the sensitive data model. :param id: The id of this SensitiveDataModel. :type: str NrK )rF r rH rH rI r � s c C s | j S )z� **[Required]** Gets the display_name of this SensitiveDataModel. The display name of the sensitive data model. :return: The display_name of this SensitiveDataModel. :rtype: str �r5 rL rH rH rI r � s zSensitiveDataModel.display_namec C s || _ dS )z� Sets the display_name of this SensitiveDataModel. The display name of the sensitive data model. :param display_name: The display_name of this SensitiveDataModel. :type: str NrM )rF r rH rH rI r � s c C s | j S )z� **[Required]** Gets the compartment_id of this SensitiveDataModel. The OCID of the compartment that contains the sensitive data model. :return: The compartment_id of this SensitiveDataModel. :rtype: str �r6 rL rH rH rI r � s z!SensitiveDataModel.compartment_idc C s || _ dS )z� Sets the compartment_id of this SensitiveDataModel. The OCID of the compartment that contains the sensitive data model. :param compartment_id: The compartment_id of this SensitiveDataModel. :type: str NrN )rF r rH rH rI r � s c C s | j S )a� **[Required]** Gets the target_id of this SensitiveDataModel. The OCID of the reference target database associated with the sensitive data model. All operations such as performing data discovery and adding columns manually are done in the context of the associated target database. :return: The target_id of this SensitiveDataModel. :rtype: str �r7 rL rH rH rI r s zSensitiveDataModel.target_idc C s || _ dS )a� Sets the target_id of this SensitiveDataModel. The OCID of the reference target database associated with the sensitive data model. All operations such as performing data discovery and adding columns manually are done in the context of the associated target database. :param target_id: The target_id of this SensitiveDataModel. :type: str NrO )rF r rH rH rI r s c C s | j S )aA **[Required]** Gets the time_created of this SensitiveDataModel. The date and time the sensitive data model was created, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this SensitiveDataModel. :rtype: datetime �r8 rL rH rH rI r s zSensitiveDataModel.time_createdc C s || _ dS )a= Sets the time_created of this SensitiveDataModel. The date and time the sensitive data model was created, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this SensitiveDataModel. :type: datetime NrP )rF r rH rH rI r * s c C s | j S )aF **[Required]** Gets the time_updated of this SensitiveDataModel. The date and time the sensitive data model was last updated, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this SensitiveDataModel. :rtype: datetime �r9 rL rH rH rI r 8 s zSensitiveDataModel.time_updatedc C s || _ dS )aB Sets the time_updated of this SensitiveDataModel. The date and time the sensitive data model was last updated, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this SensitiveDataModel. :type: datetime NrQ )rF r rH rH rI r F s c C s | j S )a� **[Required]** Gets the lifecycle_state of this SensitiveDataModel. The current state of the sensitive data model. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this SensitiveDataModel. :rtype: str )r: rL rH rH rI r T s z"SensitiveDataModel.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this SensitiveDataModel. The current state of the sensitive data model. :param lifecycle_state: The lifecycle_state of this SensitiveDataModel. :type: str )r r r r r r �UNKNOWN_ENUM_VALUEN)r r: )rF r �allowed_valuesrH rH rI r c s c C s | j S )aq **[Required]** Gets the app_suite_name of this SensitiveDataModel. The application suite name identifying a collection of applications. The default value is GENERIC. It's useful only if maintaining a sensitive data model for a suite of applications. :return: The app_suite_name of this SensitiveDataModel. :rtype: str �r; rL rH rH rI r r s z!SensitiveDataModel.app_suite_namec C s || _ dS )ao Sets the app_suite_name of this SensitiveDataModel. The application suite name identifying a collection of applications. The default value is GENERIC. It's useful only if maintaining a sensitive data model for a suite of applications. :param app_suite_name: The app_suite_name of this SensitiveDataModel. :type: str NrT )rF r rH rH rI r s c C s | j S )z� Gets the description of this SensitiveDataModel. The description of the sensitive data model. :return: The description of this SensitiveDataModel. :rtype: str �r<