ruạṛ
a ���fo � @ 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 @ sV e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdd� 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.� �Zejd/d.� �Zed0d1� �Zejd2d1� �Zed3d4� �Z e jd5d4� �Z ed6d7� �Z!e!jd8d7� �Z!ed9d:� �Z"e"jd;d:� �Z"ed<d=� �Z#e#jd>d=� �Z#ed?d@� �Z$e$jdAd@� �Z$edBdC� �Z%e%jdDdC� �Z%edEdF� �Z&e&jdGdF� �Z&edHdI� �Z'e'jdJdI� �Z'dKdL� Z(dMdN� Z)dOdP� Z*dQS )R�SensitiveColumnSummaryzJ Summary of a sensitive column present in a sensitive data model. �CREATING�ACTIVE�UPDATING�DELETING�FAILED�TABLE�EDITIONING_VIEW�VALID�INVALID�MANUAL� DISCOVERY�NONE�APP_DEFINED� DB_DEFINEDc K s� dddddddddddddddddddd�| _ dddd d ddd dddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _dS )a� Initializes a new SensitiveColumnSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param key: The value to assign to the key property of this SensitiveColumnSummary. :type key: str :param sensitive_data_model_id: The value to assign to the sensitive_data_model_id property of this SensitiveColumnSummary. :type sensitive_data_model_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this SensitiveColumnSummary. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "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 SensitiveColumnSummary. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this SensitiveColumnSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this SensitiveColumnSummary. :type time_updated: datetime :param app_name: The value to assign to the app_name property of this SensitiveColumnSummary. :type app_name: str :param schema_name: The value to assign to the schema_name property of this SensitiveColumnSummary. :type schema_name: str :param object_name: The value to assign to the object_name property of this SensitiveColumnSummary. :type object_name: str :param column_name: The value to assign to the column_name property of this SensitiveColumnSummary. :type column_name: str :param object_type: The value to assign to the object_type property of this SensitiveColumnSummary. Allowed values for this property are: "TABLE", "EDITIONING_VIEW", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type object_type: str :param data_type: The value to assign to the data_type property of this SensitiveColumnSummary. :type data_type: str :param status: The value to assign to the status property of this SensitiveColumnSummary. Allowed values for this property are: "VALID", "INVALID", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param sensitive_type_id: The value to assign to the sensitive_type_id property of this SensitiveColumnSummary. :type sensitive_type_id: str :param source: The value to assign to the source property of this SensitiveColumnSummary. Allowed values for this property are: "MANUAL", "DISCOVERY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type source: str :param parent_column_keys: The value to assign to the parent_column_keys property of this SensitiveColumnSummary. :type parent_column_keys: list[str] :param relation_type: The value to assign to the relation_type property of this SensitiveColumnSummary. Allowed values for this property are: "NONE", "APP_DEFINED", "DB_DEFINED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type relation_type: str :param estimated_data_value_count: The value to assign to the estimated_data_value_count property of this SensitiveColumnSummary. :type estimated_data_value_count: int :param sample_data_values: The value to assign to the sample_data_values property of this SensitiveColumnSummary. :type sample_data_values: list[str] �strZdatetimez list[str]�int)�key�sensitive_data_model_id�lifecycle_state�lifecycle_details�time_created�time_updated�app_name�schema_name�object_name�column_name�object_type� data_type�status�sensitive_type_id�source�parent_column_keys� relation_type�estimated_data_value_count�sample_data_valuesr ZsensitiveDataModelIdZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedZappNameZ schemaNameZ objectNameZ columnNameZ objectTypeZdataTyper# ZsensitiveTypeIdr% ZparentColumnKeysZrelationTypeZestimatedDataValueCountZsampleDataValuesN)Z swagger_typesZ attribute_map�_key�_sensitive_data_model_id�_lifecycle_state�_lifecycle_details� _time_created� _time_updated� _app_name�_schema_name�_object_name�_column_name�_object_type� _data_type�_status�_sensitive_type_id�_source�_parent_column_keys�_relation_type�_estimated_data_value_count�_sample_data_values)�self�kwargs� r? �Q/usr/lib/python3.9/site-packages/oci/data_safe/models/sensitive_column_summary.py�__init__J sv ]��zSensitiveColumnSummary.__init__c C s | j S )a **[Required]** Gets the key of this SensitiveColumnSummary. The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model. :return: The key of this SensitiveColumnSummary. :rtype: str �r* �r= r? r? r@ r � s zSensitiveColumnSummary.keyc C s || _ dS )a Sets the key of this SensitiveColumnSummary. The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model. :param key: The key of this SensitiveColumnSummary. :type: str NrB )r= r r? r? r@ r � s c C s | j S )a **[Required]** Gets the sensitive_data_model_id of this SensitiveColumnSummary. The OCID of the sensitive data model that contains the sensitive column. :return: The sensitive_data_model_id of this SensitiveColumnSummary. :rtype: str �r+ rC r? r? r@ r � s z.SensitiveColumnSummary.sensitive_data_model_idc C s || _ dS )a Sets the sensitive_data_model_id of this SensitiveColumnSummary. The OCID of the sensitive data model that contains the sensitive column. :param sensitive_data_model_id: The sensitive_data_model_id of this SensitiveColumnSummary. :type: str NrD )r= r r? r? r@ r s c C s | j S )a� **[Required]** Gets the lifecycle_state of this SensitiveColumnSummary. The current state of the sensitive column. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this SensitiveColumnSummary. :rtype: str )r, rC r? r? r@ r s z&SensitiveColumnSummary.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this SensitiveColumnSummary. The current state of the sensitive column. :param lifecycle_state: The lifecycle_state of this SensitiveColumnSummary. :type: str )r r r r r �UNKNOWN_ENUM_VALUEN)r r, )r= r �allowed_valuesr? r? r@ r % s c C s | j S )z� Gets the lifecycle_details of this SensitiveColumnSummary. Details about the current state of the sensitive column. :return: The lifecycle_details of this SensitiveColumnSummary. :rtype: str �r- rC r? r? r@ r 4 s z(SensitiveColumnSummary.lifecycle_detailsc C s || _ dS )z� Sets the lifecycle_details of this SensitiveColumnSummary. Details about the current state of the sensitive column. :param lifecycle_details: The lifecycle_details of this SensitiveColumnSummary. :type: str NrG )r= r r? r? r@ r @ s c C s | j S )aj **[Required]** Gets the time_created of this SensitiveColumnSummary. The date and time, in the format defined by `RFC3339`__, the sensitive column was created in the sensitive data model. __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this SensitiveColumnSummary. :rtype: datetime �r. rC r? r? r@ r L s z#SensitiveColumnSummary.time_createdc C s || _ dS )af Sets the time_created of this SensitiveColumnSummary. The date and time, in the format defined by `RFC3339`__, the sensitive column was created in the sensitive data model. __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this SensitiveColumnSummary. :type: datetime NrH )r= r r? r? r@ r [ s c C s | j S )ao **[Required]** Gets the time_updated of this SensitiveColumnSummary. The date and time, in the format defined by `RFC3339`__, the sensitive column was last updated in the sensitive data model. __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this SensitiveColumnSummary. :rtype: datetime �r/ rC r? r? r@ r j s z#SensitiveColumnSummary.time_updatedc C s || _ dS )ak Sets the time_updated of this SensitiveColumnSummary. The date and time, in the format defined by `RFC3339`__, the sensitive column was last updated in the sensitive data model. __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this SensitiveColumnSummary. :type: datetime NrI )r= r r? r? r@ r y s c C s | j S )a_ **[Required]** Gets the app_name of this SensitiveColumnSummary. The name of the application associated with the sensitive column. It's useful when the application name is different from the schema name. Otherwise, it can be ignored. :return: The app_name of this SensitiveColumnSummary. :rtype: str �r0 rC r? r? r@ r � s zSensitiveColumnSummary.app_namec C s || _ dS )aW Sets the app_name of this SensitiveColumnSummary. The name of the application associated with the sensitive column. It's useful when the application name is different from the schema name. Otherwise, it can be ignored. :param app_name: The app_name of this SensitiveColumnSummary. :type: str NrJ )r= r r? r? r@ r � s c C s | j S )z� **[Required]** Gets the schema_name of this SensitiveColumnSummary. The database schema that contains the sensitive column. :return: The schema_name of this SensitiveColumnSummary. :rtype: str �r1 rC r? r? r@ r � s z"SensitiveColumnSummary.schema_namec C s || _ dS )z� Sets the schema_name of this SensitiveColumnSummary. The database schema that contains the sensitive column. :param schema_name: The schema_name of this SensitiveColumnSummary. :type: str NrK )r= r r? r? r@ r � s c C s | j S )z� **[Required]** Gets the object_name of this SensitiveColumnSummary. The database object that contains the sensitive column. :return: The object_name of this SensitiveColumnSummary. :rtype: str �r2 rC r? r? r@ r � s z"SensitiveColumnSummary.object_namec C s || _ dS )z� Sets the object_name of this SensitiveColumnSummary. The database object that contains the sensitive column. :param object_name: The object_name of this SensitiveColumnSummary. :type: str NrL )r= r r? r? r@ r � s c C s | j S )z� **[Required]** Gets the column_name of this SensitiveColumnSummary. The name of the sensitive column. :return: The column_name of this SensitiveColumnSummary. :rtype: str �r3 rC r? r? r@ r � s z"SensitiveColumnSummary.column_namec C s || _ dS )z� Sets the column_name of this SensitiveColumnSummary. The name of the sensitive column. :param column_name: The column_name of this SensitiveColumnSummary. :type: str NrM )r= r r? r? r@ r � s c C s | j S )a� **[Required]** Gets the object_type of this SensitiveColumnSummary. The type of the database object that contains the sensitive column. Allowed values for this property are: "TABLE", "EDITIONING_VIEW", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The object_type of this SensitiveColumnSummary. :rtype: str )r4 rC r? r? r@ r! � s z"SensitiveColumnSummary.object_typec C s ddg}t ||�sd}|| _dS )z� Sets the object_type of this SensitiveColumnSummary. The type of the database object that contains the sensitive column. :param object_type: The object_type of this SensitiveColumnSummary. :type: str r r rE N)r r4 )r= r! rF r? r? r@ r! � s c C s | j S )z� **[Required]** Gets the data_type of this SensitiveColumnSummary. The data type of the sensitive column. :return: The data_type of this SensitiveColumnSummary. :rtype: str �r5 rC r? r? r@ r"