ruạṛ
a ���fL � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�PiiEntityMasking� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�PiiEntityReplacezC Replace PII entities with a given sequence of characters. c K s. ddd�| _ ddd�| _d| _d| _d| _dS )a� Initializes a new PiiEntityReplace object with values from keyword arguments. The default value of the :py:attr:`~oci.ai_language.models.PiiEntityReplace.mode` attribute of this class is ``REPLACE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param mode: The value to assign to the mode property of this PiiEntityReplace. Allowed values for this property are: "REPLACE", "MASK", "REMOVE" :type mode: str :param replace_with: The value to assign to the replace_with property of this PiiEntityReplace. :type replace_with: str �str)�mode�replace_withr ZreplaceWithNZREPLACE)Z swagger_typesZ attribute_map�_mode� _replace_with)�self�kwargs� r �M/usr/lib/python3.9/site-packages/oci/ai_language/models/pii_entity_replace.py�__init__ s ��zPiiEntityReplace.__init__c C s | j S )a Gets the replace_with of this PiiEntityReplace. Replace entities with given sequence of characters. By default PII entity will be replaced with <ENTITY_TYPE>. :return: The replace_with of this PiiEntityReplace. :rtype: str �r �r r r r r 0 s zPiiEntityReplace.replace_withc C s || _ dS )a Sets the replace_with of this PiiEntityReplace. Replace entities with given sequence of characters. By default PII entity will be replaced with <ENTITY_TYPE>. :param replace_with: The replace_with of this PiiEntityReplace. :type: str Nr )r r r r r r <