UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

34 lines 1.16 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ToolboxRedactRedact = void 0; const index_1 = require("./../index"); class ToolboxRedactRedact { constructor(data) { this.blacken = index_1.Blacken.fromJson(data === null || data === void 0 ? void 0 : data.blacken); this.sanitize = index_1.Sanitize.fromJson(data === null || data === void 0 ? void 0 : data.sanitize); } static getBlackenDescription() { return ""; } static getSanitizeDescription() { return ""; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new ToolboxRedactRedact(data); } toJson() { var _a, _b; return { 'blacken': (_a = this.blacken) === null || _a === void 0 ? void 0 : _a.toJson(), 'sanitize': (_b = this.sanitize) === null || _b === void 0 ? void 0 : _b.toJson(), }; } clone() { return ToolboxRedactRedact.fromJson(this.toJson()); } } exports.ToolboxRedactRedact = ToolboxRedactRedact; //# sourceMappingURL=ToolboxRedactRedact.js.map