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