UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

31 lines 966 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.URIActionResolveURI = void 0; class URIActionResolveURI { constructor(data) { let uriDefault = ""; this.uri = typeof (data === null || data === void 0 ? void 0 : data.uri) !== "undefined" ? data === null || data === void 0 ? void 0 : data.uri : uriDefault; } static getUriDefault() { return ""; } static getUriDescription() { return "A URI that should be resolved and shown in a suitable program."; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new URIActionResolveURI(data); } toJson() { return { 'uri': this.uri, }; } clone() { return URIActionResolveURI.fromJson(this.toJson()); } } exports.URIActionResolveURI = URIActionResolveURI; //# sourceMappingURL=URIActionResolveURI.js.map