ruạṛ
a N��fM � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�FormatEntry� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�RegularExpressionFormatEntrya� The Regular Expression masking format gives the flexibility to use regular expressions to search for sensitive data in a column of Large Object data type (LOB), and replace the data with a fixed string, fixed number, null value, or SQL expression. It can also be used for columns of VARCHAR2 type to mask parts of strings. To learn more, check Regular Expressions in the Data Safe documentation. c K sB ddddd�| _ ddddd�| _d| _d| _d| _d| _d| _dS ) a Initializes a new RegularExpressionFormatEntry object with values from keyword arguments. The default value of the :py:attr:`~oci.data_safe.models.RegularExpressionFormatEntry.type` attribute of this class is ``REGULAR_EXPRESSION`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this RegularExpressionFormatEntry. Allowed values for this property are: "DELETE_ROWS", "DETERMINISTIC_SUBSTITUTION", "DETERMINISTIC_ENCRYPTION", "DETERMINISTIC_ENCRYPTION_DATE", "FIXED_NUMBER", "FIXED_STRING", "LIBRARY_MASKING_FORMAT", "NULL_VALUE", "POST_PROCESSING_FUNCTION", "PRESERVE_ORIGINAL_DATA", "RANDOM_DATE", "RANDOM_DECIMAL_NUMBER", "RANDOM_DIGITS", "RANDOM_LIST", "RANDOM_NUMBER", "RANDOM_STRING", "RANDOM_SUBSTITUTION", "REGULAR_EXPRESSION", "SHUFFLE", "SQL_EXPRESSION", "SUBSTRING", "TRUNCATE_TABLE", "USER_DEFINED_FUNCTION" :type type: str :param description: The value to assign to the description property of this RegularExpressionFormatEntry. :type description: str :param regular_expression: The value to assign to the regular_expression property of this RegularExpressionFormatEntry. :type regular_expression: str :param replace_with: The value to assign to the replace_with property of this RegularExpressionFormatEntry. :type replace_with: str �str)�type�description�regular_expression�replace_withr r �regularExpression�replaceWithN�REGULAR_EXPRESSION)� swagger_types� attribute_map�_type�_description�_regular_expression� _replace_with)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_safe/models/regular_expression_format_entry.py�__init__ s ��z%RegularExpressionFormatEntry.__init__c C s | j S )a **[Required]** Gets the regular_expression of this RegularExpressionFormatEntry. The pattern that should be used to search for data. :return: The regular_expression of this RegularExpressionFormatEntry. :rtype: str �r �r r r r r A s z/RegularExpressionFormatEntry.regular_expressionc C s || _ dS )a Sets the regular_expression of this RegularExpressionFormatEntry. The pattern that should be used to search for data. :param regular_expression: The regular_expression of this RegularExpressionFormatEntry. :type: str Nr )r r r r r r M s c C s | j S )al **[Required]** Gets the replace_with of this RegularExpressionFormatEntry. The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number, null value, or SQL expression. :return: The replace_with of this RegularExpressionFormatEntry. :rtype: str �r r r r r r Y s z)RegularExpressionFormatEntry.replace_withc C s || _ dS )ah Sets the replace_with of this RegularExpressionFormatEntry. The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number, null value, or SQL expression. :param replace_with: The replace_with of this RegularExpressionFormatEntry. :type: str Nr )r r r r r r g s c C s t | �S �N)r r r r r �__repr__u s z%RegularExpressionFormatEntry.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__x s z#RegularExpressionFormatEntry.__eq__c C s | |k S r r r"