ruạṛ
a ���f�E � @ 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 Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �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/� �Zejd0d/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8�LibraryMaskingFormata� A library masking format is a masking format stored in an Oracle Cloud Infrastructure compartment and can be used in multiple masking policies. If you want to use the same masking logic for multiple masking columns or even in multiple masking policies, you can create a library masking format and assign it to masking columns as needed. It helps you avoid defining the same masking logic again and again. Oracle Data Safe provides a set of predefined library masking formats to mask common sensitive and personal data, such as names, national identifiers, credit card numbers, and phone numbers. To meet your specific requirements, you can easily create new library masking formats and use them in your masking policies. �CREATING�ACTIVE�UPDATING�DELETING�DELETED�NEEDS_ATTENTION�FAILED�ORACLE�USERc K s� ddddddddddddd�| _ dd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a Initializes a new LibraryMaskingFormat object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this LibraryMaskingFormat. :type id: str :param compartment_id: The value to assign to the compartment_id property of this LibraryMaskingFormat. :type compartment_id: str :param display_name: The value to assign to the display_name property of this LibraryMaskingFormat. :type display_name: str :param time_created: The value to assign to the time_created property of this LibraryMaskingFormat. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this LibraryMaskingFormat. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this LibraryMaskingFormat. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "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 description: The value to assign to the description property of this LibraryMaskingFormat. :type description: str :param sensitive_type_ids: The value to assign to the sensitive_type_ids property of this LibraryMaskingFormat. :type sensitive_type_ids: list[str] :param source: The value to assign to the source property of this LibraryMaskingFormat. Allowed values for this property are: "ORACLE", "USER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type source: str :param format_entries: The value to assign to the format_entries property of this LibraryMaskingFormat. :type format_entries: list[oci.data_safe.models.FormatEntry] :param freeform_tags: The value to assign to the freeform_tags property of this LibraryMaskingFormat. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this LibraryMaskingFormat. :type defined_tags: dict(str, dict(str, object)) �strZdatetimez list[str]zlist[FormatEntry]zdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name�time_created�time_updated�lifecycle_state�description�sensitive_type_ids�source�format_entries� freeform_tags�defined_tagsr Z compartmentIdZdisplayNameZtimeCreatedZtimeUpdatedZlifecycleStater ZsensitiveTypeIdsr Z formatEntriesZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map�_id�_compartment_id� _display_name� _time_created� _time_updated�_lifecycle_state�_description�_sensitive_type_ids�_source�_format_entries�_freeform_tags� _defined_tags)�self�kwargs� r+ �O/usr/lib/python3.9/site-packages/oci/data_safe/models/library_masking_format.py�__init__= sL ;��zLibraryMaskingFormat.__init__c C s | j S )z� **[Required]** Gets the id of this LibraryMaskingFormat. The OCID of the library masking format. :return: The id of this LibraryMaskingFormat. :rtype: str �r �r) r+ r+ r, r � s zLibraryMaskingFormat.idc C s || _ dS )z� Sets the id of this LibraryMaskingFormat. The OCID of the library masking format. :param id: The id of this LibraryMaskingFormat. :type: str Nr. )r) r r+ r+ r, r � s c C s | j S )z� **[Required]** Gets the compartment_id of this LibraryMaskingFormat. The OCID of the compartment that contains the library masking format. :return: The compartment_id of this LibraryMaskingFormat. :rtype: str �r r/ r+ r+ r, r � s z#LibraryMaskingFormat.compartment_idc C s || _ dS )z� Sets the compartment_id of this LibraryMaskingFormat. The OCID of the compartment that contains the library masking format. :param compartment_id: The compartment_id of this LibraryMaskingFormat. :type: str Nr0 )r) r r+ r+ r, r � s c C s | j S )z� **[Required]** Gets the display_name of this LibraryMaskingFormat. The display name of the library masking format. :return: The display_name of this LibraryMaskingFormat. :rtype: str �r r/ r+ r+ r, r � s z!LibraryMaskingFormat.display_namec C s || _ dS )z� Sets the display_name of this LibraryMaskingFormat. The display name of the library masking format. :param display_name: The display_name of this LibraryMaskingFormat. :type: str Nr1 )r) r r+ r+ r, r � s c C s | j S )aF **[Required]** Gets the time_created of this LibraryMaskingFormat. The date and time the library masking format was created, in the format defined by `RFC3339`__ __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this LibraryMaskingFormat. :rtype: datetime �r r/ r+ r+ r, r � s z!LibraryMaskingFormat.time_createdc C s || _ dS )aB Sets the time_created of this LibraryMaskingFormat. The date and time the library masking format was created, in the format defined by `RFC3339`__ __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this LibraryMaskingFormat. :type: datetime Nr2 )r) r r+ r+ r, r � s c C s | j S )aF **[Required]** Gets the time_updated of this LibraryMaskingFormat. The date and time the library masking format was updated, in the format defined by `RFC3339`__ __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this LibraryMaskingFormat. :rtype: datetime �r! r/ r+ r+ r, r s z!LibraryMaskingFormat.time_updatedc C s || _ dS )aB Sets the time_updated of this LibraryMaskingFormat. The date and time the library masking format was updated, in the format defined by `RFC3339`__ __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this LibraryMaskingFormat. :type: datetime Nr3 )r) r r+ r+ r, r s c C s | j S )a� **[Required]** Gets the lifecycle_state of this LibraryMaskingFormat. The current state of the library masking format. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "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 LibraryMaskingFormat. :rtype: str )r"