@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
31 lines • 843 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Statistic = void 0;
class Statistic {
constructor(data) {
let dataDefault = {};
this.data = typeof (data === null || data === void 0 ? void 0 : data.data) !== "undefined" ? data === null || data === void 0 ? void 0 : data.data : dataDefault;
}
static getDataDefault() {
return {};
}
static getDataDescription() {
return "";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new Statistic(data);
}
toJson() {
return {
'data': this.data,
};
}
clone() {
return Statistic.fromJson(this.toJson());
}
}
exports.Statistic = Statistic;
//# sourceMappingURL=Statistic.js.map