UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

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