@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
31 lines • 1.13 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.LogoFileDataStore = void 0;
const index_1 = require("./../index");
class LogoFileDataStore extends index_1.FileDataStore {
constructor(data) {
super(data);
let fileContentDefault = "";
this.fileContent = typeof (data === null || data === void 0 ? void 0 : data.fileContent) !== "undefined" ? data === null || data === void 0 ? void 0 : data.fileContent : fileContentDefault;
}
static getFileContentDefault() {
return "";
}
static getFileContentDescription() {
return "The actual content of the data storage file";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new LogoFileDataStore(data);
}
toJson() {
return Object.assign(Object.assign({}, (super.toJson())), { 'fileContent': this.fileContent });
}
clone() {
return LogoFileDataStore.fromJson(this.toJson());
}
}
exports.LogoFileDataStore = LogoFileDataStore;
//# sourceMappingURL=LogoFileDataStore.js.map