UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

28 lines 986 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ToolboxExtraction = void 0; const index_1 = require("./../index"); class ToolboxExtraction extends index_1.BaseToolbox { constructor(data) { super(data); this.extraction = index_1.ToolboxExtractionExtraction.fromJson(data === null || data === void 0 ? void 0 : data.extraction); } static getExtractionDescription() { return ""; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new ToolboxExtraction(data); } toJson() { var _a; return Object.assign(Object.assign({}, (super.toJson())), { 'extraction': (_a = this.extraction) === null || _a === void 0 ? void 0 : _a.toJson() }); } clone() { return ToolboxExtraction.fromJson(this.toJson()); } } exports.ToolboxExtraction = ToolboxExtraction; //# sourceMappingURL=ToolboxExtraction.js.map