@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
31 lines • 989 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SanitizeOutlines = void 0;
class SanitizeOutlines {
constructor(data) {
let enabledDefault = true;
this.enabled = typeof (data === null || data === void 0 ? void 0 : data.enabled) !== "undefined" ? data === null || data === void 0 ? void 0 : data.enabled : enabledDefault;
}
static getEnabledDefault() {
return true;
}
static getEnabledDescription() {
return "If set to \"false\", this sanitize operation shall not be applied.";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new SanitizeOutlines(data);
}
toJson() {
return {
'enabled': this.enabled,
};
}
clone() {
return SanitizeOutlines.fromJson(this.toJson());
}
}
exports.SanitizeOutlines = SanitizeOutlines;
//# sourceMappingURL=SanitizeOutlines.js.map