UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

32 lines 926 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RemoveToolboxOutline = void 0; const index_1 = require("./../index"); class RemoveToolboxOutline { constructor(data) { this.item = (data.item || []).map(index_1.ItemReference.fromJson); } static getItemDefault() { return []; } static getItemDescription() { return ""; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new RemoveToolboxOutline(data); } toJson() { var _a; return { 'item': (_a = this.item) === null || _a === void 0 ? void 0 : _a.map((data) => data.toJson()), }; } clone() { return RemoveToolboxOutline.fromJson(this.toJson()); } } exports.RemoveToolboxOutline = RemoveToolboxOutline; //# sourceMappingURL=RemoveToolboxOutline.js.map