ruạṛ
a N��f�P � @ 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� MaskingColumnaX A masking column is a resource corresponding to a database column that you want to mask. It's a subresource of masking policy resource and is always associated with a masking policy. Note that only parent columns are managed as masking columns. The child columns are automatically managed using the childColumns attribute. �CREATING�ACTIVE�UPDATING�DELETING�NEEDS_ATTENTION�FAILED�TABLE�EDITIONING_VIEWc K s� ddddddddddddddddd�| _ ddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a Initializes a new MaskingColumn 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 MaskingColumn. :type key: str :param masking_policy_id: The value to assign to the masking_policy_id property of this MaskingColumn. :type masking_policy_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this MaskingColumn. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "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 MaskingColumn. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this MaskingColumn. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this MaskingColumn. :type time_updated: datetime :param schema_name: The value to assign to the schema_name property of this MaskingColumn. :type schema_name: str :param object_name: The value to assign to the object_name property of this MaskingColumn. :type object_name: str :param object_type: The value to assign to the object_type property of this MaskingColumn. 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 column_name: The value to assign to the column_name property of this MaskingColumn. :type column_name: str :param child_columns: The value to assign to the child_columns property of this MaskingColumn. :type child_columns: list[str] :param masking_column_group: The value to assign to the masking_column_group property of this MaskingColumn. :type masking_column_group: str :param sensitive_type_id: The value to assign to the sensitive_type_id property of this MaskingColumn. :type sensitive_type_id: str :param is_masking_enabled: The value to assign to the is_masking_enabled property of this MaskingColumn. :type is_masking_enabled: bool :param data_type: The value to assign to the data_type property of this MaskingColumn. :type data_type: str :param masking_formats: The value to assign to the masking_formats property of this MaskingColumn. :type masking_formats: list[oci.data_safe.models.MaskingFormat] �str�datetimez list[str]�boolzlist[MaskingFormat])�key�masking_policy_id�lifecycle_state�lifecycle_details�time_created�time_updated�schema_name�object_name�object_type�column_name� child_columns�masking_column_group�sensitive_type_id�is_masking_enabled� data_type�masking_formatsr �maskingPolicyId�lifecycleState�lifecycleDetails�timeCreated�timeUpdated� schemaName� objectName� objectType� columnName�childColumns�maskingColumnGroup�sensitiveTypeId�isMaskingEnabled�dataType�maskingFormatsN)� swagger_types� attribute_map�_key�_masking_policy_id�_lifecycle_state�_lifecycle_details� _time_created� _time_updated�_schema_name�_object_name�_object_type�_column_name�_child_columns�_masking_column_group�_sensitive_type_id�_is_masking_enabled� _data_type�_masking_formats)�self�kwargs� rE ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_safe/models/masking_column.py�__init__3 sd K��zMaskingColumn.__init__c C s | j S )z� **[Required]** Gets the key of this MaskingColumn. The unique key that identifies the masking column. It's numeric and unique within a masking policy. :return: The key of this MaskingColumn. :rtype: str �r3 �rC rE rE rF r � s zMaskingColumn.keyc C s || _ dS )z� Sets the key of this MaskingColumn. The unique key that identifies the masking column. It's numeric and unique within a masking policy. :param key: The key of this MaskingColumn. :type: str NrH )rC r rE rE rF r � s c C s | j S )z� **[Required]** Gets the masking_policy_id of this MaskingColumn. The OCID of the masking policy that contains the masking column. :return: The masking_policy_id of this MaskingColumn. :rtype: str �r4 rI rE rE rF r � s zMaskingColumn.masking_policy_idc C s || _ dS )z� Sets the masking_policy_id of this MaskingColumn. The OCID of the masking policy that contains the masking column. :param masking_policy_id: The masking_policy_id of this MaskingColumn. :type: str NrJ )rC r rE rE rF r � s c C s | j S )a� **[Required]** Gets the lifecycle_state of this MaskingColumn. The current state of the masking column. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "NEEDS_ATTENTION", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this MaskingColumn. :rtype: str )r5 rI rE rE rF r � s zMaskingColumn.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this MaskingColumn. The current state of the masking column. :param lifecycle_state: The lifecycle_state of this MaskingColumn. :type: str )r r r r r r �UNKNOWN_ENUM_VALUEN)r r5 )rC r �allowed_valuesrE rE rF r � s c C s | j S )z� Gets the lifecycle_details of this MaskingColumn. Details about the current state of the masking column. :return: The lifecycle_details of this MaskingColumn. :rtype: str �r6 rI rE rE rF r s zMaskingColumn.lifecycle_detailsc C s || _ dS )z� Sets the lifecycle_details of this MaskingColumn. Details about the current state of the masking column. :param lifecycle_details: The lifecycle_details of this MaskingColumn. :type: str NrM )rC r rE rE rF r s c C s | j S )a1 **[Required]** Gets the time_created of this MaskingColumn. The date and time the masking column was created, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this MaskingColumn. :rtype: datetime �r7 rI rE rE rF r s zMaskingColumn.time_createdc C s || _ dS )a- Sets the time_created of this MaskingColumn. The date and time the masking column was created, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this MaskingColumn. :type: datetime NrN )rC r rE rE rF r ( s c C s | j S )a6 **[Required]** Gets the time_updated of this MaskingColumn. The date and time the masking column was last updated, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this MaskingColumn. :rtype: datetime �r8 rI rE rE rF r 6 s zMaskingColumn.time_updatedc C s || _ dS )a2 Sets the time_updated of this MaskingColumn. The date and time the masking column was last updated, in the format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this MaskingColumn. :type: datetime NrO )rC r rE rE rF r D s c C s | j S )z� **[Required]** Gets the schema_name of this MaskingColumn. The name of the schema that contains the database column. :return: The schema_name of this MaskingColumn. :rtype: str �r9 rI rE rE rF r R s zMaskingColumn.schema_namec C s || _ dS )z� Sets the schema_name of this MaskingColumn. The name of the schema that contains the database column. :param schema_name: The schema_name of this MaskingColumn. :type: str NrP )rC r rE rE rF r ^ s c C s | j S )z� **[Required]** Gets the object_name of this MaskingColumn. The name of the object (table or editioning view) that contains the database column. :return: The object_name of this MaskingColumn. :rtype: str �r: rI rE rE rF r j s zMaskingColumn.object_namec C s || _ dS )z� Sets the object_name of this MaskingColumn. The name of the object (table or editioning view) that contains the database column. :param object_name: The object_name of this MaskingColumn. :type: str NrQ )rC r rE rE rF r v s c C s | j S )a� Gets the object_type of this MaskingColumn. The type of the object that contains the database 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 MaskingColumn. :rtype: str )r; rI rE rE rF r � s zMaskingColumn.object_typec C s ddg}t ||�sd}|| _dS )z� Sets the object_type of this MaskingColumn. The type of the object that contains the database column. :param object_type: The object_type of this MaskingColumn. :type: str r r rK N)r r; )rC r rL rE rE rF r � s c C s | j S )aF **[Required]** Gets the column_name of this MaskingColumn. The name of the database column. Note that the same name is used for the masking column. There is no separate displayName attribute for the masking column. :return: The column_name of this MaskingColumn. :rtype: str �r<