UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

31 lines 1.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PortfolioFolder = void 0; class PortfolioFolder { constructor(data) { let pathDefault = ""; this.path = typeof (data === null || data === void 0 ? void 0 : data.path) !== "undefined" ? data === null || data === void 0 ? void 0 : data.path : pathDefault; } static getPathDefault() { return ""; } static getPathDescription() { return "Used to define the path\/folder where the document will be stored in the portfolio.\n\n**Important:** A portfolio path is defined by the \"\/\" separated nested folder names."; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new PortfolioFolder(data); } toJson() { return { 'path': this.path, }; } clone() { return PortfolioFolder.fromJson(this.toJson()); } } exports.PortfolioFolder = PortfolioFolder; //# sourceMappingURL=PortfolioFolder.js.map