RedactionDescription constructor

Contents
[ ]

init

Initializes a new instance of RedactionDescription class without replacement information.

def __init__(self, redaction_type, action_type, original_text):
    ...
Parameter Type Description
redaction_type RedactionType Type of data being redacted
action_type RedactionActionType Action to be performed on these data
original_text str Matched text, comment or annotation body

init

Initializes a new instance of RedactionDescription class with replacement information.

def __init__(self, redaction_type, action_type, original_text, replacement):
    ...
Parameter Type Description
redaction_type RedactionType Type of data being redacted
action_type RedactionActionType Action to be performed on these data
original_text str Matched text, comment or annotation body
replacement TextReplacement Replacement text, matched text and its position within original string

init

Initializes a new instance of RedactionDescription class with image area replacement information.

def __init__(self, redaction_type, action_type, image_area_replacement, image_details):
    ...
Parameter Type Description
redaction_type RedactionType Type of data being redacted
action_type RedactionActionType Action to be performed on these data
image_area_replacement RegionReplacementOptions Image area replacement information
image_details str Image textual description, by default it is String.Empty

See Also