Package net.webpdf.wsclient.openapi
Class OperationBlacken
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationBlacken
-
public class OperationBlacken extends Object
If this element is set, all redact annotations placed in the document will be converted into actual content redactions. Content obscured by such an annotation will be irretrievably removed from the page content.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COLLISION_RATIOstatic StringJSON_PROPERTY_REDACT_ANNOTATIONSstatic StringJSON_PROPERTY_REDACT_IMAGESstatic StringJSON_PROPERTY_REDACT_PATHSstatic StringJSON_PROPERTY_REDACT_TEXTS
-
Constructor Summary
Constructors Constructor Description OperationBlacken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationBlackencollisionRatio(Integer collisionRatio)booleanequals(Object o)@Nullable IntegergetCollisionRatio()Specifies a percentage value by which a letter must be obscured at least to be considered blackened and thus removed.@Nullable BooleangetRedactAnnotations()If this value is set to \"true\", all blackened annotations will be removed.@Nullable BooleangetRedactImages()If this value is set to true, all blackened image data will be removed.@Nullable BooleangetRedactPaths()If this value is set to true, all blackened character paths are removed.@Nullable BooleangetRedactTexts()If this value is set to \"true\", all texts are blackened letter by letter.inthashCode()OperationBlackenredactAnnotations(Boolean redactAnnotations)OperationBlackenredactImages(Boolean redactImages)OperationBlackenredactPaths(Boolean redactPaths)OperationBlackenredactTexts(Boolean redactTexts)voidsetCollisionRatio(Integer collisionRatio)voidsetRedactAnnotations(Boolean redactAnnotations)voidsetRedactImages(Boolean redactImages)voidsetRedactPaths(Boolean redactPaths)voidsetRedactTexts(Boolean redactTexts)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_COLLISION_RATIO
public static final String JSON_PROPERTY_COLLISION_RATIO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REDACT_ANNOTATIONS
public static final String JSON_PROPERTY_REDACT_ANNOTATIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REDACT_IMAGES
public static final String JSON_PROPERTY_REDACT_IMAGES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REDACT_PATHS
public static final String JSON_PROPERTY_REDACT_PATHS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REDACT_TEXTS
public static final String JSON_PROPERTY_REDACT_TEXTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
collisionRatio
public OperationBlacken collisionRatio(Integer collisionRatio)
-
getCollisionRatio
@Nullable public @Nullable Integer getCollisionRatio()
Specifies a percentage value by which a letter must be obscured at least to be considered blackened and thus removed. minimum: 0 maximum: 100- Returns:
- collisionRatio
-
setCollisionRatio
public void setCollisionRatio(Integer collisionRatio)
-
redactAnnotations
public OperationBlacken redactAnnotations(Boolean redactAnnotations)
-
getRedactAnnotations
@Nullable public @Nullable Boolean getRedactAnnotations()
If this value is set to \"true\", all blackened annotations will be removed. Annotations are removed completely even if they are only truncated.- Returns:
- redactAnnotations
-
setRedactAnnotations
public void setRedactAnnotations(Boolean redactAnnotations)
-
redactImages
public OperationBlacken redactImages(Boolean redactImages)
-
getRedactImages
@Nullable public @Nullable Boolean getRedactImages()
If this value is set to true, all blackened image data will be removed. For images, the entire image is not removed, but the obscured area is replaced by the redaction.- Returns:
- redactImages
-
setRedactImages
public void setRedactImages(Boolean redactImages)
-
redactPaths
public OperationBlacken redactPaths(Boolean redactPaths)
-
getRedactPaths
@Nullable public @Nullable Boolean getRedactPaths()
If this value is set to true, all blackened character paths are removed. The paths are adjusted so that the blackened section is removed from the path construction.- Returns:
- redactPaths
-
setRedactPaths
public void setRedactPaths(Boolean redactPaths)
-
redactTexts
public OperationBlacken redactTexts(Boolean redactTexts)
-
getRedactTexts
@Nullable public @Nullable Boolean getRedactTexts()
If this value is set to \"true\", all texts are blackened letter by letter.- Returns:
- redactTexts
-
setRedactTexts
public void setRedactTexts(Boolean redactTexts)
-
-