Class RandomNumberFormatEntry
The Random Number masking format generates random and unique integers within a range. The range is defined by the startValue and endValue attributes. The start value must be less than or equal to the end value. When masking columns with uniqueness constraint, ensure that the range is sufficient enough to generate unique values. To learn more, check Random Number in the Data Safe documentation.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class RandomNumberFormatEntry : FormatEntry
Properties
EndValue
Declaration
[Required(ErrorMessage = "EndValue is required.")]
[JsonProperty(PropertyName = "endValue")]
public long? EndValue { get; set; }
Property Value
Type | Description |
---|---|
long? | The upper bound of the range within which random numbers should be generated. It must be greater than or equal to the start value. It supports input of long type. |
Remarks
Required
StartValue
Declaration
[Required(ErrorMessage = "StartValue is required.")]
[JsonProperty(PropertyName = "startValue")]
public long? StartValue { get; set; }
Property Value
Type | Description |
---|---|
long? | The lower bound of the range within which random numbers should be generated. It must be less than or equal to the end value. It supports input of long type. |
Remarks
Required