Class RandomDigitsFormatEntry
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.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class RandomDigitsFormatEntry : FormatEntry
Properties
EndLength
Declaration
[Required(ErrorMessage = "EndLength is required.")]
[JsonProperty(PropertyName = "endLength")]
public int? EndLength { get; set; }
Property Value
Type | Description |
---|---|
int? | 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. |
Remarks
Required
StartLength
Declaration
[Required(ErrorMessage = "StartLength is required.")]
[JsonProperty(PropertyName = "startLength")]
public int? StartLength { get; set; }
Property Value
Type | Description |
---|---|
int? | 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. |
Remarks
Required