UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

31 lines 902 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Keyword = void 0; class Keyword { constructor(data) { let keywordDefault = ""; this.keyword = typeof (data === null || data === void 0 ? void 0 : data.keyword) !== "undefined" ? data === null || data === void 0 ? void 0 : data.keyword : keywordDefault; } static getKeywordDefault() { return ""; } static getKeywordDescription() { return "A keyword the document can be associated with."; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new Keyword(data); } toJson() { return { 'keyword': this.keyword, }; } clone() { return Keyword.fromJson(this.toJson()); } } exports.Keyword = Keyword; //# sourceMappingURL=Keyword.js.map