ruạṛ
a N��f� � @ 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 )�RandomStringFormatEntrya� The Random String masking format generates random and unique strings of length within a range. The length range is defined by the startLength and endLength attributes. The start length must be less than or equal to the end length. When masking columns with uniqueness constraint, ensure that the length range is sufficient enough to generate unique values. To learn more, check Random String in the Data Safe documentation. c K sB ddddd�| _ ddddd�| _d| _d| _d| _d| _d | _dS ) a� Initializes a new RandomStringFormatEntry object with values from keyword arguments. The default value of the :py:attr:`~oci.data_safe.models.RandomStringFormatEntry.type` attribute of this class is ``RANDOM_STRING`` 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 RandomStringFormatEntry. 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 RandomStringFormatEntry. :type description: str :param start_length: The value to assign to the start_length property of this RandomStringFormatEntry. :type start_length: int :param end_length: The value to assign to the end_length property of this RandomStringFormatEntry. :type end_length: int �str�int)�type�description�start_length� end_lengthr r �startLength� endLengthN� RANDOM_STRING)� swagger_types� attribute_map�_type�_description� _start_length�_end_length)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_safe/models/random_string_format_entry.py�__init__ s ��z RandomStringFormatEntry.__init__c C s | j S )aj **[Required]** Gets the start_length of this RandomStringFormatEntry. The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length. :return: The start_length of this RandomStringFormatEntry. :rtype: int �r �r r r r r A s z$RandomStringFormatEntry.start_lengthc C s || _ dS )af Sets the start_length of this RandomStringFormatEntry. The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length. :param start_length: The start_length of this RandomStringFormatEntry. :type: int Nr )r r r r r r O s c C s | j S )ak **[Required]** Gets the end_length of this RandomStringFormatEntry. The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length. :return: The end_length of this RandomStringFormatEntry. :rtype: int �r r r r r r ] s z"RandomStringFormatEntry.end_lengthc C s || _ dS )ae Sets the end_length of this RandomStringFormatEntry. The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length. :param end_length: The end_length of this RandomStringFormatEntry. :type: int Nr )r r r r r r k s c C s t | �S �N)r r r r r �__repr__y s z RandomStringFormatEntry.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__| s zRandomStringFormatEntry.__eq__c C s | |k S r r r# r r r �__ne__� s zRandomStringFormatEntry.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r! r% r&