@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
28 lines • 922 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.URIAction = void 0;
const index_1 = require("./../index");
class URIAction extends index_1.ActionEvent {
constructor(data) {
super(data);
this.resolveURI = index_1.URIActionResolveURI.fromJson(data === null || data === void 0 ? void 0 : data.resolveURI);
}
static getResolveURIDescription() {
return "";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new URIAction(data);
}
toJson() {
var _a;
return Object.assign(Object.assign({}, (super.toJson())), { 'resolveURI': (_a = this.resolveURI) === null || _a === void 0 ? void 0 : _a.toJson() });
}
clone() {
return URIAction.fromJson(this.toJson());
}
}
exports.URIAction = URIAction;
//# sourceMappingURL=URIAction.js.map