Show / Hide Table of Contents

Class PiiEntityMask

Mask PII entities with the given masking character.

Inheritance
object
PiiEntityMasking
PiiEntityMask
Inherited Members
PiiEntityMasking.Exclude
PiiEntityMasking.ShouldDetect
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class PiiEntityMask : PiiEntityMasking

Properties

IsUnmaskedFromEnd

Declaration
[JsonProperty(PropertyName = "isUnmaskedFromEnd")]
public bool? IsUnmaskedFromEnd { get; set; }
Property Value
Type Description
bool?

Unmask from the end. By default, the whole entity is masked. This field works in concert with leaveCharactersUnmasked. For example, leaveCharactersUnmasked is 3 and isUnmaskedFromEnd is true, then if the entity is India the masked entity/result is **dia.

LeaveCharactersUnmasked

Declaration
[JsonProperty(PropertyName = "leaveCharactersUnmasked")]
public int? LeaveCharactersUnmasked { get; set; }
Property Value
Type Description
int?

Number of characters to leave unmasked. By default, the whole entity is masked.

MaskingCharacter

Declaration
[JsonProperty(PropertyName = "maskingCharacter")]
public string MaskingCharacter { get; set; }
Property Value
Type Description
string

Masking character. By default, the character is an asterisk (*)

In this article
Back to top