UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

29 lines 971 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PagesBackgroundBaseSettings = void 0; const index_1 = require("./../index"); class PagesBackgroundBaseSettings { constructor(data) { this.pageInterval = index_1.PageInterval.fromJson(data === null || data === void 0 ? void 0 : data.pageInterval); } static getPageIntervalDescription() { return ""; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new PagesBackgroundBaseSettings(data); } toJson() { var _a; return { 'pageInterval': (_a = this.pageInterval) === null || _a === void 0 ? void 0 : _a.toJson(), }; } clone() { return PagesBackgroundBaseSettings.fromJson(this.toJson()); } } exports.PagesBackgroundBaseSettings = PagesBackgroundBaseSettings; //# sourceMappingURL=PagesBackgroundBaseSettings.js.map