ruạṛ
a ���f�| � @ 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 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'edKdL� �Z(e(jdMdL� �Z(edNdO� �Z)e)jdPdO� �Z)edQdR� �Z*e*jdSdR� �Z*dTdU� Z+dVdW� Z,dXdY� Z-dZS )[�SensitiveColumna0 A sensitive column is a resource corresponding to a database column that is considered sensitive. It's a subresource of sensitive data model resource and is always associated with a sensitive data model. Note that referential relationships are also managed as part of sensitive columns. �CREATING�ACTIVE�UPDATING�DELETING�FAILED�TABLE�EDITIONING_VIEW�VALID�INVALID�MANUAL� DISCOVERY�NONE�APP_DEFINED� DB_DEFINEDc K s� ddddddddddddddddddddddd�| _ dddd d ddd ddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _dS )a@ Initializes a new SensitiveColumn 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 SensitiveColumn. :type key: str :param sensitive_data_model_id: The value to assign to the sensitive_data_model_id property of this SensitiveColumn. :type sensitive_data_model_id: str :param time_created: The value to assign to the time_created property of this SensitiveColumn. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this SensitiveColumn. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this SensitiveColumn. 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 SensitiveColumn. :type lifecycle_details: str :param app_name: The value to assign to the app_name property of this SensitiveColumn. :type app_name: str :param schema_name: The value to assign to the schema_name property of this SensitiveColumn. :type schema_name: str :param object_name: The value to assign to the object_name property of this SensitiveColumn. :type object_name: str :param column_name: The value to assign to the column_name property of this SensitiveColumn. :type column_name: str :param object_type: The value to assign to the object_type property of this SensitiveColumn. 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 SensitiveColumn. :type data_type: str :param status: The value to assign to the status property of this SensitiveColumn. 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 SensitiveColumn. :type sensitive_type_id: str :param source: The value to assign to the source property of this SensitiveColumn. 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 SensitiveColumn. :type parent_column_keys: list[str] :param relation_type: The value to assign to the relation_type property of this SensitiveColumn. 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 SensitiveColumn. :type estimated_data_value_count: int :param sample_data_values: The value to assign to the sample_data_values property of this SensitiveColumn. :type sample_data_values: list[str] :param app_defined_child_column_keys: The value to assign to the app_defined_child_column_keys property of this SensitiveColumn. :type app_defined_child_column_keys: list[str] :param db_defined_child_column_keys: The value to assign to the db_defined_child_column_keys property of this SensitiveColumn. :type db_defined_child_column_keys: list[str] :param column_groups: The value to assign to the column_groups property of this SensitiveColumn. :type column_groups: list[str] �strZdatetimez list[str]�int)�key�sensitive_data_model_id�time_created�time_updated�lifecycle_state�lifecycle_details�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�app_defined_child_column_keys�db_defined_child_column_keys� column_groupsr ZsensitiveDataModelIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZappNameZ schemaNameZ objectNameZ columnNameZ objectTypeZdataTyper# ZsensitiveTypeIdr% ZparentColumnKeysZrelationTypeZestimatedDataValueCountZsampleDataValuesZappDefinedChildColumnKeysZdbDefinedChildColumnKeysZcolumnGroupsN)Z swagger_typesZ attribute_map�_key�_sensitive_data_model_id� _time_created� _time_updated�_lifecycle_state�_lifecycle_details� _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�_app_defined_child_column_keys�_db_defined_child_column_keys�_column_groups)�self�kwargs� rE �I/usr/lib/python3.9/site-packages/oci/data_safe/models/sensitive_column.py�__init__L s� i��zSensitiveColumn.__init__c C s | j S )a **[Required]** Gets the key of this SensitiveColumn. The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model. :return: The key of this SensitiveColumn. :rtype: str �r- �rC rE rE rF r � s zSensitiveColumn.keyc C s || _ dS )z� Sets the key of this SensitiveColumn. The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model. :param key: The key of this SensitiveColumn. :type: str NrH )rC r rE rE rF r s c C s | j S )a **[Required]** Gets the sensitive_data_model_id of this SensitiveColumn. The OCID of the sensitive data model that contains the sensitive column. :return: The sensitive_data_model_id of this SensitiveColumn. :rtype: str �r. rI rE rE rF r s z'SensitiveColumn.sensitive_data_model_idc C s || _ dS )a Sets the sensitive_data_model_id of this SensitiveColumn. The OCID of the sensitive data model that contains the sensitive column. :param sensitive_data_model_id: The sensitive_data_model_id of this SensitiveColumn. :type: str NrJ )rC r rE rE rF r ! s c C s | j S )a\ **[Required]** Gets the time_created of this SensitiveColumn. 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 SensitiveColumn. :rtype: datetime �r/ rI rE rE rF r - s zSensitiveColumn.time_createdc C s || _ dS )aX Sets the time_created of this SensitiveColumn. 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 SensitiveColumn. :type: datetime NrK )rC r rE rE rF r < s c C s | j S )aa **[Required]** Gets the time_updated of this SensitiveColumn. 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 SensitiveColumn. :rtype: datetime �r0 rI rE rE rF r K s zSensitiveColumn.time_updatedc C s || _ dS )a] Sets the time_updated of this SensitiveColumn. 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 SensitiveColumn. :type: datetime NrL )rC r rE rE rF r Z s c C s | j S )a� **[Required]** Gets the lifecycle_state of this SensitiveColumn. 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 SensitiveColumn. :rtype: str )r1 rI rE rE rF r i s zSensitiveColumn.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this SensitiveColumn. The current state of the sensitive column. :param lifecycle_state: The lifecycle_state of this SensitiveColumn. :type: str )r r r r r �UNKNOWN_ENUM_VALUEN)r r1 )rC r �allowed_valuesrE rE rF r x s c C s | j S )z� Gets the lifecycle_details of this SensitiveColumn. Details about the current state of the sensitive column. :return: The lifecycle_details of this SensitiveColumn. :rtype: str �r2 rI rE rE rF r � s z!SensitiveColumn.lifecycle_detailsc C s || _ dS )z� Sets the lifecycle_details of this SensitiveColumn. Details about the current state of the sensitive column. :param lifecycle_details: The lifecycle_details of this SensitiveColumn. :type: str NrO )rC r rE rE rF r � s c C s | j S )aQ **[Required]** Gets the app_name of this SensitiveColumn. 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 SensitiveColumn. :rtype: str �r3 rI rE rE rF r � s zSensitiveColumn.app_namec C s || _ dS )aI Sets the app_name of this SensitiveColumn. 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 SensitiveColumn. :type: str NrP )rC r rE rE rF r � s c C s | j S )z� **[Required]** Gets the schema_name of this SensitiveColumn. The database schema that contains the sensitive column. :return: The schema_name of this SensitiveColumn. :rtype: str �r4 rI rE rE rF r � s zSensitiveColumn.schema_namec C s || _ dS )z� Sets the schema_name of this SensitiveColumn. The database schema that contains the sensitive column. :param schema_name: The schema_name of this SensitiveColumn. :type: str NrQ )rC r rE rE rF r � s c C s | j S )z� **[Required]** Gets the object_name of this SensitiveColumn. The database object that contains the sensitive column. :return: The object_name of this SensitiveColumn. :rtype: str �r5 rI rE rE rF r � s zSensitiveColumn.object_namec C s || _ dS )z� Sets the object_name of this SensitiveColumn. The database object that contains the sensitive column. :param object_name: The object_name of this SensitiveColumn. :type: str NrR )rC r rE rE rF r � s c C s | j S )z� **[Required]** Gets the column_name of this SensitiveColumn. The name of the sensitive column. :return: The column_name of this SensitiveColumn. :rtype: str �r6 rI rE rE rF r � s zSensitiveColumn.column_namec C s || _ dS )z� Sets the column_name of this SensitiveColumn. The name of the sensitive column. :param column_name: The column_name of this SensitiveColumn. :type: str NrS )rC r rE rE rF r � s c C s | j S )a� **[Required]** Gets the object_type of this SensitiveColumn. 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 SensitiveColumn. :rtype: str )r7 rI rE rE rF r! s zSensitiveColumn.object_typec C s ddg}t ||�sd}|| _dS )z� Sets the object_type of this SensitiveColumn. The type of the database object that contains the sensitive column. :param object_type: The object_type of this SensitiveColumn. :type: str r r rM N)r r7 )rC r! rN rE rE rF r! s c C s | j S )z� **[Required]** Gets the data_type of this SensitiveColumn. The data type of the sensitive column. :return: The data_type of this SensitiveColumn. :rtype: str �r8 rI rE rE rF r"