UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

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