@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
34 lines • 1.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Pdfa = void 0;
const index_1 = require("./../index");
class Pdfa {
constructor(data) {
this.analyze = index_1.AnalyzePdfa.fromJson(data === null || data === void 0 ? void 0 : data.analyze);
this.convert = index_1.ConvertPdfa.fromJson(data === null || data === void 0 ? void 0 : data.convert);
}
static getAnalyzeDescription() {
return "";
}
static getConvertDescription() {
return "";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new Pdfa(data);
}
toJson() {
var _a, _b;
return {
'analyze': (_a = this.analyze) === null || _a === void 0 ? void 0 : _a.toJson(),
'convert': (_b = this.convert) === null || _b === void 0 ? void 0 : _b.toJson(),
};
}
clone() {
return Pdfa.fromJson(this.toJson());
}
}
exports.Pdfa = Pdfa;
//# sourceMappingURL=Pdfa.js.map