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 )�RandomDigitsFormatEntrya+ The Random Digits masking format generates random digits 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. This masking format pads to the appropriate length in a string, but does not pad when used for a number column. It's a complementary type of Random Number, which is not padded. c K sB ddddd�| _ ddddd�| _d| _d| _d| _d| _d | _dS ) a� Initializes a new RandomDigitsFormatEntry object with values from keyword arguments. The default value of the :py:attr:`~oci.data_safe.models.RandomDigitsFormatEntry.type` attribute of this class is ``RANDOM_DIGITS`` 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 RandomDigitsFormatEntry. 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 RandomDigitsFormatEntry. :type description: str :param start_length: The value to assign to the start_length property of this RandomDigitsFormatEntry. :type start_length: int :param end_length: The value to assign to the end_length property of this RandomDigitsFormatEntry. :type end_length: int �str�int)�type�description�start_length� end_lengthr r �startLength� endLengthN� RANDOM_DIGITS)� 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_digits_format_entry.py�__init__ s ��z RandomDigitsFormatEntry.__init__c C s | j S )ae **[Required]** Gets the start_length of this RandomDigitsFormatEntry. The minimum number of digits the generated values 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 RandomDigitsFormatEntry. :rtype: int �r �r r r r r B s z$RandomDigitsFormatEntry.start_lengthc C s || _ dS )aa Sets the start_length of this RandomDigitsFormatEntry. The minimum number of digits the generated values 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 RandomDigitsFormatEntry. :type: int Nr )r r r r r r P s c C s | j S )af **[Required]** Gets the end_length of this RandomDigitsFormatEntry. The maximum number of digits the generated values 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 RandomDigitsFormatEntry. :rtype: int �r r r r r r ^ s z"RandomDigitsFormatEntry.end_lengthc C s || _ dS )a` Sets the end_length of this RandomDigitsFormatEntry. The maximum number of digits the generated values 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 RandomDigitsFormatEntry. :type: int Nr )r r r r r r l s c C s t | �S �N)r r r r r �__repr__z s z RandomDigitsFormatEntry.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__} s zRandomDigitsFormatEntry.__eq__c C s | |k S r r r# r r r �__ne__� s zRandomDigitsFormatEntry.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r! r% r&