/** * Data Safe API * APIs for using Oracle Data Safe. * OpenAPI spec version: 20181201 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * 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. * */ export interface RandomDigitsFormatEntry extends model.FormatEntry { /** * 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. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "startLength": number; /** * 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. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "endLength": number; "type": string; } export declare namespace RandomDigitsFormatEntry { function getJsonObj(obj: RandomDigitsFormatEntry, isParentJsonObj?: boolean): object; const type = "RANDOM_DIGITS"; function getDeserializedJsonObj(obj: RandomDigitsFormatEntry, isParentJsonObj?: boolean): object; }