UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

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